diff --git a/CHANGELOG.md b/CHANGELOG.md index 1598f5c9d..cec089265 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ CHANGELOG ========= ## HEAD (Unreleased) -_(none)_ +* Upgrade to pulumi-terraform-bridge v2.19.0 + **Please Note:** This includes a bug fix that stops mutating resources options in the nodejs provider --- diff --git a/examples/edge-hostname/python/__main__.py b/examples/edge-hostname/python/__main__.py index 460f4b585..48de4590a 100644 --- a/examples/edge-hostname/python/__main__.py +++ b/examples/edge-hostname/python/__main__.py @@ -3,14 +3,14 @@ import pulumi import pulumi_akamai as akamai -group_id = "175146" -product_id = "prd_Fresca" +group_id = "grp_175145" +product_id = "prd_Adaptive_Media_Delivery" contract_id = pulumi.Output.from_input(akamai.get_contract(group_id = group_id)).id pydomain = akamai.EdgeHostName("test", contract_id=contract_id, group_id=group_id, - product_id="prd_Fresca", - edge_hostname="test-py.mycompany.io", + product_id="prd_Adaptive_Media_Delivery", + edge_hostname="test-py.mycompany", ip_behavior="ipv4") diff --git a/examples/edge-hostname/ts/index.ts b/examples/edge-hostname/ts/index.ts index 3b1e22042..39d4942c3 100644 --- a/examples/edge-hostname/ts/index.ts +++ b/examples/edge-hostname/ts/index.ts @@ -1,18 +1,17 @@ import * as pulumi from "@pulumi/pulumi"; import * as akamai from "@pulumi/akamai"; -let groupId = "175146"; -let productId = "prd_Fresca"; +let groupId = "grp_175145"; +let productId = "prd_Adaptive_Media_Delivery"; const contractId = akamai.getContract({ groupId: groupId, }).then(x => x.id) - const tsdomain = new akamai.EdgeHostName("test", { contractId: contractId, groupId: groupId, productId: productId, - edgeHostname: "test-ts.mycompany.io", + edgeHostname: "test-ts.mycompany", ipBehavior: "ipv4", }); diff --git a/provider/cmd/pulumi-resource-akamai/schema.json b/provider/cmd/pulumi-resource-akamai/schema.json index 72d7a1ed2..18a002cbe 100644 --- a/provider/cmd/pulumi-resource-akamai/schema.json +++ b/provider/cmd/pulumi-resource-akamai/schema.json @@ -3178,7 +3178,7 @@ "deprecationMessage": "akamai.edgedns.DnsZone has been deprecated in favor of akamai.DnsZone" }, "akamai:index/appSecActivations:AppSecActivations": { - "description": "The `akamai.AppSecActivations` resource allows you to activate or deactivate a given security configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst activation = new akamai.AppSecActivations(\"activation\", {\n configId: configuration.then(configuration =\u003e configuration.configId),\n version: configuration.then(configuration =\u003e configuration.latestVersion),\n network: \"STAGING\",\n notes: \"TEST Notes\",\n notificationEmails: [\"user@example.com\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nactivation = akamai.AppSecActivations(\"activation\",\n config_id=configuration.config_id,\n version=configuration.latest_version,\n network=\"STAGING\",\n notes=\"TEST Notes\",\n notification_emails=[\"user@example.com\"])\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var activation = new Akamai.AppSecActivations(\"activation\", new Akamai.AppSecActivationsArgs\n {\n ConfigId = configuration.Apply(configuration =\u003e configuration.ConfigId),\n Version = configuration.Apply(configuration =\u003e configuration.LatestVersion),\n Network = \"STAGING\",\n Notes = \"TEST Notes\",\n NotificationEmails = \n {\n \"user@example.com\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = akamai.NewAppSecActivations(ctx, \"activation\", \u0026akamai.AppSecActivationsArgs{\n\t\t\tConfigId: pulumi.Int(configuration.ConfigId),\n\t\t\tVersion: pulumi.Int(configuration.LatestVersion),\n\t\t\tNetwork: pulumi.String(\"STAGING\"),\n\t\t\tNotes: pulumi.String(\"TEST Notes\"),\n\t\t\tNotificationEmails: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"user@example.com\"),\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\n* `config_id` - (Required) The ID of the security configuration to use.\n\n* `version` - (Required) The version number of the security configuration to use.\n\n* `notification_emails` - (Required) A bracketed, comma-separated list of email addresses that will be notified when the operation is complete.\n\n* `network` - The network in which the security configuration should be activated. If supplied, must be either STAGING or PRODUCTION. If not supplied, STAGING will be assumed.\n\n* `notes` - An optional text note describing this operation.\n\n* `activate` - A boolean indicating whether to activate the specified configuration version. If not supplied, True is assumed.\n{{% /example %}}\n{{% /examples %}}", + "description": "The `akamai.AppSecActivations` resource allows you to activate or deactivate a given security configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst activation = new akamai.AppSecActivations(\"activation\", {\n configId: configuration.then(configuration =\u003e configuration.configId),\n version: configuration.then(configuration =\u003e configuration.latestVersion),\n network: \"STAGING\",\n notes: \"TEST Notes\",\n notificationEmails: [\"user@example.com\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nactivation = akamai.AppSecActivations(\"activation\",\n config_id=configuration.config_id,\n version=configuration.latest_version,\n network=\"STAGING\",\n notes=\"TEST Notes\",\n notification_emails=[\"user@example.com\"])\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var activation = new Akamai.AppSecActivations(\"activation\", new Akamai.AppSecActivationsArgs\n {\n ConfigId = configuration.Apply(configuration =\u003e configuration.ConfigId),\n Version = configuration.Apply(configuration =\u003e configuration.LatestVersion),\n Network = \"STAGING\",\n Notes = \"TEST Notes\",\n NotificationEmails = \n {\n \"user@example.com\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = akamai.NewAppSecActivations(ctx, \"activation\", \u0026akamai.AppSecActivationsArgs{\n\t\t\tConfigId: pulumi.Int(configuration.ConfigId),\n\t\t\tVersion: pulumi.Int(configuration.LatestVersion),\n\t\t\tNetwork: pulumi.String(\"STAGING\"),\n\t\t\tNotes: pulumi.String(\"TEST Notes\"),\n\t\t\tNotificationEmails: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"user@example.com\"),\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\n* `config_id` - (Required) The ID of the security configuration to use.\n\n* `version` - (Required) The version number of the security configuration to use.\n\n* `notification_emails` - (Required) A bracketed, comma-separated list of email addresses that will be notified when the operation is complete.\n\n* `network` - The network in which the security configuration should be activated. If supplied, must be either STAGING or PRODUCTION. If not supplied, STAGING will be assumed.\n\n* `notes` - An optional text note describing this operation.\n\n* `activate` - A boolean indicating whether to activate the specified configuration version. If not supplied, True is assumed.\n{{% /example %}}\n{{% /examples %}}", "properties": { "activate": { "type": "boolean" @@ -3383,7 +3383,7 @@ } }, "akamai:index/appSecCustomRuleAction:AppSecCustomRuleAction": { - "description": "The `akamai.AppSecCustomRuleAction` resource allows you to associate an action to a custom rule.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst createCustomRuleAction = new akamai.AppSecCustomRuleAction(\"createCustomRuleAction\", {\n configId: configuration.then(configuration =\u003e configuration.configId),\n version: configuration.then(configuration =\u003e configuration.latestVersion),\n policyId: \"crAP_75829\",\n customRuleId: 12345,\n customRuleAction: \"alert\",\n});\nexport const customRuleId = createCustomRuleAction.customRuleId;\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\ncreate_custom_rule_action = akamai.AppSecCustomRuleAction(\"createCustomRuleAction\",\n config_id=configuration.config_id,\n version=configuration.latest_version,\n policy_id=\"crAP_75829\",\n custom_rule_id=12345,\n custom_rule_action=\"alert\")\npulumi.export(\"customRuleId\", create_custom_rule_action.custom_rule_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var createCustomRuleAction = new Akamai.AppSecCustomRuleAction(\"createCustomRuleAction\", new Akamai.AppSecCustomRuleActionArgs\n {\n ConfigId = configuration.Apply(configuration =\u003e configuration.ConfigId),\n Version = configuration.Apply(configuration =\u003e configuration.LatestVersion),\n PolicyId = \"crAP_75829\",\n CustomRuleId = 12345,\n CustomRuleAction = \"alert\",\n });\n this.CustomRuleId = createCustomRuleAction.CustomRuleId;\n }\n\n [Output(\"customRuleId\")]\n public Output\u003cstring\u003e CustomRuleId { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcreateCustomRuleAction, err := akamai.NewAppSecCustomRuleAction(ctx, \"createCustomRuleAction\", \u0026akamai.AppSecCustomRuleActionArgs{\n\t\t\tConfigId: pulumi.Int(configuration.ConfigId),\n\t\t\tVersion: pulumi.Int(configuration.LatestVersion),\n\t\t\tPolicyId: pulumi.String(\"crAP_75829\"),\n\t\t\tCustomRuleId: pulumi.Int(12345),\n\t\t\tCustomRuleAction: pulumi.String(\"alert\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"customRuleId\", createCustomRuleAction.CustomRuleId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "The `akamai.AppSecCustomRuleAction` resource allows you to associate an action to a custom rule.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst createCustomRuleAction = new akamai.AppSecCustomRuleAction(\"createCustomRuleAction\", {\n configId: configuration.then(configuration =\u003e configuration.configId),\n version: configuration.then(configuration =\u003e configuration.latestVersion),\n policyId: \"crAP_75829\",\n customRuleId: 12345,\n customRuleAction: \"alert\",\n});\nexport const customRuleId = createCustomRuleAction.customRuleId;\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\ncreate_custom_rule_action = akamai.AppSecCustomRuleAction(\"createCustomRuleAction\",\n config_id=configuration.config_id,\n version=configuration.latest_version,\n policy_id=\"crAP_75829\",\n custom_rule_id=12345,\n custom_rule_action=\"alert\")\npulumi.export(\"customRuleId\", create_custom_rule_action.custom_rule_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var createCustomRuleAction = new Akamai.AppSecCustomRuleAction(\"createCustomRuleAction\", new Akamai.AppSecCustomRuleActionArgs\n {\n ConfigId = configuration.Apply(configuration =\u003e configuration.ConfigId),\n Version = configuration.Apply(configuration =\u003e configuration.LatestVersion),\n PolicyId = \"crAP_75829\",\n CustomRuleId = 12345,\n CustomRuleAction = \"alert\",\n });\n this.CustomRuleId = createCustomRuleAction.CustomRuleId;\n }\n\n [Output(\"customRuleId\")]\n public Output\u003cstring\u003e CustomRuleId { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcreateCustomRuleAction, err := akamai.NewAppSecCustomRuleAction(ctx, \"createCustomRuleAction\", \u0026akamai.AppSecCustomRuleActionArgs{\n\t\t\tConfigId: pulumi.Int(configuration.ConfigId),\n\t\t\tVersion: pulumi.Int(configuration.LatestVersion),\n\t\t\tPolicyId: pulumi.String(\"crAP_75829\"),\n\t\t\tCustomRuleId: pulumi.Int(12345),\n\t\t\tCustomRuleAction: pulumi.String(\"alert\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"customRuleId\", createCustomRuleAction.CustomRuleId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "configId": { "type": "integer", @@ -3624,7 +3624,7 @@ } }, "akamai:index/appSecSecurityPolicyClone:AppSecSecurityPolicyClone": { - "description": "The `akamai.AppSecSecurityPolicyClone` resource allows you to create a new security policy by cloning an existing policy.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst securityPolicyCloneAppSecSecurityPolicyClone = new akamai.AppSecSecurityPolicyClone(\"securityPolicyCloneAppSecSecurityPolicyClone\", {\n configId: configuration.then(configuration =\u003e configuration.configId),\n version: configuration.then(configuration =\u003e configuration.latestVersion),\n createFromSecurityPolicy: \"crAP_75829\",\n policyName: \"Test Policy 1\",\n policyPrefix: \"TP1\",\n});\nexport const securityPolicyClone = securityPolicyCloneAppSecSecurityPolicyClone.policyId;\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nsecurity_policy_clone_app_sec_security_policy_clone = akamai.AppSecSecurityPolicyClone(\"securityPolicyCloneAppSecSecurityPolicyClone\",\n config_id=configuration.config_id,\n version=configuration.latest_version,\n create_from_security_policy=\"crAP_75829\",\n policy_name=\"Test Policy 1\",\n policy_prefix=\"TP1\")\npulumi.export(\"securityPolicyClone\", security_policy_clone_app_sec_security_policy_clone.policy_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var securityPolicyCloneAppSecSecurityPolicyClone = new Akamai.AppSecSecurityPolicyClone(\"securityPolicyCloneAppSecSecurityPolicyClone\", new Akamai.AppSecSecurityPolicyCloneArgs\n {\n ConfigId = configuration.Apply(configuration =\u003e configuration.ConfigId),\n Version = configuration.Apply(configuration =\u003e configuration.LatestVersion),\n CreateFromSecurityPolicy = \"crAP_75829\",\n PolicyName = \"Test Policy 1\",\n PolicyPrefix = \"TP1\",\n });\n this.SecurityPolicyClone = securityPolicyCloneAppSecSecurityPolicyClone.PolicyId;\n }\n\n [Output(\"securityPolicyClone\")]\n public Output\u003cstring\u003e SecurityPolicyClone { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecurityPolicyCloneAppSecSecurityPolicyClone, err := akamai.NewAppSecSecurityPolicyClone(ctx, \"securityPolicyCloneAppSecSecurityPolicyClone\", \u0026akamai.AppSecSecurityPolicyCloneArgs{\n\t\t\tConfigId: pulumi.Int(configuration.ConfigId),\n\t\t\tVersion: pulumi.Int(configuration.LatestVersion),\n\t\t\tCreateFromSecurityPolicy: pulumi.String(\"crAP_75829\"),\n\t\t\tPolicyName: pulumi.String(\"Test Policy 1\"),\n\t\t\tPolicyPrefix: pulumi.String(\"TP1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"securityPolicyClone\", securityPolicyCloneAppSecSecurityPolicyClone.PolicyId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "The `akamai.AppSecSecurityPolicyClone` resource allows you to create a new security policy by cloning an existing policy.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst securityPolicyCloneAppSecSecurityPolicyClone = new akamai.AppSecSecurityPolicyClone(\"securityPolicyCloneAppSecSecurityPolicyClone\", {\n configId: configuration.then(configuration =\u003e configuration.configId),\n version: configuration.then(configuration =\u003e configuration.latestVersion),\n createFromSecurityPolicy: \"crAP_75829\",\n policyName: \"Test Policy 1\",\n policyPrefix: \"TP1\",\n});\nexport const securityPolicyClone = securityPolicyCloneAppSecSecurityPolicyClone.policyId;\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nsecurity_policy_clone_app_sec_security_policy_clone = akamai.AppSecSecurityPolicyClone(\"securityPolicyCloneAppSecSecurityPolicyClone\",\n config_id=configuration.config_id,\n version=configuration.latest_version,\n create_from_security_policy=\"crAP_75829\",\n policy_name=\"Test Policy 1\",\n policy_prefix=\"TP1\")\npulumi.export(\"securityPolicyClone\", security_policy_clone_app_sec_security_policy_clone.policy_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var securityPolicyCloneAppSecSecurityPolicyClone = new Akamai.AppSecSecurityPolicyClone(\"securityPolicyCloneAppSecSecurityPolicyClone\", new Akamai.AppSecSecurityPolicyCloneArgs\n {\n ConfigId = configuration.Apply(configuration =\u003e configuration.ConfigId),\n Version = configuration.Apply(configuration =\u003e configuration.LatestVersion),\n CreateFromSecurityPolicy = \"crAP_75829\",\n PolicyName = \"Test Policy 1\",\n PolicyPrefix = \"TP1\",\n });\n this.SecurityPolicyClone = securityPolicyCloneAppSecSecurityPolicyClone.PolicyId;\n }\n\n [Output(\"securityPolicyClone\")]\n public Output\u003cstring\u003e SecurityPolicyClone { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecurityPolicyCloneAppSecSecurityPolicyClone, err := akamai.NewAppSecSecurityPolicyClone(ctx, \"securityPolicyCloneAppSecSecurityPolicyClone\", \u0026akamai.AppSecSecurityPolicyCloneArgs{\n\t\t\tConfigId: pulumi.Int(configuration.ConfigId),\n\t\t\tVersion: pulumi.Int(configuration.LatestVersion),\n\t\t\tCreateFromSecurityPolicy: pulumi.String(\"crAP_75829\"),\n\t\t\tPolicyName: pulumi.String(\"Test Policy 1\"),\n\t\t\tPolicyPrefix: pulumi.String(\"TP1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"securityPolicyClone\", securityPolicyCloneAppSecSecurityPolicyClone.PolicyId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "configId": { "type": "integer", @@ -4425,7 +4425,7 @@ ] }, "akamai:index/dnsZone:DnsZone": { - "description": "The `akamai.DnsZone` provides the resource for configuring a DNS zone to integrate easily with your existing DNS infrastructure to provide a secure, high performance, highly available and scalable solution for DNS hosting.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demozone = new akamai.DnsZone(\"demozone\", {\n comment: \"some comment\",\n contract: \"ctr_1-AB123\",\n group: \"100\",\n masters: [\n \"1.2.3.4\",\n \"1.2.3.5\",\n ],\n signAndServe: false,\n type: \"secondary\",\n zone: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemozone = akamai.DnsZone(\"demozone\",\n comment=\"some comment\",\n contract=\"ctr_1-AB123\",\n group=\"100\",\n masters=[\n \"1.2.3.4\",\n \"1.2.3.5\",\n ],\n sign_and_serve=False,\n type=\"secondary\",\n zone=\"example.com\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demozone = new Akamai.DnsZone(\"demozone\", new Akamai.DnsZoneArgs\n {\n Comment = \"some comment\",\n Contract = \"ctr_1-AB123\",\n Group = \"100\",\n Masters = \n {\n \"1.2.3.4\",\n \"1.2.3.5\",\n },\n SignAndServe = false,\n Type = \"secondary\",\n Zone = \"example.com\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewDnsZone(ctx, \"demozone\", \u0026akamai.DnsZoneArgs{\n\t\t\tComment: pulumi.String(\"some comment\"),\n\t\t\tContract: pulumi.String(\"ctr_1-AB123\"),\n\t\t\tGroup: pulumi.String(\"100\"),\n\t\t\tMasters: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1.2.3.4\"),\n\t\t\t\tpulumi.String(\"1.2.3.5\"),\n\t\t\t},\n\t\t\tSignAndServe: pulumi.Bool(false),\n\t\t\tType: pulumi.String(\"secondary\"),\n\t\t\tZone: 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{{% /example %}}\n{{% /examples %}}", + "description": "The `akamai.DnsZone` provides the resource for configuring a DNS zone to integrate easily with your existing DNS infrastructure to provide a secure, high performance, highly available and scalable solution for DNS hosting.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demozone = new akamai.DnsZone(\"demozone\", {\n comment: \"some comment\",\n contract: \"ctr_1-AB123\",\n group: \"100\",\n masters: [\n \"1.2.3.4\",\n \"1.2.3.5\",\n ],\n signAndServe: false,\n type: \"secondary\",\n zone: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemozone = akamai.DnsZone(\"demozone\",\n comment=\"some comment\",\n contract=\"ctr_1-AB123\",\n group=\"100\",\n masters=[\n \"1.2.3.4\",\n \"1.2.3.5\",\n ],\n sign_and_serve=False,\n type=\"secondary\",\n zone=\"example.com\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demozone = new Akamai.DnsZone(\"demozone\", new Akamai.DnsZoneArgs\n {\n Comment = \"some comment\",\n Contract = \"ctr_1-AB123\",\n Group = \"100\",\n Masters = \n {\n \"1.2.3.4\",\n \"1.2.3.5\",\n },\n SignAndServe = false,\n Type = \"secondary\",\n Zone = \"example.com\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewDnsZone(ctx, \"demozone\", \u0026akamai.DnsZoneArgs{\n\t\t\tComment: pulumi.String(\"some comment\"),\n\t\t\tContract: pulumi.String(\"ctr_1-AB123\"),\n\t\t\tGroup: pulumi.String(\"100\"),\n\t\t\tMasters: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1.2.3.4\"),\n\t\t\t\tpulumi.String(\"1.2.3.5\"),\n\t\t\t},\n\t\t\tSignAndServe: pulumi.Bool(false),\n\t\t\tType: pulumi.String(\"secondary\"),\n\t\t\tZone: 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{{% /example %}}\n{{% /examples %}}", "properties": { "activationState": { "type": "string" @@ -4735,7 +4735,7 @@ ] }, "akamai:index/gtmAsmap:GtmAsmap": { - "description": "`akamai.GtmAsmap` provides the resource for creating, configuring and importing a gtm AS Map to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_map_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoAsmap = new akamai.GtmAsmap(\"demo_asmap\", {\n defaultDatacenter: {\n datacenterId: 5400,\n nickname: \"All Other AS numbers\",\n },\n domain: \"demo_domain.akadns.net\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_asmap = akamai.GtmAsmap(\"demoAsmap\",\n default_datacenter=akamai.GtmAsmapDefaultDatacenterArgs(\n datacenter_id=5400,\n nickname=\"All Other AS numbers\",\n ),\n domain=\"demo_domain.akadns.net\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoAsmap = new Akamai.GtmAsmap(\"demoAsmap\", new Akamai.GtmAsmapArgs\n {\n DefaultDatacenter = new Akamai.Inputs.GtmAsmapDefaultDatacenterArgs\n {\n DatacenterId = 5400,\n Nickname = \"All Other AS numbers\",\n },\n Domain = \"demo_domain.akadns.net\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmAsmap(ctx, \"demoAsmap\", \u0026akamai.GtmAsmapArgs{\n\t\t\tDefaultDatacenter: \u0026akamai.GtmAsmapDefaultDatacenterArgs{\n\t\t\t\tDatacenterId: pulumi.Int(5400),\n\t\t\t\tNickname: pulumi.String(\"All Other AS numbers\"),\n\t\t\t},\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\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{{% /example %}}\n{{% /examples %}}", + "description": "`akamai.GtmAsmap` provides the resource for creating, configuring and importing a gtm AS Map to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_map_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoAsmap = new akamai.GtmAsmap(\"demo_asmap\", {\n defaultDatacenter: {\n datacenterId: 5400,\n nickname: \"All Other AS numbers\",\n },\n domain: \"demo_domain.akadns.net\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_asmap = akamai.GtmAsmap(\"demoAsmap\",\n default_datacenter=akamai.GtmAsmapDefaultDatacenterArgs(\n datacenter_id=5400,\n nickname=\"All Other AS numbers\",\n ),\n domain=\"demo_domain.akadns.net\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoAsmap = new Akamai.GtmAsmap(\"demoAsmap\", new Akamai.GtmAsmapArgs\n {\n DefaultDatacenter = new Akamai.Inputs.GtmAsmapDefaultDatacenterArgs\n {\n DatacenterId = 5400,\n Nickname = \"All Other AS numbers\",\n },\n Domain = \"demo_domain.akadns.net\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmAsmap(ctx, \"demoAsmap\", \u0026akamai.GtmAsmapArgs{\n\t\t\tDefaultDatacenter: \u0026akamai.GtmAsmapDefaultDatacenterArgs{\n\t\t\t\tDatacenterId: pulumi.Int(5400),\n\t\t\t\tNickname: pulumi.String(\"All Other AS numbers\"),\n\t\t\t},\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\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{{% /example %}}\n{{% /examples %}}", "properties": { "assignments": { "type": "array", @@ -4828,7 +4828,7 @@ ] }, "akamai:index/gtmCidrmap:GtmCidrmap": { - "description": "`akamai.GtmCidrmap` provides the resource for creating, configuring and importing a gtm Cidr Map to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_map_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoCidrmap = new akamai.GtmCidrmap(\"demo_cidrmap\", {\n defaultDatacenter: {\n datacenterId: 5400,\n nickname: \"All Other CIDR Blocks\",\n },\n domain: \"demo_domain.akadns.net\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_cidrmap = akamai.GtmCidrmap(\"demoCidrmap\",\n default_datacenter=akamai.GtmCidrmapDefaultDatacenterArgs(\n datacenter_id=5400,\n nickname=\"All Other CIDR Blocks\",\n ),\n domain=\"demo_domain.akadns.net\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoCidrmap = new Akamai.GtmCidrmap(\"demoCidrmap\", new Akamai.GtmCidrmapArgs\n {\n DefaultDatacenter = new Akamai.Inputs.GtmCidrmapDefaultDatacenterArgs\n {\n DatacenterId = 5400,\n Nickname = \"All Other CIDR Blocks\",\n },\n Domain = \"demo_domain.akadns.net\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmCidrmap(ctx, \"demoCidrmap\", \u0026akamai.GtmCidrmapArgs{\n\t\t\tDefaultDatacenter: \u0026akamai.GtmCidrmapDefaultDatacenterArgs{\n\t\t\t\tDatacenterId: pulumi.Int(5400),\n\t\t\t\tNickname: pulumi.String(\"All Other CIDR Blocks\"),\n\t\t\t},\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\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{{% /example %}}\n{{% /examples %}}", + "description": "`akamai.GtmCidrmap` provides the resource for creating, configuring and importing a gtm Cidr Map to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_map_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoCidrmap = new akamai.GtmCidrmap(\"demo_cidrmap\", {\n defaultDatacenter: {\n datacenterId: 5400,\n nickname: \"All Other CIDR Blocks\",\n },\n domain: \"demo_domain.akadns.net\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_cidrmap = akamai.GtmCidrmap(\"demoCidrmap\",\n default_datacenter=akamai.GtmCidrmapDefaultDatacenterArgs(\n datacenter_id=5400,\n nickname=\"All Other CIDR Blocks\",\n ),\n domain=\"demo_domain.akadns.net\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoCidrmap = new Akamai.GtmCidrmap(\"demoCidrmap\", new Akamai.GtmCidrmapArgs\n {\n DefaultDatacenter = new Akamai.Inputs.GtmCidrmapDefaultDatacenterArgs\n {\n DatacenterId = 5400,\n Nickname = \"All Other CIDR Blocks\",\n },\n Domain = \"demo_domain.akadns.net\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmCidrmap(ctx, \"demoCidrmap\", \u0026akamai.GtmCidrmapArgs{\n\t\t\tDefaultDatacenter: \u0026akamai.GtmCidrmapDefaultDatacenterArgs{\n\t\t\t\tDatacenterId: pulumi.Int(5400),\n\t\t\t\tNickname: pulumi.String(\"All Other CIDR Blocks\"),\n\t\t\t},\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\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{{% /example %}}\n{{% /examples %}}", "properties": { "assignments": { "type": "array", @@ -4921,7 +4921,7 @@ ] }, "akamai:index/gtmDatacenter:GtmDatacenter": { - "description": "`akamai.GtmDatacenter` provides the resource for creating, configuring and importing a gtm datacenter to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_datacenter_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoDatacenter = new akamai.GtmDatacenter(\"demo_datacenter\", {\n domain: \"demo_domain.akadns.net\",\n nickname: \"demo_datacenter\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_datacenter = akamai.GtmDatacenter(\"demoDatacenter\",\n domain=\"demo_domain.akadns.net\",\n nickname=\"demo_datacenter\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoDatacenter = new Akamai.GtmDatacenter(\"demoDatacenter\", new Akamai.GtmDatacenterArgs\n {\n Domain = \"demo_domain.akadns.net\",\n Nickname = \"demo_datacenter\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmDatacenter(ctx, \"demoDatacenter\", \u0026akamai.GtmDatacenterArgs{\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\n\t\t\tNickname: pulumi.String(\"demo_datacenter\"),\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{{% /example %}}\n{{% /examples %}}", + "description": "`akamai.GtmDatacenter` provides the resource for creating, configuring and importing a gtm datacenter to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_datacenter_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoDatacenter = new akamai.GtmDatacenter(\"demo_datacenter\", {\n domain: \"demo_domain.akadns.net\",\n nickname: \"demo_datacenter\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_datacenter = akamai.GtmDatacenter(\"demoDatacenter\",\n domain=\"demo_domain.akadns.net\",\n nickname=\"demo_datacenter\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoDatacenter = new Akamai.GtmDatacenter(\"demoDatacenter\", new Akamai.GtmDatacenterArgs\n {\n Domain = \"demo_domain.akadns.net\",\n Nickname = \"demo_datacenter\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmDatacenter(ctx, \"demoDatacenter\", \u0026akamai.GtmDatacenterArgs{\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\n\t\t\tNickname: pulumi.String(\"demo_datacenter\"),\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{{% /example %}}\n{{% /examples %}}", "properties": { "city": { "type": "string" @@ -5130,7 +5130,7 @@ ] }, "akamai:index/gtmDomain:GtmDomain": { - "description": "`akamai.GtmDomain` provides the resource for creating, configuring and importing a gtm domain to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demodomain = new akamai.GtmDomain(\"demodomain\", {\n comment: \"some comment\",\n contract: \"XXX\",\n group: \"100\",\n type: \"basic\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemodomain = akamai.GtmDomain(\"demodomain\",\n comment=\"some comment\",\n contract=\"XXX\",\n group=\"100\",\n type=\"basic\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demodomain = new Akamai.GtmDomain(\"demodomain\", new Akamai.GtmDomainArgs\n {\n Comment = \"some comment\",\n Contract = \"XXX\",\n Group = \"100\",\n Type = \"basic\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmDomain(ctx, \"demodomain\", \u0026akamai.GtmDomainArgs{\n\t\t\tComment: pulumi.String(\"some comment\"),\n\t\t\tContract: pulumi.String(\"XXX\"),\n\t\t\tGroup: pulumi.String(\"100\"),\n\t\t\tType: pulumi.String(\"basic\"),\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{{% /example %}}\n{{% /examples %}}", + "description": "`akamai.GtmDomain` provides the resource for creating, configuring and importing a gtm domain to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demodomain = new akamai.GtmDomain(\"demodomain\", {\n comment: \"some comment\",\n contract: \"XXX\",\n group: \"100\",\n type: \"basic\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemodomain = akamai.GtmDomain(\"demodomain\",\n comment=\"some comment\",\n contract=\"XXX\",\n group=\"100\",\n type=\"basic\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demodomain = new Akamai.GtmDomain(\"demodomain\", new Akamai.GtmDomainArgs\n {\n Comment = \"some comment\",\n Contract = \"XXX\",\n Group = \"100\",\n Type = \"basic\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmDomain(ctx, \"demodomain\", \u0026akamai.GtmDomainArgs{\n\t\t\tComment: pulumi.String(\"some comment\"),\n\t\t\tContract: pulumi.String(\"XXX\"),\n\t\t\tGroup: pulumi.String(\"100\"),\n\t\t\tType: pulumi.String(\"basic\"),\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{{% /example %}}\n{{% /examples %}}", "properties": { "cnameCoalescingEnabled": { "type": "boolean" @@ -5458,7 +5458,7 @@ ] }, "akamai:index/gtmGeomap:GtmGeomap": { - "description": "`akamai.GtmGeomap` provides the resource for creating, configuring and importing a gtm Geographic map to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_map_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoGeomap = new akamai.GtmGeomap(\"demo_geomap\", {\n defaultDatacenter: {\n datacenterId: 5400,\n nickname: \"All Others\",\n },\n domain: \"demo_domain.akadns.net\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_geomap = akamai.GtmGeomap(\"demoGeomap\",\n default_datacenter=akamai.GtmGeomapDefaultDatacenterArgs(\n datacenter_id=5400,\n nickname=\"All Others\",\n ),\n domain=\"demo_domain.akadns.net\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoGeomap = new Akamai.GtmGeomap(\"demoGeomap\", new Akamai.GtmGeomapArgs\n {\n DefaultDatacenter = new Akamai.Inputs.GtmGeomapDefaultDatacenterArgs\n {\n DatacenterId = 5400,\n Nickname = \"All Others\",\n },\n Domain = \"demo_domain.akadns.net\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmGeomap(ctx, \"demoGeomap\", \u0026akamai.GtmGeomapArgs{\n\t\t\tDefaultDatacenter: \u0026akamai.GtmGeomapDefaultDatacenterArgs{\n\t\t\t\tDatacenterId: pulumi.Int(5400),\n\t\t\t\tNickname: pulumi.String(\"All Others\"),\n\t\t\t},\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\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{{% /example %}}\n{{% /examples %}}", + "description": "`akamai.GtmGeomap` provides the resource for creating, configuring and importing a gtm Geographic map to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_map_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoGeomap = new akamai.GtmGeomap(\"demo_geomap\", {\n defaultDatacenter: {\n datacenterId: 5400,\n nickname: \"All Others\",\n },\n domain: \"demo_domain.akadns.net\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_geomap = akamai.GtmGeomap(\"demoGeomap\",\n default_datacenter=akamai.GtmGeomapDefaultDatacenterArgs(\n datacenter_id=5400,\n nickname=\"All Others\",\n ),\n domain=\"demo_domain.akadns.net\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoGeomap = new Akamai.GtmGeomap(\"demoGeomap\", new Akamai.GtmGeomapArgs\n {\n DefaultDatacenter = new Akamai.Inputs.GtmGeomapDefaultDatacenterArgs\n {\n DatacenterId = 5400,\n Nickname = \"All Others\",\n },\n Domain = \"demo_domain.akadns.net\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmGeomap(ctx, \"demoGeomap\", \u0026akamai.GtmGeomapArgs{\n\t\t\tDefaultDatacenter: \u0026akamai.GtmGeomapDefaultDatacenterArgs{\n\t\t\t\tDatacenterId: pulumi.Int(5400),\n\t\t\t\tNickname: pulumi.String(\"All Others\"),\n\t\t\t},\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\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{{% /example %}}\n{{% /examples %}}", "properties": { "assignments": { "type": "array", @@ -5551,7 +5551,7 @@ ] }, "akamai:index/gtmProperty:GtmProperty": { - "description": "`akamai.GtmProperty` provides the resource for creating, configuring and importing a gtm property to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_property_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoProperty = new akamai.GtmProperty(\"demo_property\", {\n domain: \"demo_domain.akadns.net\",\n handoutLimit: 5,\n handoutMode: \"normal\",\n scoreAggregationType: \"median\",\n trafficTargets: [{\n datacenterId: 3131,\n }],\n type: \"weighted-round-robin\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_property = akamai.GtmProperty(\"demoProperty\",\n domain=\"demo_domain.akadns.net\",\n handout_limit=5,\n handout_mode=\"normal\",\n score_aggregation_type=\"median\",\n traffic_targets=[akamai.GtmPropertyTrafficTargetArgs(\n datacenter_id=3131,\n )],\n type=\"weighted-round-robin\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoProperty = new Akamai.GtmProperty(\"demoProperty\", new Akamai.GtmPropertyArgs\n {\n Domain = \"demo_domain.akadns.net\",\n HandoutLimit = 5,\n HandoutMode = \"normal\",\n ScoreAggregationType = \"median\",\n TrafficTargets = \n {\n new Akamai.Inputs.GtmPropertyTrafficTargetArgs\n {\n DatacenterId = 3131,\n },\n },\n Type = \"weighted-round-robin\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmProperty(ctx, \"demoProperty\", \u0026akamai.GtmPropertyArgs{\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\n\t\t\tHandoutLimit: pulumi.Int(5),\n\t\t\tHandoutMode: pulumi.String(\"normal\"),\n\t\t\tScoreAggregationType: pulumi.String(\"median\"),\n\t\t\tTrafficTargets: akamai.GtmPropertyTrafficTargetArray{\n\t\t\t\t\u0026akamai.GtmPropertyTrafficTargetArgs{\n\t\t\t\t\tDatacenterId: pulumi.Int(3131),\n\t\t\t\t},\n\t\t\t},\n\t\t\tType: pulumi.String(\"weighted-round-robin\"),\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{{% /example %}}\n{{% /examples %}}", + "description": "`akamai.GtmProperty` provides the resource for creating, configuring and importing a gtm property to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_property_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoProperty = new akamai.GtmProperty(\"demo_property\", {\n domain: \"demo_domain.akadns.net\",\n handoutLimit: 5,\n handoutMode: \"normal\",\n scoreAggregationType: \"median\",\n trafficTargets: [{\n datacenterId: 3131,\n }],\n type: \"weighted-round-robin\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_property = akamai.GtmProperty(\"demoProperty\",\n domain=\"demo_domain.akadns.net\",\n handout_limit=5,\n handout_mode=\"normal\",\n score_aggregation_type=\"median\",\n traffic_targets=[akamai.GtmPropertyTrafficTargetArgs(\n datacenter_id=3131,\n )],\n type=\"weighted-round-robin\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoProperty = new Akamai.GtmProperty(\"demoProperty\", new Akamai.GtmPropertyArgs\n {\n Domain = \"demo_domain.akadns.net\",\n HandoutLimit = 5,\n HandoutMode = \"normal\",\n ScoreAggregationType = \"median\",\n TrafficTargets = \n {\n new Akamai.Inputs.GtmPropertyTrafficTargetArgs\n {\n DatacenterId = 3131,\n },\n },\n Type = \"weighted-round-robin\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmProperty(ctx, \"demoProperty\", \u0026akamai.GtmPropertyArgs{\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\n\t\t\tHandoutLimit: pulumi.Int(5),\n\t\t\tHandoutMode: pulumi.String(\"normal\"),\n\t\t\tScoreAggregationType: pulumi.String(\"median\"),\n\t\t\tTrafficTargets: akamai.GtmPropertyTrafficTargetArray{\n\t\t\t\t\u0026akamai.GtmPropertyTrafficTargetArgs{\n\t\t\t\t\tDatacenterId: pulumi.Int(3131),\n\t\t\t\t},\n\t\t\t},\n\t\t\tType: pulumi.String(\"weighted-round-robin\"),\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{{% /example %}}\n{{% /examples %}}", "properties": { "backupCname": { "type": "string" @@ -5942,7 +5942,7 @@ ] }, "akamai:index/gtmResource:GtmResource": { - "description": "`akamai.GtmResource` provides the resource for creating, configuring and importing a gtm resource to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_resource_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoResource = new akamai.GtmResource(\"demo_resource\", {\n aggregationType: \"latest\",\n domain: \"demo_domain.akadns.net\",\n type: \"XML load object via HTTP\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_resource = akamai.GtmResource(\"demoResource\",\n aggregation_type=\"latest\",\n domain=\"demo_domain.akadns.net\",\n type=\"XML load object via HTTP\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoResource = new Akamai.GtmResource(\"demoResource\", new Akamai.GtmResourceArgs\n {\n AggregationType = \"latest\",\n Domain = \"demo_domain.akadns.net\",\n Type = \"XML load object via HTTP\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmResource(ctx, \"demoResource\", \u0026akamai.GtmResourceArgs{\n\t\t\tAggregationType: pulumi.String(\"latest\"),\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\n\t\t\tType: pulumi.String(\"XML load object via HTTP\"),\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{{% /example %}}\n{{% /examples %}}", + "description": "`akamai.GtmResource` provides the resource for creating, configuring and importing a gtm resource to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: `existing_domain_name`:`existing_resource_name`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst demoResource = new akamai.GtmResource(\"demo_resource\", {\n aggregationType: \"latest\",\n domain: \"demo_domain.akadns.net\",\n type: \"XML load object via HTTP\",\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\ndemo_resource = akamai.GtmResource(\"demoResource\",\n aggregation_type=\"latest\",\n domain=\"demo_domain.akadns.net\",\n type=\"XML load object via HTTP\")\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var demoResource = new Akamai.GtmResource(\"demoResource\", new Akamai.GtmResourceArgs\n {\n AggregationType = \"latest\",\n Domain = \"demo_domain.akadns.net\",\n Type = \"XML load object via HTTP\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewGtmResource(ctx, \"demoResource\", \u0026akamai.GtmResourceArgs{\n\t\t\tAggregationType: pulumi.String(\"latest\"),\n\t\t\tDomain: pulumi.String(\"demo_domain.akadns.net\"),\n\t\t\tType: pulumi.String(\"XML load object via HTTP\"),\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{{% /example %}}\n{{% /examples %}}", "properties": { "aggregationType": { "type": "string" @@ -6130,7 +6130,7 @@ ] }, "akamai:index/property:Property": { - "description": "The `akamai.Property` resource represents an Akamai property configuration. \nThis resource lets you to create, update, and activate properties on the \nAkamai platform. \n\nAkamai’s edge network caches your web assets near to servers that request them. \nA property provides the main way to control how edge servers respond to various \nkinds of requests for those assets. Properties apply rules to a set of hostnames, \nand you can only apply one property at a time to any given hostname. Each property \nis assigned to a product, which determines which behaviors you can use. Each \nproperty’s default rule needs a valid content provider (CP) code assigned to bill \nand report for the service.\n\n\u003e __NOTE:__ In version 0.10 and earlier of this resource, it also controlled content provider (CP) codes, origin settings, rules, and hostname associations. Starting with version 1.0.0, this logic is broken out into individual resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst example = new akamai.Property(\"example\", {\n contacts: [\"user@example.org\"],\n productId: \"prd_SPM\",\n contractId: _var.contractid,\n groupId: _var.groupid,\n hostnames: {\n \"example.org\": \"example.org.edgesuite.net\",\n \"www.example.org\": \"example.org.edgesuite.net\",\n \"sub.example.org\": \"sub.example.org.edgesuite.net\",\n },\n ruleFormat: \"v2020-03-04\",\n rules: data.akamai_property_rules_template.example.json,\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nexample = akamai.Property(\"example\",\n contacts=[\"user@example.org\"],\n product_id=\"prd_SPM\",\n contract_id=var[\"contractid\"],\n group_id=var[\"groupid\"],\n hostnames={\n \"example.org\": \"example.org.edgesuite.net\",\n \"www.example.org\": \"example.org.edgesuite.net\",\n \"sub.example.org\": \"sub.example.org.edgesuite.net\",\n },\n rule_format=\"v2020-03-04\",\n rules=data[\"akamai_property_rules_template\"][\"example\"][\"json\"])\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Akamai.Property(\"example\", new Akamai.PropertyArgs\n {\n Contacts = \n {\n \"user@example.org\",\n },\n ProductId = \"prd_SPM\",\n ContractId = @var.Contractid,\n GroupId = @var.Groupid,\n Hostnames = \n {\n { \"example.org\", \"example.org.edgesuite.net\" },\n { \"www.example.org\", \"example.org.edgesuite.net\" },\n { \"sub.example.org\", \"sub.example.org.edgesuite.net\" },\n },\n RuleFormat = \"v2020-03-04\",\n Rules = data.Akamai_property_rules_template.Example.Json,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewProperty(ctx, \"example\", \u0026akamai.PropertyArgs{\n\t\t\tContacts: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"user@example.org\"),\n\t\t\t},\n\t\t\tProductId: pulumi.String(\"prd_SPM\"),\n\t\t\tContractId: pulumi.Any(_var.Contractid),\n\t\t\tGroupId: pulumi.Any(_var.Groupid),\n\t\t\tHostnames: pulumi.StringMap{\n\t\t\t\t\"example.org\": pulumi.String(\"example.org.edgesuite.net\"),\n\t\t\t\t\"www.example.org\": pulumi.String(\"example.org.edgesuite.net\"),\n\t\t\t\t\"sub.example.org\": pulumi.String(\"sub.example.org.edgesuite.net\"),\n\t\t\t},\n\t\t\tRuleFormat: pulumi.String(\"v2020-03-04\"),\n\t\t\tRules: pulumi.Any(data.Akamai_property_rules_template.Example.Json),\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{{% /example %}}\n{{% /examples %}}\n## Argument reference\n\nThis resource supports these arguments:\n\n* `name` - (Required) The property name.\n* `contact` - (Required) One or more email addresses to send activation status changes to.\n* `contract_id` - (Required) A contract's unique ID, including the `ctr_` prefix. \n* `group_id` - (Required) A group's unique ID, including the `grp_` prefix.\n* `product_id` - (Required to create, otherwise Optional) A product's unique ID, including the `prd_` prefix.\n* `hostnames` - (Required) A mapping of public hostnames to edge hostnames. For example: `{\"example.org\" = \"example.org.edgesuite.net\"}`\n* `rules` - (Required) A JSON-encoded rule tree for a given property. For this argument, you need to enter a complete JSON rule tree, unless you set up a series of JSON templates. See the `akamai.getPropertyRules` data source.\n* `rule_format` - (Optional) The [rule format](https://developer.akamai.com/api/core_features/property_manager/v1.html#getruleformats) to use. Uses the latest rule format by default.\n* `contract` - (Deprecated) Replaced by `contract_id`. Maintained for legacy purposes.\n* `group` - (Deprecated) Replaced by `group_id`. Maintained for legacy purposes.\n* `product` - (Deprecated) Optional argument replaced by the now required `product_id`. Maintained for legacy purposes.\n\n## Attribute reference\n\nThe resource returns these attributes:\n\n* `warnings` - The contents of `warnings` field returned by the API. For more information see [Errors](https://developer.akamai.com/api/core_features/property_manager/v1.html#errors) in the PAPI documentation.\n* `errors` - The contents of `errors` field returned by the API. For more information see [Errors](https://developer.akamai.com/api/core_features/property_manager/v1.html#errors) in the PAPI documentation.\n* `latest_version` - The version of the property you've created or updated rules for. The Akamai Provider always uses the latest version or creates a new version if latest is not editable.\n* `production_version` - The current version of the property active on the Akamai production network.\n* `staging_version` - The current version of the property active on the Akamai staging network.\n\n\n## Import\n\nBasic Usagehcl resource \"akamai_property\" \"example\" {\n\n\n\n # (resource arguments)\n\n } You can import Akamai properties using either the `property_id` or a comma-delimited\n\nstring of the property, contract, and group IDs. You'll need to enter the string of IDs if the property belongs to multiple groups or contracts. If using the string of IDs, you need to enter them in this order`property_id,contract_id,group_id` Here are some examples\n\n```sh\n $ pulumi import akamai:index/property:Property example prp_123\n```\n\n Or\n\n```sh\n $ pulumi import akamai:index/property:Property example prp_123,ctr_1-AB123,grp_123\n```\n\n ", + "description": "The `akamai.Property` resource represents an Akamai property configuration. \nThis resource lets you to create, update, and activate properties on the \nAkamai platform. \n\nAkamai’s edge network caches your web assets near to servers that request them. \nA property provides the main way to control how edge servers respond to various \nkinds of requests for those assets. Properties apply rules to a set of hostnames, \nand you can only apply one property at a time to any given hostname. Each property \nis assigned to a product, which determines which behaviors you can use. Each \nproperty’s default rule needs a valid content provider (CP) code assigned to bill \nand report for the service.\n\n\u003e __NOTE:__ In version 0.10 and earlier of this resource, it also controlled content provider (CP) codes, origin settings, rules, and hostname associations. Starting with version 1.0.0, this logic is broken out into individual resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst example = new akamai.Property(\"example\", {\n contacts: [\"user@example.org\"],\n productId: \"prd_SPM\",\n contractId: _var.contractid,\n groupId: _var.groupid,\n hostnames: {\n \"example.org\": \"example.org.edgesuite.net\",\n \"www.example.org\": \"example.org.edgesuite.net\",\n \"sub.example.org\": \"sub.example.org.edgesuite.net\",\n },\n ruleFormat: \"v2020-03-04\",\n rules: data.akamai_property_rules_template.example.json,\n});\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nexample = akamai.Property(\"example\",\n contacts=[\"user@example.org\"],\n product_id=\"prd_SPM\",\n contract_id=var[\"contractid\"],\n group_id=var[\"groupid\"],\n hostnames={\n \"example.org\": \"example.org.edgesuite.net\",\n \"www.example.org\": \"example.org.edgesuite.net\",\n \"sub.example.org\": \"sub.example.org.edgesuite.net\",\n },\n rule_format=\"v2020-03-04\",\n rules=data[\"akamai_property_rules_template\"][\"example\"][\"json\"])\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Akamai.Property(\"example\", new Akamai.PropertyArgs\n {\n Contacts = \n {\n \"user@example.org\",\n },\n ProductId = \"prd_SPM\",\n ContractId = @var.Contractid,\n GroupId = @var.Groupid,\n Hostnames = \n {\n { \"example.org\", \"example.org.edgesuite.net\" },\n { \"www.example.org\", \"example.org.edgesuite.net\" },\n { \"sub.example.org\", \"sub.example.org.edgesuite.net\" },\n },\n RuleFormat = \"v2020-03-04\",\n Rules = data.Akamai_property_rules_template.Example.Json,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := akamai.NewProperty(ctx, \"example\", \u0026akamai.PropertyArgs{\n\t\t\tContacts: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"user@example.org\"),\n\t\t\t},\n\t\t\tProductId: pulumi.String(\"prd_SPM\"),\n\t\t\tContractId: pulumi.Any(_var.Contractid),\n\t\t\tGroupId: pulumi.Any(_var.Groupid),\n\t\t\tHostnames: pulumi.StringMap{\n\t\t\t\t\"example.org\": pulumi.String(\"example.org.edgesuite.net\"),\n\t\t\t\t\"www.example.org\": pulumi.String(\"example.org.edgesuite.net\"),\n\t\t\t\t\"sub.example.org\": pulumi.String(\"sub.example.org.edgesuite.net\"),\n\t\t\t},\n\t\t\tRuleFormat: pulumi.String(\"v2020-03-04\"),\n\t\t\tRules: pulumi.Any(data.Akamai_property_rules_template.Example.Json),\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{{% /example %}}\n{{% /examples %}}\n## Argument reference\n\nThis resource supports these arguments:\n\n* `name` - (Required) The property name.\n* `contact` - (Required) One or more email addresses to send activation status changes to.\n* `contract_id` - (Required) A contract's unique ID, including the `ctr_` prefix. \n* `group_id` - (Required) A group's unique ID, including the `grp_` prefix.\n* `product_id` - (Required to create, otherwise Optional) A product's unique ID, including the `prd_` prefix.\n* `hostnames` - (Required) A mapping of public hostnames to edge hostnames. For example: `{\"example.org\" = \"example.org.edgesuite.net\"}`\n* `rules` - (Required) A JSON-encoded rule tree for a given property. For this argument, you need to enter a complete JSON rule tree, unless you set up a series of JSON templates. See the `akamai.getPropertyRules` data source.\n* `rule_format` - (Optional) The [rule format](https://developer.akamai.com/api/core_features/property_manager/v1.html#getruleformats) to use. Uses the latest rule format by default.\n* `contract` - (Deprecated) Replaced by `contract_id`. Maintained for legacy purposes.\n* `group` - (Deprecated) Replaced by `group_id`. Maintained for legacy purposes.\n* `product` - (Deprecated) Optional argument replaced by the now required `product_id`. Maintained for legacy purposes.\n\n## Attribute reference\n\nThe resource returns these attributes:\n\n* `warnings` - The contents of `warnings` field returned by the API. For more information see [Errors](https://developer.akamai.com/api/core_features/property_manager/v1.html#errors) in the PAPI documentation.\n* `errors` - The contents of `errors` field returned by the API. For more information see [Errors](https://developer.akamai.com/api/core_features/property_manager/v1.html#errors) in the PAPI documentation.\n* `latest_version` - The version of the property you've created or updated rules for. The Akamai Provider always uses the latest version or creates a new version if latest is not editable.\n* `production_version` - The current version of the property active on the Akamai production network.\n* `staging_version` - The current version of the property active on the Akamai staging network.\n\n\n## Import\n\nBasic Usagehcl resource \"akamai_property\" \"example\" {\n\n\n\n # (resource arguments)\n\n } You can import Akamai properties using either the `property_id` or a comma-delimited\n\nstring of the property, contract, and group IDs. You'll need to enter the string of IDs if the property belongs to multiple groups or contracts. If using the string of IDs, you need to enter them in this order`property_id,contract_id,group_id` Here are some examples\n\n```sh\n $ pulumi import akamai:index/property:Property example prp_123\n```\n\n Or\n\n```sh\n $ pulumi import akamai:index/property:Property example prp_123,ctr_1-AB123,grp_123\n```\n\n ", "properties": { "contacts": { "type": "array", @@ -8565,7 +8565,7 @@ "deprecationMessage": "akamai.edgedns.getDnsRecordSet has been deprecated in favor of akamai.getDnsRecordSet" }, "akamai:index/getAppSecConfiguration:getAppSecConfiguration": { - "description": "Use the `akamai.getAppSecConfiguration` data source to retrieve the list of security configurations, or information about a specific security configuration.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configurations = akamai.getAppSecConfiguration({});\nexport const configurationList = configurations.then(configurations =\u003e configurations.outputText);\nconst specificConfiguration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nexport const latest = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.latestVersion);\nexport const staging = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.stagingVersion);\nexport const production = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.productionVersion);\nexport const id = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.configId);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfigurations = akamai.get_app_sec_configuration()\npulumi.export(\"configurationList\", configurations.output_text)\nspecific_configuration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\npulumi.export(\"latest\", specific_configuration.latest_version)\npulumi.export(\"staging\", specific_configuration.staging_version)\npulumi.export(\"production\", specific_configuration.production_version)\npulumi.export(\"id\", specific_configuration.config_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configurations = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync());\n this.ConfigurationList = configurations.Apply(configurations =\u003e configurations.OutputText);\n var specificConfiguration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n this.Latest = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.LatestVersion);\n this.Staging = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.StagingVersion);\n this.Production = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.ProductionVersion);\n this.Id = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.ConfigId);\n }\n\n [Output(\"configurationList\")]\n public Output\u003cstring\u003e ConfigurationList { get; set; }\n [Output(\"latest\")]\n public Output\u003cstring\u003e Latest { get; set; }\n [Output(\"staging\")]\n public Output\u003cstring\u003e Staging { get; set; }\n [Output(\"production\")]\n public Output\u003cstring\u003e Production { get; set; }\n [Output(\"id\")]\n public Output\u003cstring\u003e Id { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tconfigurations, err := akamai.GetAppSecConfiguration(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"configurationList\", configurations.OutputText)\n\t\topt0 := \"Akamai Tools\"\n\t\tspecificConfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"latest\", specificConfiguration.LatestVersion)\n\t\tctx.Export(\"staging\", specificConfiguration.StagingVersion)\n\t\tctx.Export(\"production\", specificConfiguration.ProductionVersion)\n\t\tctx.Export(\"id\", specificConfiguration.ConfigId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecConfiguration` data source to retrieve the list of security configurations, or information about a specific security configuration.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configurations = akamai.getAppSecConfiguration({});\nexport const configurationList = configurations.then(configurations =\u003e configurations.outputText);\nconst specificConfiguration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nexport const latest = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.latestVersion);\nexport const staging = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.stagingVersion);\nexport const production = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.productionVersion);\nexport const id = specificConfiguration.then(specificConfiguration =\u003e specificConfiguration.configId);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfigurations = akamai.get_app_sec_configuration()\npulumi.export(\"configurationList\", configurations.output_text)\nspecific_configuration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\npulumi.export(\"latest\", specific_configuration.latest_version)\npulumi.export(\"staging\", specific_configuration.staging_version)\npulumi.export(\"production\", specific_configuration.production_version)\npulumi.export(\"id\", specific_configuration.config_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configurations = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync());\n this.ConfigurationList = configurations.Apply(configurations =\u003e configurations.OutputText);\n var specificConfiguration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n this.Latest = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.LatestVersion);\n this.Staging = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.StagingVersion);\n this.Production = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.ProductionVersion);\n this.Id = specificConfiguration.Apply(specificConfiguration =\u003e specificConfiguration.ConfigId);\n }\n\n [Output(\"configurationList\")]\n public Output\u003cstring\u003e ConfigurationList { get; set; }\n [Output(\"latest\")]\n public Output\u003cstring\u003e Latest { get; set; }\n [Output(\"staging\")]\n public Output\u003cstring\u003e Staging { get; set; }\n [Output(\"production\")]\n public Output\u003cstring\u003e Production { get; set; }\n [Output(\"id\")]\n public Output\u003cstring\u003e Id { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tconfigurations, err := akamai.GetAppSecConfiguration(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"configurationList\", configurations.OutputText)\n\t\topt0 := \"Akamai Tools\"\n\t\tspecificConfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"latest\", specificConfiguration.LatestVersion)\n\t\tctx.Export(\"staging\", specificConfiguration.StagingVersion)\n\t\tctx.Export(\"production\", specificConfiguration.ProductionVersion)\n\t\tctx.Export(\"id\", specificConfiguration.ConfigId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecConfiguration.\n", "properties": { @@ -8625,7 +8625,7 @@ } }, "akamai:index/getAppSecConfigurationVersion:getAppSecConfigurationVersion": { - "description": "Use the `akamai.getAppSecConfigurationVersion` data source to retrieve information about the versions of a security configuration, or about a specific version.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst specificConfiguration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst versions = specificConfiguration.then(specificConfiguration =\u003e akamai.getAppSecConfigurationVersion({\n configId: specificConfiguration.configId,\n}));\nexport const versionsOutputText = versions.then(versions =\u003e versions.outputText);\nexport const versionsLatest = versions.then(versions =\u003e versions.latestVersion);\nconst specificVersion = specificConfiguration.then(specificConfiguration =\u003e akamai.getAppSecConfigurationVersion({\n configId: specificConfiguration.configId,\n version: 42,\n}));\nexport const specificVersionVersion = specificVersion.then(specificVersion =\u003e specificVersion.version);\nexport const specificVersionStaging = specificVersion.then(specificVersion =\u003e specificVersion.stagingStatus);\nexport const specificVersionProduction = specificVersion.then(specificVersion =\u003e specificVersion.productionStatus);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nspecific_configuration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nversions = akamai.get_app_sec_configuration_version(config_id=specific_configuration.config_id)\npulumi.export(\"versionsOutputText\", versions.output_text)\npulumi.export(\"versionsLatest\", versions.latest_version)\nspecific_version = akamai.get_app_sec_configuration_version(config_id=specific_configuration.config_id,\n version=42)\npulumi.export(\"specificVersionVersion\", specific_version.version)\npulumi.export(\"specificVersionStaging\", specific_version.staging_status)\npulumi.export(\"specificVersionProduction\", specific_version.production_status)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var specificConfiguration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var versions = specificConfiguration.Apply(specificConfiguration =\u003e Output.Create(Akamai.GetAppSecConfigurationVersion.InvokeAsync(new Akamai.GetAppSecConfigurationVersionArgs\n {\n ConfigId = specificConfiguration.ConfigId,\n })));\n this.VersionsOutputText = versions.Apply(versions =\u003e versions.OutputText);\n this.VersionsLatest = versions.Apply(versions =\u003e versions.LatestVersion);\n var specificVersion = specificConfiguration.Apply(specificConfiguration =\u003e Output.Create(Akamai.GetAppSecConfigurationVersion.InvokeAsync(new Akamai.GetAppSecConfigurationVersionArgs\n {\n ConfigId = specificConfiguration.ConfigId,\n Version = 42,\n })));\n this.SpecificVersionVersion = specificVersion.Apply(specificVersion =\u003e specificVersion.Version);\n this.SpecificVersionStaging = specificVersion.Apply(specificVersion =\u003e specificVersion.StagingStatus);\n this.SpecificVersionProduction = specificVersion.Apply(specificVersion =\u003e specificVersion.ProductionStatus);\n }\n\n [Output(\"versionsOutputText\")]\n public Output\u003cstring\u003e VersionsOutputText { get; set; }\n [Output(\"versionsLatest\")]\n public Output\u003cstring\u003e VersionsLatest { get; set; }\n [Output(\"specificVersionVersion\")]\n public Output\u003cstring\u003e SpecificVersionVersion { get; set; }\n [Output(\"specificVersionStaging\")]\n public Output\u003cstring\u003e SpecificVersionStaging { get; set; }\n [Output(\"specificVersionProduction\")]\n public Output\u003cstring\u003e SpecificVersionProduction { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tspecificConfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tversions, err := akamai.GetAppSecConfigurationVersion(ctx, \u0026akamai.GetAppSecConfigurationVersionArgs{\n\t\t\tConfigId: specificConfiguration.ConfigId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"versionsOutputText\", versions.OutputText)\n\t\tctx.Export(\"versionsLatest\", versions.LatestVersion)\n\t\topt1 := 42\n\t\tspecificVersion, err := akamai.GetAppSecConfigurationVersion(ctx, \u0026akamai.GetAppSecConfigurationVersionArgs{\n\t\t\tConfigId: specificConfiguration.ConfigId,\n\t\t\tVersion: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"specificVersionVersion\", specificVersion.Version)\n\t\tctx.Export(\"specificVersionStaging\", specificVersion.StagingStatus)\n\t\tctx.Export(\"specificVersionProduction\", specificVersion.ProductionStatus)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecConfigurationVersion` data source to retrieve information about the versions of a security configuration, or about a specific version.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst specificConfiguration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst versions = specificConfiguration.then(specificConfiguration =\u003e akamai.getAppSecConfigurationVersion({\n configId: specificConfiguration.configId,\n}));\nexport const versionsOutputText = versions.then(versions =\u003e versions.outputText);\nexport const versionsLatest = versions.then(versions =\u003e versions.latestVersion);\nconst specificVersion = specificConfiguration.then(specificConfiguration =\u003e akamai.getAppSecConfigurationVersion({\n configId: specificConfiguration.configId,\n version: 42,\n}));\nexport const specificVersionVersion = specificVersion.then(specificVersion =\u003e specificVersion.version);\nexport const specificVersionStaging = specificVersion.then(specificVersion =\u003e specificVersion.stagingStatus);\nexport const specificVersionProduction = specificVersion.then(specificVersion =\u003e specificVersion.productionStatus);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nspecific_configuration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nversions = akamai.get_app_sec_configuration_version(config_id=specific_configuration.config_id)\npulumi.export(\"versionsOutputText\", versions.output_text)\npulumi.export(\"versionsLatest\", versions.latest_version)\nspecific_version = akamai.get_app_sec_configuration_version(config_id=specific_configuration.config_id,\n version=42)\npulumi.export(\"specificVersionVersion\", specific_version.version)\npulumi.export(\"specificVersionStaging\", specific_version.staging_status)\npulumi.export(\"specificVersionProduction\", specific_version.production_status)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var specificConfiguration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var versions = specificConfiguration.Apply(specificConfiguration =\u003e Output.Create(Akamai.GetAppSecConfigurationVersion.InvokeAsync(new Akamai.GetAppSecConfigurationVersionArgs\n {\n ConfigId = specificConfiguration.ConfigId,\n })));\n this.VersionsOutputText = versions.Apply(versions =\u003e versions.OutputText);\n this.VersionsLatest = versions.Apply(versions =\u003e versions.LatestVersion);\n var specificVersion = specificConfiguration.Apply(specificConfiguration =\u003e Output.Create(Akamai.GetAppSecConfigurationVersion.InvokeAsync(new Akamai.GetAppSecConfigurationVersionArgs\n {\n ConfigId = specificConfiguration.ConfigId,\n Version = 42,\n })));\n this.SpecificVersionVersion = specificVersion.Apply(specificVersion =\u003e specificVersion.Version);\n this.SpecificVersionStaging = specificVersion.Apply(specificVersion =\u003e specificVersion.StagingStatus);\n this.SpecificVersionProduction = specificVersion.Apply(specificVersion =\u003e specificVersion.ProductionStatus);\n }\n\n [Output(\"versionsOutputText\")]\n public Output\u003cstring\u003e VersionsOutputText { get; set; }\n [Output(\"versionsLatest\")]\n public Output\u003cstring\u003e VersionsLatest { get; set; }\n [Output(\"specificVersionVersion\")]\n public Output\u003cstring\u003e SpecificVersionVersion { get; set; }\n [Output(\"specificVersionStaging\")]\n public Output\u003cstring\u003e SpecificVersionStaging { get; set; }\n [Output(\"specificVersionProduction\")]\n public Output\u003cstring\u003e SpecificVersionProduction { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tspecificConfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tversions, err := akamai.GetAppSecConfigurationVersion(ctx, \u0026akamai.GetAppSecConfigurationVersionArgs{\n\t\t\tConfigId: specificConfiguration.ConfigId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"versionsOutputText\", versions.OutputText)\n\t\tctx.Export(\"versionsLatest\", versions.LatestVersion)\n\t\topt1 := 42\n\t\tspecificVersion, err := akamai.GetAppSecConfigurationVersion(ctx, \u0026akamai.GetAppSecConfigurationVersionArgs{\n\t\t\tConfigId: specificConfiguration.ConfigId,\n\t\t\tVersion: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"specificVersionVersion\", specificVersion.Version)\n\t\tctx.Export(\"specificVersionStaging\", specificVersion.StagingStatus)\n\t\tctx.Export(\"specificVersionProduction\", specificVersion.ProductionStatus)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecConfigurationVersion.\n", "properties": { @@ -8685,7 +8685,7 @@ } }, "akamai:index/getAppSecCustomRuleActions:getAppSecCustomRuleActions": { - "description": "Use the `akamai.getAppSecCustomRuleActions` data source to retrieve information about the actions defined for the custom rules associated with a specific security configuration, version and security policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst customRuleActionsAppSecCustomRuleActions = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecCustomRuleActions({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n policyId: \"crAP_75829\",\n}));\nexport const customRuleActions = customRuleActionsAppSecCustomRuleActions.then(customRuleActionsAppSecCustomRuleActions =\u003e customRuleActionsAppSecCustomRuleActions.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\ncustom_rule_actions_app_sec_custom_rule_actions = akamai.get_app_sec_custom_rule_actions(config_id=configuration.config_id,\n version=configuration.latest_version,\n policy_id=\"crAP_75829\")\npulumi.export(\"customRuleActions\", custom_rule_actions_app_sec_custom_rule_actions.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var customRuleActionsAppSecCustomRuleActions = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecCustomRuleActions.InvokeAsync(new Akamai.GetAppSecCustomRuleActionsArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n PolicyId = \"crAP_75829\",\n }));\n });\n this.CustomRuleActions = customRuleActionsAppSecCustomRuleActions.Apply(customRuleActionsAppSecCustomRuleActions =\u003e customRuleActionsAppSecCustomRuleActions.OutputText);\n }\n\n [Output(\"customRuleActions\")]\n public Output\u003cstring\u003e CustomRuleActions { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcustomRuleActionsAppSecCustomRuleActions, err := akamai.GetAppSecCustomRuleActions(ctx, \u0026akamai.GetAppSecCustomRuleActionsArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t\tPolicyId: \"crAP_75829\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"customRuleActions\", customRuleActionsAppSecCustomRuleActions.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecCustomRuleActions` data source to retrieve information about the actions defined for the custom rules associated with a specific security configuration, version and security policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst customRuleActionsAppSecCustomRuleActions = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecCustomRuleActions({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n policyId: \"crAP_75829\",\n}));\nexport const customRuleActions = customRuleActionsAppSecCustomRuleActions.then(customRuleActionsAppSecCustomRuleActions =\u003e customRuleActionsAppSecCustomRuleActions.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\ncustom_rule_actions_app_sec_custom_rule_actions = akamai.get_app_sec_custom_rule_actions(config_id=configuration.config_id,\n version=configuration.latest_version,\n policy_id=\"crAP_75829\")\npulumi.export(\"customRuleActions\", custom_rule_actions_app_sec_custom_rule_actions.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var customRuleActionsAppSecCustomRuleActions = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecCustomRuleActions.InvokeAsync(new Akamai.GetAppSecCustomRuleActionsArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n PolicyId = \"crAP_75829\",\n }));\n });\n this.CustomRuleActions = customRuleActionsAppSecCustomRuleActions.Apply(customRuleActionsAppSecCustomRuleActions =\u003e customRuleActionsAppSecCustomRuleActions.OutputText);\n }\n\n [Output(\"customRuleActions\")]\n public Output\u003cstring\u003e CustomRuleActions { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcustomRuleActionsAppSecCustomRuleActions, err := akamai.GetAppSecCustomRuleActions(ctx, \u0026akamai.GetAppSecCustomRuleActionsArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t\tPolicyId: \"crAP_75829\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"customRuleActions\", customRuleActionsAppSecCustomRuleActions.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecCustomRuleActions.\n", "properties": { @@ -8741,7 +8741,7 @@ } }, "akamai:index/getAppSecCustomRules:getAppSecCustomRules": { - "description": "Use the `akamai.getAppSecCustomRules` data source to retrieve a list of the custom rules defined for a security configuration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst customRules = configuration.then(configuration =\u003e akamai.getAppSecCustomRules({\n configId: configuration.configId,\n}));\nexport const customRulesList = customRules.then(customRules =\u003e customRules.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\ncustom_rules = akamai.get_app_sec_custom_rules(config_id=configuration.config_id)\npulumi.export(\"customRulesList\", custom_rules.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var customRules = configuration.Apply(configuration =\u003e Output.Create(Akamai.GetAppSecCustomRules.InvokeAsync(new Akamai.GetAppSecCustomRulesArgs\n {\n ConfigId = configuration.ConfigId,\n })));\n this.CustomRulesList = customRules.Apply(customRules =\u003e customRules.OutputText);\n }\n\n [Output(\"customRulesList\")]\n public Output\u003cstring\u003e CustomRulesList { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcustomRules, err := akamai.GetAppSecCustomRules(ctx, \u0026akamai.GetAppSecCustomRulesArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"customRulesList\", customRules.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecCustomRules` data source to retrieve a list of the custom rules defined for a security configuration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst customRules = configuration.then(configuration =\u003e akamai.getAppSecCustomRules({\n configId: configuration.configId,\n}));\nexport const customRulesList = customRules.then(customRules =\u003e customRules.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\ncustom_rules = akamai.get_app_sec_custom_rules(config_id=configuration.config_id)\npulumi.export(\"customRulesList\", custom_rules.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var customRules = configuration.Apply(configuration =\u003e Output.Create(Akamai.GetAppSecCustomRules.InvokeAsync(new Akamai.GetAppSecCustomRulesArgs\n {\n ConfigId = configuration.ConfigId,\n })));\n this.CustomRulesList = customRules.Apply(customRules =\u003e customRules.OutputText);\n }\n\n [Output(\"customRulesList\")]\n public Output\u003cstring\u003e CustomRulesList { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcustomRules, err := akamai.GetAppSecCustomRules(ctx, \u0026akamai.GetAppSecCustomRulesArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"customRulesList\", customRules.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecCustomRules.\n", "properties": { @@ -8779,7 +8779,7 @@ } }, "akamai:index/getAppSecExportConfiguration:getAppSecExportConfiguration": { - "description": "Use the `akamai.getAppSecExportConfiguration` data source to retrieve comprehensive details about a security configuration version, including rate and security policies, rules, hostnames, and other settings. You can retrieve the entire set of information in JSON format, or a subset of the information in tabular format.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst export = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecExportConfiguration({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n searches: [\n \"securityPolicies\",\n \"selectedHosts\",\n ],\n}));\nexport const json = _export.then(_export =\u003e _export.json);\nexport const text = _export.then(_export =\u003e _export.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nexport = akamai.get_app_sec_export_configuration(config_id=configuration.config_id,\n version=configuration.latest_version,\n searches=[\n \"securityPolicies\",\n \"selectedHosts\",\n ])\npulumi.export(\"json\", export.json)\npulumi.export(\"text\", export.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var export = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecExportConfiguration.InvokeAsync(new Akamai.GetAppSecExportConfigurationArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n Searches = \n {\n \"securityPolicies\",\n \"selectedHosts\",\n },\n }));\n });\n this.Json = export.Apply(export =\u003e export.Json);\n this.Text = export.Apply(export =\u003e export.OutputText);\n }\n\n [Output(\"json\")]\n public Output\u003cstring\u003e Json { get; set; }\n [Output(\"text\")]\n public Output\u003cstring\u003e Text { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texport, err := akamai.GetAppSecExportConfiguration(ctx, \u0026akamai.GetAppSecExportConfigurationArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t\tSearches: []string{\n\t\t\t\t\"securityPolicies\",\n\t\t\t\t\"selectedHosts\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"json\", export.Json)\n\t\tctx.Export(\"text\", export.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecExportConfiguration` data source to retrieve comprehensive details about a security configuration version, including rate and security policies, rules, hostnames, and other settings. You can retrieve the entire set of information in JSON format, or a subset of the information in tabular format.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst export = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecExportConfiguration({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n searches: [\n \"securityPolicies\",\n \"selectedHosts\",\n ],\n}));\nexport const json = _export.then(_export =\u003e _export.json);\nexport const text = _export.then(_export =\u003e _export.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nexport = akamai.get_app_sec_export_configuration(config_id=configuration.config_id,\n version=configuration.latest_version,\n searches=[\n \"securityPolicies\",\n \"selectedHosts\",\n ])\npulumi.export(\"json\", export.json)\npulumi.export(\"text\", export.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var export = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecExportConfiguration.InvokeAsync(new Akamai.GetAppSecExportConfigurationArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n Searches = \n {\n \"securityPolicies\",\n \"selectedHosts\",\n },\n }));\n });\n this.Json = export.Apply(export =\u003e export.Json);\n this.Text = export.Apply(export =\u003e export.OutputText);\n }\n\n [Output(\"json\")]\n public Output\u003cstring\u003e Json { get; set; }\n [Output(\"text\")]\n public Output\u003cstring\u003e Text { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texport, err := akamai.GetAppSecExportConfiguration(ctx, \u0026akamai.GetAppSecExportConfigurationArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t\tSearches: []string{\n\t\t\t\t\"securityPolicies\",\n\t\t\t\t\"selectedHosts\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"json\", export.Json)\n\t\tctx.Export(\"text\", export.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecExportConfiguration.\n", "properties": { @@ -8844,7 +8844,7 @@ } }, "akamai:index/getAppSecMatchTargets:getAppSecMatchTargets": { - "description": "Use the `akamai.getAppSecMatchTargets` data source to retrieve information about the match targets associated with a given configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst matchTargetsAppSecMatchTargets = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecMatchTargets({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const matchTargets = matchTargetsAppSecMatchTargets.then(matchTargetsAppSecMatchTargets =\u003e matchTargetsAppSecMatchTargets.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nmatch_targets_app_sec_match_targets = akamai.get_app_sec_match_targets(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"matchTargets\", match_targets_app_sec_match_targets.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var matchTargetsAppSecMatchTargets = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecMatchTargets.InvokeAsync(new Akamai.GetAppSecMatchTargetsArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.MatchTargets = matchTargetsAppSecMatchTargets.Apply(matchTargetsAppSecMatchTargets =\u003e matchTargetsAppSecMatchTargets.OutputText);\n }\n\n [Output(\"matchTargets\")]\n public Output\u003cstring\u003e MatchTargets { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmatchTargetsAppSecMatchTargets, err := akamai.GetAppSecMatchTargets(ctx, \u0026akamai.GetAppSecMatchTargetsArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"matchTargets\", matchTargetsAppSecMatchTargets.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecMatchTargets` data source to retrieve information about the match targets associated with a given configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst matchTargetsAppSecMatchTargets = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecMatchTargets({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const matchTargets = matchTargetsAppSecMatchTargets.then(matchTargetsAppSecMatchTargets =\u003e matchTargetsAppSecMatchTargets.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nmatch_targets_app_sec_match_targets = akamai.get_app_sec_match_targets(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"matchTargets\", match_targets_app_sec_match_targets.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var matchTargetsAppSecMatchTargets = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecMatchTargets.InvokeAsync(new Akamai.GetAppSecMatchTargetsArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.MatchTargets = matchTargetsAppSecMatchTargets.Apply(matchTargetsAppSecMatchTargets =\u003e matchTargetsAppSecMatchTargets.OutputText);\n }\n\n [Output(\"matchTargets\")]\n public Output\u003cstring\u003e MatchTargets { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmatchTargetsAppSecMatchTargets, err := akamai.GetAppSecMatchTargets(ctx, \u0026akamai.GetAppSecMatchTargetsArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"matchTargets\", matchTargetsAppSecMatchTargets.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecMatchTargets.\n", "properties": { @@ -8891,7 +8891,7 @@ } }, "akamai:index/getAppSecSecurityPolicy:getAppSecSecurityPolicy": { - "description": "Use the `akamai.getAppSecSecurityPolicy` data source to retrieve information about the security policies associated with a specific security configuration version, or about a specific security policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst securityPolicies = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSecurityPolicy({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const securityPoliciesList = securityPolicies.then(securityPolicies =\u003e securityPolicies.policyLists);\nexport const securityPoliciesText = securityPolicies.then(securityPolicies =\u003e securityPolicies.outputText);\nconst specificSecurityPolicy = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSecurityPolicy({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n name: \"APIs\",\n}));\nexport const specificSecurityPolicyId = specificSecurityPolicy.then(specificSecurityPolicy =\u003e specificSecurityPolicy.policyId);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nsecurity_policies = akamai.get_app_sec_security_policy(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"securityPoliciesList\", security_policies.policy_lists)\npulumi.export(\"securityPoliciesText\", security_policies.output_text)\nspecific_security_policy = akamai.get_app_sec_security_policy(config_id=configuration.config_id,\n version=configuration.latest_version,\n name=\"APIs\")\npulumi.export(\"specificSecurityPolicyId\", specific_security_policy.policy_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var securityPolicies = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSecurityPolicy.InvokeAsync(new Akamai.GetAppSecSecurityPolicyArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.SecurityPoliciesList = securityPolicies.Apply(securityPolicies =\u003e securityPolicies.PolicyLists);\n this.SecurityPoliciesText = securityPolicies.Apply(securityPolicies =\u003e securityPolicies.OutputText);\n var specificSecurityPolicy = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSecurityPolicy.InvokeAsync(new Akamai.GetAppSecSecurityPolicyArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n Name = \"APIs\",\n }));\n });\n this.SpecificSecurityPolicyId = specificSecurityPolicy.Apply(specificSecurityPolicy =\u003e specificSecurityPolicy.PolicyId);\n }\n\n [Output(\"securityPoliciesList\")]\n public Output\u003cstring\u003e SecurityPoliciesList { get; set; }\n [Output(\"securityPoliciesText\")]\n public Output\u003cstring\u003e SecurityPoliciesText { get; set; }\n [Output(\"specificSecurityPolicyId\")]\n public Output\u003cstring\u003e SpecificSecurityPolicyId { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecurityPolicies, err := akamai.GetAppSecSecurityPolicy(ctx, \u0026akamai.GetAppSecSecurityPolicyArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"securityPoliciesList\", securityPolicies.PolicyLists)\n\t\tctx.Export(\"securityPoliciesText\", securityPolicies.OutputText)\n\t\topt1 := \"APIs\"\n\t\tspecificSecurityPolicy, err := akamai.GetAppSecSecurityPolicy(ctx, \u0026akamai.GetAppSecSecurityPolicyArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t\tName: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"specificSecurityPolicyId\", specificSecurityPolicy.PolicyId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecSecurityPolicy` data source to retrieve information about the security policies associated with a specific security configuration version, or about a specific security policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst securityPolicies = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSecurityPolicy({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const securityPoliciesList = securityPolicies.then(securityPolicies =\u003e securityPolicies.policyLists);\nexport const securityPoliciesText = securityPolicies.then(securityPolicies =\u003e securityPolicies.outputText);\nconst specificSecurityPolicy = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSecurityPolicy({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n name: \"APIs\",\n}));\nexport const specificSecurityPolicyId = specificSecurityPolicy.then(specificSecurityPolicy =\u003e specificSecurityPolicy.policyId);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nsecurity_policies = akamai.get_app_sec_security_policy(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"securityPoliciesList\", security_policies.policy_lists)\npulumi.export(\"securityPoliciesText\", security_policies.output_text)\nspecific_security_policy = akamai.get_app_sec_security_policy(config_id=configuration.config_id,\n version=configuration.latest_version,\n name=\"APIs\")\npulumi.export(\"specificSecurityPolicyId\", specific_security_policy.policy_id)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var securityPolicies = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSecurityPolicy.InvokeAsync(new Akamai.GetAppSecSecurityPolicyArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.SecurityPoliciesList = securityPolicies.Apply(securityPolicies =\u003e securityPolicies.PolicyLists);\n this.SecurityPoliciesText = securityPolicies.Apply(securityPolicies =\u003e securityPolicies.OutputText);\n var specificSecurityPolicy = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSecurityPolicy.InvokeAsync(new Akamai.GetAppSecSecurityPolicyArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n Name = \"APIs\",\n }));\n });\n this.SpecificSecurityPolicyId = specificSecurityPolicy.Apply(specificSecurityPolicy =\u003e specificSecurityPolicy.PolicyId);\n }\n\n [Output(\"securityPoliciesList\")]\n public Output\u003cstring\u003e SecurityPoliciesList { get; set; }\n [Output(\"securityPoliciesText\")]\n public Output\u003cstring\u003e SecurityPoliciesText { get; set; }\n [Output(\"specificSecurityPolicyId\")]\n public Output\u003cstring\u003e SpecificSecurityPolicyId { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecurityPolicies, err := akamai.GetAppSecSecurityPolicy(ctx, \u0026akamai.GetAppSecSecurityPolicyArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"securityPoliciesList\", securityPolicies.PolicyLists)\n\t\tctx.Export(\"securityPoliciesText\", securityPolicies.OutputText)\n\t\topt1 := \"APIs\"\n\t\tspecificSecurityPolicy, err := akamai.GetAppSecSecurityPolicy(ctx, \u0026akamai.GetAppSecSecurityPolicyArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t\tName: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"specificSecurityPolicyId\", specificSecurityPolicy.PolicyId)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecSecurityPolicy.\n", "properties": { @@ -8958,7 +8958,7 @@ } }, "akamai:index/getAppSecSelectableHostnames:getAppSecSelectableHostnames": { - "description": "Use the `akamai.getAppSecSelectableHostnames` data source to retrieve the list of hostnames that may be protected under a given security configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst selectableHostnamesAppSecSelectableHostnames = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSelectableHostnames({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const selectableHostnames = selectableHostnamesAppSecSelectableHostnames.then(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.hostnames);\nexport const selectableHostnamesJson = selectableHostnamesAppSecSelectableHostnames.then(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.hostnamesJson);\nexport const selectableHostnamesOutputText = selectableHostnamesAppSecSelectableHostnames.then(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nselectable_hostnames_app_sec_selectable_hostnames = akamai.get_app_sec_selectable_hostnames(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"selectableHostnames\", selectable_hostnames_app_sec_selectable_hostnames.hostnames)\npulumi.export(\"selectableHostnamesJson\", selectable_hostnames_app_sec_selectable_hostnames.hostnames_json)\npulumi.export(\"selectableHostnamesOutputText\", selectable_hostnames_app_sec_selectable_hostnames.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var selectableHostnamesAppSecSelectableHostnames = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSelectableHostnames.InvokeAsync(new Akamai.GetAppSecSelectableHostnamesArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.SelectableHostnames = selectableHostnamesAppSecSelectableHostnames.Apply(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.Hostnames);\n this.SelectableHostnamesJson = selectableHostnamesAppSecSelectableHostnames.Apply(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.HostnamesJson);\n this.SelectableHostnamesOutputText = selectableHostnamesAppSecSelectableHostnames.Apply(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.OutputText);\n }\n\n [Output(\"selectableHostnames\")]\n public Output\u003cstring\u003e SelectableHostnames { get; set; }\n [Output(\"selectableHostnamesJson\")]\n public Output\u003cstring\u003e SelectableHostnamesJson { get; set; }\n [Output(\"selectableHostnamesOutputText\")]\n public Output\u003cstring\u003e SelectableHostnamesOutputText { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tselectableHostnamesAppSecSelectableHostnames, err := akamai.GetAppSecSelectableHostnames(ctx, \u0026akamai.GetAppSecSelectableHostnamesArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"selectableHostnames\", selectableHostnamesAppSecSelectableHostnames.Hostnames)\n\t\tctx.Export(\"selectableHostnamesJson\", selectableHostnamesAppSecSelectableHostnames.HostnamesJson)\n\t\tctx.Export(\"selectableHostnamesOutputText\", selectableHostnamesAppSecSelectableHostnames.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.getAppSecSelectableHostnames` data source to retrieve the list of hostnames that may be protected under a given security configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst selectableHostnamesAppSecSelectableHostnames = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSelectableHostnames({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const selectableHostnames = selectableHostnamesAppSecSelectableHostnames.then(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.hostnames);\nexport const selectableHostnamesJson = selectableHostnamesAppSecSelectableHostnames.then(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.hostnamesJson);\nexport const selectableHostnamesOutputText = selectableHostnamesAppSecSelectableHostnames.then(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nselectable_hostnames_app_sec_selectable_hostnames = akamai.get_app_sec_selectable_hostnames(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"selectableHostnames\", selectable_hostnames_app_sec_selectable_hostnames.hostnames)\npulumi.export(\"selectableHostnamesJson\", selectable_hostnames_app_sec_selectable_hostnames.hostnames_json)\npulumi.export(\"selectableHostnamesOutputText\", selectable_hostnames_app_sec_selectable_hostnames.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var selectableHostnamesAppSecSelectableHostnames = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSelectableHostnames.InvokeAsync(new Akamai.GetAppSecSelectableHostnamesArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.SelectableHostnames = selectableHostnamesAppSecSelectableHostnames.Apply(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.Hostnames);\n this.SelectableHostnamesJson = selectableHostnamesAppSecSelectableHostnames.Apply(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.HostnamesJson);\n this.SelectableHostnamesOutputText = selectableHostnamesAppSecSelectableHostnames.Apply(selectableHostnamesAppSecSelectableHostnames =\u003e selectableHostnamesAppSecSelectableHostnames.OutputText);\n }\n\n [Output(\"selectableHostnames\")]\n public Output\u003cstring\u003e SelectableHostnames { get; set; }\n [Output(\"selectableHostnamesJson\")]\n public Output\u003cstring\u003e SelectableHostnamesJson { get; set; }\n [Output(\"selectableHostnamesOutputText\")]\n public Output\u003cstring\u003e SelectableHostnamesOutputText { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tselectableHostnamesAppSecSelectableHostnames, err := akamai.GetAppSecSelectableHostnames(ctx, \u0026akamai.GetAppSecSelectableHostnamesArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"selectableHostnames\", selectableHostnamesAppSecSelectableHostnames.Hostnames)\n\t\tctx.Export(\"selectableHostnamesJson\", selectableHostnamesAppSecSelectableHostnames.HostnamesJson)\n\t\tctx.Export(\"selectableHostnamesOutputText\", selectableHostnamesAppSecSelectableHostnames.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecSelectableHostnames.\n", "properties": { @@ -9030,7 +9030,7 @@ } }, "akamai:index/getAppSecSelectedHostnames:getAppSecSelectedHostnames": { - "description": "Use the `akamai.AppSecSelectedHostnames` data source to retrieve a list of the hostnames that are currently protected under a given security configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst selectedHostnamesAppSecSelectedHostnames = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSelectedHostnames({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const selectedHostnames = selectedHostnamesAppSecSelectedHostnames.then(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.hostnames);\nexport const selectedHostnamesJson = selectedHostnamesAppSecSelectedHostnames.then(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.hostnamesJson);\nexport const selectedHostnamesOutputText = selectedHostnamesAppSecSelectedHostnames.then(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nselected_hostnames_app_sec_selected_hostnames = akamai.get_app_sec_selected_hostnames(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"selectedHostnames\", selected_hostnames_app_sec_selected_hostnames.hostnames)\npulumi.export(\"selectedHostnamesJson\", selected_hostnames_app_sec_selected_hostnames.hostnames_json)\npulumi.export(\"selectedHostnamesOutputText\", selected_hostnames_app_sec_selected_hostnames.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var selectedHostnamesAppSecSelectedHostnames = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSelectedHostnames.InvokeAsync(new Akamai.GetAppSecSelectedHostnamesArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.SelectedHostnames = selectedHostnamesAppSecSelectedHostnames.Apply(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.Hostnames);\n this.SelectedHostnamesJson = selectedHostnamesAppSecSelectedHostnames.Apply(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.HostnamesJson);\n this.SelectedHostnamesOutputText = selectedHostnamesAppSecSelectedHostnames.Apply(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.OutputText);\n }\n\n [Output(\"selectedHostnames\")]\n public Output\u003cstring\u003e SelectedHostnames { get; set; }\n [Output(\"selectedHostnamesJson\")]\n public Output\u003cstring\u003e SelectedHostnamesJson { get; set; }\n [Output(\"selectedHostnamesOutputText\")]\n public Output\u003cstring\u003e SelectedHostnamesOutputText { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai/\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tselectedHostnamesAppSecSelectedHostnames, err := akamai.LookupAppSecSelectedHostnames(ctx, \u0026akamai.LookupAppSecSelectedHostnamesArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"selectedHostnames\", selectedHostnamesAppSecSelectedHostnames.Hostnames)\n\t\tctx.Export(\"selectedHostnamesJson\", selectedHostnamesAppSecSelectedHostnames.HostnamesJson)\n\t\tctx.Export(\"selectedHostnamesOutputText\", selectedHostnamesAppSecSelectedHostnames.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use the `akamai.AppSecSelectedHostnames` data source to retrieve a list of the hostnames that are currently protected under a given security configuration version.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as akamai from \"@pulumi/akamai\";\n\nconst configuration = akamai.getAppSecConfiguration({\n name: \"Akamai Tools\",\n});\nconst selectedHostnamesAppSecSelectedHostnames = Promise.all([configuration, configuration]).then(([configuration, configuration1]) =\u003e akamai.getAppSecSelectedHostnames({\n configId: configuration.configId,\n version: configuration1.latestVersion,\n}));\nexport const selectedHostnames = selectedHostnamesAppSecSelectedHostnames.then(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.hostnames);\nexport const selectedHostnamesJson = selectedHostnamesAppSecSelectedHostnames.then(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.hostnamesJson);\nexport const selectedHostnamesOutputText = selectedHostnamesAppSecSelectedHostnames.then(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.outputText);\n```\n```python\nimport pulumi\nimport pulumi_akamai as akamai\n\nconfiguration = akamai.get_app_sec_configuration(name=\"Akamai Tools\")\nselected_hostnames_app_sec_selected_hostnames = akamai.get_app_sec_selected_hostnames(config_id=configuration.config_id,\n version=configuration.latest_version)\npulumi.export(\"selectedHostnames\", selected_hostnames_app_sec_selected_hostnames.hostnames)\npulumi.export(\"selectedHostnamesJson\", selected_hostnames_app_sec_selected_hostnames.hostnames_json)\npulumi.export(\"selectedHostnamesOutputText\", selected_hostnames_app_sec_selected_hostnames.output_text)\n```\n```csharp\nusing Pulumi;\nusing Akamai = Pulumi.Akamai;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs\n {\n Name = \"Akamai Tools\",\n }));\n var selectedHostnamesAppSecSelectedHostnames = Output.Tuple(configuration, configuration).Apply(values =\u003e\n {\n var configuration = values.Item1;\n var configuration1 = values.Item2;\n return Output.Create(Akamai.GetAppSecSelectedHostnames.InvokeAsync(new Akamai.GetAppSecSelectedHostnamesArgs\n {\n ConfigId = configuration.ConfigId,\n Version = configuration1.LatestVersion,\n }));\n });\n this.SelectedHostnames = selectedHostnamesAppSecSelectedHostnames.Apply(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.Hostnames);\n this.SelectedHostnamesJson = selectedHostnamesAppSecSelectedHostnames.Apply(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.HostnamesJson);\n this.SelectedHostnamesOutputText = selectedHostnamesAppSecSelectedHostnames.Apply(selectedHostnamesAppSecSelectedHostnames =\u003e selectedHostnamesAppSecSelectedHostnames.OutputText);\n }\n\n [Output(\"selectedHostnames\")]\n public Output\u003cstring\u003e SelectedHostnames { get; set; }\n [Output(\"selectedHostnamesJson\")]\n public Output\u003cstring\u003e SelectedHostnamesJson { get; set; }\n [Output(\"selectedHostnamesOutputText\")]\n public Output\u003cstring\u003e SelectedHostnamesOutputText { get; set; }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-akamai/sdk/go/akamai\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"Akamai Tools\"\n\t\tconfiguration, err := akamai.GetAppSecConfiguration(ctx, \u0026akamai.GetAppSecConfigurationArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tselectedHostnamesAppSecSelectedHostnames, err := akamai.LookupAppSecSelectedHostnames(ctx, \u0026akamai.LookupAppSecSelectedHostnamesArgs{\n\t\t\tConfigId: configuration.ConfigId,\n\t\t\tVersion: configuration.LatestVersion,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"selectedHostnames\", selectedHostnamesAppSecSelectedHostnames.Hostnames)\n\t\tctx.Export(\"selectedHostnamesJson\", selectedHostnamesAppSecSelectedHostnames.HostnamesJson)\n\t\tctx.Export(\"selectedHostnamesOutputText\", selectedHostnamesAppSecSelectedHostnames.OutputText)\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAppSecSelectedHostnames.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index c86d8766d..c01a6eedd 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -5,12 +5,12 @@ go 1.15 replace ( github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible github.com/akamai/terraform-provider-akamai/v2 => github.com/pulumi/terraform-provider-akamai/v2 v2.0.0-20201230152346-7950a81711af - github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20201218231525-9cca98608a5e github.com/hashicorp/go-getter v1.5.0 => github.com/hashicorp/go-getter v1.4.0 + github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20201218231525-9cca98608a5e ) require ( github.com/akamai/terraform-provider-akamai/v2 v2.0.0-20201210190102-1d221ddd12c3 - github.com/pulumi/pulumi-terraform-bridge/v2 v2.18.1 - github.com/pulumi/pulumi/sdk/v2 v2.18.1 + github.com/pulumi/pulumi-terraform-bridge/v2 v2.19.0 + github.com/pulumi/pulumi/sdk/v2 v2.20.1-0.20210212181059-f4b0fa86fedc ) diff --git a/provider/go.sum b/provider/go.sum index e22bd7cf4..6c8dc1695 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -57,11 +57,9 @@ github.com/Azure/go-amqp v0.12.7/go.mod h1:qApuH6OFTSKZFmCOxccvAv5rLizBQf4v8pRmG github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest v0.9.3/go.mod h1:GsRuLYvwzLjjjRoWEIyMUaYq8GNUx2nRB378IPt/1p0= -github.com/Azure/go-autorest/autorest v0.10.0/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= github.com/Azure/go-autorest/autorest/adal v0.8.1/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= -github.com/Azure/go-autorest/autorest/adal v0.8.2/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= github.com/Azure/go-autorest/autorest/adal v0.8.3/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= github.com/Azure/go-autorest/autorest/azure/auth v0.4.2/go.mod h1:90gmfKdlmKgfjUpnCEpOJzsUEjrWDSLwHIG73tSXddM= github.com/Azure/go-autorest/autorest/azure/cli v0.3.1/go.mod h1:ZG5p860J94/0kI9mNJVoIoLgXcirM2gF5i2kWloofxw= @@ -307,8 +305,6 @@ github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUK github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= github.com/hashicorp/go-getter v1.4.0 h1:ENHNi8494porjD0ZhIrjlAHnveSFhY7hvOJrV/fsKkw= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= -github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02 h1:l1KB3bHVdvegcIf5upQ5mjcHjs2qsWnKh4Yr9xgIuu8= -github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.8.0/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.9.2 h1:CG6TE5H9/JXsFWJCfoIVpKFIkFe6ysEuHirp4DxCsHI= @@ -355,12 +351,10 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO github.com/hashicorp/terraform-config-inspect v0.0.0-20190821133035-82a99dc22ef4/go.mod h1:JDmizlhaP5P0rYTTZB0reDMefAiJyfWPEtugV4in1oI= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8 h1:+RyjwU+Gnd/aTJBPZVDNm903eXVjjqhbaR4Ypx3xYyY= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.9.0 h1:NmCtcsnmPBU6P3cDeKD26bD72evsMhmuDLvuNRgrTHc= -github.com/hashicorp/terraform-exec v0.9.0/go.mod h1:tOT8j1J8rP05bZBGWXfMyU3HkLi1LWyqL3Bzsc3CJjo= +github.com/hashicorp/terraform-exec v0.12.0 h1:Tb1VC2gqArl9EJziJjoazep2MyxMk00tnNKV/rgMba0= github.com/hashicorp/terraform-exec v0.12.0/go.mod h1:SGhto91bVRlgXQWcJ5znSz+29UZIa8kpBbkGwQ+g9E8= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= -github.com/hashicorp/terraform-json v0.5.0 h1:7TV3/F3y7QVSuN4r9BEXqnWqrAyeOtON8f0wvREtyzs= -github.com/hashicorp/terraform-json v0.5.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= +github.com/hashicorp/terraform-json v0.8.0 h1:XObQ3PgqU52YLQKEaJ08QtUshAfN3yu4u8ebSW0vztc= github.com/hashicorp/terraform-json v0.8.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE= github.com/hashicorp/terraform-plugin-go v0.1.0 h1:kyXZ0nkHxiRev/q18N40IbRRk4AV0zE/MDJkDM3u8dY= github.com/hashicorp/terraform-plugin-go v0.1.0/go.mod h1:10V6F3taeDWVAoLlkmArKttR3IULlRWFAGtQIQTIDr4= @@ -369,8 +363,6 @@ github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmX github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0 h1:AWFdqyfnOj04sxTdaAF57QqvW7XXrT8PseUHkbKsE8I= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-plugin-test/v2 v2.1.1 h1:aATRyyPlEKkFYUweD2Hld9eep77qzJVu8wg0mgyUE50= -github.com/hashicorp/terraform-plugin-test/v2 v2.1.1/go.mod h1:HaW2G5cDTVyiEKt7PHC85YSM5BwvYl/rIko1g8Lg7qE= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136 h1:81Dg7SK6Q5vzqFItO8e1iIF2Nj8bLXV23NXjEgbev/s= github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= @@ -492,6 +484,7 @@ github.com/mxschmitt/golang-combinations v1.0.0/go.mod h1:RbMhWvfCelHR6WROvT2bVf github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k+Mg7cowZ8yv4Trqw9UsJby758= github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= @@ -530,26 +523,15 @@ github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8 github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-terraform-bridge/v2 v2.17.0 h1:QIlM45O+pD2oKJdcvmpom7CHZpC2GOjWpIA2j3QXscU= -github.com/pulumi/pulumi-terraform-bridge/v2 v2.17.0/go.mod h1:/oSHj3Hg9zd8xT2dKVoBifeBbH+/pLPqmTDypgN5FHk= -github.com/pulumi/pulumi-terraform-bridge/v2 v2.18.1 h1:1j7tmOWhR3gvK9T8smYmMxqpOj+CbLCYmMvdbwP4bOI= -github.com/pulumi/pulumi-terraform-bridge/v2 v2.18.1/go.mod h1:UrgBEaSeCcTUfjd4bdYe3YdQpBMr4ewN00wuVH+jDh0= -github.com/pulumi/pulumi/pkg/v2 v2.15.1-0.20201202214525-260620430c4c h1:M4BMhdOt1le+7JtOhR7uOVrpvu9HnN9388AI/Je9/3Y= -github.com/pulumi/pulumi/pkg/v2 v2.15.1-0.20201202214525-260620430c4c/go.mod h1:xLEDqsipr92IXfe8EJrl8bANoEUtwmBJGBE8X8PKmP0= -github.com/pulumi/pulumi/pkg/v2 v2.18.0 h1:vH+VyzpxWZVW7CSJ7ThD0w6uKXQa5j+TptzyQM6eT2o= -github.com/pulumi/pulumi/pkg/v2 v2.18.0/go.mod h1:bAbzFeU3gHu1diqcckqUqaFf5dP02BfJlP8dnHwm00k= +github.com/pulumi/pulumi-terraform-bridge/v2 v2.19.0 h1:V5pLq3IwjdnhZYJyU7FZBA9jpgdj3cAOSyPfLD8HjWA= +github.com/pulumi/pulumi-terraform-bridge/v2 v2.19.0/go.mod h1:uvKH79L6R+rBhfqxp6gZqxasm904MvNoc/UtFcCCvVI= +github.com/pulumi/pulumi/pkg/v2 v2.20.1-0.20210212181059-f4b0fa86fedc h1:OKgY4zg5/aksD8XNrjKQi1z4axbGh+R70hCbZNrRHAM= +github.com/pulumi/pulumi/pkg/v2 v2.20.1-0.20210212181059-f4b0fa86fedc/go.mod h1:bAbzFeU3gHu1diqcckqUqaFf5dP02BfJlP8dnHwm00k= github.com/pulumi/pulumi/sdk/v2 v2.2.1/go.mod h1:QNbWpL4gvf3X0lUFT7TXA2Jo1ff/Ti2l97AyFGYwvW4= -github.com/pulumi/pulumi/sdk/v2 v2.15.1-0.20201202214525-260620430c4c h1:nYFMU38MKDY+CuU8LpIw6AaX/wwXMNzINqXvjw5MUtQ= -github.com/pulumi/pulumi/sdk/v2 v2.15.1-0.20201202214525-260620430c4c/go.mod h1:Z9ifPo/Q0+hUpAyguVx2gp5Sx+CBumnWvYQDhrM8l3E= -github.com/pulumi/pulumi/sdk/v2 v2.16.1 h1:ZfqF/km9e0HC0QOOUP3/A+lkF19jLYpIM/bCACRXS4E= -github.com/pulumi/pulumi/sdk/v2 v2.16.1/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= -github.com/pulumi/pulumi/sdk/v2 v2.18.0/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= -github.com/pulumi/pulumi/sdk/v2 v2.18.1 h1:bGuuwA7BpARGfPh12CVUXHyMU/VfXk9bzDOOtvNW7GE= -github.com/pulumi/pulumi/sdk/v2 v2.18.1/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= +github.com/pulumi/pulumi/sdk/v2 v2.20.1-0.20210212181059-f4b0fa86fedc h1:3fFCltLbUZE0eMJu/MYDP2W43oqM45iuKcbbuqi94gk= +github.com/pulumi/pulumi/sdk/v2 v2.20.1-0.20210212181059-f4b0fa86fedc/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df h1:kXSvfAz43o0D0gfxUqVCOP3NrfnGbptJBshVsqZlBqA= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20201218231525-9cca98608a5e h1:jl43csgF3BSlNRmjo+TGgjW/uXk9h7+NoR3doKQ0BT4= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20201218231525-9cca98608a5e/go.mod h1:JBItawj+j8Ssla5Ib6BC/W9VQkOucBfnX7VRtyx1vw8= github.com/pulumi/terraform-provider-akamai/v2 v2.0.0-20201230152346-7950a81711af h1:9nFD9gtj44pluH4ZPOP9kMe8jQAn6I8rO5X8+joMKg8= @@ -568,7 +550,6 @@ github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= @@ -631,8 +612,6 @@ github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6 github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok= github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= -github.com/ulikunitz/xz v0.5.7 h1:YvTNdFzX6+W5m9msiYg/zpkSURPPtOlzbqYjrFn7Yt4= -github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.1+incompatible h1:RMF1enSPeKTlXrXdOcqjFUElywVZjjC6pqse21bKbEU= github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= diff --git a/sdk/go.mod b/sdk/go.mod index 32532c71b..af5455502 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -3,6 +3,7 @@ module github.com/pulumi/pulumi-akamai/sdk go 1.14 require ( + github.com/blang/semver v3.5.1+incompatible github.com/pkg/errors v0.9.1 - github.com/pulumi/pulumi/sdk/v2 v2.18.0 + github.com/pulumi/pulumi/sdk/v2 v2.20.0 ) diff --git a/sdk/go.sum b/sdk/go.sum index e8389bab8..7aac0fb43 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -30,6 +30,7 @@ github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7 github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -40,6 +41,7 @@ github.com/djherbis/times v1.2.0/go.mod h1:CGMZlo255K5r4Yw0b9RRfFQpM2y7uOmxg4jm9 github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= @@ -56,9 +58,13 @@ github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gofrs/flock v0.7.1 h1:DP+LD/t0njgoPBvT5MJLeliUIVQR03hiKR6vezdwHlc= github.com/gofrs/flock v0.7.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= +github.com/gofrs/uuid v3.3.0+incompatible h1:8K4tyRfvU1CYPgJsveYFQMhpFd/wXNM7iK6rR7UHz84= +github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -67,12 +73,22 @@ github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= @@ -94,15 +110,20 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY= github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE= @@ -143,12 +164,16 @@ github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8 github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/sdk/v2 v2.0.0 h1:3VMXbEo3bqeaU+YDt8ufVBLD0WhLYE3tG3t/nIZ3Iac= -github.com/pulumi/pulumi/sdk/v2 v2.0.0/go.mod h1:W7k1UDYerc5o97mHnlHHp5iQZKEby+oQrQefWt+2RF4= +github.com/pulumi/pulumi/sdk/v2 v2.20.0 h1:Y4lUewm7YhAXz7R/m1M8w5X2o20BnxBq3ka6jmM6bAE= +github.com/pulumi/pulumi/sdk/v2 v2.20.0/go.mod h1:fCFhRV6NmidWetmgDPA76efL+s0JqLlS54JJIwfOt+o= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94 h1:G04eS0JkAIVZfaJLjla9dNxkJCPiKIGZlw9AfOhzOD0= +github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94/go.mod h1:b18R55ulyQ/h3RaWyloPyER7fWQVZvimKKhnI5OfrJQ= github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= +github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= @@ -158,8 +183,8 @@ github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.6 h1:breEStsVwemnKh2/s6gMvSdMEkwW0sK8vGStnlVBMCs= -github.com/spf13/cobra v0.0.6/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= +github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -171,11 +196,14 @@ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6 h1:9VTskZOIRf2vKF3UL8TuWElry5pgUpV1tFSe/e/0m/E= github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6/go.mod h1:XDKHRm5ThF8YJjx001LtgelzsoaEcvnA7lVWz9EeX3g= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.22.1+incompatible h1:NHcubEkVbahf9t3p75TOCR83gdUHXjRJvjoBh1yACsM= github.com/uber/jaeger-client-go v2.22.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/GfSYVCjK7dyaw= @@ -185,9 +213,12 @@ github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70 github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.uber.org/atomic v1.4.0 h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= +go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -201,7 +232,13 @@ golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b h1:Wh+f8QHJXR411sJR8/vRBTZ7YapZaRvUcLFFJhusH0k= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -212,13 +249,15 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a h1:GuSPYbZzB5/dcLNCwLQLsg3obCJtX9IJhpXkvY7kzk0= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200602114024-627f9648deb9 h1:pNX+40auqi2JqRfOP1akLGtYcn15TUbkhwuCO3foqqM= +golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -232,37 +271,61 @@ golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200317113312-5766fd39f98d h1:62ap6LNOjDU6uGmKXHJbSfciMoV+FeI1sRXx/pLDL44= -golang.org/x/sys v0.0.0-20200317113312-5766fd39f98d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 h1:OjiUf46hAmXblsZdnoSXsEUSKU8r1UEzcL5RVZ4gO9Y= +golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200608174601-1b747fd94509 h1:MI14dOfl3OG6Zd32w3ugsrvcUO810fDZdWakTq39dH4= +golang.org/x/tools v0.0.0-20200608174601-1b747fd94509/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200608115520-7c474a2e3482 h1:i+Aiej6cta/Frzp13/swvwz5O00kYcSe0A/C5Wd7zX8= +google.golang.org/genproto v0.0.0-20200608115520-7c474a2e3482/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.28.0 h1:bO/TA4OxCOummhSf10siHuG7vJOiwh7SpRpFZDkOgl4= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.29.1 h1:EC2SB8S04d2r73uptxphDSUG+kTKVgjRPF+N3xpxRB4= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0 h1:UhZDfRO8JRQru4/+LlLE0BRKGF8L+PICnvYZmx/fEGA= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/cheggaaa/pb.v1 v1.0.28 h1:n1tBJnnK2r7g9OW2btFH91V92STTUevLXYFb8gy9EMk= gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= @@ -277,8 +340,11 @@ gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRN gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM= diff --git a/sdk/go/akamai/appSecActivations.go b/sdk/go/akamai/appSecActivations.go index acfaf9cd6..c9a1bd124 100644 --- a/sdk/go/akamai/appSecActivations.go +++ b/sdk/go/akamai/appSecActivations.go @@ -22,7 +22,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -181,6 +180,85 @@ func (i *AppSecActivations) ToAppSecActivationsOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AppSecActivationsOutput) } +func (i *AppSecActivations) ToAppSecActivationsPtrOutput() AppSecActivationsPtrOutput { + return i.ToAppSecActivationsPtrOutputWithContext(context.Background()) +} + +func (i *AppSecActivations) ToAppSecActivationsPtrOutputWithContext(ctx context.Context) AppSecActivationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecActivationsPtrOutput) +} + +type AppSecActivationsPtrInput interface { + pulumi.Input + + ToAppSecActivationsPtrOutput() AppSecActivationsPtrOutput + ToAppSecActivationsPtrOutputWithContext(ctx context.Context) AppSecActivationsPtrOutput +} + +type appSecActivationsPtrType AppSecActivationsArgs + +func (*appSecActivationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecActivations)(nil)) +} + +func (i *appSecActivationsPtrType) ToAppSecActivationsPtrOutput() AppSecActivationsPtrOutput { + return i.ToAppSecActivationsPtrOutputWithContext(context.Background()) +} + +func (i *appSecActivationsPtrType) ToAppSecActivationsPtrOutputWithContext(ctx context.Context) AppSecActivationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecActivationsPtrOutput) +} + +// AppSecActivationsArrayInput is an input type that accepts AppSecActivationsArray and AppSecActivationsArrayOutput values. +// You can construct a concrete instance of `AppSecActivationsArrayInput` via: +// +// AppSecActivationsArray{ AppSecActivationsArgs{...} } +type AppSecActivationsArrayInput interface { + pulumi.Input + + ToAppSecActivationsArrayOutput() AppSecActivationsArrayOutput + ToAppSecActivationsArrayOutputWithContext(context.Context) AppSecActivationsArrayOutput +} + +type AppSecActivationsArray []AppSecActivationsInput + +func (AppSecActivationsArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecActivations)(nil)) +} + +func (i AppSecActivationsArray) ToAppSecActivationsArrayOutput() AppSecActivationsArrayOutput { + return i.ToAppSecActivationsArrayOutputWithContext(context.Background()) +} + +func (i AppSecActivationsArray) ToAppSecActivationsArrayOutputWithContext(ctx context.Context) AppSecActivationsArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecActivationsArrayOutput) +} + +// AppSecActivationsMapInput is an input type that accepts AppSecActivationsMap and AppSecActivationsMapOutput values. +// You can construct a concrete instance of `AppSecActivationsMapInput` via: +// +// AppSecActivationsMap{ "key": AppSecActivationsArgs{...} } +type AppSecActivationsMapInput interface { + pulumi.Input + + ToAppSecActivationsMapOutput() AppSecActivationsMapOutput + ToAppSecActivationsMapOutputWithContext(context.Context) AppSecActivationsMapOutput +} + +type AppSecActivationsMap map[string]AppSecActivationsInput + +func (AppSecActivationsMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecActivations)(nil)) +} + +func (i AppSecActivationsMap) ToAppSecActivationsMapOutput() AppSecActivationsMapOutput { + return i.ToAppSecActivationsMapOutputWithContext(context.Background()) +} + +func (i AppSecActivationsMap) ToAppSecActivationsMapOutputWithContext(ctx context.Context) AppSecActivationsMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecActivationsMapOutput) +} + type AppSecActivationsOutput struct { *pulumi.OutputState } @@ -197,6 +275,75 @@ func (o AppSecActivationsOutput) ToAppSecActivationsOutputWithContext(ctx contex return o } +func (o AppSecActivationsOutput) ToAppSecActivationsPtrOutput() AppSecActivationsPtrOutput { + return o.ToAppSecActivationsPtrOutputWithContext(context.Background()) +} + +func (o AppSecActivationsOutput) ToAppSecActivationsPtrOutputWithContext(ctx context.Context) AppSecActivationsPtrOutput { + return o.ApplyT(func(v AppSecActivations) *AppSecActivations { + return &v + }).(AppSecActivationsPtrOutput) +} + +type AppSecActivationsPtrOutput struct { + *pulumi.OutputState +} + +func (AppSecActivationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecActivations)(nil)) +} + +func (o AppSecActivationsPtrOutput) ToAppSecActivationsPtrOutput() AppSecActivationsPtrOutput { + return o +} + +func (o AppSecActivationsPtrOutput) ToAppSecActivationsPtrOutputWithContext(ctx context.Context) AppSecActivationsPtrOutput { + return o +} + +type AppSecActivationsArrayOutput struct{ *pulumi.OutputState } + +func (AppSecActivationsArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecActivations)(nil)) +} + +func (o AppSecActivationsArrayOutput) ToAppSecActivationsArrayOutput() AppSecActivationsArrayOutput { + return o +} + +func (o AppSecActivationsArrayOutput) ToAppSecActivationsArrayOutputWithContext(ctx context.Context) AppSecActivationsArrayOutput { + return o +} + +func (o AppSecActivationsArrayOutput) Index(i pulumi.IntInput) AppSecActivationsOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecActivations { + return vs[0].([]AppSecActivations)[vs[1].(int)] + }).(AppSecActivationsOutput) +} + +type AppSecActivationsMapOutput struct{ *pulumi.OutputState } + +func (AppSecActivationsMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecActivations)(nil)) +} + +func (o AppSecActivationsMapOutput) ToAppSecActivationsMapOutput() AppSecActivationsMapOutput { + return o +} + +func (o AppSecActivationsMapOutput) ToAppSecActivationsMapOutputWithContext(ctx context.Context) AppSecActivationsMapOutput { + return o +} + +func (o AppSecActivationsMapOutput) MapIndex(k pulumi.StringInput) AppSecActivationsOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecActivations { + return vs[0].(map[string]AppSecActivations)[vs[1].(string)] + }).(AppSecActivationsOutput) +} + func init() { pulumi.RegisterOutputType(AppSecActivationsOutput{}) + pulumi.RegisterOutputType(AppSecActivationsPtrOutput{}) + pulumi.RegisterOutputType(AppSecActivationsArrayOutput{}) + pulumi.RegisterOutputType(AppSecActivationsMapOutput{}) } diff --git a/sdk/go/akamai/appSecConfigurationVersionClone.go b/sdk/go/akamai/appSecConfigurationVersionClone.go index 11b245071..601f2fd2d 100644 --- a/sdk/go/akamai/appSecConfigurationVersionClone.go +++ b/sdk/go/akamai/appSecConfigurationVersionClone.go @@ -111,6 +111,85 @@ func (i *AppSecConfigurationVersionClone) ToAppSecConfigurationVersionCloneOutpu return pulumi.ToOutputWithContext(ctx, i).(AppSecConfigurationVersionCloneOutput) } +func (i *AppSecConfigurationVersionClone) ToAppSecConfigurationVersionClonePtrOutput() AppSecConfigurationVersionClonePtrOutput { + return i.ToAppSecConfigurationVersionClonePtrOutputWithContext(context.Background()) +} + +func (i *AppSecConfigurationVersionClone) ToAppSecConfigurationVersionClonePtrOutputWithContext(ctx context.Context) AppSecConfigurationVersionClonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecConfigurationVersionClonePtrOutput) +} + +type AppSecConfigurationVersionClonePtrInput interface { + pulumi.Input + + ToAppSecConfigurationVersionClonePtrOutput() AppSecConfigurationVersionClonePtrOutput + ToAppSecConfigurationVersionClonePtrOutputWithContext(ctx context.Context) AppSecConfigurationVersionClonePtrOutput +} + +type appSecConfigurationVersionClonePtrType AppSecConfigurationVersionCloneArgs + +func (*appSecConfigurationVersionClonePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecConfigurationVersionClone)(nil)) +} + +func (i *appSecConfigurationVersionClonePtrType) ToAppSecConfigurationVersionClonePtrOutput() AppSecConfigurationVersionClonePtrOutput { + return i.ToAppSecConfigurationVersionClonePtrOutputWithContext(context.Background()) +} + +func (i *appSecConfigurationVersionClonePtrType) ToAppSecConfigurationVersionClonePtrOutputWithContext(ctx context.Context) AppSecConfigurationVersionClonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecConfigurationVersionClonePtrOutput) +} + +// AppSecConfigurationVersionCloneArrayInput is an input type that accepts AppSecConfigurationVersionCloneArray and AppSecConfigurationVersionCloneArrayOutput values. +// You can construct a concrete instance of `AppSecConfigurationVersionCloneArrayInput` via: +// +// AppSecConfigurationVersionCloneArray{ AppSecConfigurationVersionCloneArgs{...} } +type AppSecConfigurationVersionCloneArrayInput interface { + pulumi.Input + + ToAppSecConfigurationVersionCloneArrayOutput() AppSecConfigurationVersionCloneArrayOutput + ToAppSecConfigurationVersionCloneArrayOutputWithContext(context.Context) AppSecConfigurationVersionCloneArrayOutput +} + +type AppSecConfigurationVersionCloneArray []AppSecConfigurationVersionCloneInput + +func (AppSecConfigurationVersionCloneArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecConfigurationVersionClone)(nil)) +} + +func (i AppSecConfigurationVersionCloneArray) ToAppSecConfigurationVersionCloneArrayOutput() AppSecConfigurationVersionCloneArrayOutput { + return i.ToAppSecConfigurationVersionCloneArrayOutputWithContext(context.Background()) +} + +func (i AppSecConfigurationVersionCloneArray) ToAppSecConfigurationVersionCloneArrayOutputWithContext(ctx context.Context) AppSecConfigurationVersionCloneArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecConfigurationVersionCloneArrayOutput) +} + +// AppSecConfigurationVersionCloneMapInput is an input type that accepts AppSecConfigurationVersionCloneMap and AppSecConfigurationVersionCloneMapOutput values. +// You can construct a concrete instance of `AppSecConfigurationVersionCloneMapInput` via: +// +// AppSecConfigurationVersionCloneMap{ "key": AppSecConfigurationVersionCloneArgs{...} } +type AppSecConfigurationVersionCloneMapInput interface { + pulumi.Input + + ToAppSecConfigurationVersionCloneMapOutput() AppSecConfigurationVersionCloneMapOutput + ToAppSecConfigurationVersionCloneMapOutputWithContext(context.Context) AppSecConfigurationVersionCloneMapOutput +} + +type AppSecConfigurationVersionCloneMap map[string]AppSecConfigurationVersionCloneInput + +func (AppSecConfigurationVersionCloneMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecConfigurationVersionClone)(nil)) +} + +func (i AppSecConfigurationVersionCloneMap) ToAppSecConfigurationVersionCloneMapOutput() AppSecConfigurationVersionCloneMapOutput { + return i.ToAppSecConfigurationVersionCloneMapOutputWithContext(context.Background()) +} + +func (i AppSecConfigurationVersionCloneMap) ToAppSecConfigurationVersionCloneMapOutputWithContext(ctx context.Context) AppSecConfigurationVersionCloneMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecConfigurationVersionCloneMapOutput) +} + type AppSecConfigurationVersionCloneOutput struct { *pulumi.OutputState } @@ -127,6 +206,75 @@ func (o AppSecConfigurationVersionCloneOutput) ToAppSecConfigurationVersionClone return o } +func (o AppSecConfigurationVersionCloneOutput) ToAppSecConfigurationVersionClonePtrOutput() AppSecConfigurationVersionClonePtrOutput { + return o.ToAppSecConfigurationVersionClonePtrOutputWithContext(context.Background()) +} + +func (o AppSecConfigurationVersionCloneOutput) ToAppSecConfigurationVersionClonePtrOutputWithContext(ctx context.Context) AppSecConfigurationVersionClonePtrOutput { + return o.ApplyT(func(v AppSecConfigurationVersionClone) *AppSecConfigurationVersionClone { + return &v + }).(AppSecConfigurationVersionClonePtrOutput) +} + +type AppSecConfigurationVersionClonePtrOutput struct { + *pulumi.OutputState +} + +func (AppSecConfigurationVersionClonePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecConfigurationVersionClone)(nil)) +} + +func (o AppSecConfigurationVersionClonePtrOutput) ToAppSecConfigurationVersionClonePtrOutput() AppSecConfigurationVersionClonePtrOutput { + return o +} + +func (o AppSecConfigurationVersionClonePtrOutput) ToAppSecConfigurationVersionClonePtrOutputWithContext(ctx context.Context) AppSecConfigurationVersionClonePtrOutput { + return o +} + +type AppSecConfigurationVersionCloneArrayOutput struct{ *pulumi.OutputState } + +func (AppSecConfigurationVersionCloneArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecConfigurationVersionClone)(nil)) +} + +func (o AppSecConfigurationVersionCloneArrayOutput) ToAppSecConfigurationVersionCloneArrayOutput() AppSecConfigurationVersionCloneArrayOutput { + return o +} + +func (o AppSecConfigurationVersionCloneArrayOutput) ToAppSecConfigurationVersionCloneArrayOutputWithContext(ctx context.Context) AppSecConfigurationVersionCloneArrayOutput { + return o +} + +func (o AppSecConfigurationVersionCloneArrayOutput) Index(i pulumi.IntInput) AppSecConfigurationVersionCloneOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecConfigurationVersionClone { + return vs[0].([]AppSecConfigurationVersionClone)[vs[1].(int)] + }).(AppSecConfigurationVersionCloneOutput) +} + +type AppSecConfigurationVersionCloneMapOutput struct{ *pulumi.OutputState } + +func (AppSecConfigurationVersionCloneMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecConfigurationVersionClone)(nil)) +} + +func (o AppSecConfigurationVersionCloneMapOutput) ToAppSecConfigurationVersionCloneMapOutput() AppSecConfigurationVersionCloneMapOutput { + return o +} + +func (o AppSecConfigurationVersionCloneMapOutput) ToAppSecConfigurationVersionCloneMapOutputWithContext(ctx context.Context) AppSecConfigurationVersionCloneMapOutput { + return o +} + +func (o AppSecConfigurationVersionCloneMapOutput) MapIndex(k pulumi.StringInput) AppSecConfigurationVersionCloneOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecConfigurationVersionClone { + return vs[0].(map[string]AppSecConfigurationVersionClone)[vs[1].(string)] + }).(AppSecConfigurationVersionCloneOutput) +} + func init() { pulumi.RegisterOutputType(AppSecConfigurationVersionCloneOutput{}) + pulumi.RegisterOutputType(AppSecConfigurationVersionClonePtrOutput{}) + pulumi.RegisterOutputType(AppSecConfigurationVersionCloneArrayOutput{}) + pulumi.RegisterOutputType(AppSecConfigurationVersionCloneMapOutput{}) } diff --git a/sdk/go/akamai/appSecCustomRule.go b/sdk/go/akamai/appSecCustomRule.go index 09064e828..03dc49fbc 100644 --- a/sdk/go/akamai/appSecCustomRule.go +++ b/sdk/go/akamai/appSecCustomRule.go @@ -117,6 +117,85 @@ func (i *AppSecCustomRule) ToAppSecCustomRuleOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleOutput) } +func (i *AppSecCustomRule) ToAppSecCustomRulePtrOutput() AppSecCustomRulePtrOutput { + return i.ToAppSecCustomRulePtrOutputWithContext(context.Background()) +} + +func (i *AppSecCustomRule) ToAppSecCustomRulePtrOutputWithContext(ctx context.Context) AppSecCustomRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRulePtrOutput) +} + +type AppSecCustomRulePtrInput interface { + pulumi.Input + + ToAppSecCustomRulePtrOutput() AppSecCustomRulePtrOutput + ToAppSecCustomRulePtrOutputWithContext(ctx context.Context) AppSecCustomRulePtrOutput +} + +type appSecCustomRulePtrType AppSecCustomRuleArgs + +func (*appSecCustomRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecCustomRule)(nil)) +} + +func (i *appSecCustomRulePtrType) ToAppSecCustomRulePtrOutput() AppSecCustomRulePtrOutput { + return i.ToAppSecCustomRulePtrOutputWithContext(context.Background()) +} + +func (i *appSecCustomRulePtrType) ToAppSecCustomRulePtrOutputWithContext(ctx context.Context) AppSecCustomRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRulePtrOutput) +} + +// AppSecCustomRuleArrayInput is an input type that accepts AppSecCustomRuleArray and AppSecCustomRuleArrayOutput values. +// You can construct a concrete instance of `AppSecCustomRuleArrayInput` via: +// +// AppSecCustomRuleArray{ AppSecCustomRuleArgs{...} } +type AppSecCustomRuleArrayInput interface { + pulumi.Input + + ToAppSecCustomRuleArrayOutput() AppSecCustomRuleArrayOutput + ToAppSecCustomRuleArrayOutputWithContext(context.Context) AppSecCustomRuleArrayOutput +} + +type AppSecCustomRuleArray []AppSecCustomRuleInput + +func (AppSecCustomRuleArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecCustomRule)(nil)) +} + +func (i AppSecCustomRuleArray) ToAppSecCustomRuleArrayOutput() AppSecCustomRuleArrayOutput { + return i.ToAppSecCustomRuleArrayOutputWithContext(context.Background()) +} + +func (i AppSecCustomRuleArray) ToAppSecCustomRuleArrayOutputWithContext(ctx context.Context) AppSecCustomRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleArrayOutput) +} + +// AppSecCustomRuleMapInput is an input type that accepts AppSecCustomRuleMap and AppSecCustomRuleMapOutput values. +// You can construct a concrete instance of `AppSecCustomRuleMapInput` via: +// +// AppSecCustomRuleMap{ "key": AppSecCustomRuleArgs{...} } +type AppSecCustomRuleMapInput interface { + pulumi.Input + + ToAppSecCustomRuleMapOutput() AppSecCustomRuleMapOutput + ToAppSecCustomRuleMapOutputWithContext(context.Context) AppSecCustomRuleMapOutput +} + +type AppSecCustomRuleMap map[string]AppSecCustomRuleInput + +func (AppSecCustomRuleMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecCustomRule)(nil)) +} + +func (i AppSecCustomRuleMap) ToAppSecCustomRuleMapOutput() AppSecCustomRuleMapOutput { + return i.ToAppSecCustomRuleMapOutputWithContext(context.Background()) +} + +func (i AppSecCustomRuleMap) ToAppSecCustomRuleMapOutputWithContext(ctx context.Context) AppSecCustomRuleMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleMapOutput) +} + type AppSecCustomRuleOutput struct { *pulumi.OutputState } @@ -133,6 +212,75 @@ func (o AppSecCustomRuleOutput) ToAppSecCustomRuleOutputWithContext(ctx context. return o } +func (o AppSecCustomRuleOutput) ToAppSecCustomRulePtrOutput() AppSecCustomRulePtrOutput { + return o.ToAppSecCustomRulePtrOutputWithContext(context.Background()) +} + +func (o AppSecCustomRuleOutput) ToAppSecCustomRulePtrOutputWithContext(ctx context.Context) AppSecCustomRulePtrOutput { + return o.ApplyT(func(v AppSecCustomRule) *AppSecCustomRule { + return &v + }).(AppSecCustomRulePtrOutput) +} + +type AppSecCustomRulePtrOutput struct { + *pulumi.OutputState +} + +func (AppSecCustomRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecCustomRule)(nil)) +} + +func (o AppSecCustomRulePtrOutput) ToAppSecCustomRulePtrOutput() AppSecCustomRulePtrOutput { + return o +} + +func (o AppSecCustomRulePtrOutput) ToAppSecCustomRulePtrOutputWithContext(ctx context.Context) AppSecCustomRulePtrOutput { + return o +} + +type AppSecCustomRuleArrayOutput struct{ *pulumi.OutputState } + +func (AppSecCustomRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecCustomRule)(nil)) +} + +func (o AppSecCustomRuleArrayOutput) ToAppSecCustomRuleArrayOutput() AppSecCustomRuleArrayOutput { + return o +} + +func (o AppSecCustomRuleArrayOutput) ToAppSecCustomRuleArrayOutputWithContext(ctx context.Context) AppSecCustomRuleArrayOutput { + return o +} + +func (o AppSecCustomRuleArrayOutput) Index(i pulumi.IntInput) AppSecCustomRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecCustomRule { + return vs[0].([]AppSecCustomRule)[vs[1].(int)] + }).(AppSecCustomRuleOutput) +} + +type AppSecCustomRuleMapOutput struct{ *pulumi.OutputState } + +func (AppSecCustomRuleMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecCustomRule)(nil)) +} + +func (o AppSecCustomRuleMapOutput) ToAppSecCustomRuleMapOutput() AppSecCustomRuleMapOutput { + return o +} + +func (o AppSecCustomRuleMapOutput) ToAppSecCustomRuleMapOutputWithContext(ctx context.Context) AppSecCustomRuleMapOutput { + return o +} + +func (o AppSecCustomRuleMapOutput) MapIndex(k pulumi.StringInput) AppSecCustomRuleOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecCustomRule { + return vs[0].(map[string]AppSecCustomRule)[vs[1].(string)] + }).(AppSecCustomRuleOutput) +} + func init() { pulumi.RegisterOutputType(AppSecCustomRuleOutput{}) + pulumi.RegisterOutputType(AppSecCustomRulePtrOutput{}) + pulumi.RegisterOutputType(AppSecCustomRuleArrayOutput{}) + pulumi.RegisterOutputType(AppSecCustomRuleMapOutput{}) } diff --git a/sdk/go/akamai/appSecCustomRuleAction.go b/sdk/go/akamai/appSecCustomRuleAction.go index fc251f1db..2ea9655fc 100644 --- a/sdk/go/akamai/appSecCustomRuleAction.go +++ b/sdk/go/akamai/appSecCustomRuleAction.go @@ -22,7 +22,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -203,6 +202,85 @@ func (i *AppSecCustomRuleAction) ToAppSecCustomRuleActionOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleActionOutput) } +func (i *AppSecCustomRuleAction) ToAppSecCustomRuleActionPtrOutput() AppSecCustomRuleActionPtrOutput { + return i.ToAppSecCustomRuleActionPtrOutputWithContext(context.Background()) +} + +func (i *AppSecCustomRuleAction) ToAppSecCustomRuleActionPtrOutputWithContext(ctx context.Context) AppSecCustomRuleActionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleActionPtrOutput) +} + +type AppSecCustomRuleActionPtrInput interface { + pulumi.Input + + ToAppSecCustomRuleActionPtrOutput() AppSecCustomRuleActionPtrOutput + ToAppSecCustomRuleActionPtrOutputWithContext(ctx context.Context) AppSecCustomRuleActionPtrOutput +} + +type appSecCustomRuleActionPtrType AppSecCustomRuleActionArgs + +func (*appSecCustomRuleActionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecCustomRuleAction)(nil)) +} + +func (i *appSecCustomRuleActionPtrType) ToAppSecCustomRuleActionPtrOutput() AppSecCustomRuleActionPtrOutput { + return i.ToAppSecCustomRuleActionPtrOutputWithContext(context.Background()) +} + +func (i *appSecCustomRuleActionPtrType) ToAppSecCustomRuleActionPtrOutputWithContext(ctx context.Context) AppSecCustomRuleActionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleActionPtrOutput) +} + +// AppSecCustomRuleActionArrayInput is an input type that accepts AppSecCustomRuleActionArray and AppSecCustomRuleActionArrayOutput values. +// You can construct a concrete instance of `AppSecCustomRuleActionArrayInput` via: +// +// AppSecCustomRuleActionArray{ AppSecCustomRuleActionArgs{...} } +type AppSecCustomRuleActionArrayInput interface { + pulumi.Input + + ToAppSecCustomRuleActionArrayOutput() AppSecCustomRuleActionArrayOutput + ToAppSecCustomRuleActionArrayOutputWithContext(context.Context) AppSecCustomRuleActionArrayOutput +} + +type AppSecCustomRuleActionArray []AppSecCustomRuleActionInput + +func (AppSecCustomRuleActionArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecCustomRuleAction)(nil)) +} + +func (i AppSecCustomRuleActionArray) ToAppSecCustomRuleActionArrayOutput() AppSecCustomRuleActionArrayOutput { + return i.ToAppSecCustomRuleActionArrayOutputWithContext(context.Background()) +} + +func (i AppSecCustomRuleActionArray) ToAppSecCustomRuleActionArrayOutputWithContext(ctx context.Context) AppSecCustomRuleActionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleActionArrayOutput) +} + +// AppSecCustomRuleActionMapInput is an input type that accepts AppSecCustomRuleActionMap and AppSecCustomRuleActionMapOutput values. +// You can construct a concrete instance of `AppSecCustomRuleActionMapInput` via: +// +// AppSecCustomRuleActionMap{ "key": AppSecCustomRuleActionArgs{...} } +type AppSecCustomRuleActionMapInput interface { + pulumi.Input + + ToAppSecCustomRuleActionMapOutput() AppSecCustomRuleActionMapOutput + ToAppSecCustomRuleActionMapOutputWithContext(context.Context) AppSecCustomRuleActionMapOutput +} + +type AppSecCustomRuleActionMap map[string]AppSecCustomRuleActionInput + +func (AppSecCustomRuleActionMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecCustomRuleAction)(nil)) +} + +func (i AppSecCustomRuleActionMap) ToAppSecCustomRuleActionMapOutput() AppSecCustomRuleActionMapOutput { + return i.ToAppSecCustomRuleActionMapOutputWithContext(context.Background()) +} + +func (i AppSecCustomRuleActionMap) ToAppSecCustomRuleActionMapOutputWithContext(ctx context.Context) AppSecCustomRuleActionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecCustomRuleActionMapOutput) +} + type AppSecCustomRuleActionOutput struct { *pulumi.OutputState } @@ -219,6 +297,75 @@ func (o AppSecCustomRuleActionOutput) ToAppSecCustomRuleActionOutputWithContext( return o } +func (o AppSecCustomRuleActionOutput) ToAppSecCustomRuleActionPtrOutput() AppSecCustomRuleActionPtrOutput { + return o.ToAppSecCustomRuleActionPtrOutputWithContext(context.Background()) +} + +func (o AppSecCustomRuleActionOutput) ToAppSecCustomRuleActionPtrOutputWithContext(ctx context.Context) AppSecCustomRuleActionPtrOutput { + return o.ApplyT(func(v AppSecCustomRuleAction) *AppSecCustomRuleAction { + return &v + }).(AppSecCustomRuleActionPtrOutput) +} + +type AppSecCustomRuleActionPtrOutput struct { + *pulumi.OutputState +} + +func (AppSecCustomRuleActionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecCustomRuleAction)(nil)) +} + +func (o AppSecCustomRuleActionPtrOutput) ToAppSecCustomRuleActionPtrOutput() AppSecCustomRuleActionPtrOutput { + return o +} + +func (o AppSecCustomRuleActionPtrOutput) ToAppSecCustomRuleActionPtrOutputWithContext(ctx context.Context) AppSecCustomRuleActionPtrOutput { + return o +} + +type AppSecCustomRuleActionArrayOutput struct{ *pulumi.OutputState } + +func (AppSecCustomRuleActionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecCustomRuleAction)(nil)) +} + +func (o AppSecCustomRuleActionArrayOutput) ToAppSecCustomRuleActionArrayOutput() AppSecCustomRuleActionArrayOutput { + return o +} + +func (o AppSecCustomRuleActionArrayOutput) ToAppSecCustomRuleActionArrayOutputWithContext(ctx context.Context) AppSecCustomRuleActionArrayOutput { + return o +} + +func (o AppSecCustomRuleActionArrayOutput) Index(i pulumi.IntInput) AppSecCustomRuleActionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecCustomRuleAction { + return vs[0].([]AppSecCustomRuleAction)[vs[1].(int)] + }).(AppSecCustomRuleActionOutput) +} + +type AppSecCustomRuleActionMapOutput struct{ *pulumi.OutputState } + +func (AppSecCustomRuleActionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecCustomRuleAction)(nil)) +} + +func (o AppSecCustomRuleActionMapOutput) ToAppSecCustomRuleActionMapOutput() AppSecCustomRuleActionMapOutput { + return o +} + +func (o AppSecCustomRuleActionMapOutput) ToAppSecCustomRuleActionMapOutputWithContext(ctx context.Context) AppSecCustomRuleActionMapOutput { + return o +} + +func (o AppSecCustomRuleActionMapOutput) MapIndex(k pulumi.StringInput) AppSecCustomRuleActionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecCustomRuleAction { + return vs[0].(map[string]AppSecCustomRuleAction)[vs[1].(string)] + }).(AppSecCustomRuleActionOutput) +} + func init() { pulumi.RegisterOutputType(AppSecCustomRuleActionOutput{}) + pulumi.RegisterOutputType(AppSecCustomRuleActionPtrOutput{}) + pulumi.RegisterOutputType(AppSecCustomRuleActionArrayOutput{}) + pulumi.RegisterOutputType(AppSecCustomRuleActionMapOutput{}) } diff --git a/sdk/go/akamai/appSecMatchTarget.go b/sdk/go/akamai/appSecMatchTarget.go index 3544607b2..7a897dfdc 100644 --- a/sdk/go/akamai/appSecMatchTarget.go +++ b/sdk/go/akamai/appSecMatchTarget.go @@ -130,6 +130,85 @@ func (i *AppSecMatchTarget) ToAppSecMatchTargetOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetOutput) } +func (i *AppSecMatchTarget) ToAppSecMatchTargetPtrOutput() AppSecMatchTargetPtrOutput { + return i.ToAppSecMatchTargetPtrOutputWithContext(context.Background()) +} + +func (i *AppSecMatchTarget) ToAppSecMatchTargetPtrOutputWithContext(ctx context.Context) AppSecMatchTargetPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetPtrOutput) +} + +type AppSecMatchTargetPtrInput interface { + pulumi.Input + + ToAppSecMatchTargetPtrOutput() AppSecMatchTargetPtrOutput + ToAppSecMatchTargetPtrOutputWithContext(ctx context.Context) AppSecMatchTargetPtrOutput +} + +type appSecMatchTargetPtrType AppSecMatchTargetArgs + +func (*appSecMatchTargetPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecMatchTarget)(nil)) +} + +func (i *appSecMatchTargetPtrType) ToAppSecMatchTargetPtrOutput() AppSecMatchTargetPtrOutput { + return i.ToAppSecMatchTargetPtrOutputWithContext(context.Background()) +} + +func (i *appSecMatchTargetPtrType) ToAppSecMatchTargetPtrOutputWithContext(ctx context.Context) AppSecMatchTargetPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetPtrOutput) +} + +// AppSecMatchTargetArrayInput is an input type that accepts AppSecMatchTargetArray and AppSecMatchTargetArrayOutput values. +// You can construct a concrete instance of `AppSecMatchTargetArrayInput` via: +// +// AppSecMatchTargetArray{ AppSecMatchTargetArgs{...} } +type AppSecMatchTargetArrayInput interface { + pulumi.Input + + ToAppSecMatchTargetArrayOutput() AppSecMatchTargetArrayOutput + ToAppSecMatchTargetArrayOutputWithContext(context.Context) AppSecMatchTargetArrayOutput +} + +type AppSecMatchTargetArray []AppSecMatchTargetInput + +func (AppSecMatchTargetArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecMatchTarget)(nil)) +} + +func (i AppSecMatchTargetArray) ToAppSecMatchTargetArrayOutput() AppSecMatchTargetArrayOutput { + return i.ToAppSecMatchTargetArrayOutputWithContext(context.Background()) +} + +func (i AppSecMatchTargetArray) ToAppSecMatchTargetArrayOutputWithContext(ctx context.Context) AppSecMatchTargetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetArrayOutput) +} + +// AppSecMatchTargetMapInput is an input type that accepts AppSecMatchTargetMap and AppSecMatchTargetMapOutput values. +// You can construct a concrete instance of `AppSecMatchTargetMapInput` via: +// +// AppSecMatchTargetMap{ "key": AppSecMatchTargetArgs{...} } +type AppSecMatchTargetMapInput interface { + pulumi.Input + + ToAppSecMatchTargetMapOutput() AppSecMatchTargetMapOutput + ToAppSecMatchTargetMapOutputWithContext(context.Context) AppSecMatchTargetMapOutput +} + +type AppSecMatchTargetMap map[string]AppSecMatchTargetInput + +func (AppSecMatchTargetMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecMatchTarget)(nil)) +} + +func (i AppSecMatchTargetMap) ToAppSecMatchTargetMapOutput() AppSecMatchTargetMapOutput { + return i.ToAppSecMatchTargetMapOutputWithContext(context.Background()) +} + +func (i AppSecMatchTargetMap) ToAppSecMatchTargetMapOutputWithContext(ctx context.Context) AppSecMatchTargetMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetMapOutput) +} + type AppSecMatchTargetOutput struct { *pulumi.OutputState } @@ -146,6 +225,75 @@ func (o AppSecMatchTargetOutput) ToAppSecMatchTargetOutputWithContext(ctx contex return o } +func (o AppSecMatchTargetOutput) ToAppSecMatchTargetPtrOutput() AppSecMatchTargetPtrOutput { + return o.ToAppSecMatchTargetPtrOutputWithContext(context.Background()) +} + +func (o AppSecMatchTargetOutput) ToAppSecMatchTargetPtrOutputWithContext(ctx context.Context) AppSecMatchTargetPtrOutput { + return o.ApplyT(func(v AppSecMatchTarget) *AppSecMatchTarget { + return &v + }).(AppSecMatchTargetPtrOutput) +} + +type AppSecMatchTargetPtrOutput struct { + *pulumi.OutputState +} + +func (AppSecMatchTargetPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecMatchTarget)(nil)) +} + +func (o AppSecMatchTargetPtrOutput) ToAppSecMatchTargetPtrOutput() AppSecMatchTargetPtrOutput { + return o +} + +func (o AppSecMatchTargetPtrOutput) ToAppSecMatchTargetPtrOutputWithContext(ctx context.Context) AppSecMatchTargetPtrOutput { + return o +} + +type AppSecMatchTargetArrayOutput struct{ *pulumi.OutputState } + +func (AppSecMatchTargetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecMatchTarget)(nil)) +} + +func (o AppSecMatchTargetArrayOutput) ToAppSecMatchTargetArrayOutput() AppSecMatchTargetArrayOutput { + return o +} + +func (o AppSecMatchTargetArrayOutput) ToAppSecMatchTargetArrayOutputWithContext(ctx context.Context) AppSecMatchTargetArrayOutput { + return o +} + +func (o AppSecMatchTargetArrayOutput) Index(i pulumi.IntInput) AppSecMatchTargetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecMatchTarget { + return vs[0].([]AppSecMatchTarget)[vs[1].(int)] + }).(AppSecMatchTargetOutput) +} + +type AppSecMatchTargetMapOutput struct{ *pulumi.OutputState } + +func (AppSecMatchTargetMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecMatchTarget)(nil)) +} + +func (o AppSecMatchTargetMapOutput) ToAppSecMatchTargetMapOutput() AppSecMatchTargetMapOutput { + return o +} + +func (o AppSecMatchTargetMapOutput) ToAppSecMatchTargetMapOutputWithContext(ctx context.Context) AppSecMatchTargetMapOutput { + return o +} + +func (o AppSecMatchTargetMapOutput) MapIndex(k pulumi.StringInput) AppSecMatchTargetOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecMatchTarget { + return vs[0].(map[string]AppSecMatchTarget)[vs[1].(string)] + }).(AppSecMatchTargetOutput) +} + func init() { pulumi.RegisterOutputType(AppSecMatchTargetOutput{}) + pulumi.RegisterOutputType(AppSecMatchTargetPtrOutput{}) + pulumi.RegisterOutputType(AppSecMatchTargetArrayOutput{}) + pulumi.RegisterOutputType(AppSecMatchTargetMapOutput{}) } diff --git a/sdk/go/akamai/appSecMatchTargetSequence.go b/sdk/go/akamai/appSecMatchTargetSequence.go index 50fe028cf..6d1a3538d 100644 --- a/sdk/go/akamai/appSecMatchTargetSequence.go +++ b/sdk/go/akamai/appSecMatchTargetSequence.go @@ -134,6 +134,85 @@ func (i *AppSecMatchTargetSequence) ToAppSecMatchTargetSequenceOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetSequenceOutput) } +func (i *AppSecMatchTargetSequence) ToAppSecMatchTargetSequencePtrOutput() AppSecMatchTargetSequencePtrOutput { + return i.ToAppSecMatchTargetSequencePtrOutputWithContext(context.Background()) +} + +func (i *AppSecMatchTargetSequence) ToAppSecMatchTargetSequencePtrOutputWithContext(ctx context.Context) AppSecMatchTargetSequencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetSequencePtrOutput) +} + +type AppSecMatchTargetSequencePtrInput interface { + pulumi.Input + + ToAppSecMatchTargetSequencePtrOutput() AppSecMatchTargetSequencePtrOutput + ToAppSecMatchTargetSequencePtrOutputWithContext(ctx context.Context) AppSecMatchTargetSequencePtrOutput +} + +type appSecMatchTargetSequencePtrType AppSecMatchTargetSequenceArgs + +func (*appSecMatchTargetSequencePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecMatchTargetSequence)(nil)) +} + +func (i *appSecMatchTargetSequencePtrType) ToAppSecMatchTargetSequencePtrOutput() AppSecMatchTargetSequencePtrOutput { + return i.ToAppSecMatchTargetSequencePtrOutputWithContext(context.Background()) +} + +func (i *appSecMatchTargetSequencePtrType) ToAppSecMatchTargetSequencePtrOutputWithContext(ctx context.Context) AppSecMatchTargetSequencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetSequencePtrOutput) +} + +// AppSecMatchTargetSequenceArrayInput is an input type that accepts AppSecMatchTargetSequenceArray and AppSecMatchTargetSequenceArrayOutput values. +// You can construct a concrete instance of `AppSecMatchTargetSequenceArrayInput` via: +// +// AppSecMatchTargetSequenceArray{ AppSecMatchTargetSequenceArgs{...} } +type AppSecMatchTargetSequenceArrayInput interface { + pulumi.Input + + ToAppSecMatchTargetSequenceArrayOutput() AppSecMatchTargetSequenceArrayOutput + ToAppSecMatchTargetSequenceArrayOutputWithContext(context.Context) AppSecMatchTargetSequenceArrayOutput +} + +type AppSecMatchTargetSequenceArray []AppSecMatchTargetSequenceInput + +func (AppSecMatchTargetSequenceArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecMatchTargetSequence)(nil)) +} + +func (i AppSecMatchTargetSequenceArray) ToAppSecMatchTargetSequenceArrayOutput() AppSecMatchTargetSequenceArrayOutput { + return i.ToAppSecMatchTargetSequenceArrayOutputWithContext(context.Background()) +} + +func (i AppSecMatchTargetSequenceArray) ToAppSecMatchTargetSequenceArrayOutputWithContext(ctx context.Context) AppSecMatchTargetSequenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetSequenceArrayOutput) +} + +// AppSecMatchTargetSequenceMapInput is an input type that accepts AppSecMatchTargetSequenceMap and AppSecMatchTargetSequenceMapOutput values. +// You can construct a concrete instance of `AppSecMatchTargetSequenceMapInput` via: +// +// AppSecMatchTargetSequenceMap{ "key": AppSecMatchTargetSequenceArgs{...} } +type AppSecMatchTargetSequenceMapInput interface { + pulumi.Input + + ToAppSecMatchTargetSequenceMapOutput() AppSecMatchTargetSequenceMapOutput + ToAppSecMatchTargetSequenceMapOutputWithContext(context.Context) AppSecMatchTargetSequenceMapOutput +} + +type AppSecMatchTargetSequenceMap map[string]AppSecMatchTargetSequenceInput + +func (AppSecMatchTargetSequenceMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecMatchTargetSequence)(nil)) +} + +func (i AppSecMatchTargetSequenceMap) ToAppSecMatchTargetSequenceMapOutput() AppSecMatchTargetSequenceMapOutput { + return i.ToAppSecMatchTargetSequenceMapOutputWithContext(context.Background()) +} + +func (i AppSecMatchTargetSequenceMap) ToAppSecMatchTargetSequenceMapOutputWithContext(ctx context.Context) AppSecMatchTargetSequenceMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecMatchTargetSequenceMapOutput) +} + type AppSecMatchTargetSequenceOutput struct { *pulumi.OutputState } @@ -150,6 +229,75 @@ func (o AppSecMatchTargetSequenceOutput) ToAppSecMatchTargetSequenceOutputWithCo return o } +func (o AppSecMatchTargetSequenceOutput) ToAppSecMatchTargetSequencePtrOutput() AppSecMatchTargetSequencePtrOutput { + return o.ToAppSecMatchTargetSequencePtrOutputWithContext(context.Background()) +} + +func (o AppSecMatchTargetSequenceOutput) ToAppSecMatchTargetSequencePtrOutputWithContext(ctx context.Context) AppSecMatchTargetSequencePtrOutput { + return o.ApplyT(func(v AppSecMatchTargetSequence) *AppSecMatchTargetSequence { + return &v + }).(AppSecMatchTargetSequencePtrOutput) +} + +type AppSecMatchTargetSequencePtrOutput struct { + *pulumi.OutputState +} + +func (AppSecMatchTargetSequencePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecMatchTargetSequence)(nil)) +} + +func (o AppSecMatchTargetSequencePtrOutput) ToAppSecMatchTargetSequencePtrOutput() AppSecMatchTargetSequencePtrOutput { + return o +} + +func (o AppSecMatchTargetSequencePtrOutput) ToAppSecMatchTargetSequencePtrOutputWithContext(ctx context.Context) AppSecMatchTargetSequencePtrOutput { + return o +} + +type AppSecMatchTargetSequenceArrayOutput struct{ *pulumi.OutputState } + +func (AppSecMatchTargetSequenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecMatchTargetSequence)(nil)) +} + +func (o AppSecMatchTargetSequenceArrayOutput) ToAppSecMatchTargetSequenceArrayOutput() AppSecMatchTargetSequenceArrayOutput { + return o +} + +func (o AppSecMatchTargetSequenceArrayOutput) ToAppSecMatchTargetSequenceArrayOutputWithContext(ctx context.Context) AppSecMatchTargetSequenceArrayOutput { + return o +} + +func (o AppSecMatchTargetSequenceArrayOutput) Index(i pulumi.IntInput) AppSecMatchTargetSequenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecMatchTargetSequence { + return vs[0].([]AppSecMatchTargetSequence)[vs[1].(int)] + }).(AppSecMatchTargetSequenceOutput) +} + +type AppSecMatchTargetSequenceMapOutput struct{ *pulumi.OutputState } + +func (AppSecMatchTargetSequenceMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecMatchTargetSequence)(nil)) +} + +func (o AppSecMatchTargetSequenceMapOutput) ToAppSecMatchTargetSequenceMapOutput() AppSecMatchTargetSequenceMapOutput { + return o +} + +func (o AppSecMatchTargetSequenceMapOutput) ToAppSecMatchTargetSequenceMapOutputWithContext(ctx context.Context) AppSecMatchTargetSequenceMapOutput { + return o +} + +func (o AppSecMatchTargetSequenceMapOutput) MapIndex(k pulumi.StringInput) AppSecMatchTargetSequenceOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecMatchTargetSequence { + return vs[0].(map[string]AppSecMatchTargetSequence)[vs[1].(string)] + }).(AppSecMatchTargetSequenceOutput) +} + func init() { pulumi.RegisterOutputType(AppSecMatchTargetSequenceOutput{}) + pulumi.RegisterOutputType(AppSecMatchTargetSequencePtrOutput{}) + pulumi.RegisterOutputType(AppSecMatchTargetSequenceArrayOutput{}) + pulumi.RegisterOutputType(AppSecMatchTargetSequenceMapOutput{}) } diff --git a/sdk/go/akamai/appSecSecurityPolicyClone.go b/sdk/go/akamai/appSecSecurityPolicyClone.go index f9ed52741..c3172a283 100644 --- a/sdk/go/akamai/appSecSecurityPolicyClone.go +++ b/sdk/go/akamai/appSecSecurityPolicyClone.go @@ -22,7 +22,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -183,6 +182,85 @@ func (i *AppSecSecurityPolicyClone) ToAppSecSecurityPolicyCloneOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AppSecSecurityPolicyCloneOutput) } +func (i *AppSecSecurityPolicyClone) ToAppSecSecurityPolicyClonePtrOutput() AppSecSecurityPolicyClonePtrOutput { + return i.ToAppSecSecurityPolicyClonePtrOutputWithContext(context.Background()) +} + +func (i *AppSecSecurityPolicyClone) ToAppSecSecurityPolicyClonePtrOutputWithContext(ctx context.Context) AppSecSecurityPolicyClonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSecurityPolicyClonePtrOutput) +} + +type AppSecSecurityPolicyClonePtrInput interface { + pulumi.Input + + ToAppSecSecurityPolicyClonePtrOutput() AppSecSecurityPolicyClonePtrOutput + ToAppSecSecurityPolicyClonePtrOutputWithContext(ctx context.Context) AppSecSecurityPolicyClonePtrOutput +} + +type appSecSecurityPolicyClonePtrType AppSecSecurityPolicyCloneArgs + +func (*appSecSecurityPolicyClonePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecSecurityPolicyClone)(nil)) +} + +func (i *appSecSecurityPolicyClonePtrType) ToAppSecSecurityPolicyClonePtrOutput() AppSecSecurityPolicyClonePtrOutput { + return i.ToAppSecSecurityPolicyClonePtrOutputWithContext(context.Background()) +} + +func (i *appSecSecurityPolicyClonePtrType) ToAppSecSecurityPolicyClonePtrOutputWithContext(ctx context.Context) AppSecSecurityPolicyClonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSecurityPolicyClonePtrOutput) +} + +// AppSecSecurityPolicyCloneArrayInput is an input type that accepts AppSecSecurityPolicyCloneArray and AppSecSecurityPolicyCloneArrayOutput values. +// You can construct a concrete instance of `AppSecSecurityPolicyCloneArrayInput` via: +// +// AppSecSecurityPolicyCloneArray{ AppSecSecurityPolicyCloneArgs{...} } +type AppSecSecurityPolicyCloneArrayInput interface { + pulumi.Input + + ToAppSecSecurityPolicyCloneArrayOutput() AppSecSecurityPolicyCloneArrayOutput + ToAppSecSecurityPolicyCloneArrayOutputWithContext(context.Context) AppSecSecurityPolicyCloneArrayOutput +} + +type AppSecSecurityPolicyCloneArray []AppSecSecurityPolicyCloneInput + +func (AppSecSecurityPolicyCloneArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecSecurityPolicyClone)(nil)) +} + +func (i AppSecSecurityPolicyCloneArray) ToAppSecSecurityPolicyCloneArrayOutput() AppSecSecurityPolicyCloneArrayOutput { + return i.ToAppSecSecurityPolicyCloneArrayOutputWithContext(context.Background()) +} + +func (i AppSecSecurityPolicyCloneArray) ToAppSecSecurityPolicyCloneArrayOutputWithContext(ctx context.Context) AppSecSecurityPolicyCloneArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSecurityPolicyCloneArrayOutput) +} + +// AppSecSecurityPolicyCloneMapInput is an input type that accepts AppSecSecurityPolicyCloneMap and AppSecSecurityPolicyCloneMapOutput values. +// You can construct a concrete instance of `AppSecSecurityPolicyCloneMapInput` via: +// +// AppSecSecurityPolicyCloneMap{ "key": AppSecSecurityPolicyCloneArgs{...} } +type AppSecSecurityPolicyCloneMapInput interface { + pulumi.Input + + ToAppSecSecurityPolicyCloneMapOutput() AppSecSecurityPolicyCloneMapOutput + ToAppSecSecurityPolicyCloneMapOutputWithContext(context.Context) AppSecSecurityPolicyCloneMapOutput +} + +type AppSecSecurityPolicyCloneMap map[string]AppSecSecurityPolicyCloneInput + +func (AppSecSecurityPolicyCloneMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecSecurityPolicyClone)(nil)) +} + +func (i AppSecSecurityPolicyCloneMap) ToAppSecSecurityPolicyCloneMapOutput() AppSecSecurityPolicyCloneMapOutput { + return i.ToAppSecSecurityPolicyCloneMapOutputWithContext(context.Background()) +} + +func (i AppSecSecurityPolicyCloneMap) ToAppSecSecurityPolicyCloneMapOutputWithContext(ctx context.Context) AppSecSecurityPolicyCloneMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSecurityPolicyCloneMapOutput) +} + type AppSecSecurityPolicyCloneOutput struct { *pulumi.OutputState } @@ -199,6 +277,75 @@ func (o AppSecSecurityPolicyCloneOutput) ToAppSecSecurityPolicyCloneOutputWithCo return o } +func (o AppSecSecurityPolicyCloneOutput) ToAppSecSecurityPolicyClonePtrOutput() AppSecSecurityPolicyClonePtrOutput { + return o.ToAppSecSecurityPolicyClonePtrOutputWithContext(context.Background()) +} + +func (o AppSecSecurityPolicyCloneOutput) ToAppSecSecurityPolicyClonePtrOutputWithContext(ctx context.Context) AppSecSecurityPolicyClonePtrOutput { + return o.ApplyT(func(v AppSecSecurityPolicyClone) *AppSecSecurityPolicyClone { + return &v + }).(AppSecSecurityPolicyClonePtrOutput) +} + +type AppSecSecurityPolicyClonePtrOutput struct { + *pulumi.OutputState +} + +func (AppSecSecurityPolicyClonePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecSecurityPolicyClone)(nil)) +} + +func (o AppSecSecurityPolicyClonePtrOutput) ToAppSecSecurityPolicyClonePtrOutput() AppSecSecurityPolicyClonePtrOutput { + return o +} + +func (o AppSecSecurityPolicyClonePtrOutput) ToAppSecSecurityPolicyClonePtrOutputWithContext(ctx context.Context) AppSecSecurityPolicyClonePtrOutput { + return o +} + +type AppSecSecurityPolicyCloneArrayOutput struct{ *pulumi.OutputState } + +func (AppSecSecurityPolicyCloneArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecSecurityPolicyClone)(nil)) +} + +func (o AppSecSecurityPolicyCloneArrayOutput) ToAppSecSecurityPolicyCloneArrayOutput() AppSecSecurityPolicyCloneArrayOutput { + return o +} + +func (o AppSecSecurityPolicyCloneArrayOutput) ToAppSecSecurityPolicyCloneArrayOutputWithContext(ctx context.Context) AppSecSecurityPolicyCloneArrayOutput { + return o +} + +func (o AppSecSecurityPolicyCloneArrayOutput) Index(i pulumi.IntInput) AppSecSecurityPolicyCloneOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecSecurityPolicyClone { + return vs[0].([]AppSecSecurityPolicyClone)[vs[1].(int)] + }).(AppSecSecurityPolicyCloneOutput) +} + +type AppSecSecurityPolicyCloneMapOutput struct{ *pulumi.OutputState } + +func (AppSecSecurityPolicyCloneMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecSecurityPolicyClone)(nil)) +} + +func (o AppSecSecurityPolicyCloneMapOutput) ToAppSecSecurityPolicyCloneMapOutput() AppSecSecurityPolicyCloneMapOutput { + return o +} + +func (o AppSecSecurityPolicyCloneMapOutput) ToAppSecSecurityPolicyCloneMapOutputWithContext(ctx context.Context) AppSecSecurityPolicyCloneMapOutput { + return o +} + +func (o AppSecSecurityPolicyCloneMapOutput) MapIndex(k pulumi.StringInput) AppSecSecurityPolicyCloneOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecSecurityPolicyClone { + return vs[0].(map[string]AppSecSecurityPolicyClone)[vs[1].(string)] + }).(AppSecSecurityPolicyCloneOutput) +} + func init() { pulumi.RegisterOutputType(AppSecSecurityPolicyCloneOutput{}) + pulumi.RegisterOutputType(AppSecSecurityPolicyClonePtrOutput{}) + pulumi.RegisterOutputType(AppSecSecurityPolicyCloneArrayOutput{}) + pulumi.RegisterOutputType(AppSecSecurityPolicyCloneMapOutput{}) } diff --git a/sdk/go/akamai/appSecSelectedHostnames.go b/sdk/go/akamai/appSecSelectedHostnames.go index e5c726fa4..1b3772ac5 100644 --- a/sdk/go/akamai/appSecSelectedHostnames.go +++ b/sdk/go/akamai/appSecSelectedHostnames.go @@ -116,6 +116,85 @@ func (i *AppSecSelectedHostnames) ToAppSecSelectedHostnamesOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AppSecSelectedHostnamesOutput) } +func (i *AppSecSelectedHostnames) ToAppSecSelectedHostnamesPtrOutput() AppSecSelectedHostnamesPtrOutput { + return i.ToAppSecSelectedHostnamesPtrOutputWithContext(context.Background()) +} + +func (i *AppSecSelectedHostnames) ToAppSecSelectedHostnamesPtrOutputWithContext(ctx context.Context) AppSecSelectedHostnamesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSelectedHostnamesPtrOutput) +} + +type AppSecSelectedHostnamesPtrInput interface { + pulumi.Input + + ToAppSecSelectedHostnamesPtrOutput() AppSecSelectedHostnamesPtrOutput + ToAppSecSelectedHostnamesPtrOutputWithContext(ctx context.Context) AppSecSelectedHostnamesPtrOutput +} + +type appSecSelectedHostnamesPtrType AppSecSelectedHostnamesArgs + +func (*appSecSelectedHostnamesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecSelectedHostnames)(nil)) +} + +func (i *appSecSelectedHostnamesPtrType) ToAppSecSelectedHostnamesPtrOutput() AppSecSelectedHostnamesPtrOutput { + return i.ToAppSecSelectedHostnamesPtrOutputWithContext(context.Background()) +} + +func (i *appSecSelectedHostnamesPtrType) ToAppSecSelectedHostnamesPtrOutputWithContext(ctx context.Context) AppSecSelectedHostnamesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSelectedHostnamesPtrOutput) +} + +// AppSecSelectedHostnamesArrayInput is an input type that accepts AppSecSelectedHostnamesArray and AppSecSelectedHostnamesArrayOutput values. +// You can construct a concrete instance of `AppSecSelectedHostnamesArrayInput` via: +// +// AppSecSelectedHostnamesArray{ AppSecSelectedHostnamesArgs{...} } +type AppSecSelectedHostnamesArrayInput interface { + pulumi.Input + + ToAppSecSelectedHostnamesArrayOutput() AppSecSelectedHostnamesArrayOutput + ToAppSecSelectedHostnamesArrayOutputWithContext(context.Context) AppSecSelectedHostnamesArrayOutput +} + +type AppSecSelectedHostnamesArray []AppSecSelectedHostnamesInput + +func (AppSecSelectedHostnamesArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*AppSecSelectedHostnames)(nil)) +} + +func (i AppSecSelectedHostnamesArray) ToAppSecSelectedHostnamesArrayOutput() AppSecSelectedHostnamesArrayOutput { + return i.ToAppSecSelectedHostnamesArrayOutputWithContext(context.Background()) +} + +func (i AppSecSelectedHostnamesArray) ToAppSecSelectedHostnamesArrayOutputWithContext(ctx context.Context) AppSecSelectedHostnamesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSelectedHostnamesArrayOutput) +} + +// AppSecSelectedHostnamesMapInput is an input type that accepts AppSecSelectedHostnamesMap and AppSecSelectedHostnamesMapOutput values. +// You can construct a concrete instance of `AppSecSelectedHostnamesMapInput` via: +// +// AppSecSelectedHostnamesMap{ "key": AppSecSelectedHostnamesArgs{...} } +type AppSecSelectedHostnamesMapInput interface { + pulumi.Input + + ToAppSecSelectedHostnamesMapOutput() AppSecSelectedHostnamesMapOutput + ToAppSecSelectedHostnamesMapOutputWithContext(context.Context) AppSecSelectedHostnamesMapOutput +} + +type AppSecSelectedHostnamesMap map[string]AppSecSelectedHostnamesInput + +func (AppSecSelectedHostnamesMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*AppSecSelectedHostnames)(nil)) +} + +func (i AppSecSelectedHostnamesMap) ToAppSecSelectedHostnamesMapOutput() AppSecSelectedHostnamesMapOutput { + return i.ToAppSecSelectedHostnamesMapOutputWithContext(context.Background()) +} + +func (i AppSecSelectedHostnamesMap) ToAppSecSelectedHostnamesMapOutputWithContext(ctx context.Context) AppSecSelectedHostnamesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSecSelectedHostnamesMapOutput) +} + type AppSecSelectedHostnamesOutput struct { *pulumi.OutputState } @@ -132,6 +211,75 @@ func (o AppSecSelectedHostnamesOutput) ToAppSecSelectedHostnamesOutputWithContex return o } +func (o AppSecSelectedHostnamesOutput) ToAppSecSelectedHostnamesPtrOutput() AppSecSelectedHostnamesPtrOutput { + return o.ToAppSecSelectedHostnamesPtrOutputWithContext(context.Background()) +} + +func (o AppSecSelectedHostnamesOutput) ToAppSecSelectedHostnamesPtrOutputWithContext(ctx context.Context) AppSecSelectedHostnamesPtrOutput { + return o.ApplyT(func(v AppSecSelectedHostnames) *AppSecSelectedHostnames { + return &v + }).(AppSecSelectedHostnamesPtrOutput) +} + +type AppSecSelectedHostnamesPtrOutput struct { + *pulumi.OutputState +} + +func (AppSecSelectedHostnamesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSecSelectedHostnames)(nil)) +} + +func (o AppSecSelectedHostnamesPtrOutput) ToAppSecSelectedHostnamesPtrOutput() AppSecSelectedHostnamesPtrOutput { + return o +} + +func (o AppSecSelectedHostnamesPtrOutput) ToAppSecSelectedHostnamesPtrOutputWithContext(ctx context.Context) AppSecSelectedHostnamesPtrOutput { + return o +} + +type AppSecSelectedHostnamesArrayOutput struct{ *pulumi.OutputState } + +func (AppSecSelectedHostnamesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppSecSelectedHostnames)(nil)) +} + +func (o AppSecSelectedHostnamesArrayOutput) ToAppSecSelectedHostnamesArrayOutput() AppSecSelectedHostnamesArrayOutput { + return o +} + +func (o AppSecSelectedHostnamesArrayOutput) ToAppSecSelectedHostnamesArrayOutputWithContext(ctx context.Context) AppSecSelectedHostnamesArrayOutput { + return o +} + +func (o AppSecSelectedHostnamesArrayOutput) Index(i pulumi.IntInput) AppSecSelectedHostnamesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppSecSelectedHostnames { + return vs[0].([]AppSecSelectedHostnames)[vs[1].(int)] + }).(AppSecSelectedHostnamesOutput) +} + +type AppSecSelectedHostnamesMapOutput struct{ *pulumi.OutputState } + +func (AppSecSelectedHostnamesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]AppSecSelectedHostnames)(nil)) +} + +func (o AppSecSelectedHostnamesMapOutput) ToAppSecSelectedHostnamesMapOutput() AppSecSelectedHostnamesMapOutput { + return o +} + +func (o AppSecSelectedHostnamesMapOutput) ToAppSecSelectedHostnamesMapOutputWithContext(ctx context.Context) AppSecSelectedHostnamesMapOutput { + return o +} + +func (o AppSecSelectedHostnamesMapOutput) MapIndex(k pulumi.StringInput) AppSecSelectedHostnamesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) AppSecSelectedHostnames { + return vs[0].(map[string]AppSecSelectedHostnames)[vs[1].(string)] + }).(AppSecSelectedHostnamesOutput) +} + func init() { pulumi.RegisterOutputType(AppSecSelectedHostnamesOutput{}) + pulumi.RegisterOutputType(AppSecSelectedHostnamesPtrOutput{}) + pulumi.RegisterOutputType(AppSecSelectedHostnamesArrayOutput{}) + pulumi.RegisterOutputType(AppSecSelectedHostnamesMapOutput{}) } diff --git a/sdk/go/akamai/cpCode.go b/sdk/go/akamai/cpCode.go index 68e37b572..fc029c783 100644 --- a/sdk/go/akamai/cpCode.go +++ b/sdk/go/akamai/cpCode.go @@ -133,6 +133,85 @@ func (i *CpCode) ToCpCodeOutputWithContext(ctx context.Context) CpCodeOutput { return pulumi.ToOutputWithContext(ctx, i).(CpCodeOutput) } +func (i *CpCode) ToCpCodePtrOutput() CpCodePtrOutput { + return i.ToCpCodePtrOutputWithContext(context.Background()) +} + +func (i *CpCode) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodePtrOutput) +} + +type CpCodePtrInput interface { + pulumi.Input + + ToCpCodePtrOutput() CpCodePtrOutput + ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput +} + +type cpCodePtrType CpCodeArgs + +func (*cpCodePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CpCode)(nil)) +} + +func (i *cpCodePtrType) ToCpCodePtrOutput() CpCodePtrOutput { + return i.ToCpCodePtrOutputWithContext(context.Background()) +} + +func (i *cpCodePtrType) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodePtrOutput) +} + +// CpCodeArrayInput is an input type that accepts CpCodeArray and CpCodeArrayOutput values. +// You can construct a concrete instance of `CpCodeArrayInput` via: +// +// CpCodeArray{ CpCodeArgs{...} } +type CpCodeArrayInput interface { + pulumi.Input + + ToCpCodeArrayOutput() CpCodeArrayOutput + ToCpCodeArrayOutputWithContext(context.Context) CpCodeArrayOutput +} + +type CpCodeArray []CpCodeInput + +func (CpCodeArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*CpCode)(nil)) +} + +func (i CpCodeArray) ToCpCodeArrayOutput() CpCodeArrayOutput { + return i.ToCpCodeArrayOutputWithContext(context.Background()) +} + +func (i CpCodeArray) ToCpCodeArrayOutputWithContext(ctx context.Context) CpCodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodeArrayOutput) +} + +// CpCodeMapInput is an input type that accepts CpCodeMap and CpCodeMapOutput values. +// You can construct a concrete instance of `CpCodeMapInput` via: +// +// CpCodeMap{ "key": CpCodeArgs{...} } +type CpCodeMapInput interface { + pulumi.Input + + ToCpCodeMapOutput() CpCodeMapOutput + ToCpCodeMapOutputWithContext(context.Context) CpCodeMapOutput +} + +type CpCodeMap map[string]CpCodeInput + +func (CpCodeMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*CpCode)(nil)) +} + +func (i CpCodeMap) ToCpCodeMapOutput() CpCodeMapOutput { + return i.ToCpCodeMapOutputWithContext(context.Background()) +} + +func (i CpCodeMap) ToCpCodeMapOutputWithContext(ctx context.Context) CpCodeMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodeMapOutput) +} + type CpCodeOutput struct { *pulumi.OutputState } @@ -149,6 +228,75 @@ func (o CpCodeOutput) ToCpCodeOutputWithContext(ctx context.Context) CpCodeOutpu return o } +func (o CpCodeOutput) ToCpCodePtrOutput() CpCodePtrOutput { + return o.ToCpCodePtrOutputWithContext(context.Background()) +} + +func (o CpCodeOutput) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return o.ApplyT(func(v CpCode) *CpCode { + return &v + }).(CpCodePtrOutput) +} + +type CpCodePtrOutput struct { + *pulumi.OutputState +} + +func (CpCodePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CpCode)(nil)) +} + +func (o CpCodePtrOutput) ToCpCodePtrOutput() CpCodePtrOutput { + return o +} + +func (o CpCodePtrOutput) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return o +} + +type CpCodeArrayOutput struct{ *pulumi.OutputState } + +func (CpCodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CpCode)(nil)) +} + +func (o CpCodeArrayOutput) ToCpCodeArrayOutput() CpCodeArrayOutput { + return o +} + +func (o CpCodeArrayOutput) ToCpCodeArrayOutputWithContext(ctx context.Context) CpCodeArrayOutput { + return o +} + +func (o CpCodeArrayOutput) Index(i pulumi.IntInput) CpCodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CpCode { + return vs[0].([]CpCode)[vs[1].(int)] + }).(CpCodeOutput) +} + +type CpCodeMapOutput struct{ *pulumi.OutputState } + +func (CpCodeMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]CpCode)(nil)) +} + +func (o CpCodeMapOutput) ToCpCodeMapOutput() CpCodeMapOutput { + return o +} + +func (o CpCodeMapOutput) ToCpCodeMapOutputWithContext(ctx context.Context) CpCodeMapOutput { + return o +} + +func (o CpCodeMapOutput) MapIndex(k pulumi.StringInput) CpCodeOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) CpCode { + return vs[0].(map[string]CpCode)[vs[1].(string)] + }).(CpCodeOutput) +} + func init() { pulumi.RegisterOutputType(CpCodeOutput{}) + pulumi.RegisterOutputType(CpCodePtrOutput{}) + pulumi.RegisterOutputType(CpCodeArrayOutput{}) + pulumi.RegisterOutputType(CpCodeMapOutput{}) } diff --git a/sdk/go/akamai/dnsRecord.go b/sdk/go/akamai/dnsRecord.go index acb1a065b..6180c9450 100644 --- a/sdk/go/akamai/dnsRecord.go +++ b/sdk/go/akamai/dnsRecord.go @@ -638,6 +638,85 @@ func (i *DnsRecord) ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordO return pulumi.ToOutputWithContext(ctx, i).(DnsRecordOutput) } +func (i *DnsRecord) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return i.ToDnsRecordPtrOutputWithContext(context.Background()) +} + +func (i *DnsRecord) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordPtrOutput) +} + +type DnsRecordPtrInput interface { + pulumi.Input + + ToDnsRecordPtrOutput() DnsRecordPtrOutput + ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput +} + +type dnsRecordPtrType DnsRecordArgs + +func (*dnsRecordPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DnsRecord)(nil)) +} + +func (i *dnsRecordPtrType) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return i.ToDnsRecordPtrOutputWithContext(context.Background()) +} + +func (i *dnsRecordPtrType) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordPtrOutput) +} + +// DnsRecordArrayInput is an input type that accepts DnsRecordArray and DnsRecordArrayOutput values. +// You can construct a concrete instance of `DnsRecordArrayInput` via: +// +// DnsRecordArray{ DnsRecordArgs{...} } +type DnsRecordArrayInput interface { + pulumi.Input + + ToDnsRecordArrayOutput() DnsRecordArrayOutput + ToDnsRecordArrayOutputWithContext(context.Context) DnsRecordArrayOutput +} + +type DnsRecordArray []DnsRecordInput + +func (DnsRecordArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*DnsRecord)(nil)) +} + +func (i DnsRecordArray) ToDnsRecordArrayOutput() DnsRecordArrayOutput { + return i.ToDnsRecordArrayOutputWithContext(context.Background()) +} + +func (i DnsRecordArray) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordArrayOutput) +} + +// DnsRecordMapInput is an input type that accepts DnsRecordMap and DnsRecordMapOutput values. +// You can construct a concrete instance of `DnsRecordMapInput` via: +// +// DnsRecordMap{ "key": DnsRecordArgs{...} } +type DnsRecordMapInput interface { + pulumi.Input + + ToDnsRecordMapOutput() DnsRecordMapOutput + ToDnsRecordMapOutputWithContext(context.Context) DnsRecordMapOutput +} + +type DnsRecordMap map[string]DnsRecordInput + +func (DnsRecordMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*DnsRecord)(nil)) +} + +func (i DnsRecordMap) ToDnsRecordMapOutput() DnsRecordMapOutput { + return i.ToDnsRecordMapOutputWithContext(context.Background()) +} + +func (i DnsRecordMap) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordMapOutput) +} + type DnsRecordOutput struct { *pulumi.OutputState } @@ -654,6 +733,75 @@ func (o DnsRecordOutput) ToDnsRecordOutputWithContext(ctx context.Context) DnsRe return o } +func (o DnsRecordOutput) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return o.ToDnsRecordPtrOutputWithContext(context.Background()) +} + +func (o DnsRecordOutput) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return o.ApplyT(func(v DnsRecord) *DnsRecord { + return &v + }).(DnsRecordPtrOutput) +} + +type DnsRecordPtrOutput struct { + *pulumi.OutputState +} + +func (DnsRecordPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DnsRecord)(nil)) +} + +func (o DnsRecordPtrOutput) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return o +} + +func (o DnsRecordPtrOutput) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return o +} + +type DnsRecordArrayOutput struct{ *pulumi.OutputState } + +func (DnsRecordArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DnsRecord)(nil)) +} + +func (o DnsRecordArrayOutput) ToDnsRecordArrayOutput() DnsRecordArrayOutput { + return o +} + +func (o DnsRecordArrayOutput) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput { + return o +} + +func (o DnsRecordArrayOutput) Index(i pulumi.IntInput) DnsRecordOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsRecord { + return vs[0].([]DnsRecord)[vs[1].(int)] + }).(DnsRecordOutput) +} + +type DnsRecordMapOutput struct{ *pulumi.OutputState } + +func (DnsRecordMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DnsRecord)(nil)) +} + +func (o DnsRecordMapOutput) ToDnsRecordMapOutput() DnsRecordMapOutput { + return o +} + +func (o DnsRecordMapOutput) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput { + return o +} + +func (o DnsRecordMapOutput) MapIndex(k pulumi.StringInput) DnsRecordOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) DnsRecord { + return vs[0].(map[string]DnsRecord)[vs[1].(string)] + }).(DnsRecordOutput) +} + func init() { pulumi.RegisterOutputType(DnsRecordOutput{}) + pulumi.RegisterOutputType(DnsRecordPtrOutput{}) + pulumi.RegisterOutputType(DnsRecordArrayOutput{}) + pulumi.RegisterOutputType(DnsRecordMapOutput{}) } diff --git a/sdk/go/akamai/dnsZone.go b/sdk/go/akamai/dnsZone.go index 53f2c3ed0..4482ae841 100644 --- a/sdk/go/akamai/dnsZone.go +++ b/sdk/go/akamai/dnsZone.go @@ -21,7 +21,7 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" +// "github.com/pulumi/pulumi-akamai/sdk/go/akamai" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -251,6 +251,85 @@ func (i *DnsZone) ToDnsZoneOutputWithContext(ctx context.Context) DnsZoneOutput return pulumi.ToOutputWithContext(ctx, i).(DnsZoneOutput) } +func (i *DnsZone) ToDnsZonePtrOutput() DnsZonePtrOutput { + return i.ToDnsZonePtrOutputWithContext(context.Background()) +} + +func (i *DnsZone) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZonePtrOutput) +} + +type DnsZonePtrInput interface { + pulumi.Input + + ToDnsZonePtrOutput() DnsZonePtrOutput + ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput +} + +type dnsZonePtrType DnsZoneArgs + +func (*dnsZonePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DnsZone)(nil)) +} + +func (i *dnsZonePtrType) ToDnsZonePtrOutput() DnsZonePtrOutput { + return i.ToDnsZonePtrOutputWithContext(context.Background()) +} + +func (i *dnsZonePtrType) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZonePtrOutput) +} + +// DnsZoneArrayInput is an input type that accepts DnsZoneArray and DnsZoneArrayOutput values. +// You can construct a concrete instance of `DnsZoneArrayInput` via: +// +// DnsZoneArray{ DnsZoneArgs{...} } +type DnsZoneArrayInput interface { + pulumi.Input + + ToDnsZoneArrayOutput() DnsZoneArrayOutput + ToDnsZoneArrayOutputWithContext(context.Context) DnsZoneArrayOutput +} + +type DnsZoneArray []DnsZoneInput + +func (DnsZoneArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*DnsZone)(nil)) +} + +func (i DnsZoneArray) ToDnsZoneArrayOutput() DnsZoneArrayOutput { + return i.ToDnsZoneArrayOutputWithContext(context.Background()) +} + +func (i DnsZoneArray) ToDnsZoneArrayOutputWithContext(ctx context.Context) DnsZoneArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZoneArrayOutput) +} + +// DnsZoneMapInput is an input type that accepts DnsZoneMap and DnsZoneMapOutput values. +// You can construct a concrete instance of `DnsZoneMapInput` via: +// +// DnsZoneMap{ "key": DnsZoneArgs{...} } +type DnsZoneMapInput interface { + pulumi.Input + + ToDnsZoneMapOutput() DnsZoneMapOutput + ToDnsZoneMapOutputWithContext(context.Context) DnsZoneMapOutput +} + +type DnsZoneMap map[string]DnsZoneInput + +func (DnsZoneMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*DnsZone)(nil)) +} + +func (i DnsZoneMap) ToDnsZoneMapOutput() DnsZoneMapOutput { + return i.ToDnsZoneMapOutputWithContext(context.Background()) +} + +func (i DnsZoneMap) ToDnsZoneMapOutputWithContext(ctx context.Context) DnsZoneMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZoneMapOutput) +} + type DnsZoneOutput struct { *pulumi.OutputState } @@ -267,6 +346,75 @@ func (o DnsZoneOutput) ToDnsZoneOutputWithContext(ctx context.Context) DnsZoneOu return o } +func (o DnsZoneOutput) ToDnsZonePtrOutput() DnsZonePtrOutput { + return o.ToDnsZonePtrOutputWithContext(context.Background()) +} + +func (o DnsZoneOutput) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return o.ApplyT(func(v DnsZone) *DnsZone { + return &v + }).(DnsZonePtrOutput) +} + +type DnsZonePtrOutput struct { + *pulumi.OutputState +} + +func (DnsZonePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DnsZone)(nil)) +} + +func (o DnsZonePtrOutput) ToDnsZonePtrOutput() DnsZonePtrOutput { + return o +} + +func (o DnsZonePtrOutput) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return o +} + +type DnsZoneArrayOutput struct{ *pulumi.OutputState } + +func (DnsZoneArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DnsZone)(nil)) +} + +func (o DnsZoneArrayOutput) ToDnsZoneArrayOutput() DnsZoneArrayOutput { + return o +} + +func (o DnsZoneArrayOutput) ToDnsZoneArrayOutputWithContext(ctx context.Context) DnsZoneArrayOutput { + return o +} + +func (o DnsZoneArrayOutput) Index(i pulumi.IntInput) DnsZoneOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsZone { + return vs[0].([]DnsZone)[vs[1].(int)] + }).(DnsZoneOutput) +} + +type DnsZoneMapOutput struct{ *pulumi.OutputState } + +func (DnsZoneMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DnsZone)(nil)) +} + +func (o DnsZoneMapOutput) ToDnsZoneMapOutput() DnsZoneMapOutput { + return o +} + +func (o DnsZoneMapOutput) ToDnsZoneMapOutputWithContext(ctx context.Context) DnsZoneMapOutput { + return o +} + +func (o DnsZoneMapOutput) MapIndex(k pulumi.StringInput) DnsZoneOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) DnsZone { + return vs[0].(map[string]DnsZone)[vs[1].(string)] + }).(DnsZoneOutput) +} + func init() { pulumi.RegisterOutputType(DnsZoneOutput{}) + pulumi.RegisterOutputType(DnsZonePtrOutput{}) + pulumi.RegisterOutputType(DnsZoneArrayOutput{}) + pulumi.RegisterOutputType(DnsZoneMapOutput{}) } diff --git a/sdk/go/akamai/edgeHostName.go b/sdk/go/akamai/edgeHostName.go index 1e0644534..cb81cd4b5 100644 --- a/sdk/go/akamai/edgeHostName.go +++ b/sdk/go/akamai/edgeHostName.go @@ -156,6 +156,85 @@ func (i *EdgeHostName) ToEdgeHostNameOutputWithContext(ctx context.Context) Edge return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNameOutput) } +func (i *EdgeHostName) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return i.ToEdgeHostNamePtrOutputWithContext(context.Background()) +} + +func (i *EdgeHostName) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNamePtrOutput) +} + +type EdgeHostNamePtrInput interface { + pulumi.Input + + ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput + ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput +} + +type edgeHostNamePtrType EdgeHostNameArgs + +func (*edgeHostNamePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EdgeHostName)(nil)) +} + +func (i *edgeHostNamePtrType) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return i.ToEdgeHostNamePtrOutputWithContext(context.Background()) +} + +func (i *edgeHostNamePtrType) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNamePtrOutput) +} + +// EdgeHostNameArrayInput is an input type that accepts EdgeHostNameArray and EdgeHostNameArrayOutput values. +// You can construct a concrete instance of `EdgeHostNameArrayInput` via: +// +// EdgeHostNameArray{ EdgeHostNameArgs{...} } +type EdgeHostNameArrayInput interface { + pulumi.Input + + ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput + ToEdgeHostNameArrayOutputWithContext(context.Context) EdgeHostNameArrayOutput +} + +type EdgeHostNameArray []EdgeHostNameInput + +func (EdgeHostNameArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*EdgeHostName)(nil)) +} + +func (i EdgeHostNameArray) ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput { + return i.ToEdgeHostNameArrayOutputWithContext(context.Background()) +} + +func (i EdgeHostNameArray) ToEdgeHostNameArrayOutputWithContext(ctx context.Context) EdgeHostNameArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNameArrayOutput) +} + +// EdgeHostNameMapInput is an input type that accepts EdgeHostNameMap and EdgeHostNameMapOutput values. +// You can construct a concrete instance of `EdgeHostNameMapInput` via: +// +// EdgeHostNameMap{ "key": EdgeHostNameArgs{...} } +type EdgeHostNameMapInput interface { + pulumi.Input + + ToEdgeHostNameMapOutput() EdgeHostNameMapOutput + ToEdgeHostNameMapOutputWithContext(context.Context) EdgeHostNameMapOutput +} + +type EdgeHostNameMap map[string]EdgeHostNameInput + +func (EdgeHostNameMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*EdgeHostName)(nil)) +} + +func (i EdgeHostNameMap) ToEdgeHostNameMapOutput() EdgeHostNameMapOutput { + return i.ToEdgeHostNameMapOutputWithContext(context.Background()) +} + +func (i EdgeHostNameMap) ToEdgeHostNameMapOutputWithContext(ctx context.Context) EdgeHostNameMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNameMapOutput) +} + type EdgeHostNameOutput struct { *pulumi.OutputState } @@ -172,6 +251,75 @@ func (o EdgeHostNameOutput) ToEdgeHostNameOutputWithContext(ctx context.Context) return o } +func (o EdgeHostNameOutput) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return o.ToEdgeHostNamePtrOutputWithContext(context.Background()) +} + +func (o EdgeHostNameOutput) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return o.ApplyT(func(v EdgeHostName) *EdgeHostName { + return &v + }).(EdgeHostNamePtrOutput) +} + +type EdgeHostNamePtrOutput struct { + *pulumi.OutputState +} + +func (EdgeHostNamePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EdgeHostName)(nil)) +} + +func (o EdgeHostNamePtrOutput) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return o +} + +func (o EdgeHostNamePtrOutput) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return o +} + +type EdgeHostNameArrayOutput struct{ *pulumi.OutputState } + +func (EdgeHostNameArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EdgeHostName)(nil)) +} + +func (o EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput { + return o +} + +func (o EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutputWithContext(ctx context.Context) EdgeHostNameArrayOutput { + return o +} + +func (o EdgeHostNameArrayOutput) Index(i pulumi.IntInput) EdgeHostNameOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EdgeHostName { + return vs[0].([]EdgeHostName)[vs[1].(int)] + }).(EdgeHostNameOutput) +} + +type EdgeHostNameMapOutput struct{ *pulumi.OutputState } + +func (EdgeHostNameMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EdgeHostName)(nil)) +} + +func (o EdgeHostNameMapOutput) ToEdgeHostNameMapOutput() EdgeHostNameMapOutput { + return o +} + +func (o EdgeHostNameMapOutput) ToEdgeHostNameMapOutputWithContext(ctx context.Context) EdgeHostNameMapOutput { + return o +} + +func (o EdgeHostNameMapOutput) MapIndex(k pulumi.StringInput) EdgeHostNameOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EdgeHostName { + return vs[0].(map[string]EdgeHostName)[vs[1].(string)] + }).(EdgeHostNameOutput) +} + func init() { pulumi.RegisterOutputType(EdgeHostNameOutput{}) + pulumi.RegisterOutputType(EdgeHostNamePtrOutput{}) + pulumi.RegisterOutputType(EdgeHostNameArrayOutput{}) + pulumi.RegisterOutputType(EdgeHostNameMapOutput{}) } diff --git a/sdk/go/akamai/edgedns/dnsRecord.go b/sdk/go/akamai/edgedns/dnsRecord.go index 075bd0fbf..6d7532377 100644 --- a/sdk/go/akamai/edgedns/dnsRecord.go +++ b/sdk/go/akamai/edgedns/dnsRecord.go @@ -371,6 +371,85 @@ func (i *DnsRecord) ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordO return pulumi.ToOutputWithContext(ctx, i).(DnsRecordOutput) } +func (i *DnsRecord) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return i.ToDnsRecordPtrOutputWithContext(context.Background()) +} + +func (i *DnsRecord) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordPtrOutput) +} + +type DnsRecordPtrInput interface { + pulumi.Input + + ToDnsRecordPtrOutput() DnsRecordPtrOutput + ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput +} + +type dnsRecordPtrType DnsRecordArgs + +func (*dnsRecordPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DnsRecord)(nil)) +} + +func (i *dnsRecordPtrType) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return i.ToDnsRecordPtrOutputWithContext(context.Background()) +} + +func (i *dnsRecordPtrType) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordPtrOutput) +} + +// DnsRecordArrayInput is an input type that accepts DnsRecordArray and DnsRecordArrayOutput values. +// You can construct a concrete instance of `DnsRecordArrayInput` via: +// +// DnsRecordArray{ DnsRecordArgs{...} } +type DnsRecordArrayInput interface { + pulumi.Input + + ToDnsRecordArrayOutput() DnsRecordArrayOutput + ToDnsRecordArrayOutputWithContext(context.Context) DnsRecordArrayOutput +} + +type DnsRecordArray []DnsRecordInput + +func (DnsRecordArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*DnsRecord)(nil)) +} + +func (i DnsRecordArray) ToDnsRecordArrayOutput() DnsRecordArrayOutput { + return i.ToDnsRecordArrayOutputWithContext(context.Background()) +} + +func (i DnsRecordArray) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordArrayOutput) +} + +// DnsRecordMapInput is an input type that accepts DnsRecordMap and DnsRecordMapOutput values. +// You can construct a concrete instance of `DnsRecordMapInput` via: +// +// DnsRecordMap{ "key": DnsRecordArgs{...} } +type DnsRecordMapInput interface { + pulumi.Input + + ToDnsRecordMapOutput() DnsRecordMapOutput + ToDnsRecordMapOutputWithContext(context.Context) DnsRecordMapOutput +} + +type DnsRecordMap map[string]DnsRecordInput + +func (DnsRecordMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*DnsRecord)(nil)) +} + +func (i DnsRecordMap) ToDnsRecordMapOutput() DnsRecordMapOutput { + return i.ToDnsRecordMapOutputWithContext(context.Background()) +} + +func (i DnsRecordMap) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsRecordMapOutput) +} + type DnsRecordOutput struct { *pulumi.OutputState } @@ -387,6 +466,75 @@ func (o DnsRecordOutput) ToDnsRecordOutputWithContext(ctx context.Context) DnsRe return o } +func (o DnsRecordOutput) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return o.ToDnsRecordPtrOutputWithContext(context.Background()) +} + +func (o DnsRecordOutput) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return o.ApplyT(func(v DnsRecord) *DnsRecord { + return &v + }).(DnsRecordPtrOutput) +} + +type DnsRecordPtrOutput struct { + *pulumi.OutputState +} + +func (DnsRecordPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DnsRecord)(nil)) +} + +func (o DnsRecordPtrOutput) ToDnsRecordPtrOutput() DnsRecordPtrOutput { + return o +} + +func (o DnsRecordPtrOutput) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput { + return o +} + +type DnsRecordArrayOutput struct{ *pulumi.OutputState } + +func (DnsRecordArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DnsRecord)(nil)) +} + +func (o DnsRecordArrayOutput) ToDnsRecordArrayOutput() DnsRecordArrayOutput { + return o +} + +func (o DnsRecordArrayOutput) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput { + return o +} + +func (o DnsRecordArrayOutput) Index(i pulumi.IntInput) DnsRecordOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsRecord { + return vs[0].([]DnsRecord)[vs[1].(int)] + }).(DnsRecordOutput) +} + +type DnsRecordMapOutput struct{ *pulumi.OutputState } + +func (DnsRecordMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DnsRecord)(nil)) +} + +func (o DnsRecordMapOutput) ToDnsRecordMapOutput() DnsRecordMapOutput { + return o +} + +func (o DnsRecordMapOutput) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput { + return o +} + +func (o DnsRecordMapOutput) MapIndex(k pulumi.StringInput) DnsRecordOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) DnsRecord { + return vs[0].(map[string]DnsRecord)[vs[1].(string)] + }).(DnsRecordOutput) +} + func init() { pulumi.RegisterOutputType(DnsRecordOutput{}) + pulumi.RegisterOutputType(DnsRecordPtrOutput{}) + pulumi.RegisterOutputType(DnsRecordArrayOutput{}) + pulumi.RegisterOutputType(DnsRecordMapOutput{}) } diff --git a/sdk/go/akamai/edgedns/dnsZone.go b/sdk/go/akamai/edgedns/dnsZone.go index 77f1596b5..a09cf43b8 100644 --- a/sdk/go/akamai/edgedns/dnsZone.go +++ b/sdk/go/akamai/edgedns/dnsZone.go @@ -161,6 +161,85 @@ func (i *DnsZone) ToDnsZoneOutputWithContext(ctx context.Context) DnsZoneOutput return pulumi.ToOutputWithContext(ctx, i).(DnsZoneOutput) } +func (i *DnsZone) ToDnsZonePtrOutput() DnsZonePtrOutput { + return i.ToDnsZonePtrOutputWithContext(context.Background()) +} + +func (i *DnsZone) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZonePtrOutput) +} + +type DnsZonePtrInput interface { + pulumi.Input + + ToDnsZonePtrOutput() DnsZonePtrOutput + ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput +} + +type dnsZonePtrType DnsZoneArgs + +func (*dnsZonePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DnsZone)(nil)) +} + +func (i *dnsZonePtrType) ToDnsZonePtrOutput() DnsZonePtrOutput { + return i.ToDnsZonePtrOutputWithContext(context.Background()) +} + +func (i *dnsZonePtrType) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZonePtrOutput) +} + +// DnsZoneArrayInput is an input type that accepts DnsZoneArray and DnsZoneArrayOutput values. +// You can construct a concrete instance of `DnsZoneArrayInput` via: +// +// DnsZoneArray{ DnsZoneArgs{...} } +type DnsZoneArrayInput interface { + pulumi.Input + + ToDnsZoneArrayOutput() DnsZoneArrayOutput + ToDnsZoneArrayOutputWithContext(context.Context) DnsZoneArrayOutput +} + +type DnsZoneArray []DnsZoneInput + +func (DnsZoneArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*DnsZone)(nil)) +} + +func (i DnsZoneArray) ToDnsZoneArrayOutput() DnsZoneArrayOutput { + return i.ToDnsZoneArrayOutputWithContext(context.Background()) +} + +func (i DnsZoneArray) ToDnsZoneArrayOutputWithContext(ctx context.Context) DnsZoneArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZoneArrayOutput) +} + +// DnsZoneMapInput is an input type that accepts DnsZoneMap and DnsZoneMapOutput values. +// You can construct a concrete instance of `DnsZoneMapInput` via: +// +// DnsZoneMap{ "key": DnsZoneArgs{...} } +type DnsZoneMapInput interface { + pulumi.Input + + ToDnsZoneMapOutput() DnsZoneMapOutput + ToDnsZoneMapOutputWithContext(context.Context) DnsZoneMapOutput +} + +type DnsZoneMap map[string]DnsZoneInput + +func (DnsZoneMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*DnsZone)(nil)) +} + +func (i DnsZoneMap) ToDnsZoneMapOutput() DnsZoneMapOutput { + return i.ToDnsZoneMapOutputWithContext(context.Background()) +} + +func (i DnsZoneMap) ToDnsZoneMapOutputWithContext(ctx context.Context) DnsZoneMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DnsZoneMapOutput) +} + type DnsZoneOutput struct { *pulumi.OutputState } @@ -177,6 +256,75 @@ func (o DnsZoneOutput) ToDnsZoneOutputWithContext(ctx context.Context) DnsZoneOu return o } +func (o DnsZoneOutput) ToDnsZonePtrOutput() DnsZonePtrOutput { + return o.ToDnsZonePtrOutputWithContext(context.Background()) +} + +func (o DnsZoneOutput) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return o.ApplyT(func(v DnsZone) *DnsZone { + return &v + }).(DnsZonePtrOutput) +} + +type DnsZonePtrOutput struct { + *pulumi.OutputState +} + +func (DnsZonePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DnsZone)(nil)) +} + +func (o DnsZonePtrOutput) ToDnsZonePtrOutput() DnsZonePtrOutput { + return o +} + +func (o DnsZonePtrOutput) ToDnsZonePtrOutputWithContext(ctx context.Context) DnsZonePtrOutput { + return o +} + +type DnsZoneArrayOutput struct{ *pulumi.OutputState } + +func (DnsZoneArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DnsZone)(nil)) +} + +func (o DnsZoneArrayOutput) ToDnsZoneArrayOutput() DnsZoneArrayOutput { + return o +} + +func (o DnsZoneArrayOutput) ToDnsZoneArrayOutputWithContext(ctx context.Context) DnsZoneArrayOutput { + return o +} + +func (o DnsZoneArrayOutput) Index(i pulumi.IntInput) DnsZoneOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsZone { + return vs[0].([]DnsZone)[vs[1].(int)] + }).(DnsZoneOutput) +} + +type DnsZoneMapOutput struct{ *pulumi.OutputState } + +func (DnsZoneMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DnsZone)(nil)) +} + +func (o DnsZoneMapOutput) ToDnsZoneMapOutput() DnsZoneMapOutput { + return o +} + +func (o DnsZoneMapOutput) ToDnsZoneMapOutputWithContext(ctx context.Context) DnsZoneMapOutput { + return o +} + +func (o DnsZoneMapOutput) MapIndex(k pulumi.StringInput) DnsZoneOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) DnsZone { + return vs[0].(map[string]DnsZone)[vs[1].(string)] + }).(DnsZoneOutput) +} + func init() { pulumi.RegisterOutputType(DnsZoneOutput{}) + pulumi.RegisterOutputType(DnsZonePtrOutput{}) + pulumi.RegisterOutputType(DnsZoneArrayOutput{}) + pulumi.RegisterOutputType(DnsZoneMapOutput{}) } diff --git a/sdk/go/akamai/getAppSecConfiguration.go b/sdk/go/akamai/getAppSecConfiguration.go index 2a38e62ec..b206aea28 100644 --- a/sdk/go/akamai/getAppSecConfiguration.go +++ b/sdk/go/akamai/getAppSecConfiguration.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecConfigurationVersion.go b/sdk/go/akamai/getAppSecConfigurationVersion.go index 3acac5376..098c1991b 100644 --- a/sdk/go/akamai/getAppSecConfigurationVersion.go +++ b/sdk/go/akamai/getAppSecConfigurationVersion.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecCustomRuleActions.go b/sdk/go/akamai/getAppSecCustomRuleActions.go index a9de5f5a2..60436678f 100644 --- a/sdk/go/akamai/getAppSecCustomRuleActions.go +++ b/sdk/go/akamai/getAppSecCustomRuleActions.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecCustomRules.go b/sdk/go/akamai/getAppSecCustomRules.go index 2f5bd804b..8e871d12a 100644 --- a/sdk/go/akamai/getAppSecCustomRules.go +++ b/sdk/go/akamai/getAppSecCustomRules.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecExportConfiguration.go b/sdk/go/akamai/getAppSecExportConfiguration.go index 7dd1975ea..6f652358a 100644 --- a/sdk/go/akamai/getAppSecExportConfiguration.go +++ b/sdk/go/akamai/getAppSecExportConfiguration.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecMatchTargets.go b/sdk/go/akamai/getAppSecMatchTargets.go index 2752c39c8..6e2d18612 100644 --- a/sdk/go/akamai/getAppSecMatchTargets.go +++ b/sdk/go/akamai/getAppSecMatchTargets.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecSecurityPolicy.go b/sdk/go/akamai/getAppSecSecurityPolicy.go index 1971be659..5aae38b16 100644 --- a/sdk/go/akamai/getAppSecSecurityPolicy.go +++ b/sdk/go/akamai/getAppSecSecurityPolicy.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecSelectableHostnames.go b/sdk/go/akamai/getAppSecSelectableHostnames.go index 2cbe36405..7cdd3bdce 100644 --- a/sdk/go/akamai/getAppSecSelectableHostnames.go +++ b/sdk/go/akamai/getAppSecSelectableHostnames.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/getAppSecSelectedHostnames.go b/sdk/go/akamai/getAppSecSelectedHostnames.go index 9788b43fc..2eca643d7 100644 --- a/sdk/go/akamai/getAppSecSelectedHostnames.go +++ b/sdk/go/akamai/getAppSecSelectedHostnames.go @@ -18,7 +18,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // diff --git a/sdk/go/akamai/gtmAsmap.go b/sdk/go/akamai/gtmAsmap.go index 3d8f1af4c..7f77938d8 100644 --- a/sdk/go/akamai/gtmAsmap.go +++ b/sdk/go/akamai/gtmAsmap.go @@ -22,7 +22,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -192,6 +191,85 @@ func (i *GtmAsmap) ToGtmAsmapOutputWithContext(ctx context.Context) GtmAsmapOutp return pulumi.ToOutputWithContext(ctx, i).(GtmAsmapOutput) } +func (i *GtmAsmap) ToGtmAsmapPtrOutput() GtmAsmapPtrOutput { + return i.ToGtmAsmapPtrOutputWithContext(context.Background()) +} + +func (i *GtmAsmap) ToGtmAsmapPtrOutputWithContext(ctx context.Context) GtmAsmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmAsmapPtrOutput) +} + +type GtmAsmapPtrInput interface { + pulumi.Input + + ToGtmAsmapPtrOutput() GtmAsmapPtrOutput + ToGtmAsmapPtrOutputWithContext(ctx context.Context) GtmAsmapPtrOutput +} + +type gtmAsmapPtrType GtmAsmapArgs + +func (*gtmAsmapPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmAsmap)(nil)) +} + +func (i *gtmAsmapPtrType) ToGtmAsmapPtrOutput() GtmAsmapPtrOutput { + return i.ToGtmAsmapPtrOutputWithContext(context.Background()) +} + +func (i *gtmAsmapPtrType) ToGtmAsmapPtrOutputWithContext(ctx context.Context) GtmAsmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmAsmapPtrOutput) +} + +// GtmAsmapArrayInput is an input type that accepts GtmAsmapArray and GtmAsmapArrayOutput values. +// You can construct a concrete instance of `GtmAsmapArrayInput` via: +// +// GtmAsmapArray{ GtmAsmapArgs{...} } +type GtmAsmapArrayInput interface { + pulumi.Input + + ToGtmAsmapArrayOutput() GtmAsmapArrayOutput + ToGtmAsmapArrayOutputWithContext(context.Context) GtmAsmapArrayOutput +} + +type GtmAsmapArray []GtmAsmapInput + +func (GtmAsmapArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmAsmap)(nil)) +} + +func (i GtmAsmapArray) ToGtmAsmapArrayOutput() GtmAsmapArrayOutput { + return i.ToGtmAsmapArrayOutputWithContext(context.Background()) +} + +func (i GtmAsmapArray) ToGtmAsmapArrayOutputWithContext(ctx context.Context) GtmAsmapArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmAsmapArrayOutput) +} + +// GtmAsmapMapInput is an input type that accepts GtmAsmapMap and GtmAsmapMapOutput values. +// You can construct a concrete instance of `GtmAsmapMapInput` via: +// +// GtmAsmapMap{ "key": GtmAsmapArgs{...} } +type GtmAsmapMapInput interface { + pulumi.Input + + ToGtmAsmapMapOutput() GtmAsmapMapOutput + ToGtmAsmapMapOutputWithContext(context.Context) GtmAsmapMapOutput +} + +type GtmAsmapMap map[string]GtmAsmapInput + +func (GtmAsmapMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmAsmap)(nil)) +} + +func (i GtmAsmapMap) ToGtmAsmapMapOutput() GtmAsmapMapOutput { + return i.ToGtmAsmapMapOutputWithContext(context.Background()) +} + +func (i GtmAsmapMap) ToGtmAsmapMapOutputWithContext(ctx context.Context) GtmAsmapMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmAsmapMapOutput) +} + type GtmAsmapOutput struct { *pulumi.OutputState } @@ -208,6 +286,75 @@ func (o GtmAsmapOutput) ToGtmAsmapOutputWithContext(ctx context.Context) GtmAsma return o } +func (o GtmAsmapOutput) ToGtmAsmapPtrOutput() GtmAsmapPtrOutput { + return o.ToGtmAsmapPtrOutputWithContext(context.Background()) +} + +func (o GtmAsmapOutput) ToGtmAsmapPtrOutputWithContext(ctx context.Context) GtmAsmapPtrOutput { + return o.ApplyT(func(v GtmAsmap) *GtmAsmap { + return &v + }).(GtmAsmapPtrOutput) +} + +type GtmAsmapPtrOutput struct { + *pulumi.OutputState +} + +func (GtmAsmapPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmAsmap)(nil)) +} + +func (o GtmAsmapPtrOutput) ToGtmAsmapPtrOutput() GtmAsmapPtrOutput { + return o +} + +func (o GtmAsmapPtrOutput) ToGtmAsmapPtrOutputWithContext(ctx context.Context) GtmAsmapPtrOutput { + return o +} + +type GtmAsmapArrayOutput struct{ *pulumi.OutputState } + +func (GtmAsmapArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmAsmap)(nil)) +} + +func (o GtmAsmapArrayOutput) ToGtmAsmapArrayOutput() GtmAsmapArrayOutput { + return o +} + +func (o GtmAsmapArrayOutput) ToGtmAsmapArrayOutputWithContext(ctx context.Context) GtmAsmapArrayOutput { + return o +} + +func (o GtmAsmapArrayOutput) Index(i pulumi.IntInput) GtmAsmapOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmAsmap { + return vs[0].([]GtmAsmap)[vs[1].(int)] + }).(GtmAsmapOutput) +} + +type GtmAsmapMapOutput struct{ *pulumi.OutputState } + +func (GtmAsmapMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmAsmap)(nil)) +} + +func (o GtmAsmapMapOutput) ToGtmAsmapMapOutput() GtmAsmapMapOutput { + return o +} + +func (o GtmAsmapMapOutput) ToGtmAsmapMapOutputWithContext(ctx context.Context) GtmAsmapMapOutput { + return o +} + +func (o GtmAsmapMapOutput) MapIndex(k pulumi.StringInput) GtmAsmapOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmAsmap { + return vs[0].(map[string]GtmAsmap)[vs[1].(string)] + }).(GtmAsmapOutput) +} + func init() { pulumi.RegisterOutputType(GtmAsmapOutput{}) + pulumi.RegisterOutputType(GtmAsmapPtrOutput{}) + pulumi.RegisterOutputType(GtmAsmapArrayOutput{}) + pulumi.RegisterOutputType(GtmAsmapMapOutput{}) } diff --git a/sdk/go/akamai/gtmCidrmap.go b/sdk/go/akamai/gtmCidrmap.go index d141fe793..a4a4c9404 100644 --- a/sdk/go/akamai/gtmCidrmap.go +++ b/sdk/go/akamai/gtmCidrmap.go @@ -22,7 +22,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -192,6 +191,85 @@ func (i *GtmCidrmap) ToGtmCidrmapOutputWithContext(ctx context.Context) GtmCidrm return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapOutput) } +func (i *GtmCidrmap) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return i.ToGtmCidrmapPtrOutputWithContext(context.Background()) +} + +func (i *GtmCidrmap) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapPtrOutput) +} + +type GtmCidrmapPtrInput interface { + pulumi.Input + + ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput + ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput +} + +type gtmCidrmapPtrType GtmCidrmapArgs + +func (*gtmCidrmapPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmCidrmap)(nil)) +} + +func (i *gtmCidrmapPtrType) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return i.ToGtmCidrmapPtrOutputWithContext(context.Background()) +} + +func (i *gtmCidrmapPtrType) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapPtrOutput) +} + +// GtmCidrmapArrayInput is an input type that accepts GtmCidrmapArray and GtmCidrmapArrayOutput values. +// You can construct a concrete instance of `GtmCidrmapArrayInput` via: +// +// GtmCidrmapArray{ GtmCidrmapArgs{...} } +type GtmCidrmapArrayInput interface { + pulumi.Input + + ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput + ToGtmCidrmapArrayOutputWithContext(context.Context) GtmCidrmapArrayOutput +} + +type GtmCidrmapArray []GtmCidrmapInput + +func (GtmCidrmapArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmCidrmap)(nil)) +} + +func (i GtmCidrmapArray) ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput { + return i.ToGtmCidrmapArrayOutputWithContext(context.Background()) +} + +func (i GtmCidrmapArray) ToGtmCidrmapArrayOutputWithContext(ctx context.Context) GtmCidrmapArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapArrayOutput) +} + +// GtmCidrmapMapInput is an input type that accepts GtmCidrmapMap and GtmCidrmapMapOutput values. +// You can construct a concrete instance of `GtmCidrmapMapInput` via: +// +// GtmCidrmapMap{ "key": GtmCidrmapArgs{...} } +type GtmCidrmapMapInput interface { + pulumi.Input + + ToGtmCidrmapMapOutput() GtmCidrmapMapOutput + ToGtmCidrmapMapOutputWithContext(context.Context) GtmCidrmapMapOutput +} + +type GtmCidrmapMap map[string]GtmCidrmapInput + +func (GtmCidrmapMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmCidrmap)(nil)) +} + +func (i GtmCidrmapMap) ToGtmCidrmapMapOutput() GtmCidrmapMapOutput { + return i.ToGtmCidrmapMapOutputWithContext(context.Background()) +} + +func (i GtmCidrmapMap) ToGtmCidrmapMapOutputWithContext(ctx context.Context) GtmCidrmapMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapMapOutput) +} + type GtmCidrmapOutput struct { *pulumi.OutputState } @@ -208,6 +286,75 @@ func (o GtmCidrmapOutput) ToGtmCidrmapOutputWithContext(ctx context.Context) Gtm return o } +func (o GtmCidrmapOutput) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return o.ToGtmCidrmapPtrOutputWithContext(context.Background()) +} + +func (o GtmCidrmapOutput) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return o.ApplyT(func(v GtmCidrmap) *GtmCidrmap { + return &v + }).(GtmCidrmapPtrOutput) +} + +type GtmCidrmapPtrOutput struct { + *pulumi.OutputState +} + +func (GtmCidrmapPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmCidrmap)(nil)) +} + +func (o GtmCidrmapPtrOutput) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return o +} + +func (o GtmCidrmapPtrOutput) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return o +} + +type GtmCidrmapArrayOutput struct{ *pulumi.OutputState } + +func (GtmCidrmapArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmCidrmap)(nil)) +} + +func (o GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput { + return o +} + +func (o GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutputWithContext(ctx context.Context) GtmCidrmapArrayOutput { + return o +} + +func (o GtmCidrmapArrayOutput) Index(i pulumi.IntInput) GtmCidrmapOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmCidrmap { + return vs[0].([]GtmCidrmap)[vs[1].(int)] + }).(GtmCidrmapOutput) +} + +type GtmCidrmapMapOutput struct{ *pulumi.OutputState } + +func (GtmCidrmapMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmCidrmap)(nil)) +} + +func (o GtmCidrmapMapOutput) ToGtmCidrmapMapOutput() GtmCidrmapMapOutput { + return o +} + +func (o GtmCidrmapMapOutput) ToGtmCidrmapMapOutputWithContext(ctx context.Context) GtmCidrmapMapOutput { + return o +} + +func (o GtmCidrmapMapOutput) MapIndex(k pulumi.StringInput) GtmCidrmapOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmCidrmap { + return vs[0].(map[string]GtmCidrmap)[vs[1].(string)] + }).(GtmCidrmapOutput) +} + func init() { pulumi.RegisterOutputType(GtmCidrmapOutput{}) + pulumi.RegisterOutputType(GtmCidrmapPtrOutput{}) + pulumi.RegisterOutputType(GtmCidrmapArrayOutput{}) + pulumi.RegisterOutputType(GtmCidrmapMapOutput{}) } diff --git a/sdk/go/akamai/gtmDatacenter.go b/sdk/go/akamai/gtmDatacenter.go index 5dc69f601..572c92f1d 100644 --- a/sdk/go/akamai/gtmDatacenter.go +++ b/sdk/go/akamai/gtmDatacenter.go @@ -21,7 +21,7 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" +// "github.com/pulumi/pulumi-akamai/sdk/go/akamai" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -264,6 +264,85 @@ func (i *GtmDatacenter) ToGtmDatacenterOutputWithContext(ctx context.Context) Gt return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterOutput) } +func (i *GtmDatacenter) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return i.ToGtmDatacenterPtrOutputWithContext(context.Background()) +} + +func (i *GtmDatacenter) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterPtrOutput) +} + +type GtmDatacenterPtrInput interface { + pulumi.Input + + ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput + ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput +} + +type gtmDatacenterPtrType GtmDatacenterArgs + +func (*gtmDatacenterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDatacenter)(nil)) +} + +func (i *gtmDatacenterPtrType) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return i.ToGtmDatacenterPtrOutputWithContext(context.Background()) +} + +func (i *gtmDatacenterPtrType) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterPtrOutput) +} + +// GtmDatacenterArrayInput is an input type that accepts GtmDatacenterArray and GtmDatacenterArrayOutput values. +// You can construct a concrete instance of `GtmDatacenterArrayInput` via: +// +// GtmDatacenterArray{ GtmDatacenterArgs{...} } +type GtmDatacenterArrayInput interface { + pulumi.Input + + ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput + ToGtmDatacenterArrayOutputWithContext(context.Context) GtmDatacenterArrayOutput +} + +type GtmDatacenterArray []GtmDatacenterInput + +func (GtmDatacenterArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmDatacenter)(nil)) +} + +func (i GtmDatacenterArray) ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput { + return i.ToGtmDatacenterArrayOutputWithContext(context.Background()) +} + +func (i GtmDatacenterArray) ToGtmDatacenterArrayOutputWithContext(ctx context.Context) GtmDatacenterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterArrayOutput) +} + +// GtmDatacenterMapInput is an input type that accepts GtmDatacenterMap and GtmDatacenterMapOutput values. +// You can construct a concrete instance of `GtmDatacenterMapInput` via: +// +// GtmDatacenterMap{ "key": GtmDatacenterArgs{...} } +type GtmDatacenterMapInput interface { + pulumi.Input + + ToGtmDatacenterMapOutput() GtmDatacenterMapOutput + ToGtmDatacenterMapOutputWithContext(context.Context) GtmDatacenterMapOutput +} + +type GtmDatacenterMap map[string]GtmDatacenterInput + +func (GtmDatacenterMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmDatacenter)(nil)) +} + +func (i GtmDatacenterMap) ToGtmDatacenterMapOutput() GtmDatacenterMapOutput { + return i.ToGtmDatacenterMapOutputWithContext(context.Background()) +} + +func (i GtmDatacenterMap) ToGtmDatacenterMapOutputWithContext(ctx context.Context) GtmDatacenterMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterMapOutput) +} + type GtmDatacenterOutput struct { *pulumi.OutputState } @@ -280,6 +359,75 @@ func (o GtmDatacenterOutput) ToGtmDatacenterOutputWithContext(ctx context.Contex return o } +func (o GtmDatacenterOutput) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return o.ToGtmDatacenterPtrOutputWithContext(context.Background()) +} + +func (o GtmDatacenterOutput) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return o.ApplyT(func(v GtmDatacenter) *GtmDatacenter { + return &v + }).(GtmDatacenterPtrOutput) +} + +type GtmDatacenterPtrOutput struct { + *pulumi.OutputState +} + +func (GtmDatacenterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDatacenter)(nil)) +} + +func (o GtmDatacenterPtrOutput) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return o +} + +func (o GtmDatacenterPtrOutput) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return o +} + +type GtmDatacenterArrayOutput struct{ *pulumi.OutputState } + +func (GtmDatacenterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmDatacenter)(nil)) +} + +func (o GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput { + return o +} + +func (o GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutputWithContext(ctx context.Context) GtmDatacenterArrayOutput { + return o +} + +func (o GtmDatacenterArrayOutput) Index(i pulumi.IntInput) GtmDatacenterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmDatacenter { + return vs[0].([]GtmDatacenter)[vs[1].(int)] + }).(GtmDatacenterOutput) +} + +type GtmDatacenterMapOutput struct{ *pulumi.OutputState } + +func (GtmDatacenterMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmDatacenter)(nil)) +} + +func (o GtmDatacenterMapOutput) ToGtmDatacenterMapOutput() GtmDatacenterMapOutput { + return o +} + +func (o GtmDatacenterMapOutput) ToGtmDatacenterMapOutputWithContext(ctx context.Context) GtmDatacenterMapOutput { + return o +} + +func (o GtmDatacenterMapOutput) MapIndex(k pulumi.StringInput) GtmDatacenterOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmDatacenter { + return vs[0].(map[string]GtmDatacenter)[vs[1].(string)] + }).(GtmDatacenterOutput) +} + func init() { pulumi.RegisterOutputType(GtmDatacenterOutput{}) + pulumi.RegisterOutputType(GtmDatacenterPtrOutput{}) + pulumi.RegisterOutputType(GtmDatacenterArrayOutput{}) + pulumi.RegisterOutputType(GtmDatacenterMapOutput{}) } diff --git a/sdk/go/akamai/gtmDomain.go b/sdk/go/akamai/gtmDomain.go index 7fac87230..058bed98a 100644 --- a/sdk/go/akamai/gtmDomain.go +++ b/sdk/go/akamai/gtmDomain.go @@ -21,7 +21,7 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" +// "github.com/pulumi/pulumi-akamai/sdk/go/akamai" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -356,6 +356,85 @@ func (i *GtmDomain) ToGtmDomainOutputWithContext(ctx context.Context) GtmDomainO return pulumi.ToOutputWithContext(ctx, i).(GtmDomainOutput) } +func (i *GtmDomain) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return i.ToGtmDomainPtrOutputWithContext(context.Background()) +} + +func (i *GtmDomain) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainPtrOutput) +} + +type GtmDomainPtrInput interface { + pulumi.Input + + ToGtmDomainPtrOutput() GtmDomainPtrOutput + ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput +} + +type gtmDomainPtrType GtmDomainArgs + +func (*gtmDomainPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDomain)(nil)) +} + +func (i *gtmDomainPtrType) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return i.ToGtmDomainPtrOutputWithContext(context.Background()) +} + +func (i *gtmDomainPtrType) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainPtrOutput) +} + +// GtmDomainArrayInput is an input type that accepts GtmDomainArray and GtmDomainArrayOutput values. +// You can construct a concrete instance of `GtmDomainArrayInput` via: +// +// GtmDomainArray{ GtmDomainArgs{...} } +type GtmDomainArrayInput interface { + pulumi.Input + + ToGtmDomainArrayOutput() GtmDomainArrayOutput + ToGtmDomainArrayOutputWithContext(context.Context) GtmDomainArrayOutput +} + +type GtmDomainArray []GtmDomainInput + +func (GtmDomainArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmDomain)(nil)) +} + +func (i GtmDomainArray) ToGtmDomainArrayOutput() GtmDomainArrayOutput { + return i.ToGtmDomainArrayOutputWithContext(context.Background()) +} + +func (i GtmDomainArray) ToGtmDomainArrayOutputWithContext(ctx context.Context) GtmDomainArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainArrayOutput) +} + +// GtmDomainMapInput is an input type that accepts GtmDomainMap and GtmDomainMapOutput values. +// You can construct a concrete instance of `GtmDomainMapInput` via: +// +// GtmDomainMap{ "key": GtmDomainArgs{...} } +type GtmDomainMapInput interface { + pulumi.Input + + ToGtmDomainMapOutput() GtmDomainMapOutput + ToGtmDomainMapOutputWithContext(context.Context) GtmDomainMapOutput +} + +type GtmDomainMap map[string]GtmDomainInput + +func (GtmDomainMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmDomain)(nil)) +} + +func (i GtmDomainMap) ToGtmDomainMapOutput() GtmDomainMapOutput { + return i.ToGtmDomainMapOutputWithContext(context.Background()) +} + +func (i GtmDomainMap) ToGtmDomainMapOutputWithContext(ctx context.Context) GtmDomainMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainMapOutput) +} + type GtmDomainOutput struct { *pulumi.OutputState } @@ -372,6 +451,75 @@ func (o GtmDomainOutput) ToGtmDomainOutputWithContext(ctx context.Context) GtmDo return o } +func (o GtmDomainOutput) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return o.ToGtmDomainPtrOutputWithContext(context.Background()) +} + +func (o GtmDomainOutput) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return o.ApplyT(func(v GtmDomain) *GtmDomain { + return &v + }).(GtmDomainPtrOutput) +} + +type GtmDomainPtrOutput struct { + *pulumi.OutputState +} + +func (GtmDomainPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDomain)(nil)) +} + +func (o GtmDomainPtrOutput) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return o +} + +func (o GtmDomainPtrOutput) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return o +} + +type GtmDomainArrayOutput struct{ *pulumi.OutputState } + +func (GtmDomainArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmDomain)(nil)) +} + +func (o GtmDomainArrayOutput) ToGtmDomainArrayOutput() GtmDomainArrayOutput { + return o +} + +func (o GtmDomainArrayOutput) ToGtmDomainArrayOutputWithContext(ctx context.Context) GtmDomainArrayOutput { + return o +} + +func (o GtmDomainArrayOutput) Index(i pulumi.IntInput) GtmDomainOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmDomain { + return vs[0].([]GtmDomain)[vs[1].(int)] + }).(GtmDomainOutput) +} + +type GtmDomainMapOutput struct{ *pulumi.OutputState } + +func (GtmDomainMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmDomain)(nil)) +} + +func (o GtmDomainMapOutput) ToGtmDomainMapOutput() GtmDomainMapOutput { + return o +} + +func (o GtmDomainMapOutput) ToGtmDomainMapOutputWithContext(ctx context.Context) GtmDomainMapOutput { + return o +} + +func (o GtmDomainMapOutput) MapIndex(k pulumi.StringInput) GtmDomainOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmDomain { + return vs[0].(map[string]GtmDomain)[vs[1].(string)] + }).(GtmDomainOutput) +} + func init() { pulumi.RegisterOutputType(GtmDomainOutput{}) + pulumi.RegisterOutputType(GtmDomainPtrOutput{}) + pulumi.RegisterOutputType(GtmDomainArrayOutput{}) + pulumi.RegisterOutputType(GtmDomainMapOutput{}) } diff --git a/sdk/go/akamai/gtmGeomap.go b/sdk/go/akamai/gtmGeomap.go index c88108aa0..e1eb0febb 100644 --- a/sdk/go/akamai/gtmGeomap.go +++ b/sdk/go/akamai/gtmGeomap.go @@ -22,7 +22,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -192,6 +191,85 @@ func (i *GtmGeomap) ToGtmGeomapOutputWithContext(ctx context.Context) GtmGeomapO return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapOutput) } +func (i *GtmGeomap) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return i.ToGtmGeomapPtrOutputWithContext(context.Background()) +} + +func (i *GtmGeomap) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapPtrOutput) +} + +type GtmGeomapPtrInput interface { + pulumi.Input + + ToGtmGeomapPtrOutput() GtmGeomapPtrOutput + ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput +} + +type gtmGeomapPtrType GtmGeomapArgs + +func (*gtmGeomapPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmGeomap)(nil)) +} + +func (i *gtmGeomapPtrType) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return i.ToGtmGeomapPtrOutputWithContext(context.Background()) +} + +func (i *gtmGeomapPtrType) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapPtrOutput) +} + +// GtmGeomapArrayInput is an input type that accepts GtmGeomapArray and GtmGeomapArrayOutput values. +// You can construct a concrete instance of `GtmGeomapArrayInput` via: +// +// GtmGeomapArray{ GtmGeomapArgs{...} } +type GtmGeomapArrayInput interface { + pulumi.Input + + ToGtmGeomapArrayOutput() GtmGeomapArrayOutput + ToGtmGeomapArrayOutputWithContext(context.Context) GtmGeomapArrayOutput +} + +type GtmGeomapArray []GtmGeomapInput + +func (GtmGeomapArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmGeomap)(nil)) +} + +func (i GtmGeomapArray) ToGtmGeomapArrayOutput() GtmGeomapArrayOutput { + return i.ToGtmGeomapArrayOutputWithContext(context.Background()) +} + +func (i GtmGeomapArray) ToGtmGeomapArrayOutputWithContext(ctx context.Context) GtmGeomapArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapArrayOutput) +} + +// GtmGeomapMapInput is an input type that accepts GtmGeomapMap and GtmGeomapMapOutput values. +// You can construct a concrete instance of `GtmGeomapMapInput` via: +// +// GtmGeomapMap{ "key": GtmGeomapArgs{...} } +type GtmGeomapMapInput interface { + pulumi.Input + + ToGtmGeomapMapOutput() GtmGeomapMapOutput + ToGtmGeomapMapOutputWithContext(context.Context) GtmGeomapMapOutput +} + +type GtmGeomapMap map[string]GtmGeomapInput + +func (GtmGeomapMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmGeomap)(nil)) +} + +func (i GtmGeomapMap) ToGtmGeomapMapOutput() GtmGeomapMapOutput { + return i.ToGtmGeomapMapOutputWithContext(context.Background()) +} + +func (i GtmGeomapMap) ToGtmGeomapMapOutputWithContext(ctx context.Context) GtmGeomapMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapMapOutput) +} + type GtmGeomapOutput struct { *pulumi.OutputState } @@ -208,6 +286,75 @@ func (o GtmGeomapOutput) ToGtmGeomapOutputWithContext(ctx context.Context) GtmGe return o } +func (o GtmGeomapOutput) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return o.ToGtmGeomapPtrOutputWithContext(context.Background()) +} + +func (o GtmGeomapOutput) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return o.ApplyT(func(v GtmGeomap) *GtmGeomap { + return &v + }).(GtmGeomapPtrOutput) +} + +type GtmGeomapPtrOutput struct { + *pulumi.OutputState +} + +func (GtmGeomapPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmGeomap)(nil)) +} + +func (o GtmGeomapPtrOutput) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return o +} + +func (o GtmGeomapPtrOutput) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return o +} + +type GtmGeomapArrayOutput struct{ *pulumi.OutputState } + +func (GtmGeomapArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmGeomap)(nil)) +} + +func (o GtmGeomapArrayOutput) ToGtmGeomapArrayOutput() GtmGeomapArrayOutput { + return o +} + +func (o GtmGeomapArrayOutput) ToGtmGeomapArrayOutputWithContext(ctx context.Context) GtmGeomapArrayOutput { + return o +} + +func (o GtmGeomapArrayOutput) Index(i pulumi.IntInput) GtmGeomapOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmGeomap { + return vs[0].([]GtmGeomap)[vs[1].(int)] + }).(GtmGeomapOutput) +} + +type GtmGeomapMapOutput struct{ *pulumi.OutputState } + +func (GtmGeomapMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmGeomap)(nil)) +} + +func (o GtmGeomapMapOutput) ToGtmGeomapMapOutput() GtmGeomapMapOutput { + return o +} + +func (o GtmGeomapMapOutput) ToGtmGeomapMapOutputWithContext(ctx context.Context) GtmGeomapMapOutput { + return o +} + +func (o GtmGeomapMapOutput) MapIndex(k pulumi.StringInput) GtmGeomapOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmGeomap { + return vs[0].(map[string]GtmGeomap)[vs[1].(string)] + }).(GtmGeomapOutput) +} + func init() { pulumi.RegisterOutputType(GtmGeomapOutput{}) + pulumi.RegisterOutputType(GtmGeomapPtrOutput{}) + pulumi.RegisterOutputType(GtmGeomapArrayOutput{}) + pulumi.RegisterOutputType(GtmGeomapMapOutput{}) } diff --git a/sdk/go/akamai/gtmProperty.go b/sdk/go/akamai/gtmProperty.go index df877694a..221978c7e 100644 --- a/sdk/go/akamai/gtmProperty.go +++ b/sdk/go/akamai/gtmProperty.go @@ -22,7 +22,6 @@ import ( // // import ( // "github.com/pulumi/pulumi-akamai/sdk/go/akamai" -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -455,6 +454,85 @@ func (i *GtmProperty) ToGtmPropertyOutputWithContext(ctx context.Context) GtmPro return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyOutput) } +func (i *GtmProperty) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return i.ToGtmPropertyPtrOutputWithContext(context.Background()) +} + +func (i *GtmProperty) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyPtrOutput) +} + +type GtmPropertyPtrInput interface { + pulumi.Input + + ToGtmPropertyPtrOutput() GtmPropertyPtrOutput + ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput +} + +type gtmPropertyPtrType GtmPropertyArgs + +func (*gtmPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmProperty)(nil)) +} + +func (i *gtmPropertyPtrType) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return i.ToGtmPropertyPtrOutputWithContext(context.Background()) +} + +func (i *gtmPropertyPtrType) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyPtrOutput) +} + +// GtmPropertyArrayInput is an input type that accepts GtmPropertyArray and GtmPropertyArrayOutput values. +// You can construct a concrete instance of `GtmPropertyArrayInput` via: +// +// GtmPropertyArray{ GtmPropertyArgs{...} } +type GtmPropertyArrayInput interface { + pulumi.Input + + ToGtmPropertyArrayOutput() GtmPropertyArrayOutput + ToGtmPropertyArrayOutputWithContext(context.Context) GtmPropertyArrayOutput +} + +type GtmPropertyArray []GtmPropertyInput + +func (GtmPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmProperty)(nil)) +} + +func (i GtmPropertyArray) ToGtmPropertyArrayOutput() GtmPropertyArrayOutput { + return i.ToGtmPropertyArrayOutputWithContext(context.Background()) +} + +func (i GtmPropertyArray) ToGtmPropertyArrayOutputWithContext(ctx context.Context) GtmPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyArrayOutput) +} + +// GtmPropertyMapInput is an input type that accepts GtmPropertyMap and GtmPropertyMapOutput values. +// You can construct a concrete instance of `GtmPropertyMapInput` via: +// +// GtmPropertyMap{ "key": GtmPropertyArgs{...} } +type GtmPropertyMapInput interface { + pulumi.Input + + ToGtmPropertyMapOutput() GtmPropertyMapOutput + ToGtmPropertyMapOutputWithContext(context.Context) GtmPropertyMapOutput +} + +type GtmPropertyMap map[string]GtmPropertyInput + +func (GtmPropertyMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmProperty)(nil)) +} + +func (i GtmPropertyMap) ToGtmPropertyMapOutput() GtmPropertyMapOutput { + return i.ToGtmPropertyMapOutputWithContext(context.Background()) +} + +func (i GtmPropertyMap) ToGtmPropertyMapOutputWithContext(ctx context.Context) GtmPropertyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyMapOutput) +} + type GtmPropertyOutput struct { *pulumi.OutputState } @@ -471,6 +549,75 @@ func (o GtmPropertyOutput) ToGtmPropertyOutputWithContext(ctx context.Context) G return o } +func (o GtmPropertyOutput) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return o.ToGtmPropertyPtrOutputWithContext(context.Background()) +} + +func (o GtmPropertyOutput) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return o.ApplyT(func(v GtmProperty) *GtmProperty { + return &v + }).(GtmPropertyPtrOutput) +} + +type GtmPropertyPtrOutput struct { + *pulumi.OutputState +} + +func (GtmPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmProperty)(nil)) +} + +func (o GtmPropertyPtrOutput) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return o +} + +func (o GtmPropertyPtrOutput) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return o +} + +type GtmPropertyArrayOutput struct{ *pulumi.OutputState } + +func (GtmPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmProperty)(nil)) +} + +func (o GtmPropertyArrayOutput) ToGtmPropertyArrayOutput() GtmPropertyArrayOutput { + return o +} + +func (o GtmPropertyArrayOutput) ToGtmPropertyArrayOutputWithContext(ctx context.Context) GtmPropertyArrayOutput { + return o +} + +func (o GtmPropertyArrayOutput) Index(i pulumi.IntInput) GtmPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmProperty { + return vs[0].([]GtmProperty)[vs[1].(int)] + }).(GtmPropertyOutput) +} + +type GtmPropertyMapOutput struct{ *pulumi.OutputState } + +func (GtmPropertyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmProperty)(nil)) +} + +func (o GtmPropertyMapOutput) ToGtmPropertyMapOutput() GtmPropertyMapOutput { + return o +} + +func (o GtmPropertyMapOutput) ToGtmPropertyMapOutputWithContext(ctx context.Context) GtmPropertyMapOutput { + return o +} + +func (o GtmPropertyMapOutput) MapIndex(k pulumi.StringInput) GtmPropertyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmProperty { + return vs[0].(map[string]GtmProperty)[vs[1].(string)] + }).(GtmPropertyOutput) +} + func init() { pulumi.RegisterOutputType(GtmPropertyOutput{}) + pulumi.RegisterOutputType(GtmPropertyPtrOutput{}) + pulumi.RegisterOutputType(GtmPropertyArrayOutput{}) + pulumi.RegisterOutputType(GtmPropertyMapOutput{}) } diff --git a/sdk/go/akamai/gtmResource.go b/sdk/go/akamai/gtmResource.go index 629ae6594..3efc3ebd9 100644 --- a/sdk/go/akamai/gtmResource.go +++ b/sdk/go/akamai/gtmResource.go @@ -21,7 +21,7 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" +// "github.com/pulumi/pulumi-akamai/sdk/go/akamai" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -242,6 +242,85 @@ func (i *GtmResource) ToGtmResourceOutputWithContext(ctx context.Context) GtmRes return pulumi.ToOutputWithContext(ctx, i).(GtmResourceOutput) } +func (i *GtmResource) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return i.ToGtmResourcePtrOutputWithContext(context.Background()) +} + +func (i *GtmResource) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourcePtrOutput) +} + +type GtmResourcePtrInput interface { + pulumi.Input + + ToGtmResourcePtrOutput() GtmResourcePtrOutput + ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput +} + +type gtmResourcePtrType GtmResourceArgs + +func (*gtmResourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmResource)(nil)) +} + +func (i *gtmResourcePtrType) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return i.ToGtmResourcePtrOutputWithContext(context.Background()) +} + +func (i *gtmResourcePtrType) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourcePtrOutput) +} + +// GtmResourceArrayInput is an input type that accepts GtmResourceArray and GtmResourceArrayOutput values. +// You can construct a concrete instance of `GtmResourceArrayInput` via: +// +// GtmResourceArray{ GtmResourceArgs{...} } +type GtmResourceArrayInput interface { + pulumi.Input + + ToGtmResourceArrayOutput() GtmResourceArrayOutput + ToGtmResourceArrayOutputWithContext(context.Context) GtmResourceArrayOutput +} + +type GtmResourceArray []GtmResourceInput + +func (GtmResourceArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmResource)(nil)) +} + +func (i GtmResourceArray) ToGtmResourceArrayOutput() GtmResourceArrayOutput { + return i.ToGtmResourceArrayOutputWithContext(context.Background()) +} + +func (i GtmResourceArray) ToGtmResourceArrayOutputWithContext(ctx context.Context) GtmResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourceArrayOutput) +} + +// GtmResourceMapInput is an input type that accepts GtmResourceMap and GtmResourceMapOutput values. +// You can construct a concrete instance of `GtmResourceMapInput` via: +// +// GtmResourceMap{ "key": GtmResourceArgs{...} } +type GtmResourceMapInput interface { + pulumi.Input + + ToGtmResourceMapOutput() GtmResourceMapOutput + ToGtmResourceMapOutputWithContext(context.Context) GtmResourceMapOutput +} + +type GtmResourceMap map[string]GtmResourceInput + +func (GtmResourceMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmResource)(nil)) +} + +func (i GtmResourceMap) ToGtmResourceMapOutput() GtmResourceMapOutput { + return i.ToGtmResourceMapOutputWithContext(context.Background()) +} + +func (i GtmResourceMap) ToGtmResourceMapOutputWithContext(ctx context.Context) GtmResourceMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourceMapOutput) +} + type GtmResourceOutput struct { *pulumi.OutputState } @@ -258,6 +337,75 @@ func (o GtmResourceOutput) ToGtmResourceOutputWithContext(ctx context.Context) G return o } +func (o GtmResourceOutput) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return o.ToGtmResourcePtrOutputWithContext(context.Background()) +} + +func (o GtmResourceOutput) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return o.ApplyT(func(v GtmResource) *GtmResource { + return &v + }).(GtmResourcePtrOutput) +} + +type GtmResourcePtrOutput struct { + *pulumi.OutputState +} + +func (GtmResourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmResource)(nil)) +} + +func (o GtmResourcePtrOutput) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return o +} + +func (o GtmResourcePtrOutput) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return o +} + +type GtmResourceArrayOutput struct{ *pulumi.OutputState } + +func (GtmResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmResource)(nil)) +} + +func (o GtmResourceArrayOutput) ToGtmResourceArrayOutput() GtmResourceArrayOutput { + return o +} + +func (o GtmResourceArrayOutput) ToGtmResourceArrayOutputWithContext(ctx context.Context) GtmResourceArrayOutput { + return o +} + +func (o GtmResourceArrayOutput) Index(i pulumi.IntInput) GtmResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmResource { + return vs[0].([]GtmResource)[vs[1].(int)] + }).(GtmResourceOutput) +} + +type GtmResourceMapOutput struct{ *pulumi.OutputState } + +func (GtmResourceMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmResource)(nil)) +} + +func (o GtmResourceMapOutput) ToGtmResourceMapOutput() GtmResourceMapOutput { + return o +} + +func (o GtmResourceMapOutput) ToGtmResourceMapOutputWithContext(ctx context.Context) GtmResourceMapOutput { + return o +} + +func (o GtmResourceMapOutput) MapIndex(k pulumi.StringInput) GtmResourceOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmResource { + return vs[0].(map[string]GtmResource)[vs[1].(string)] + }).(GtmResourceOutput) +} + func init() { pulumi.RegisterOutputType(GtmResourceOutput{}) + pulumi.RegisterOutputType(GtmResourcePtrOutput{}) + pulumi.RegisterOutputType(GtmResourceArrayOutput{}) + pulumi.RegisterOutputType(GtmResourceMapOutput{}) } diff --git a/sdk/go/akamai/properties/cpCode.go b/sdk/go/akamai/properties/cpCode.go index a6ef81730..4db780ece 100644 --- a/sdk/go/akamai/properties/cpCode.go +++ b/sdk/go/akamai/properties/cpCode.go @@ -128,6 +128,85 @@ func (i *CpCode) ToCpCodeOutputWithContext(ctx context.Context) CpCodeOutput { return pulumi.ToOutputWithContext(ctx, i).(CpCodeOutput) } +func (i *CpCode) ToCpCodePtrOutput() CpCodePtrOutput { + return i.ToCpCodePtrOutputWithContext(context.Background()) +} + +func (i *CpCode) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodePtrOutput) +} + +type CpCodePtrInput interface { + pulumi.Input + + ToCpCodePtrOutput() CpCodePtrOutput + ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput +} + +type cpCodePtrType CpCodeArgs + +func (*cpCodePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CpCode)(nil)) +} + +func (i *cpCodePtrType) ToCpCodePtrOutput() CpCodePtrOutput { + return i.ToCpCodePtrOutputWithContext(context.Background()) +} + +func (i *cpCodePtrType) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodePtrOutput) +} + +// CpCodeArrayInput is an input type that accepts CpCodeArray and CpCodeArrayOutput values. +// You can construct a concrete instance of `CpCodeArrayInput` via: +// +// CpCodeArray{ CpCodeArgs{...} } +type CpCodeArrayInput interface { + pulumi.Input + + ToCpCodeArrayOutput() CpCodeArrayOutput + ToCpCodeArrayOutputWithContext(context.Context) CpCodeArrayOutput +} + +type CpCodeArray []CpCodeInput + +func (CpCodeArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*CpCode)(nil)) +} + +func (i CpCodeArray) ToCpCodeArrayOutput() CpCodeArrayOutput { + return i.ToCpCodeArrayOutputWithContext(context.Background()) +} + +func (i CpCodeArray) ToCpCodeArrayOutputWithContext(ctx context.Context) CpCodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodeArrayOutput) +} + +// CpCodeMapInput is an input type that accepts CpCodeMap and CpCodeMapOutput values. +// You can construct a concrete instance of `CpCodeMapInput` via: +// +// CpCodeMap{ "key": CpCodeArgs{...} } +type CpCodeMapInput interface { + pulumi.Input + + ToCpCodeMapOutput() CpCodeMapOutput + ToCpCodeMapOutputWithContext(context.Context) CpCodeMapOutput +} + +type CpCodeMap map[string]CpCodeInput + +func (CpCodeMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*CpCode)(nil)) +} + +func (i CpCodeMap) ToCpCodeMapOutput() CpCodeMapOutput { + return i.ToCpCodeMapOutputWithContext(context.Background()) +} + +func (i CpCodeMap) ToCpCodeMapOutputWithContext(ctx context.Context) CpCodeMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CpCodeMapOutput) +} + type CpCodeOutput struct { *pulumi.OutputState } @@ -144,6 +223,75 @@ func (o CpCodeOutput) ToCpCodeOutputWithContext(ctx context.Context) CpCodeOutpu return o } +func (o CpCodeOutput) ToCpCodePtrOutput() CpCodePtrOutput { + return o.ToCpCodePtrOutputWithContext(context.Background()) +} + +func (o CpCodeOutput) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return o.ApplyT(func(v CpCode) *CpCode { + return &v + }).(CpCodePtrOutput) +} + +type CpCodePtrOutput struct { + *pulumi.OutputState +} + +func (CpCodePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CpCode)(nil)) +} + +func (o CpCodePtrOutput) ToCpCodePtrOutput() CpCodePtrOutput { + return o +} + +func (o CpCodePtrOutput) ToCpCodePtrOutputWithContext(ctx context.Context) CpCodePtrOutput { + return o +} + +type CpCodeArrayOutput struct{ *pulumi.OutputState } + +func (CpCodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CpCode)(nil)) +} + +func (o CpCodeArrayOutput) ToCpCodeArrayOutput() CpCodeArrayOutput { + return o +} + +func (o CpCodeArrayOutput) ToCpCodeArrayOutputWithContext(ctx context.Context) CpCodeArrayOutput { + return o +} + +func (o CpCodeArrayOutput) Index(i pulumi.IntInput) CpCodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CpCode { + return vs[0].([]CpCode)[vs[1].(int)] + }).(CpCodeOutput) +} + +type CpCodeMapOutput struct{ *pulumi.OutputState } + +func (CpCodeMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]CpCode)(nil)) +} + +func (o CpCodeMapOutput) ToCpCodeMapOutput() CpCodeMapOutput { + return o +} + +func (o CpCodeMapOutput) ToCpCodeMapOutputWithContext(ctx context.Context) CpCodeMapOutput { + return o +} + +func (o CpCodeMapOutput) MapIndex(k pulumi.StringInput) CpCodeOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) CpCode { + return vs[0].(map[string]CpCode)[vs[1].(string)] + }).(CpCodeOutput) +} + func init() { pulumi.RegisterOutputType(CpCodeOutput{}) + pulumi.RegisterOutputType(CpCodePtrOutput{}) + pulumi.RegisterOutputType(CpCodeArrayOutput{}) + pulumi.RegisterOutputType(CpCodeMapOutput{}) } diff --git a/sdk/go/akamai/properties/edgeHostName.go b/sdk/go/akamai/properties/edgeHostName.go index 9ad29cc8b..abd0a3398 100644 --- a/sdk/go/akamai/properties/edgeHostName.go +++ b/sdk/go/akamai/properties/edgeHostName.go @@ -151,6 +151,85 @@ func (i *EdgeHostName) ToEdgeHostNameOutputWithContext(ctx context.Context) Edge return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNameOutput) } +func (i *EdgeHostName) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return i.ToEdgeHostNamePtrOutputWithContext(context.Background()) +} + +func (i *EdgeHostName) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNamePtrOutput) +} + +type EdgeHostNamePtrInput interface { + pulumi.Input + + ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput + ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput +} + +type edgeHostNamePtrType EdgeHostNameArgs + +func (*edgeHostNamePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EdgeHostName)(nil)) +} + +func (i *edgeHostNamePtrType) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return i.ToEdgeHostNamePtrOutputWithContext(context.Background()) +} + +func (i *edgeHostNamePtrType) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNamePtrOutput) +} + +// EdgeHostNameArrayInput is an input type that accepts EdgeHostNameArray and EdgeHostNameArrayOutput values. +// You can construct a concrete instance of `EdgeHostNameArrayInput` via: +// +// EdgeHostNameArray{ EdgeHostNameArgs{...} } +type EdgeHostNameArrayInput interface { + pulumi.Input + + ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput + ToEdgeHostNameArrayOutputWithContext(context.Context) EdgeHostNameArrayOutput +} + +type EdgeHostNameArray []EdgeHostNameInput + +func (EdgeHostNameArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*EdgeHostName)(nil)) +} + +func (i EdgeHostNameArray) ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput { + return i.ToEdgeHostNameArrayOutputWithContext(context.Background()) +} + +func (i EdgeHostNameArray) ToEdgeHostNameArrayOutputWithContext(ctx context.Context) EdgeHostNameArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNameArrayOutput) +} + +// EdgeHostNameMapInput is an input type that accepts EdgeHostNameMap and EdgeHostNameMapOutput values. +// You can construct a concrete instance of `EdgeHostNameMapInput` via: +// +// EdgeHostNameMap{ "key": EdgeHostNameArgs{...} } +type EdgeHostNameMapInput interface { + pulumi.Input + + ToEdgeHostNameMapOutput() EdgeHostNameMapOutput + ToEdgeHostNameMapOutputWithContext(context.Context) EdgeHostNameMapOutput +} + +type EdgeHostNameMap map[string]EdgeHostNameInput + +func (EdgeHostNameMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*EdgeHostName)(nil)) +} + +func (i EdgeHostNameMap) ToEdgeHostNameMapOutput() EdgeHostNameMapOutput { + return i.ToEdgeHostNameMapOutputWithContext(context.Background()) +} + +func (i EdgeHostNameMap) ToEdgeHostNameMapOutputWithContext(ctx context.Context) EdgeHostNameMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EdgeHostNameMapOutput) +} + type EdgeHostNameOutput struct { *pulumi.OutputState } @@ -167,6 +246,75 @@ func (o EdgeHostNameOutput) ToEdgeHostNameOutputWithContext(ctx context.Context) return o } +func (o EdgeHostNameOutput) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return o.ToEdgeHostNamePtrOutputWithContext(context.Background()) +} + +func (o EdgeHostNameOutput) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return o.ApplyT(func(v EdgeHostName) *EdgeHostName { + return &v + }).(EdgeHostNamePtrOutput) +} + +type EdgeHostNamePtrOutput struct { + *pulumi.OutputState +} + +func (EdgeHostNamePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EdgeHostName)(nil)) +} + +func (o EdgeHostNamePtrOutput) ToEdgeHostNamePtrOutput() EdgeHostNamePtrOutput { + return o +} + +func (o EdgeHostNamePtrOutput) ToEdgeHostNamePtrOutputWithContext(ctx context.Context) EdgeHostNamePtrOutput { + return o +} + +type EdgeHostNameArrayOutput struct{ *pulumi.OutputState } + +func (EdgeHostNameArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EdgeHostName)(nil)) +} + +func (o EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput { + return o +} + +func (o EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutputWithContext(ctx context.Context) EdgeHostNameArrayOutput { + return o +} + +func (o EdgeHostNameArrayOutput) Index(i pulumi.IntInput) EdgeHostNameOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EdgeHostName { + return vs[0].([]EdgeHostName)[vs[1].(int)] + }).(EdgeHostNameOutput) +} + +type EdgeHostNameMapOutput struct{ *pulumi.OutputState } + +func (EdgeHostNameMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EdgeHostName)(nil)) +} + +func (o EdgeHostNameMapOutput) ToEdgeHostNameMapOutput() EdgeHostNameMapOutput { + return o +} + +func (o EdgeHostNameMapOutput) ToEdgeHostNameMapOutputWithContext(ctx context.Context) EdgeHostNameMapOutput { + return o +} + +func (o EdgeHostNameMapOutput) MapIndex(k pulumi.StringInput) EdgeHostNameOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EdgeHostName { + return vs[0].(map[string]EdgeHostName)[vs[1].(string)] + }).(EdgeHostNameOutput) +} + func init() { pulumi.RegisterOutputType(EdgeHostNameOutput{}) + pulumi.RegisterOutputType(EdgeHostNamePtrOutput{}) + pulumi.RegisterOutputType(EdgeHostNameArrayOutput{}) + pulumi.RegisterOutputType(EdgeHostNameMapOutput{}) } diff --git a/sdk/go/akamai/properties/property.go b/sdk/go/akamai/properties/property.go index 205e58d62..6287a7765 100644 --- a/sdk/go/akamai/properties/property.go +++ b/sdk/go/akamai/properties/property.go @@ -258,6 +258,85 @@ func (i *Property) ToPropertyOutputWithContext(ctx context.Context) PropertyOutp return pulumi.ToOutputWithContext(ctx, i).(PropertyOutput) } +func (i *Property) ToPropertyPtrOutput() PropertyPtrOutput { + return i.ToPropertyPtrOutputWithContext(context.Background()) +} + +func (i *Property) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyPtrOutput) +} + +type PropertyPtrInput interface { + pulumi.Input + + ToPropertyPtrOutput() PropertyPtrOutput + ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput +} + +type propertyPtrType PropertyArgs + +func (*propertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Property)(nil)) +} + +func (i *propertyPtrType) ToPropertyPtrOutput() PropertyPtrOutput { + return i.ToPropertyPtrOutputWithContext(context.Background()) +} + +func (i *propertyPtrType) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyPtrOutput) +} + +// PropertyArrayInput is an input type that accepts PropertyArray and PropertyArrayOutput values. +// You can construct a concrete instance of `PropertyArrayInput` via: +// +// PropertyArray{ PropertyArgs{...} } +type PropertyArrayInput interface { + pulumi.Input + + ToPropertyArrayOutput() PropertyArrayOutput + ToPropertyArrayOutputWithContext(context.Context) PropertyArrayOutput +} + +type PropertyArray []PropertyInput + +func (PropertyArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*Property)(nil)) +} + +func (i PropertyArray) ToPropertyArrayOutput() PropertyArrayOutput { + return i.ToPropertyArrayOutputWithContext(context.Background()) +} + +func (i PropertyArray) ToPropertyArrayOutputWithContext(ctx context.Context) PropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyArrayOutput) +} + +// PropertyMapInput is an input type that accepts PropertyMap and PropertyMapOutput values. +// You can construct a concrete instance of `PropertyMapInput` via: +// +// PropertyMap{ "key": PropertyArgs{...} } +type PropertyMapInput interface { + pulumi.Input + + ToPropertyMapOutput() PropertyMapOutput + ToPropertyMapOutputWithContext(context.Context) PropertyMapOutput +} + +type PropertyMap map[string]PropertyInput + +func (PropertyMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*Property)(nil)) +} + +func (i PropertyMap) ToPropertyMapOutput() PropertyMapOutput { + return i.ToPropertyMapOutputWithContext(context.Background()) +} + +func (i PropertyMap) ToPropertyMapOutputWithContext(ctx context.Context) PropertyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyMapOutput) +} + type PropertyOutput struct { *pulumi.OutputState } @@ -274,6 +353,75 @@ func (o PropertyOutput) ToPropertyOutputWithContext(ctx context.Context) Propert return o } +func (o PropertyOutput) ToPropertyPtrOutput() PropertyPtrOutput { + return o.ToPropertyPtrOutputWithContext(context.Background()) +} + +func (o PropertyOutput) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return o.ApplyT(func(v Property) *Property { + return &v + }).(PropertyPtrOutput) +} + +type PropertyPtrOutput struct { + *pulumi.OutputState +} + +func (PropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Property)(nil)) +} + +func (o PropertyPtrOutput) ToPropertyPtrOutput() PropertyPtrOutput { + return o +} + +func (o PropertyPtrOutput) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return o +} + +type PropertyArrayOutput struct{ *pulumi.OutputState } + +func (PropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]Property)(nil)) +} + +func (o PropertyArrayOutput) ToPropertyArrayOutput() PropertyArrayOutput { + return o +} + +func (o PropertyArrayOutput) ToPropertyArrayOutputWithContext(ctx context.Context) PropertyArrayOutput { + return o +} + +func (o PropertyArrayOutput) Index(i pulumi.IntInput) PropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) Property { + return vs[0].([]Property)[vs[1].(int)] + }).(PropertyOutput) +} + +type PropertyMapOutput struct{ *pulumi.OutputState } + +func (PropertyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]Property)(nil)) +} + +func (o PropertyMapOutput) ToPropertyMapOutput() PropertyMapOutput { + return o +} + +func (o PropertyMapOutput) ToPropertyMapOutputWithContext(ctx context.Context) PropertyMapOutput { + return o +} + +func (o PropertyMapOutput) MapIndex(k pulumi.StringInput) PropertyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) Property { + return vs[0].(map[string]Property)[vs[1].(string)] + }).(PropertyOutput) +} + func init() { pulumi.RegisterOutputType(PropertyOutput{}) + pulumi.RegisterOutputType(PropertyPtrOutput{}) + pulumi.RegisterOutputType(PropertyArrayOutput{}) + pulumi.RegisterOutputType(PropertyMapOutput{}) } diff --git a/sdk/go/akamai/properties/propertyActivation.go b/sdk/go/akamai/properties/propertyActivation.go index a609b7422..1d1785fc4 100644 --- a/sdk/go/akamai/properties/propertyActivation.go +++ b/sdk/go/akamai/properties/propertyActivation.go @@ -135,6 +135,85 @@ func (i *PropertyActivation) ToPropertyActivationOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationOutput) } +func (i *PropertyActivation) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return i.ToPropertyActivationPtrOutputWithContext(context.Background()) +} + +func (i *PropertyActivation) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationPtrOutput) +} + +type PropertyActivationPtrInput interface { + pulumi.Input + + ToPropertyActivationPtrOutput() PropertyActivationPtrOutput + ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput +} + +type propertyActivationPtrType PropertyActivationArgs + +func (*propertyActivationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyActivation)(nil)) +} + +func (i *propertyActivationPtrType) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return i.ToPropertyActivationPtrOutputWithContext(context.Background()) +} + +func (i *propertyActivationPtrType) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationPtrOutput) +} + +// PropertyActivationArrayInput is an input type that accepts PropertyActivationArray and PropertyActivationArrayOutput values. +// You can construct a concrete instance of `PropertyActivationArrayInput` via: +// +// PropertyActivationArray{ PropertyActivationArgs{...} } +type PropertyActivationArrayInput interface { + pulumi.Input + + ToPropertyActivationArrayOutput() PropertyActivationArrayOutput + ToPropertyActivationArrayOutputWithContext(context.Context) PropertyActivationArrayOutput +} + +type PropertyActivationArray []PropertyActivationInput + +func (PropertyActivationArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*PropertyActivation)(nil)) +} + +func (i PropertyActivationArray) ToPropertyActivationArrayOutput() PropertyActivationArrayOutput { + return i.ToPropertyActivationArrayOutputWithContext(context.Background()) +} + +func (i PropertyActivationArray) ToPropertyActivationArrayOutputWithContext(ctx context.Context) PropertyActivationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationArrayOutput) +} + +// PropertyActivationMapInput is an input type that accepts PropertyActivationMap and PropertyActivationMapOutput values. +// You can construct a concrete instance of `PropertyActivationMapInput` via: +// +// PropertyActivationMap{ "key": PropertyActivationArgs{...} } +type PropertyActivationMapInput interface { + pulumi.Input + + ToPropertyActivationMapOutput() PropertyActivationMapOutput + ToPropertyActivationMapOutputWithContext(context.Context) PropertyActivationMapOutput +} + +type PropertyActivationMap map[string]PropertyActivationInput + +func (PropertyActivationMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*PropertyActivation)(nil)) +} + +func (i PropertyActivationMap) ToPropertyActivationMapOutput() PropertyActivationMapOutput { + return i.ToPropertyActivationMapOutputWithContext(context.Background()) +} + +func (i PropertyActivationMap) ToPropertyActivationMapOutputWithContext(ctx context.Context) PropertyActivationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationMapOutput) +} + type PropertyActivationOutput struct { *pulumi.OutputState } @@ -151,6 +230,75 @@ func (o PropertyActivationOutput) ToPropertyActivationOutputWithContext(ctx cont return o } +func (o PropertyActivationOutput) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return o.ToPropertyActivationPtrOutputWithContext(context.Background()) +} + +func (o PropertyActivationOutput) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return o.ApplyT(func(v PropertyActivation) *PropertyActivation { + return &v + }).(PropertyActivationPtrOutput) +} + +type PropertyActivationPtrOutput struct { + *pulumi.OutputState +} + +func (PropertyActivationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyActivation)(nil)) +} + +func (o PropertyActivationPtrOutput) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return o +} + +func (o PropertyActivationPtrOutput) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return o +} + +type PropertyActivationArrayOutput struct{ *pulumi.OutputState } + +func (PropertyActivationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PropertyActivation)(nil)) +} + +func (o PropertyActivationArrayOutput) ToPropertyActivationArrayOutput() PropertyActivationArrayOutput { + return o +} + +func (o PropertyActivationArrayOutput) ToPropertyActivationArrayOutputWithContext(ctx context.Context) PropertyActivationArrayOutput { + return o +} + +func (o PropertyActivationArrayOutput) Index(i pulumi.IntInput) PropertyActivationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PropertyActivation { + return vs[0].([]PropertyActivation)[vs[1].(int)] + }).(PropertyActivationOutput) +} + +type PropertyActivationMapOutput struct{ *pulumi.OutputState } + +func (PropertyActivationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]PropertyActivation)(nil)) +} + +func (o PropertyActivationMapOutput) ToPropertyActivationMapOutput() PropertyActivationMapOutput { + return o +} + +func (o PropertyActivationMapOutput) ToPropertyActivationMapOutputWithContext(ctx context.Context) PropertyActivationMapOutput { + return o +} + +func (o PropertyActivationMapOutput) MapIndex(k pulumi.StringInput) PropertyActivationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) PropertyActivation { + return vs[0].(map[string]PropertyActivation)[vs[1].(string)] + }).(PropertyActivationOutput) +} + func init() { pulumi.RegisterOutputType(PropertyActivationOutput{}) + pulumi.RegisterOutputType(PropertyActivationPtrOutput{}) + pulumi.RegisterOutputType(PropertyActivationArrayOutput{}) + pulumi.RegisterOutputType(PropertyActivationMapOutput{}) } diff --git a/sdk/go/akamai/properties/propertyVariables.go b/sdk/go/akamai/properties/propertyVariables.go index f47728c15..b25811261 100644 --- a/sdk/go/akamai/properties/propertyVariables.go +++ b/sdk/go/akamai/properties/propertyVariables.go @@ -100,6 +100,85 @@ func (i *PropertyVariables) ToPropertyVariablesOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesOutput) } +func (i *PropertyVariables) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return i.ToPropertyVariablesPtrOutputWithContext(context.Background()) +} + +func (i *PropertyVariables) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesPtrOutput) +} + +type PropertyVariablesPtrInput interface { + pulumi.Input + + ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput + ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput +} + +type propertyVariablesPtrType PropertyVariablesArgs + +func (*propertyVariablesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyVariables)(nil)) +} + +func (i *propertyVariablesPtrType) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return i.ToPropertyVariablesPtrOutputWithContext(context.Background()) +} + +func (i *propertyVariablesPtrType) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesPtrOutput) +} + +// PropertyVariablesArrayInput is an input type that accepts PropertyVariablesArray and PropertyVariablesArrayOutput values. +// You can construct a concrete instance of `PropertyVariablesArrayInput` via: +// +// PropertyVariablesArray{ PropertyVariablesArgs{...} } +type PropertyVariablesArrayInput interface { + pulumi.Input + + ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput + ToPropertyVariablesArrayOutputWithContext(context.Context) PropertyVariablesArrayOutput +} + +type PropertyVariablesArray []PropertyVariablesInput + +func (PropertyVariablesArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*PropertyVariables)(nil)) +} + +func (i PropertyVariablesArray) ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput { + return i.ToPropertyVariablesArrayOutputWithContext(context.Background()) +} + +func (i PropertyVariablesArray) ToPropertyVariablesArrayOutputWithContext(ctx context.Context) PropertyVariablesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesArrayOutput) +} + +// PropertyVariablesMapInput is an input type that accepts PropertyVariablesMap and PropertyVariablesMapOutput values. +// You can construct a concrete instance of `PropertyVariablesMapInput` via: +// +// PropertyVariablesMap{ "key": PropertyVariablesArgs{...} } +type PropertyVariablesMapInput interface { + pulumi.Input + + ToPropertyVariablesMapOutput() PropertyVariablesMapOutput + ToPropertyVariablesMapOutputWithContext(context.Context) PropertyVariablesMapOutput +} + +type PropertyVariablesMap map[string]PropertyVariablesInput + +func (PropertyVariablesMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*PropertyVariables)(nil)) +} + +func (i PropertyVariablesMap) ToPropertyVariablesMapOutput() PropertyVariablesMapOutput { + return i.ToPropertyVariablesMapOutputWithContext(context.Background()) +} + +func (i PropertyVariablesMap) ToPropertyVariablesMapOutputWithContext(ctx context.Context) PropertyVariablesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesMapOutput) +} + type PropertyVariablesOutput struct { *pulumi.OutputState } @@ -116,6 +195,75 @@ func (o PropertyVariablesOutput) ToPropertyVariablesOutputWithContext(ctx contex return o } +func (o PropertyVariablesOutput) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return o.ToPropertyVariablesPtrOutputWithContext(context.Background()) +} + +func (o PropertyVariablesOutput) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return o.ApplyT(func(v PropertyVariables) *PropertyVariables { + return &v + }).(PropertyVariablesPtrOutput) +} + +type PropertyVariablesPtrOutput struct { + *pulumi.OutputState +} + +func (PropertyVariablesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyVariables)(nil)) +} + +func (o PropertyVariablesPtrOutput) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return o +} + +func (o PropertyVariablesPtrOutput) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return o +} + +type PropertyVariablesArrayOutput struct{ *pulumi.OutputState } + +func (PropertyVariablesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PropertyVariables)(nil)) +} + +func (o PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput { + return o +} + +func (o PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutputWithContext(ctx context.Context) PropertyVariablesArrayOutput { + return o +} + +func (o PropertyVariablesArrayOutput) Index(i pulumi.IntInput) PropertyVariablesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PropertyVariables { + return vs[0].([]PropertyVariables)[vs[1].(int)] + }).(PropertyVariablesOutput) +} + +type PropertyVariablesMapOutput struct{ *pulumi.OutputState } + +func (PropertyVariablesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]PropertyVariables)(nil)) +} + +func (o PropertyVariablesMapOutput) ToPropertyVariablesMapOutput() PropertyVariablesMapOutput { + return o +} + +func (o PropertyVariablesMapOutput) ToPropertyVariablesMapOutputWithContext(ctx context.Context) PropertyVariablesMapOutput { + return o +} + +func (o PropertyVariablesMapOutput) MapIndex(k pulumi.StringInput) PropertyVariablesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) PropertyVariables { + return vs[0].(map[string]PropertyVariables)[vs[1].(string)] + }).(PropertyVariablesOutput) +} + func init() { pulumi.RegisterOutputType(PropertyVariablesOutput{}) + pulumi.RegisterOutputType(PropertyVariablesPtrOutput{}) + pulumi.RegisterOutputType(PropertyVariablesArrayOutput{}) + pulumi.RegisterOutputType(PropertyVariablesMapOutput{}) } diff --git a/sdk/go/akamai/property.go b/sdk/go/akamai/property.go index 5e0fcc3c3..f0bd340f3 100644 --- a/sdk/go/akamai/property.go +++ b/sdk/go/akamai/property.go @@ -32,7 +32,7 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-akamai/sdk/go/akamai/" +// "github.com/pulumi/pulumi-akamai/sdk/go/akamai" // "github.com/pulumi/pulumi/sdk/v2/go/pulumi" // ) // @@ -358,6 +358,85 @@ func (i *Property) ToPropertyOutputWithContext(ctx context.Context) PropertyOutp return pulumi.ToOutputWithContext(ctx, i).(PropertyOutput) } +func (i *Property) ToPropertyPtrOutput() PropertyPtrOutput { + return i.ToPropertyPtrOutputWithContext(context.Background()) +} + +func (i *Property) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyPtrOutput) +} + +type PropertyPtrInput interface { + pulumi.Input + + ToPropertyPtrOutput() PropertyPtrOutput + ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput +} + +type propertyPtrType PropertyArgs + +func (*propertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Property)(nil)) +} + +func (i *propertyPtrType) ToPropertyPtrOutput() PropertyPtrOutput { + return i.ToPropertyPtrOutputWithContext(context.Background()) +} + +func (i *propertyPtrType) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyPtrOutput) +} + +// PropertyArrayInput is an input type that accepts PropertyArray and PropertyArrayOutput values. +// You can construct a concrete instance of `PropertyArrayInput` via: +// +// PropertyArray{ PropertyArgs{...} } +type PropertyArrayInput interface { + pulumi.Input + + ToPropertyArrayOutput() PropertyArrayOutput + ToPropertyArrayOutputWithContext(context.Context) PropertyArrayOutput +} + +type PropertyArray []PropertyInput + +func (PropertyArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*Property)(nil)) +} + +func (i PropertyArray) ToPropertyArrayOutput() PropertyArrayOutput { + return i.ToPropertyArrayOutputWithContext(context.Background()) +} + +func (i PropertyArray) ToPropertyArrayOutputWithContext(ctx context.Context) PropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyArrayOutput) +} + +// PropertyMapInput is an input type that accepts PropertyMap and PropertyMapOutput values. +// You can construct a concrete instance of `PropertyMapInput` via: +// +// PropertyMap{ "key": PropertyArgs{...} } +type PropertyMapInput interface { + pulumi.Input + + ToPropertyMapOutput() PropertyMapOutput + ToPropertyMapOutputWithContext(context.Context) PropertyMapOutput +} + +type PropertyMap map[string]PropertyInput + +func (PropertyMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*Property)(nil)) +} + +func (i PropertyMap) ToPropertyMapOutput() PropertyMapOutput { + return i.ToPropertyMapOutputWithContext(context.Background()) +} + +func (i PropertyMap) ToPropertyMapOutputWithContext(ctx context.Context) PropertyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyMapOutput) +} + type PropertyOutput struct { *pulumi.OutputState } @@ -374,6 +453,75 @@ func (o PropertyOutput) ToPropertyOutputWithContext(ctx context.Context) Propert return o } +func (o PropertyOutput) ToPropertyPtrOutput() PropertyPtrOutput { + return o.ToPropertyPtrOutputWithContext(context.Background()) +} + +func (o PropertyOutput) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return o.ApplyT(func(v Property) *Property { + return &v + }).(PropertyPtrOutput) +} + +type PropertyPtrOutput struct { + *pulumi.OutputState +} + +func (PropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Property)(nil)) +} + +func (o PropertyPtrOutput) ToPropertyPtrOutput() PropertyPtrOutput { + return o +} + +func (o PropertyPtrOutput) ToPropertyPtrOutputWithContext(ctx context.Context) PropertyPtrOutput { + return o +} + +type PropertyArrayOutput struct{ *pulumi.OutputState } + +func (PropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]Property)(nil)) +} + +func (o PropertyArrayOutput) ToPropertyArrayOutput() PropertyArrayOutput { + return o +} + +func (o PropertyArrayOutput) ToPropertyArrayOutputWithContext(ctx context.Context) PropertyArrayOutput { + return o +} + +func (o PropertyArrayOutput) Index(i pulumi.IntInput) PropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) Property { + return vs[0].([]Property)[vs[1].(int)] + }).(PropertyOutput) +} + +type PropertyMapOutput struct{ *pulumi.OutputState } + +func (PropertyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]Property)(nil)) +} + +func (o PropertyMapOutput) ToPropertyMapOutput() PropertyMapOutput { + return o +} + +func (o PropertyMapOutput) ToPropertyMapOutputWithContext(ctx context.Context) PropertyMapOutput { + return o +} + +func (o PropertyMapOutput) MapIndex(k pulumi.StringInput) PropertyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) Property { + return vs[0].(map[string]Property)[vs[1].(string)] + }).(PropertyOutput) +} + func init() { pulumi.RegisterOutputType(PropertyOutput{}) + pulumi.RegisterOutputType(PropertyPtrOutput{}) + pulumi.RegisterOutputType(PropertyArrayOutput{}) + pulumi.RegisterOutputType(PropertyMapOutput{}) } diff --git a/sdk/go/akamai/propertyActivation.go b/sdk/go/akamai/propertyActivation.go index 6af74088c..2c28c1674 100644 --- a/sdk/go/akamai/propertyActivation.go +++ b/sdk/go/akamai/propertyActivation.go @@ -163,6 +163,85 @@ func (i *PropertyActivation) ToPropertyActivationOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationOutput) } +func (i *PropertyActivation) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return i.ToPropertyActivationPtrOutputWithContext(context.Background()) +} + +func (i *PropertyActivation) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationPtrOutput) +} + +type PropertyActivationPtrInput interface { + pulumi.Input + + ToPropertyActivationPtrOutput() PropertyActivationPtrOutput + ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput +} + +type propertyActivationPtrType PropertyActivationArgs + +func (*propertyActivationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyActivation)(nil)) +} + +func (i *propertyActivationPtrType) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return i.ToPropertyActivationPtrOutputWithContext(context.Background()) +} + +func (i *propertyActivationPtrType) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationPtrOutput) +} + +// PropertyActivationArrayInput is an input type that accepts PropertyActivationArray and PropertyActivationArrayOutput values. +// You can construct a concrete instance of `PropertyActivationArrayInput` via: +// +// PropertyActivationArray{ PropertyActivationArgs{...} } +type PropertyActivationArrayInput interface { + pulumi.Input + + ToPropertyActivationArrayOutput() PropertyActivationArrayOutput + ToPropertyActivationArrayOutputWithContext(context.Context) PropertyActivationArrayOutput +} + +type PropertyActivationArray []PropertyActivationInput + +func (PropertyActivationArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*PropertyActivation)(nil)) +} + +func (i PropertyActivationArray) ToPropertyActivationArrayOutput() PropertyActivationArrayOutput { + return i.ToPropertyActivationArrayOutputWithContext(context.Background()) +} + +func (i PropertyActivationArray) ToPropertyActivationArrayOutputWithContext(ctx context.Context) PropertyActivationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationArrayOutput) +} + +// PropertyActivationMapInput is an input type that accepts PropertyActivationMap and PropertyActivationMapOutput values. +// You can construct a concrete instance of `PropertyActivationMapInput` via: +// +// PropertyActivationMap{ "key": PropertyActivationArgs{...} } +type PropertyActivationMapInput interface { + pulumi.Input + + ToPropertyActivationMapOutput() PropertyActivationMapOutput + ToPropertyActivationMapOutputWithContext(context.Context) PropertyActivationMapOutput +} + +type PropertyActivationMap map[string]PropertyActivationInput + +func (PropertyActivationMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*PropertyActivation)(nil)) +} + +func (i PropertyActivationMap) ToPropertyActivationMapOutput() PropertyActivationMapOutput { + return i.ToPropertyActivationMapOutputWithContext(context.Background()) +} + +func (i PropertyActivationMap) ToPropertyActivationMapOutputWithContext(ctx context.Context) PropertyActivationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyActivationMapOutput) +} + type PropertyActivationOutput struct { *pulumi.OutputState } @@ -179,6 +258,75 @@ func (o PropertyActivationOutput) ToPropertyActivationOutputWithContext(ctx cont return o } +func (o PropertyActivationOutput) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return o.ToPropertyActivationPtrOutputWithContext(context.Background()) +} + +func (o PropertyActivationOutput) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return o.ApplyT(func(v PropertyActivation) *PropertyActivation { + return &v + }).(PropertyActivationPtrOutput) +} + +type PropertyActivationPtrOutput struct { + *pulumi.OutputState +} + +func (PropertyActivationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyActivation)(nil)) +} + +func (o PropertyActivationPtrOutput) ToPropertyActivationPtrOutput() PropertyActivationPtrOutput { + return o +} + +func (o PropertyActivationPtrOutput) ToPropertyActivationPtrOutputWithContext(ctx context.Context) PropertyActivationPtrOutput { + return o +} + +type PropertyActivationArrayOutput struct{ *pulumi.OutputState } + +func (PropertyActivationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PropertyActivation)(nil)) +} + +func (o PropertyActivationArrayOutput) ToPropertyActivationArrayOutput() PropertyActivationArrayOutput { + return o +} + +func (o PropertyActivationArrayOutput) ToPropertyActivationArrayOutputWithContext(ctx context.Context) PropertyActivationArrayOutput { + return o +} + +func (o PropertyActivationArrayOutput) Index(i pulumi.IntInput) PropertyActivationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PropertyActivation { + return vs[0].([]PropertyActivation)[vs[1].(int)] + }).(PropertyActivationOutput) +} + +type PropertyActivationMapOutput struct{ *pulumi.OutputState } + +func (PropertyActivationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]PropertyActivation)(nil)) +} + +func (o PropertyActivationMapOutput) ToPropertyActivationMapOutput() PropertyActivationMapOutput { + return o +} + +func (o PropertyActivationMapOutput) ToPropertyActivationMapOutputWithContext(ctx context.Context) PropertyActivationMapOutput { + return o +} + +func (o PropertyActivationMapOutput) MapIndex(k pulumi.StringInput) PropertyActivationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) PropertyActivation { + return vs[0].(map[string]PropertyActivation)[vs[1].(string)] + }).(PropertyActivationOutput) +} + func init() { pulumi.RegisterOutputType(PropertyActivationOutput{}) + pulumi.RegisterOutputType(PropertyActivationPtrOutput{}) + pulumi.RegisterOutputType(PropertyActivationArrayOutput{}) + pulumi.RegisterOutputType(PropertyActivationMapOutput{}) } diff --git a/sdk/go/akamai/propertyVariables.go b/sdk/go/akamai/propertyVariables.go index 4d5ee0493..1098faba2 100644 --- a/sdk/go/akamai/propertyVariables.go +++ b/sdk/go/akamai/propertyVariables.go @@ -105,6 +105,85 @@ func (i *PropertyVariables) ToPropertyVariablesOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesOutput) } +func (i *PropertyVariables) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return i.ToPropertyVariablesPtrOutputWithContext(context.Background()) +} + +func (i *PropertyVariables) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesPtrOutput) +} + +type PropertyVariablesPtrInput interface { + pulumi.Input + + ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput + ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput +} + +type propertyVariablesPtrType PropertyVariablesArgs + +func (*propertyVariablesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyVariables)(nil)) +} + +func (i *propertyVariablesPtrType) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return i.ToPropertyVariablesPtrOutputWithContext(context.Background()) +} + +func (i *propertyVariablesPtrType) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesPtrOutput) +} + +// PropertyVariablesArrayInput is an input type that accepts PropertyVariablesArray and PropertyVariablesArrayOutput values. +// You can construct a concrete instance of `PropertyVariablesArrayInput` via: +// +// PropertyVariablesArray{ PropertyVariablesArgs{...} } +type PropertyVariablesArrayInput interface { + pulumi.Input + + ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput + ToPropertyVariablesArrayOutputWithContext(context.Context) PropertyVariablesArrayOutput +} + +type PropertyVariablesArray []PropertyVariablesInput + +func (PropertyVariablesArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*PropertyVariables)(nil)) +} + +func (i PropertyVariablesArray) ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput { + return i.ToPropertyVariablesArrayOutputWithContext(context.Background()) +} + +func (i PropertyVariablesArray) ToPropertyVariablesArrayOutputWithContext(ctx context.Context) PropertyVariablesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesArrayOutput) +} + +// PropertyVariablesMapInput is an input type that accepts PropertyVariablesMap and PropertyVariablesMapOutput values. +// You can construct a concrete instance of `PropertyVariablesMapInput` via: +// +// PropertyVariablesMap{ "key": PropertyVariablesArgs{...} } +type PropertyVariablesMapInput interface { + pulumi.Input + + ToPropertyVariablesMapOutput() PropertyVariablesMapOutput + ToPropertyVariablesMapOutputWithContext(context.Context) PropertyVariablesMapOutput +} + +type PropertyVariablesMap map[string]PropertyVariablesInput + +func (PropertyVariablesMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*PropertyVariables)(nil)) +} + +func (i PropertyVariablesMap) ToPropertyVariablesMapOutput() PropertyVariablesMapOutput { + return i.ToPropertyVariablesMapOutputWithContext(context.Background()) +} + +func (i PropertyVariablesMap) ToPropertyVariablesMapOutputWithContext(ctx context.Context) PropertyVariablesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PropertyVariablesMapOutput) +} + type PropertyVariablesOutput struct { *pulumi.OutputState } @@ -121,6 +200,75 @@ func (o PropertyVariablesOutput) ToPropertyVariablesOutputWithContext(ctx contex return o } +func (o PropertyVariablesOutput) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return o.ToPropertyVariablesPtrOutputWithContext(context.Background()) +} + +func (o PropertyVariablesOutput) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return o.ApplyT(func(v PropertyVariables) *PropertyVariables { + return &v + }).(PropertyVariablesPtrOutput) +} + +type PropertyVariablesPtrOutput struct { + *pulumi.OutputState +} + +func (PropertyVariablesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PropertyVariables)(nil)) +} + +func (o PropertyVariablesPtrOutput) ToPropertyVariablesPtrOutput() PropertyVariablesPtrOutput { + return o +} + +func (o PropertyVariablesPtrOutput) ToPropertyVariablesPtrOutputWithContext(ctx context.Context) PropertyVariablesPtrOutput { + return o +} + +type PropertyVariablesArrayOutput struct{ *pulumi.OutputState } + +func (PropertyVariablesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PropertyVariables)(nil)) +} + +func (o PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput { + return o +} + +func (o PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutputWithContext(ctx context.Context) PropertyVariablesArrayOutput { + return o +} + +func (o PropertyVariablesArrayOutput) Index(i pulumi.IntInput) PropertyVariablesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PropertyVariables { + return vs[0].([]PropertyVariables)[vs[1].(int)] + }).(PropertyVariablesOutput) +} + +type PropertyVariablesMapOutput struct{ *pulumi.OutputState } + +func (PropertyVariablesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]PropertyVariables)(nil)) +} + +func (o PropertyVariablesMapOutput) ToPropertyVariablesMapOutput() PropertyVariablesMapOutput { + return o +} + +func (o PropertyVariablesMapOutput) ToPropertyVariablesMapOutputWithContext(ctx context.Context) PropertyVariablesMapOutput { + return o +} + +func (o PropertyVariablesMapOutput) MapIndex(k pulumi.StringInput) PropertyVariablesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) PropertyVariables { + return vs[0].(map[string]PropertyVariables)[vs[1].(string)] + }).(PropertyVariablesOutput) +} + func init() { pulumi.RegisterOutputType(PropertyVariablesOutput{}) + pulumi.RegisterOutputType(PropertyVariablesPtrOutput{}) + pulumi.RegisterOutputType(PropertyVariablesArrayOutput{}) + pulumi.RegisterOutputType(PropertyVariablesMapOutput{}) } diff --git a/sdk/go/akamai/provider.go b/sdk/go/akamai/provider.go index 36302c63a..aacd33ec8 100644 --- a/sdk/go/akamai/provider.go +++ b/sdk/go/akamai/provider.go @@ -109,6 +109,35 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } +func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput { + return i.ToProviderPtrOutputWithContext(context.Background()) +} + +func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProviderPtrOutput) +} + +type ProviderPtrInput interface { + pulumi.Input + + ToProviderPtrOutput() ProviderPtrOutput + ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput +} + +type providerPtrType ProviderArgs + +func (*providerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Provider)(nil)) +} + +func (i *providerPtrType) ToProviderPtrOutput() ProviderPtrOutput { + return i.ToProviderPtrOutputWithContext(context.Background()) +} + +func (i *providerPtrType) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProviderPtrOutput) +} + type ProviderOutput struct { *pulumi.OutputState } @@ -125,6 +154,33 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } +func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput { + return o.ToProviderPtrOutputWithContext(context.Background()) +} + +func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { + return o.ApplyT(func(v Provider) *Provider { + return &v + }).(ProviderPtrOutput) +} + +type ProviderPtrOutput struct { + *pulumi.OutputState +} + +func (ProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Provider)(nil)) +} + +func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput { + return o +} + +func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { + return o +} + func init() { pulumi.RegisterOutputType(ProviderOutput{}) + pulumi.RegisterOutputType(ProviderPtrOutput{}) } diff --git a/sdk/go/akamai/trafficmanagement/gtmASmap.go b/sdk/go/akamai/trafficmanagement/gtmASmap.go index e26111c4c..e63b616fd 100644 --- a/sdk/go/akamai/trafficmanagement/gtmASmap.go +++ b/sdk/go/akamai/trafficmanagement/gtmASmap.go @@ -116,6 +116,85 @@ func (i *GtmASmap) ToGtmASmapOutputWithContext(ctx context.Context) GtmASmapOutp return pulumi.ToOutputWithContext(ctx, i).(GtmASmapOutput) } +func (i *GtmASmap) ToGtmASmapPtrOutput() GtmASmapPtrOutput { + return i.ToGtmASmapPtrOutputWithContext(context.Background()) +} + +func (i *GtmASmap) ToGtmASmapPtrOutputWithContext(ctx context.Context) GtmASmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmASmapPtrOutput) +} + +type GtmASmapPtrInput interface { + pulumi.Input + + ToGtmASmapPtrOutput() GtmASmapPtrOutput + ToGtmASmapPtrOutputWithContext(ctx context.Context) GtmASmapPtrOutput +} + +type gtmASmapPtrType GtmASmapArgs + +func (*gtmASmapPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmASmap)(nil)) +} + +func (i *gtmASmapPtrType) ToGtmASmapPtrOutput() GtmASmapPtrOutput { + return i.ToGtmASmapPtrOutputWithContext(context.Background()) +} + +func (i *gtmASmapPtrType) ToGtmASmapPtrOutputWithContext(ctx context.Context) GtmASmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmASmapPtrOutput) +} + +// GtmASmapArrayInput is an input type that accepts GtmASmapArray and GtmASmapArrayOutput values. +// You can construct a concrete instance of `GtmASmapArrayInput` via: +// +// GtmASmapArray{ GtmASmapArgs{...} } +type GtmASmapArrayInput interface { + pulumi.Input + + ToGtmASmapArrayOutput() GtmASmapArrayOutput + ToGtmASmapArrayOutputWithContext(context.Context) GtmASmapArrayOutput +} + +type GtmASmapArray []GtmASmapInput + +func (GtmASmapArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmASmap)(nil)) +} + +func (i GtmASmapArray) ToGtmASmapArrayOutput() GtmASmapArrayOutput { + return i.ToGtmASmapArrayOutputWithContext(context.Background()) +} + +func (i GtmASmapArray) ToGtmASmapArrayOutputWithContext(ctx context.Context) GtmASmapArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmASmapArrayOutput) +} + +// GtmASmapMapInput is an input type that accepts GtmASmapMap and GtmASmapMapOutput values. +// You can construct a concrete instance of `GtmASmapMapInput` via: +// +// GtmASmapMap{ "key": GtmASmapArgs{...} } +type GtmASmapMapInput interface { + pulumi.Input + + ToGtmASmapMapOutput() GtmASmapMapOutput + ToGtmASmapMapOutputWithContext(context.Context) GtmASmapMapOutput +} + +type GtmASmapMap map[string]GtmASmapInput + +func (GtmASmapMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmASmap)(nil)) +} + +func (i GtmASmapMap) ToGtmASmapMapOutput() GtmASmapMapOutput { + return i.ToGtmASmapMapOutputWithContext(context.Background()) +} + +func (i GtmASmapMap) ToGtmASmapMapOutputWithContext(ctx context.Context) GtmASmapMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmASmapMapOutput) +} + type GtmASmapOutput struct { *pulumi.OutputState } @@ -132,6 +211,75 @@ func (o GtmASmapOutput) ToGtmASmapOutputWithContext(ctx context.Context) GtmASma return o } +func (o GtmASmapOutput) ToGtmASmapPtrOutput() GtmASmapPtrOutput { + return o.ToGtmASmapPtrOutputWithContext(context.Background()) +} + +func (o GtmASmapOutput) ToGtmASmapPtrOutputWithContext(ctx context.Context) GtmASmapPtrOutput { + return o.ApplyT(func(v GtmASmap) *GtmASmap { + return &v + }).(GtmASmapPtrOutput) +} + +type GtmASmapPtrOutput struct { + *pulumi.OutputState +} + +func (GtmASmapPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmASmap)(nil)) +} + +func (o GtmASmapPtrOutput) ToGtmASmapPtrOutput() GtmASmapPtrOutput { + return o +} + +func (o GtmASmapPtrOutput) ToGtmASmapPtrOutputWithContext(ctx context.Context) GtmASmapPtrOutput { + return o +} + +type GtmASmapArrayOutput struct{ *pulumi.OutputState } + +func (GtmASmapArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmASmap)(nil)) +} + +func (o GtmASmapArrayOutput) ToGtmASmapArrayOutput() GtmASmapArrayOutput { + return o +} + +func (o GtmASmapArrayOutput) ToGtmASmapArrayOutputWithContext(ctx context.Context) GtmASmapArrayOutput { + return o +} + +func (o GtmASmapArrayOutput) Index(i pulumi.IntInput) GtmASmapOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmASmap { + return vs[0].([]GtmASmap)[vs[1].(int)] + }).(GtmASmapOutput) +} + +type GtmASmapMapOutput struct{ *pulumi.OutputState } + +func (GtmASmapMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmASmap)(nil)) +} + +func (o GtmASmapMapOutput) ToGtmASmapMapOutput() GtmASmapMapOutput { + return o +} + +func (o GtmASmapMapOutput) ToGtmASmapMapOutputWithContext(ctx context.Context) GtmASmapMapOutput { + return o +} + +func (o GtmASmapMapOutput) MapIndex(k pulumi.StringInput) GtmASmapOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmASmap { + return vs[0].(map[string]GtmASmap)[vs[1].(string)] + }).(GtmASmapOutput) +} + func init() { pulumi.RegisterOutputType(GtmASmapOutput{}) + pulumi.RegisterOutputType(GtmASmapPtrOutput{}) + pulumi.RegisterOutputType(GtmASmapArrayOutput{}) + pulumi.RegisterOutputType(GtmASmapMapOutput{}) } diff --git a/sdk/go/akamai/trafficmanagement/gtmCidrmap.go b/sdk/go/akamai/trafficmanagement/gtmCidrmap.go index 9845fb5f1..e331850da 100644 --- a/sdk/go/akamai/trafficmanagement/gtmCidrmap.go +++ b/sdk/go/akamai/trafficmanagement/gtmCidrmap.go @@ -116,6 +116,85 @@ func (i *GtmCidrmap) ToGtmCidrmapOutputWithContext(ctx context.Context) GtmCidrm return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapOutput) } +func (i *GtmCidrmap) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return i.ToGtmCidrmapPtrOutputWithContext(context.Background()) +} + +func (i *GtmCidrmap) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapPtrOutput) +} + +type GtmCidrmapPtrInput interface { + pulumi.Input + + ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput + ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput +} + +type gtmCidrmapPtrType GtmCidrmapArgs + +func (*gtmCidrmapPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmCidrmap)(nil)) +} + +func (i *gtmCidrmapPtrType) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return i.ToGtmCidrmapPtrOutputWithContext(context.Background()) +} + +func (i *gtmCidrmapPtrType) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapPtrOutput) +} + +// GtmCidrmapArrayInput is an input type that accepts GtmCidrmapArray and GtmCidrmapArrayOutput values. +// You can construct a concrete instance of `GtmCidrmapArrayInput` via: +// +// GtmCidrmapArray{ GtmCidrmapArgs{...} } +type GtmCidrmapArrayInput interface { + pulumi.Input + + ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput + ToGtmCidrmapArrayOutputWithContext(context.Context) GtmCidrmapArrayOutput +} + +type GtmCidrmapArray []GtmCidrmapInput + +func (GtmCidrmapArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmCidrmap)(nil)) +} + +func (i GtmCidrmapArray) ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput { + return i.ToGtmCidrmapArrayOutputWithContext(context.Background()) +} + +func (i GtmCidrmapArray) ToGtmCidrmapArrayOutputWithContext(ctx context.Context) GtmCidrmapArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapArrayOutput) +} + +// GtmCidrmapMapInput is an input type that accepts GtmCidrmapMap and GtmCidrmapMapOutput values. +// You can construct a concrete instance of `GtmCidrmapMapInput` via: +// +// GtmCidrmapMap{ "key": GtmCidrmapArgs{...} } +type GtmCidrmapMapInput interface { + pulumi.Input + + ToGtmCidrmapMapOutput() GtmCidrmapMapOutput + ToGtmCidrmapMapOutputWithContext(context.Context) GtmCidrmapMapOutput +} + +type GtmCidrmapMap map[string]GtmCidrmapInput + +func (GtmCidrmapMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmCidrmap)(nil)) +} + +func (i GtmCidrmapMap) ToGtmCidrmapMapOutput() GtmCidrmapMapOutput { + return i.ToGtmCidrmapMapOutputWithContext(context.Background()) +} + +func (i GtmCidrmapMap) ToGtmCidrmapMapOutputWithContext(ctx context.Context) GtmCidrmapMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmCidrmapMapOutput) +} + type GtmCidrmapOutput struct { *pulumi.OutputState } @@ -132,6 +211,75 @@ func (o GtmCidrmapOutput) ToGtmCidrmapOutputWithContext(ctx context.Context) Gtm return o } +func (o GtmCidrmapOutput) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return o.ToGtmCidrmapPtrOutputWithContext(context.Background()) +} + +func (o GtmCidrmapOutput) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return o.ApplyT(func(v GtmCidrmap) *GtmCidrmap { + return &v + }).(GtmCidrmapPtrOutput) +} + +type GtmCidrmapPtrOutput struct { + *pulumi.OutputState +} + +func (GtmCidrmapPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmCidrmap)(nil)) +} + +func (o GtmCidrmapPtrOutput) ToGtmCidrmapPtrOutput() GtmCidrmapPtrOutput { + return o +} + +func (o GtmCidrmapPtrOutput) ToGtmCidrmapPtrOutputWithContext(ctx context.Context) GtmCidrmapPtrOutput { + return o +} + +type GtmCidrmapArrayOutput struct{ *pulumi.OutputState } + +func (GtmCidrmapArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmCidrmap)(nil)) +} + +func (o GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput { + return o +} + +func (o GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutputWithContext(ctx context.Context) GtmCidrmapArrayOutput { + return o +} + +func (o GtmCidrmapArrayOutput) Index(i pulumi.IntInput) GtmCidrmapOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmCidrmap { + return vs[0].([]GtmCidrmap)[vs[1].(int)] + }).(GtmCidrmapOutput) +} + +type GtmCidrmapMapOutput struct{ *pulumi.OutputState } + +func (GtmCidrmapMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmCidrmap)(nil)) +} + +func (o GtmCidrmapMapOutput) ToGtmCidrmapMapOutput() GtmCidrmapMapOutput { + return o +} + +func (o GtmCidrmapMapOutput) ToGtmCidrmapMapOutputWithContext(ctx context.Context) GtmCidrmapMapOutput { + return o +} + +func (o GtmCidrmapMapOutput) MapIndex(k pulumi.StringInput) GtmCidrmapOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmCidrmap { + return vs[0].(map[string]GtmCidrmap)[vs[1].(string)] + }).(GtmCidrmapOutput) +} + func init() { pulumi.RegisterOutputType(GtmCidrmapOutput{}) + pulumi.RegisterOutputType(GtmCidrmapPtrOutput{}) + pulumi.RegisterOutputType(GtmCidrmapArrayOutput{}) + pulumi.RegisterOutputType(GtmCidrmapMapOutput{}) } diff --git a/sdk/go/akamai/trafficmanagement/gtmDatacenter.go b/sdk/go/akamai/trafficmanagement/gtmDatacenter.go index cc695eb69..50603e3a9 100644 --- a/sdk/go/akamai/trafficmanagement/gtmDatacenter.go +++ b/sdk/go/akamai/trafficmanagement/gtmDatacenter.go @@ -177,6 +177,85 @@ func (i *GtmDatacenter) ToGtmDatacenterOutputWithContext(ctx context.Context) Gt return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterOutput) } +func (i *GtmDatacenter) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return i.ToGtmDatacenterPtrOutputWithContext(context.Background()) +} + +func (i *GtmDatacenter) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterPtrOutput) +} + +type GtmDatacenterPtrInput interface { + pulumi.Input + + ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput + ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput +} + +type gtmDatacenterPtrType GtmDatacenterArgs + +func (*gtmDatacenterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDatacenter)(nil)) +} + +func (i *gtmDatacenterPtrType) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return i.ToGtmDatacenterPtrOutputWithContext(context.Background()) +} + +func (i *gtmDatacenterPtrType) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterPtrOutput) +} + +// GtmDatacenterArrayInput is an input type that accepts GtmDatacenterArray and GtmDatacenterArrayOutput values. +// You can construct a concrete instance of `GtmDatacenterArrayInput` via: +// +// GtmDatacenterArray{ GtmDatacenterArgs{...} } +type GtmDatacenterArrayInput interface { + pulumi.Input + + ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput + ToGtmDatacenterArrayOutputWithContext(context.Context) GtmDatacenterArrayOutput +} + +type GtmDatacenterArray []GtmDatacenterInput + +func (GtmDatacenterArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmDatacenter)(nil)) +} + +func (i GtmDatacenterArray) ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput { + return i.ToGtmDatacenterArrayOutputWithContext(context.Background()) +} + +func (i GtmDatacenterArray) ToGtmDatacenterArrayOutputWithContext(ctx context.Context) GtmDatacenterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterArrayOutput) +} + +// GtmDatacenterMapInput is an input type that accepts GtmDatacenterMap and GtmDatacenterMapOutput values. +// You can construct a concrete instance of `GtmDatacenterMapInput` via: +// +// GtmDatacenterMap{ "key": GtmDatacenterArgs{...} } +type GtmDatacenterMapInput interface { + pulumi.Input + + ToGtmDatacenterMapOutput() GtmDatacenterMapOutput + ToGtmDatacenterMapOutputWithContext(context.Context) GtmDatacenterMapOutput +} + +type GtmDatacenterMap map[string]GtmDatacenterInput + +func (GtmDatacenterMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmDatacenter)(nil)) +} + +func (i GtmDatacenterMap) ToGtmDatacenterMapOutput() GtmDatacenterMapOutput { + return i.ToGtmDatacenterMapOutputWithContext(context.Background()) +} + +func (i GtmDatacenterMap) ToGtmDatacenterMapOutputWithContext(ctx context.Context) GtmDatacenterMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDatacenterMapOutput) +} + type GtmDatacenterOutput struct { *pulumi.OutputState } @@ -193,6 +272,75 @@ func (o GtmDatacenterOutput) ToGtmDatacenterOutputWithContext(ctx context.Contex return o } +func (o GtmDatacenterOutput) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return o.ToGtmDatacenterPtrOutputWithContext(context.Background()) +} + +func (o GtmDatacenterOutput) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return o.ApplyT(func(v GtmDatacenter) *GtmDatacenter { + return &v + }).(GtmDatacenterPtrOutput) +} + +type GtmDatacenterPtrOutput struct { + *pulumi.OutputState +} + +func (GtmDatacenterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDatacenter)(nil)) +} + +func (o GtmDatacenterPtrOutput) ToGtmDatacenterPtrOutput() GtmDatacenterPtrOutput { + return o +} + +func (o GtmDatacenterPtrOutput) ToGtmDatacenterPtrOutputWithContext(ctx context.Context) GtmDatacenterPtrOutput { + return o +} + +type GtmDatacenterArrayOutput struct{ *pulumi.OutputState } + +func (GtmDatacenterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmDatacenter)(nil)) +} + +func (o GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput { + return o +} + +func (o GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutputWithContext(ctx context.Context) GtmDatacenterArrayOutput { + return o +} + +func (o GtmDatacenterArrayOutput) Index(i pulumi.IntInput) GtmDatacenterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmDatacenter { + return vs[0].([]GtmDatacenter)[vs[1].(int)] + }).(GtmDatacenterOutput) +} + +type GtmDatacenterMapOutput struct{ *pulumi.OutputState } + +func (GtmDatacenterMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmDatacenter)(nil)) +} + +func (o GtmDatacenterMapOutput) ToGtmDatacenterMapOutput() GtmDatacenterMapOutput { + return o +} + +func (o GtmDatacenterMapOutput) ToGtmDatacenterMapOutputWithContext(ctx context.Context) GtmDatacenterMapOutput { + return o +} + +func (o GtmDatacenterMapOutput) MapIndex(k pulumi.StringInput) GtmDatacenterOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmDatacenter { + return vs[0].(map[string]GtmDatacenter)[vs[1].(string)] + }).(GtmDatacenterOutput) +} + func init() { pulumi.RegisterOutputType(GtmDatacenterOutput{}) + pulumi.RegisterOutputType(GtmDatacenterPtrOutput{}) + pulumi.RegisterOutputType(GtmDatacenterArrayOutput{}) + pulumi.RegisterOutputType(GtmDatacenterMapOutput{}) } diff --git a/sdk/go/akamai/trafficmanagement/gtmDomain.go b/sdk/go/akamai/trafficmanagement/gtmDomain.go index 1dde0e5f2..68a516c8e 100644 --- a/sdk/go/akamai/trafficmanagement/gtmDomain.go +++ b/sdk/go/akamai/trafficmanagement/gtmDomain.go @@ -220,6 +220,85 @@ func (i *GtmDomain) ToGtmDomainOutputWithContext(ctx context.Context) GtmDomainO return pulumi.ToOutputWithContext(ctx, i).(GtmDomainOutput) } +func (i *GtmDomain) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return i.ToGtmDomainPtrOutputWithContext(context.Background()) +} + +func (i *GtmDomain) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainPtrOutput) +} + +type GtmDomainPtrInput interface { + pulumi.Input + + ToGtmDomainPtrOutput() GtmDomainPtrOutput + ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput +} + +type gtmDomainPtrType GtmDomainArgs + +func (*gtmDomainPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDomain)(nil)) +} + +func (i *gtmDomainPtrType) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return i.ToGtmDomainPtrOutputWithContext(context.Background()) +} + +func (i *gtmDomainPtrType) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainPtrOutput) +} + +// GtmDomainArrayInput is an input type that accepts GtmDomainArray and GtmDomainArrayOutput values. +// You can construct a concrete instance of `GtmDomainArrayInput` via: +// +// GtmDomainArray{ GtmDomainArgs{...} } +type GtmDomainArrayInput interface { + pulumi.Input + + ToGtmDomainArrayOutput() GtmDomainArrayOutput + ToGtmDomainArrayOutputWithContext(context.Context) GtmDomainArrayOutput +} + +type GtmDomainArray []GtmDomainInput + +func (GtmDomainArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmDomain)(nil)) +} + +func (i GtmDomainArray) ToGtmDomainArrayOutput() GtmDomainArrayOutput { + return i.ToGtmDomainArrayOutputWithContext(context.Background()) +} + +func (i GtmDomainArray) ToGtmDomainArrayOutputWithContext(ctx context.Context) GtmDomainArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainArrayOutput) +} + +// GtmDomainMapInput is an input type that accepts GtmDomainMap and GtmDomainMapOutput values. +// You can construct a concrete instance of `GtmDomainMapInput` via: +// +// GtmDomainMap{ "key": GtmDomainArgs{...} } +type GtmDomainMapInput interface { + pulumi.Input + + ToGtmDomainMapOutput() GtmDomainMapOutput + ToGtmDomainMapOutputWithContext(context.Context) GtmDomainMapOutput +} + +type GtmDomainMap map[string]GtmDomainInput + +func (GtmDomainMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmDomain)(nil)) +} + +func (i GtmDomainMap) ToGtmDomainMapOutput() GtmDomainMapOutput { + return i.ToGtmDomainMapOutputWithContext(context.Background()) +} + +func (i GtmDomainMap) ToGtmDomainMapOutputWithContext(ctx context.Context) GtmDomainMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmDomainMapOutput) +} + type GtmDomainOutput struct { *pulumi.OutputState } @@ -236,6 +315,75 @@ func (o GtmDomainOutput) ToGtmDomainOutputWithContext(ctx context.Context) GtmDo return o } +func (o GtmDomainOutput) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return o.ToGtmDomainPtrOutputWithContext(context.Background()) +} + +func (o GtmDomainOutput) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return o.ApplyT(func(v GtmDomain) *GtmDomain { + return &v + }).(GtmDomainPtrOutput) +} + +type GtmDomainPtrOutput struct { + *pulumi.OutputState +} + +func (GtmDomainPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmDomain)(nil)) +} + +func (o GtmDomainPtrOutput) ToGtmDomainPtrOutput() GtmDomainPtrOutput { + return o +} + +func (o GtmDomainPtrOutput) ToGtmDomainPtrOutputWithContext(ctx context.Context) GtmDomainPtrOutput { + return o +} + +type GtmDomainArrayOutput struct{ *pulumi.OutputState } + +func (GtmDomainArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmDomain)(nil)) +} + +func (o GtmDomainArrayOutput) ToGtmDomainArrayOutput() GtmDomainArrayOutput { + return o +} + +func (o GtmDomainArrayOutput) ToGtmDomainArrayOutputWithContext(ctx context.Context) GtmDomainArrayOutput { + return o +} + +func (o GtmDomainArrayOutput) Index(i pulumi.IntInput) GtmDomainOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmDomain { + return vs[0].([]GtmDomain)[vs[1].(int)] + }).(GtmDomainOutput) +} + +type GtmDomainMapOutput struct{ *pulumi.OutputState } + +func (GtmDomainMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmDomain)(nil)) +} + +func (o GtmDomainMapOutput) ToGtmDomainMapOutput() GtmDomainMapOutput { + return o +} + +func (o GtmDomainMapOutput) ToGtmDomainMapOutputWithContext(ctx context.Context) GtmDomainMapOutput { + return o +} + +func (o GtmDomainMapOutput) MapIndex(k pulumi.StringInput) GtmDomainOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmDomain { + return vs[0].(map[string]GtmDomain)[vs[1].(string)] + }).(GtmDomainOutput) +} + func init() { pulumi.RegisterOutputType(GtmDomainOutput{}) + pulumi.RegisterOutputType(GtmDomainPtrOutput{}) + pulumi.RegisterOutputType(GtmDomainArrayOutput{}) + pulumi.RegisterOutputType(GtmDomainMapOutput{}) } diff --git a/sdk/go/akamai/trafficmanagement/gtmGeomap.go b/sdk/go/akamai/trafficmanagement/gtmGeomap.go index 932360f40..51e7d9080 100644 --- a/sdk/go/akamai/trafficmanagement/gtmGeomap.go +++ b/sdk/go/akamai/trafficmanagement/gtmGeomap.go @@ -116,6 +116,85 @@ func (i *GtmGeomap) ToGtmGeomapOutputWithContext(ctx context.Context) GtmGeomapO return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapOutput) } +func (i *GtmGeomap) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return i.ToGtmGeomapPtrOutputWithContext(context.Background()) +} + +func (i *GtmGeomap) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapPtrOutput) +} + +type GtmGeomapPtrInput interface { + pulumi.Input + + ToGtmGeomapPtrOutput() GtmGeomapPtrOutput + ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput +} + +type gtmGeomapPtrType GtmGeomapArgs + +func (*gtmGeomapPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmGeomap)(nil)) +} + +func (i *gtmGeomapPtrType) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return i.ToGtmGeomapPtrOutputWithContext(context.Background()) +} + +func (i *gtmGeomapPtrType) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapPtrOutput) +} + +// GtmGeomapArrayInput is an input type that accepts GtmGeomapArray and GtmGeomapArrayOutput values. +// You can construct a concrete instance of `GtmGeomapArrayInput` via: +// +// GtmGeomapArray{ GtmGeomapArgs{...} } +type GtmGeomapArrayInput interface { + pulumi.Input + + ToGtmGeomapArrayOutput() GtmGeomapArrayOutput + ToGtmGeomapArrayOutputWithContext(context.Context) GtmGeomapArrayOutput +} + +type GtmGeomapArray []GtmGeomapInput + +func (GtmGeomapArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmGeomap)(nil)) +} + +func (i GtmGeomapArray) ToGtmGeomapArrayOutput() GtmGeomapArrayOutput { + return i.ToGtmGeomapArrayOutputWithContext(context.Background()) +} + +func (i GtmGeomapArray) ToGtmGeomapArrayOutputWithContext(ctx context.Context) GtmGeomapArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapArrayOutput) +} + +// GtmGeomapMapInput is an input type that accepts GtmGeomapMap and GtmGeomapMapOutput values. +// You can construct a concrete instance of `GtmGeomapMapInput` via: +// +// GtmGeomapMap{ "key": GtmGeomapArgs{...} } +type GtmGeomapMapInput interface { + pulumi.Input + + ToGtmGeomapMapOutput() GtmGeomapMapOutput + ToGtmGeomapMapOutputWithContext(context.Context) GtmGeomapMapOutput +} + +type GtmGeomapMap map[string]GtmGeomapInput + +func (GtmGeomapMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmGeomap)(nil)) +} + +func (i GtmGeomapMap) ToGtmGeomapMapOutput() GtmGeomapMapOutput { + return i.ToGtmGeomapMapOutputWithContext(context.Background()) +} + +func (i GtmGeomapMap) ToGtmGeomapMapOutputWithContext(ctx context.Context) GtmGeomapMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmGeomapMapOutput) +} + type GtmGeomapOutput struct { *pulumi.OutputState } @@ -132,6 +211,75 @@ func (o GtmGeomapOutput) ToGtmGeomapOutputWithContext(ctx context.Context) GtmGe return o } +func (o GtmGeomapOutput) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return o.ToGtmGeomapPtrOutputWithContext(context.Background()) +} + +func (o GtmGeomapOutput) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return o.ApplyT(func(v GtmGeomap) *GtmGeomap { + return &v + }).(GtmGeomapPtrOutput) +} + +type GtmGeomapPtrOutput struct { + *pulumi.OutputState +} + +func (GtmGeomapPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmGeomap)(nil)) +} + +func (o GtmGeomapPtrOutput) ToGtmGeomapPtrOutput() GtmGeomapPtrOutput { + return o +} + +func (o GtmGeomapPtrOutput) ToGtmGeomapPtrOutputWithContext(ctx context.Context) GtmGeomapPtrOutput { + return o +} + +type GtmGeomapArrayOutput struct{ *pulumi.OutputState } + +func (GtmGeomapArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmGeomap)(nil)) +} + +func (o GtmGeomapArrayOutput) ToGtmGeomapArrayOutput() GtmGeomapArrayOutput { + return o +} + +func (o GtmGeomapArrayOutput) ToGtmGeomapArrayOutputWithContext(ctx context.Context) GtmGeomapArrayOutput { + return o +} + +func (o GtmGeomapArrayOutput) Index(i pulumi.IntInput) GtmGeomapOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmGeomap { + return vs[0].([]GtmGeomap)[vs[1].(int)] + }).(GtmGeomapOutput) +} + +type GtmGeomapMapOutput struct{ *pulumi.OutputState } + +func (GtmGeomapMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmGeomap)(nil)) +} + +func (o GtmGeomapMapOutput) ToGtmGeomapMapOutput() GtmGeomapMapOutput { + return o +} + +func (o GtmGeomapMapOutput) ToGtmGeomapMapOutputWithContext(ctx context.Context) GtmGeomapMapOutput { + return o +} + +func (o GtmGeomapMapOutput) MapIndex(k pulumi.StringInput) GtmGeomapOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmGeomap { + return vs[0].(map[string]GtmGeomap)[vs[1].(string)] + }).(GtmGeomapOutput) +} + func init() { pulumi.RegisterOutputType(GtmGeomapOutput{}) + pulumi.RegisterOutputType(GtmGeomapPtrOutput{}) + pulumi.RegisterOutputType(GtmGeomapArrayOutput{}) + pulumi.RegisterOutputType(GtmGeomapMapOutput{}) } diff --git a/sdk/go/akamai/trafficmanagement/gtmProperty.go b/sdk/go/akamai/trafficmanagement/gtmProperty.go index 54ae6a72d..5d9c7f1cd 100644 --- a/sdk/go/akamai/trafficmanagement/gtmProperty.go +++ b/sdk/go/akamai/trafficmanagement/gtmProperty.go @@ -269,6 +269,85 @@ func (i *GtmProperty) ToGtmPropertyOutputWithContext(ctx context.Context) GtmPro return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyOutput) } +func (i *GtmProperty) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return i.ToGtmPropertyPtrOutputWithContext(context.Background()) +} + +func (i *GtmProperty) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyPtrOutput) +} + +type GtmPropertyPtrInput interface { + pulumi.Input + + ToGtmPropertyPtrOutput() GtmPropertyPtrOutput + ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput +} + +type gtmPropertyPtrType GtmPropertyArgs + +func (*gtmPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmProperty)(nil)) +} + +func (i *gtmPropertyPtrType) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return i.ToGtmPropertyPtrOutputWithContext(context.Background()) +} + +func (i *gtmPropertyPtrType) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyPtrOutput) +} + +// GtmPropertyArrayInput is an input type that accepts GtmPropertyArray and GtmPropertyArrayOutput values. +// You can construct a concrete instance of `GtmPropertyArrayInput` via: +// +// GtmPropertyArray{ GtmPropertyArgs{...} } +type GtmPropertyArrayInput interface { + pulumi.Input + + ToGtmPropertyArrayOutput() GtmPropertyArrayOutput + ToGtmPropertyArrayOutputWithContext(context.Context) GtmPropertyArrayOutput +} + +type GtmPropertyArray []GtmPropertyInput + +func (GtmPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmProperty)(nil)) +} + +func (i GtmPropertyArray) ToGtmPropertyArrayOutput() GtmPropertyArrayOutput { + return i.ToGtmPropertyArrayOutputWithContext(context.Background()) +} + +func (i GtmPropertyArray) ToGtmPropertyArrayOutputWithContext(ctx context.Context) GtmPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyArrayOutput) +} + +// GtmPropertyMapInput is an input type that accepts GtmPropertyMap and GtmPropertyMapOutput values. +// You can construct a concrete instance of `GtmPropertyMapInput` via: +// +// GtmPropertyMap{ "key": GtmPropertyArgs{...} } +type GtmPropertyMapInput interface { + pulumi.Input + + ToGtmPropertyMapOutput() GtmPropertyMapOutput + ToGtmPropertyMapOutputWithContext(context.Context) GtmPropertyMapOutput +} + +type GtmPropertyMap map[string]GtmPropertyInput + +func (GtmPropertyMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmProperty)(nil)) +} + +func (i GtmPropertyMap) ToGtmPropertyMapOutput() GtmPropertyMapOutput { + return i.ToGtmPropertyMapOutputWithContext(context.Background()) +} + +func (i GtmPropertyMap) ToGtmPropertyMapOutputWithContext(ctx context.Context) GtmPropertyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmPropertyMapOutput) +} + type GtmPropertyOutput struct { *pulumi.OutputState } @@ -285,6 +364,75 @@ func (o GtmPropertyOutput) ToGtmPropertyOutputWithContext(ctx context.Context) G return o } +func (o GtmPropertyOutput) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return o.ToGtmPropertyPtrOutputWithContext(context.Background()) +} + +func (o GtmPropertyOutput) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return o.ApplyT(func(v GtmProperty) *GtmProperty { + return &v + }).(GtmPropertyPtrOutput) +} + +type GtmPropertyPtrOutput struct { + *pulumi.OutputState +} + +func (GtmPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmProperty)(nil)) +} + +func (o GtmPropertyPtrOutput) ToGtmPropertyPtrOutput() GtmPropertyPtrOutput { + return o +} + +func (o GtmPropertyPtrOutput) ToGtmPropertyPtrOutputWithContext(ctx context.Context) GtmPropertyPtrOutput { + return o +} + +type GtmPropertyArrayOutput struct{ *pulumi.OutputState } + +func (GtmPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmProperty)(nil)) +} + +func (o GtmPropertyArrayOutput) ToGtmPropertyArrayOutput() GtmPropertyArrayOutput { + return o +} + +func (o GtmPropertyArrayOutput) ToGtmPropertyArrayOutputWithContext(ctx context.Context) GtmPropertyArrayOutput { + return o +} + +func (o GtmPropertyArrayOutput) Index(i pulumi.IntInput) GtmPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmProperty { + return vs[0].([]GtmProperty)[vs[1].(int)] + }).(GtmPropertyOutput) +} + +type GtmPropertyMapOutput struct{ *pulumi.OutputState } + +func (GtmPropertyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmProperty)(nil)) +} + +func (o GtmPropertyMapOutput) ToGtmPropertyMapOutput() GtmPropertyMapOutput { + return o +} + +func (o GtmPropertyMapOutput) ToGtmPropertyMapOutputWithContext(ctx context.Context) GtmPropertyMapOutput { + return o +} + +func (o GtmPropertyMapOutput) MapIndex(k pulumi.StringInput) GtmPropertyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmProperty { + return vs[0].(map[string]GtmProperty)[vs[1].(string)] + }).(GtmPropertyOutput) +} + func init() { pulumi.RegisterOutputType(GtmPropertyOutput{}) + pulumi.RegisterOutputType(GtmPropertyPtrOutput{}) + pulumi.RegisterOutputType(GtmPropertyArrayOutput{}) + pulumi.RegisterOutputType(GtmPropertyMapOutput{}) } diff --git a/sdk/go/akamai/trafficmanagement/gtmResource.go b/sdk/go/akamai/trafficmanagement/gtmResource.go index da53290ef..dab6392fb 100644 --- a/sdk/go/akamai/trafficmanagement/gtmResource.go +++ b/sdk/go/akamai/trafficmanagement/gtmResource.go @@ -169,6 +169,85 @@ func (i *GtmResource) ToGtmResourceOutputWithContext(ctx context.Context) GtmRes return pulumi.ToOutputWithContext(ctx, i).(GtmResourceOutput) } +func (i *GtmResource) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return i.ToGtmResourcePtrOutputWithContext(context.Background()) +} + +func (i *GtmResource) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourcePtrOutput) +} + +type GtmResourcePtrInput interface { + pulumi.Input + + ToGtmResourcePtrOutput() GtmResourcePtrOutput + ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput +} + +type gtmResourcePtrType GtmResourceArgs + +func (*gtmResourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GtmResource)(nil)) +} + +func (i *gtmResourcePtrType) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return i.ToGtmResourcePtrOutputWithContext(context.Background()) +} + +func (i *gtmResourcePtrType) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourcePtrOutput) +} + +// GtmResourceArrayInput is an input type that accepts GtmResourceArray and GtmResourceArrayOutput values. +// You can construct a concrete instance of `GtmResourceArrayInput` via: +// +// GtmResourceArray{ GtmResourceArgs{...} } +type GtmResourceArrayInput interface { + pulumi.Input + + ToGtmResourceArrayOutput() GtmResourceArrayOutput + ToGtmResourceArrayOutputWithContext(context.Context) GtmResourceArrayOutput +} + +type GtmResourceArray []GtmResourceInput + +func (GtmResourceArray) ElementType() reflect.Type { + return reflect.TypeOf(([]*GtmResource)(nil)) +} + +func (i GtmResourceArray) ToGtmResourceArrayOutput() GtmResourceArrayOutput { + return i.ToGtmResourceArrayOutputWithContext(context.Background()) +} + +func (i GtmResourceArray) ToGtmResourceArrayOutputWithContext(ctx context.Context) GtmResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourceArrayOutput) +} + +// GtmResourceMapInput is an input type that accepts GtmResourceMap and GtmResourceMapOutput values. +// You can construct a concrete instance of `GtmResourceMapInput` via: +// +// GtmResourceMap{ "key": GtmResourceArgs{...} } +type GtmResourceMapInput interface { + pulumi.Input + + ToGtmResourceMapOutput() GtmResourceMapOutput + ToGtmResourceMapOutputWithContext(context.Context) GtmResourceMapOutput +} + +type GtmResourceMap map[string]GtmResourceInput + +func (GtmResourceMap) ElementType() reflect.Type { + return reflect.TypeOf((map[string]*GtmResource)(nil)) +} + +func (i GtmResourceMap) ToGtmResourceMapOutput() GtmResourceMapOutput { + return i.ToGtmResourceMapOutputWithContext(context.Background()) +} + +func (i GtmResourceMap) ToGtmResourceMapOutputWithContext(ctx context.Context) GtmResourceMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GtmResourceMapOutput) +} + type GtmResourceOutput struct { *pulumi.OutputState } @@ -185,6 +264,75 @@ func (o GtmResourceOutput) ToGtmResourceOutputWithContext(ctx context.Context) G return o } +func (o GtmResourceOutput) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return o.ToGtmResourcePtrOutputWithContext(context.Background()) +} + +func (o GtmResourceOutput) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return o.ApplyT(func(v GtmResource) *GtmResource { + return &v + }).(GtmResourcePtrOutput) +} + +type GtmResourcePtrOutput struct { + *pulumi.OutputState +} + +func (GtmResourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GtmResource)(nil)) +} + +func (o GtmResourcePtrOutput) ToGtmResourcePtrOutput() GtmResourcePtrOutput { + return o +} + +func (o GtmResourcePtrOutput) ToGtmResourcePtrOutputWithContext(ctx context.Context) GtmResourcePtrOutput { + return o +} + +type GtmResourceArrayOutput struct{ *pulumi.OutputState } + +func (GtmResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GtmResource)(nil)) +} + +func (o GtmResourceArrayOutput) ToGtmResourceArrayOutput() GtmResourceArrayOutput { + return o +} + +func (o GtmResourceArrayOutput) ToGtmResourceArrayOutputWithContext(ctx context.Context) GtmResourceArrayOutput { + return o +} + +func (o GtmResourceArrayOutput) Index(i pulumi.IntInput) GtmResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GtmResource { + return vs[0].([]GtmResource)[vs[1].(int)] + }).(GtmResourceOutput) +} + +type GtmResourceMapOutput struct{ *pulumi.OutputState } + +func (GtmResourceMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]GtmResource)(nil)) +} + +func (o GtmResourceMapOutput) ToGtmResourceMapOutput() GtmResourceMapOutput { + return o +} + +func (o GtmResourceMapOutput) ToGtmResourceMapOutputWithContext(ctx context.Context) GtmResourceMapOutput { + return o +} + +func (o GtmResourceMapOutput) MapIndex(k pulumi.StringInput) GtmResourceOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) GtmResource { + return vs[0].(map[string]GtmResource)[vs[1].(string)] + }).(GtmResourceOutput) +} + func init() { pulumi.RegisterOutputType(GtmResourceOutput{}) + pulumi.RegisterOutputType(GtmResourcePtrOutput{}) + pulumi.RegisterOutputType(GtmResourceArrayOutput{}) + pulumi.RegisterOutputType(GtmResourceMapOutput{}) } diff --git a/sdk/nodejs/appSecActivations.ts b/sdk/nodejs/appSecActivations.ts index 0fc5b1b0c..b3a1b4f44 100644 --- a/sdk/nodejs/appSecActivations.ts +++ b/sdk/nodejs/appSecActivations.ts @@ -88,7 +88,8 @@ export class AppSecActivations extends pulumi.CustomResource { constructor(name: string, args: AppSecActivationsArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecActivationsArgs | AppSecActivationsState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecActivationsState | undefined; inputs["activate"] = state ? state.activate : undefined; inputs["configId"] = state ? state.configId : undefined; @@ -99,13 +100,13 @@ export class AppSecActivations extends pulumi.CustomResource { inputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as AppSecActivationsArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.notificationEmails === undefined) && !(opts && opts.urn)) { + if ((!args || args.notificationEmails === undefined) && !opts.urn) { throw new Error("Missing required property 'notificationEmails'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["activate"] = args ? args.activate : undefined; @@ -116,12 +117,8 @@ export class AppSecActivations extends pulumi.CustomResource { inputs["version"] = args ? args.version : undefined; inputs["status"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecActivations.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/appSecConfigurationVersionClone.ts b/sdk/nodejs/appSecConfigurationVersionClone.ts index a12fd7bc3..15d543992 100644 --- a/sdk/nodejs/appSecConfigurationVersionClone.ts +++ b/sdk/nodejs/appSecConfigurationVersionClone.ts @@ -50,7 +50,8 @@ export class AppSecConfigurationVersionClone extends pulumi.CustomResource { constructor(name: string, args: AppSecConfigurationVersionCloneArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecConfigurationVersionCloneArgs | AppSecConfigurationVersionCloneState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecConfigurationVersionCloneState | undefined; inputs["configId"] = state ? state.configId : undefined; inputs["createFromVersion"] = state ? state.createFromVersion : undefined; @@ -58,10 +59,10 @@ export class AppSecConfigurationVersionClone extends pulumi.CustomResource { inputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as AppSecConfigurationVersionCloneArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.createFromVersion === undefined) && !(opts && opts.urn)) { + if ((!args || args.createFromVersion === undefined) && !opts.urn) { throw new Error("Missing required property 'createFromVersion'"); } inputs["configId"] = args ? args.configId : undefined; @@ -69,12 +70,8 @@ export class AppSecConfigurationVersionClone extends pulumi.CustomResource { inputs["ruleUpdate"] = args ? args.ruleUpdate : undefined; inputs["version"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecConfigurationVersionClone.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/appSecCustomRule.ts b/sdk/nodejs/appSecCustomRule.ts index c1dd8dcce..9799b6ab5 100644 --- a/sdk/nodejs/appSecCustomRule.ts +++ b/sdk/nodejs/appSecCustomRule.ts @@ -58,29 +58,26 @@ export class AppSecCustomRule extends pulumi.CustomResource { constructor(name: string, args: AppSecCustomRuleArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecCustomRuleArgs | AppSecCustomRuleState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecCustomRuleState | undefined; inputs["configId"] = state ? state.configId : undefined; inputs["customRuleId"] = state ? state.customRuleId : undefined; inputs["rules"] = state ? state.rules : undefined; } else { const args = argsOrState as AppSecCustomRuleArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.rules === undefined) && !(opts && opts.urn)) { + if ((!args || args.rules === undefined) && !opts.urn) { throw new Error("Missing required property 'rules'"); } inputs["configId"] = args ? args.configId : undefined; inputs["rules"] = args ? args.rules : undefined; inputs["customRuleId"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecCustomRule.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/appSecCustomRuleAction.ts b/sdk/nodejs/appSecCustomRuleAction.ts index ac230f4de..e6d30553d 100644 --- a/sdk/nodejs/appSecCustomRuleAction.ts +++ b/sdk/nodejs/appSecCustomRuleAction.ts @@ -90,7 +90,8 @@ export class AppSecCustomRuleAction extends pulumi.CustomResource { constructor(name: string, args: AppSecCustomRuleActionArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecCustomRuleActionArgs | AppSecCustomRuleActionState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecCustomRuleActionState | undefined; inputs["configId"] = state ? state.configId : undefined; inputs["customRuleAction"] = state ? state.customRuleAction : undefined; @@ -99,19 +100,19 @@ export class AppSecCustomRuleAction extends pulumi.CustomResource { inputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as AppSecCustomRuleActionArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.customRuleAction === undefined) && !(opts && opts.urn)) { + if ((!args || args.customRuleAction === undefined) && !opts.urn) { throw new Error("Missing required property 'customRuleAction'"); } - if ((!args || args.customRuleId === undefined) && !(opts && opts.urn)) { + if ((!args || args.customRuleId === undefined) && !opts.urn) { throw new Error("Missing required property 'customRuleId'"); } - if ((!args || args.policyId === undefined) && !(opts && opts.urn)) { + if ((!args || args.policyId === undefined) && !opts.urn) { throw new Error("Missing required property 'policyId'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["configId"] = args ? args.configId : undefined; @@ -120,12 +121,8 @@ export class AppSecCustomRuleAction extends pulumi.CustomResource { inputs["policyId"] = args ? args.policyId : undefined; inputs["version"] = args ? args.version : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecCustomRuleAction.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/appSecMatchTarget.ts b/sdk/nodejs/appSecMatchTarget.ts index 0e93cad3c..1cd8b858f 100644 --- a/sdk/nodejs/appSecMatchTarget.ts +++ b/sdk/nodejs/appSecMatchTarget.ts @@ -81,7 +81,8 @@ export class AppSecMatchTarget extends pulumi.CustomResource { constructor(name: string, args: AppSecMatchTargetArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecMatchTargetArgs | AppSecMatchTargetState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecMatchTargetState | undefined; inputs["configId"] = state ? state.configId : undefined; inputs["json"] = state ? state.json : undefined; @@ -89,13 +90,13 @@ export class AppSecMatchTarget extends pulumi.CustomResource { inputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as AppSecMatchTargetArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.json === undefined) && !(opts && opts.urn)) { + if ((!args || args.json === undefined) && !opts.urn) { throw new Error("Missing required property 'json'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["configId"] = args ? args.configId : undefined; @@ -103,12 +104,8 @@ export class AppSecMatchTarget extends pulumi.CustomResource { inputs["version"] = args ? args.version : undefined; inputs["matchTargetId"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecMatchTarget.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/appSecMatchTargetSequence.ts b/sdk/nodejs/appSecMatchTargetSequence.ts index 5410b12fe..868d362da 100644 --- a/sdk/nodejs/appSecMatchTargetSequence.ts +++ b/sdk/nodejs/appSecMatchTargetSequence.ts @@ -80,7 +80,8 @@ export class AppSecMatchTargetSequence extends pulumi.CustomResource { constructor(name: string, args: AppSecMatchTargetSequenceArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecMatchTargetSequenceArgs | AppSecMatchTargetSequenceState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecMatchTargetSequenceState | undefined; inputs["configId"] = state ? state.configId : undefined; inputs["json"] = state ? state.json : undefined; @@ -89,13 +90,13 @@ export class AppSecMatchTargetSequence extends pulumi.CustomResource { inputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as AppSecMatchTargetSequenceArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["configId"] = args ? args.configId : undefined; @@ -104,12 +105,8 @@ export class AppSecMatchTargetSequence extends pulumi.CustomResource { inputs["type"] = args ? args.type : undefined; inputs["version"] = args ? args.version : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecMatchTargetSequence.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/appSecSecurityPolicyClone.ts b/sdk/nodejs/appSecSecurityPolicyClone.ts index acdc559cc..33cbe43c0 100644 --- a/sdk/nodejs/appSecSecurityPolicyClone.ts +++ b/sdk/nodejs/appSecSecurityPolicyClone.ts @@ -88,7 +88,8 @@ export class AppSecSecurityPolicyClone extends pulumi.CustomResource { constructor(name: string, args: AppSecSecurityPolicyCloneArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecSecurityPolicyCloneArgs | AppSecSecurityPolicyCloneState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecSecurityPolicyCloneState | undefined; inputs["configId"] = state ? state.configId : undefined; inputs["createFromSecurityPolicy"] = state ? state.createFromSecurityPolicy : undefined; @@ -98,13 +99,13 @@ export class AppSecSecurityPolicyClone extends pulumi.CustomResource { inputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as AppSecSecurityPolicyCloneArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.createFromSecurityPolicy === undefined) && !(opts && opts.urn)) { + if ((!args || args.createFromSecurityPolicy === undefined) && !opts.urn) { throw new Error("Missing required property 'createFromSecurityPolicy'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["configId"] = args ? args.configId : undefined; @@ -114,12 +115,8 @@ export class AppSecSecurityPolicyClone extends pulumi.CustomResource { inputs["version"] = args ? args.version : undefined; inputs["policyId"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecSecurityPolicyClone.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/appSecSelectedHostnames.ts b/sdk/nodejs/appSecSelectedHostnames.ts index 0a29cc9b0..3cdf75cee 100644 --- a/sdk/nodejs/appSecSelectedHostnames.ts +++ b/sdk/nodejs/appSecSelectedHostnames.ts @@ -47,7 +47,8 @@ export class AppSecSelectedHostnames extends pulumi.CustomResource { constructor(name: string, args: AppSecSelectedHostnamesArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: AppSecSelectedHostnamesArgs | AppSecSelectedHostnamesState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as AppSecSelectedHostnamesState | undefined; inputs["configId"] = state ? state.configId : undefined; inputs["hostnames"] = state ? state.hostnames : undefined; @@ -55,16 +56,16 @@ export class AppSecSelectedHostnames extends pulumi.CustomResource { inputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as AppSecSelectedHostnamesArgs | undefined; - if ((!args || args.configId === undefined) && !(opts && opts.urn)) { + if ((!args || args.configId === undefined) && !opts.urn) { throw new Error("Missing required property 'configId'"); } - if ((!args || args.hostnames === undefined) && !(opts && opts.urn)) { + if ((!args || args.hostnames === undefined) && !opts.urn) { throw new Error("Missing required property 'hostnames'"); } - if ((!args || args.mode === undefined) && !(opts && opts.urn)) { + if ((!args || args.mode === undefined) && !opts.urn) { throw new Error("Missing required property 'mode'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["configId"] = args ? args.configId : undefined; @@ -72,12 +73,8 @@ export class AppSecSelectedHostnames extends pulumi.CustomResource { inputs["mode"] = args ? args.mode : undefined; inputs["version"] = args ? args.version : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(AppSecSelectedHostnames.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/cpCode.ts b/sdk/nodejs/cpCode.ts index 84fff5c57..cdac967b3 100644 --- a/sdk/nodejs/cpCode.ts +++ b/sdk/nodejs/cpCode.ts @@ -55,7 +55,8 @@ export class CpCode extends pulumi.CustomResource { constructor(name: string, args: CpCodeArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: CpCodeArgs | CpCodeState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as CpCodeState | undefined; inputs["contract"] = state ? state.contract : undefined; inputs["contractId"] = state ? state.contractId : undefined; @@ -65,7 +66,7 @@ export class CpCode extends pulumi.CustomResource { inputs["product"] = state ? state.product : undefined; } else { const args = argsOrState as CpCodeArgs | undefined; - if ((!args || args.product === undefined) && !(opts && opts.urn)) { + if ((!args || args.product === undefined) && !opts.urn) { throw new Error("Missing required property 'product'"); } inputs["contract"] = args ? args.contract : undefined; @@ -75,15 +76,11 @@ export class CpCode extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["product"] = args ? args.product : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:properties/cpCode:CpCode" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(CpCode.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/dnsRecord.ts b/sdk/nodejs/dnsRecord.ts index edb5f9806..542b29ce0 100644 --- a/sdk/nodejs/dnsRecord.ts +++ b/sdk/nodejs/dnsRecord.ts @@ -346,7 +346,8 @@ export class DnsRecord extends pulumi.CustomResource { constructor(name: string, args: DnsRecordArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: DnsRecordArgs | DnsRecordState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as DnsRecordState | undefined; inputs["active"] = state ? state.active : undefined; inputs["algorithm"] = state ? state.algorithm : undefined; @@ -407,13 +408,13 @@ export class DnsRecord extends pulumi.CustomResource { inputs["zone"] = state ? state.zone : undefined; } else { const args = argsOrState as DnsRecordArgs | undefined; - if ((!args || args.recordtype === undefined) && !(opts && opts.urn)) { + if ((!args || args.recordtype === undefined) && !opts.urn) { throw new Error("Missing required property 'recordtype'"); } - if ((!args || args.ttl === undefined) && !(opts && opts.urn)) { + if ((!args || args.ttl === undefined) && !opts.urn) { throw new Error("Missing required property 'ttl'"); } - if ((!args || args.zone === undefined) && !(opts && opts.urn)) { + if ((!args || args.zone === undefined) && !opts.urn) { throw new Error("Missing required property 'zone'"); } inputs["active"] = args ? args.active : undefined; @@ -474,15 +475,11 @@ export class DnsRecord extends pulumi.CustomResource { inputs["recordSha"] = undefined /*out*/; inputs["serial"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:edgedns/dnsRecord:DnsRecord" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(DnsRecord.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/dnsZone.ts b/sdk/nodejs/dnsZone.ts index eceb16eb2..17c23c9fb 100644 --- a/sdk/nodejs/dnsZone.ts +++ b/sdk/nodejs/dnsZone.ts @@ -113,7 +113,8 @@ export class DnsZone extends pulumi.CustomResource { constructor(name: string, args: DnsZoneArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: DnsZoneArgs | DnsZoneState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as DnsZoneState | undefined; inputs["activationState"] = state ? state.activationState : undefined; inputs["aliasCount"] = state ? state.aliasCount : undefined; @@ -131,16 +132,16 @@ export class DnsZone extends pulumi.CustomResource { inputs["zone"] = state ? state.zone : undefined; } else { const args = argsOrState as DnsZoneArgs | undefined; - if ((!args || args.contract === undefined) && !(opts && opts.urn)) { + if ((!args || args.contract === undefined) && !opts.urn) { throw new Error("Missing required property 'contract'"); } - if ((!args || args.group === undefined) && !(opts && opts.urn)) { + if ((!args || args.group === undefined) && !opts.urn) { throw new Error("Missing required property 'group'"); } - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } - if ((!args || args.zone === undefined) && !(opts && opts.urn)) { + if ((!args || args.zone === undefined) && !opts.urn) { throw new Error("Missing required property 'zone'"); } inputs["comment"] = args ? args.comment : undefined; @@ -158,15 +159,11 @@ export class DnsZone extends pulumi.CustomResource { inputs["aliasCount"] = undefined /*out*/; inputs["versionId"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:edgedns/dnsZone:DnsZone" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(DnsZone.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/edgeHostName.ts b/sdk/nodejs/edgeHostName.ts index 729e52ba4..402005659 100644 --- a/sdk/nodejs/edgeHostName.ts +++ b/sdk/nodejs/edgeHostName.ts @@ -61,7 +61,8 @@ export class EdgeHostName extends pulumi.CustomResource { constructor(name: string, args: EdgeHostNameArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: EdgeHostNameArgs | EdgeHostNameState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as EdgeHostNameState | undefined; inputs["certificate"] = state ? state.certificate : undefined; inputs["contract"] = state ? state.contract : undefined; @@ -74,10 +75,10 @@ export class EdgeHostName extends pulumi.CustomResource { inputs["productId"] = state ? state.productId : undefined; } else { const args = argsOrState as EdgeHostNameArgs | undefined; - if ((!args || args.edgeHostname === undefined) && !(opts && opts.urn)) { + if ((!args || args.edgeHostname === undefined) && !opts.urn) { throw new Error("Missing required property 'edgeHostname'"); } - if ((!args || args.ipBehavior === undefined) && !(opts && opts.urn)) { + if ((!args || args.ipBehavior === undefined) && !opts.urn) { throw new Error("Missing required property 'ipBehavior'"); } inputs["certificate"] = args ? args.certificate : undefined; @@ -90,15 +91,11 @@ export class EdgeHostName extends pulumi.CustomResource { inputs["product"] = args ? args.product : undefined; inputs["productId"] = args ? args.productId : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:properties/edgeHostName:EdgeHostName" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(EdgeHostName.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/edgedns/dnsRecord.ts b/sdk/nodejs/edgedns/dnsRecord.ts index 2f6e7bfc4..9a03b49eb 100644 --- a/sdk/nodejs/edgedns/dnsRecord.ts +++ b/sdk/nodejs/edgedns/dnsRecord.ts @@ -107,7 +107,8 @@ export class DnsRecord extends pulumi.CustomResource { constructor(name: string, argsOrState?: DnsRecordArgs | DnsRecordState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("DnsRecord is deprecated: akamai.edgedns.DnsRecord has been deprecated in favor of akamai.DnsRecord") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as DnsRecordState | undefined; inputs["active"] = state ? state.active : undefined; inputs["algorithm"] = state ? state.algorithm : undefined; @@ -168,13 +169,13 @@ export class DnsRecord extends pulumi.CustomResource { inputs["zone"] = state ? state.zone : undefined; } else { const args = argsOrState as DnsRecordArgs | undefined; - if ((!args || args.recordtype === undefined) && !(opts && opts.urn)) { + if ((!args || args.recordtype === undefined) && !opts.urn) { throw new Error("Missing required property 'recordtype'"); } - if ((!args || args.ttl === undefined) && !(opts && opts.urn)) { + if ((!args || args.ttl === undefined) && !opts.urn) { throw new Error("Missing required property 'ttl'"); } - if ((!args || args.zone === undefined) && !(opts && opts.urn)) { + if ((!args || args.zone === undefined) && !opts.urn) { throw new Error("Missing required property 'zone'"); } inputs["active"] = args ? args.active : undefined; @@ -235,12 +236,8 @@ export class DnsRecord extends pulumi.CustomResource { inputs["recordSha"] = undefined /*out*/; inputs["serial"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(DnsRecord.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/edgedns/dnsZone.ts b/sdk/nodejs/edgedns/dnsZone.ts index 50645a6e2..bc7a54a2b 100644 --- a/sdk/nodejs/edgedns/dnsZone.ts +++ b/sdk/nodejs/edgedns/dnsZone.ts @@ -65,7 +65,8 @@ export class DnsZone extends pulumi.CustomResource { constructor(name: string, argsOrState?: DnsZoneArgs | DnsZoneState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("DnsZone is deprecated: akamai.edgedns.DnsZone has been deprecated in favor of akamai.DnsZone") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as DnsZoneState | undefined; inputs["activationState"] = state ? state.activationState : undefined; inputs["aliasCount"] = state ? state.aliasCount : undefined; @@ -83,16 +84,16 @@ export class DnsZone extends pulumi.CustomResource { inputs["zone"] = state ? state.zone : undefined; } else { const args = argsOrState as DnsZoneArgs | undefined; - if ((!args || args.contract === undefined) && !(opts && opts.urn)) { + if ((!args || args.contract === undefined) && !opts.urn) { throw new Error("Missing required property 'contract'"); } - if ((!args || args.group === undefined) && !(opts && opts.urn)) { + if ((!args || args.group === undefined) && !opts.urn) { throw new Error("Missing required property 'group'"); } - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } - if ((!args || args.zone === undefined) && !(opts && opts.urn)) { + if ((!args || args.zone === undefined) && !opts.urn) { throw new Error("Missing required property 'zone'"); } inputs["comment"] = args ? args.comment : undefined; @@ -110,12 +111,8 @@ export class DnsZone extends pulumi.CustomResource { inputs["aliasCount"] = undefined /*out*/; inputs["versionId"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(DnsZone.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/gtmAsmap.ts b/sdk/nodejs/gtmAsmap.ts index 3562e8d00..ee91720ed 100644 --- a/sdk/nodejs/gtmAsmap.ts +++ b/sdk/nodejs/gtmAsmap.ts @@ -85,7 +85,8 @@ export class GtmAsmap extends pulumi.CustomResource { constructor(name: string, args: GtmAsmapArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: GtmAsmapArgs | GtmAsmapState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmAsmapState | undefined; inputs["assignments"] = state ? state.assignments : undefined; inputs["defaultDatacenter"] = state ? state.defaultDatacenter : undefined; @@ -94,10 +95,10 @@ export class GtmAsmap extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmAsmapArgs | undefined; - if ((!args || args.defaultDatacenter === undefined) && !(opts && opts.urn)) { + if ((!args || args.defaultDatacenter === undefined) && !opts.urn) { throw new Error("Missing required property 'defaultDatacenter'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["assignments"] = args ? args.assignments : undefined; @@ -106,15 +107,11 @@ export class GtmAsmap extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:trafficmanagement/gtmASmap:GtmASmap" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(GtmAsmap.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/gtmCidrmap.ts b/sdk/nodejs/gtmCidrmap.ts index 9b1ed3b10..037772749 100644 --- a/sdk/nodejs/gtmCidrmap.ts +++ b/sdk/nodejs/gtmCidrmap.ts @@ -85,7 +85,8 @@ export class GtmCidrmap extends pulumi.CustomResource { constructor(name: string, args: GtmCidrmapArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: GtmCidrmapArgs | GtmCidrmapState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmCidrmapState | undefined; inputs["assignments"] = state ? state.assignments : undefined; inputs["defaultDatacenter"] = state ? state.defaultDatacenter : undefined; @@ -94,10 +95,10 @@ export class GtmCidrmap extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmCidrmapArgs | undefined; - if ((!args || args.defaultDatacenter === undefined) && !(opts && opts.urn)) { + if ((!args || args.defaultDatacenter === undefined) && !opts.urn) { throw new Error("Missing required property 'defaultDatacenter'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["assignments"] = args ? args.assignments : undefined; @@ -106,15 +107,11 @@ export class GtmCidrmap extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:trafficmanagement/gtmCidrmap:GtmCidrmap" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(GtmCidrmap.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/gtmDatacenter.ts b/sdk/nodejs/gtmDatacenter.ts index 0c0252280..e7f33e55c 100644 --- a/sdk/nodejs/gtmDatacenter.ts +++ b/sdk/nodejs/gtmDatacenter.ts @@ -101,7 +101,8 @@ export class GtmDatacenter extends pulumi.CustomResource { constructor(name: string, args: GtmDatacenterArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: GtmDatacenterArgs | GtmDatacenterState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmDatacenterState | undefined; inputs["city"] = state ? state.city : undefined; inputs["cloneOf"] = state ? state.cloneOf : undefined; @@ -126,7 +127,7 @@ export class GtmDatacenter extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmDatacenterArgs | undefined; - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["city"] = args ? args.city : undefined; @@ -151,15 +152,11 @@ export class GtmDatacenter extends pulumi.CustomResource { inputs["servermonitorPool"] = undefined /*out*/; inputs["virtual"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:trafficmanagement/gtmDatacenter:GtmDatacenter" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(GtmDatacenter.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/gtmDomain.ts b/sdk/nodejs/gtmDomain.ts index 868aca072..0ba9f60d3 100644 --- a/sdk/nodejs/gtmDomain.ts +++ b/sdk/nodejs/gtmDomain.ts @@ -142,7 +142,8 @@ export class GtmDomain extends pulumi.CustomResource { constructor(name: string, args: GtmDomainArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: GtmDomainArgs | GtmDomainState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmDomainState | undefined; inputs["cnameCoalescingEnabled"] = state ? state.cnameCoalescingEnabled : undefined; inputs["comment"] = state ? state.comment : undefined; @@ -180,7 +181,7 @@ export class GtmDomain extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmDomainArgs | undefined; - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } inputs["cnameCoalescingEnabled"] = args ? args.cnameCoalescingEnabled : undefined; @@ -218,15 +219,11 @@ export class GtmDomain extends pulumi.CustomResource { inputs["servermonitorLoadCount"] = undefined /*out*/; inputs["servermonitorPool"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:trafficmanagement/gtmDomain:GtmDomain" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(GtmDomain.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/gtmGeomap.ts b/sdk/nodejs/gtmGeomap.ts index 221d86ad9..9b40ea675 100644 --- a/sdk/nodejs/gtmGeomap.ts +++ b/sdk/nodejs/gtmGeomap.ts @@ -85,7 +85,8 @@ export class GtmGeomap extends pulumi.CustomResource { constructor(name: string, args: GtmGeomapArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: GtmGeomapArgs | GtmGeomapState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmGeomapState | undefined; inputs["assignments"] = state ? state.assignments : undefined; inputs["defaultDatacenter"] = state ? state.defaultDatacenter : undefined; @@ -94,10 +95,10 @@ export class GtmGeomap extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmGeomapArgs | undefined; - if ((!args || args.defaultDatacenter === undefined) && !(opts && opts.urn)) { + if ((!args || args.defaultDatacenter === undefined) && !opts.urn) { throw new Error("Missing required property 'defaultDatacenter'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["assignments"] = args ? args.assignments : undefined; @@ -106,15 +107,11 @@ export class GtmGeomap extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:trafficmanagement/gtmGeomap:GtmGeomap" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(GtmGeomap.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/gtmProperty.ts b/sdk/nodejs/gtmProperty.ts index 0805fc31d..9ba3563be 100644 --- a/sdk/nodejs/gtmProperty.ts +++ b/sdk/nodejs/gtmProperty.ts @@ -148,7 +148,8 @@ export class GtmProperty extends pulumi.CustomResource { constructor(name: string, args: GtmPropertyArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: GtmPropertyArgs | GtmPropertyState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmPropertyState | undefined; inputs["backupCname"] = state ? state.backupCname : undefined; inputs["backupIp"] = state ? state.backupIp : undefined; @@ -186,22 +187,22 @@ export class GtmProperty extends pulumi.CustomResource { inputs["weightedHashBitsForIpv6"] = state ? state.weightedHashBitsForIpv6 : undefined; } else { const args = argsOrState as GtmPropertyArgs | undefined; - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } - if ((!args || args.handoutLimit === undefined) && !(opts && opts.urn)) { + if ((!args || args.handoutLimit === undefined) && !opts.urn) { throw new Error("Missing required property 'handoutLimit'"); } - if ((!args || args.handoutMode === undefined) && !(opts && opts.urn)) { + if ((!args || args.handoutMode === undefined) && !opts.urn) { throw new Error("Missing required property 'handoutMode'"); } - if ((!args || args.scoreAggregationType === undefined) && !(opts && opts.urn)) { + if ((!args || args.scoreAggregationType === undefined) && !opts.urn) { throw new Error("Missing required property 'scoreAggregationType'"); } - if ((!args || args.trafficTargets === undefined) && !(opts && opts.urn)) { + if ((!args || args.trafficTargets === undefined) && !opts.urn) { throw new Error("Missing required property 'trafficTargets'"); } - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } inputs["backupCname"] = args ? args.backupCname : undefined; @@ -239,15 +240,11 @@ export class GtmProperty extends pulumi.CustomResource { inputs["weightedHashBitsForIpv4"] = undefined /*out*/; inputs["weightedHashBitsForIpv6"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:trafficmanagement/gtmProperty:GtmProperty" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(GtmProperty.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/gtmResource.ts b/sdk/nodejs/gtmResource.ts index ecb87f939..e56190315 100644 --- a/sdk/nodejs/gtmResource.ts +++ b/sdk/nodejs/gtmResource.ts @@ -95,7 +95,8 @@ export class GtmResource extends pulumi.CustomResource { constructor(name: string, args: GtmResourceArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: GtmResourceArgs | GtmResourceState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmResourceState | undefined; inputs["aggregationType"] = state ? state.aggregationType : undefined; inputs["constrainedProperty"] = state ? state.constrainedProperty : undefined; @@ -114,13 +115,13 @@ export class GtmResource extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmResourceArgs | undefined; - if ((!args || args.aggregationType === undefined) && !(opts && opts.urn)) { + if ((!args || args.aggregationType === undefined) && !opts.urn) { throw new Error("Missing required property 'aggregationType'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } inputs["aggregationType"] = args ? args.aggregationType : undefined; @@ -139,15 +140,11 @@ export class GtmResource extends pulumi.CustomResource { inputs["upperBound"] = args ? args.upperBound : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:trafficmanagement/gtmResource:GtmResource" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(GtmResource.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/properties/cpCode.ts b/sdk/nodejs/properties/cpCode.ts index ca1971e8b..ccdf08590 100644 --- a/sdk/nodejs/properties/cpCode.ts +++ b/sdk/nodejs/properties/cpCode.ts @@ -62,7 +62,8 @@ export class CpCode extends pulumi.CustomResource { constructor(name: string, argsOrState?: CpCodeArgs | CpCodeState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("CpCode is deprecated: akamai.properties.CpCode has been deprecated in favor of akamai.CpCode") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as CpCodeState | undefined; inputs["contract"] = state ? state.contract : undefined; inputs["contractId"] = state ? state.contractId : undefined; @@ -72,7 +73,7 @@ export class CpCode extends pulumi.CustomResource { inputs["product"] = state ? state.product : undefined; } else { const args = argsOrState as CpCodeArgs | undefined; - if ((!args || args.product === undefined) && !(opts && opts.urn)) { + if ((!args || args.product === undefined) && !opts.urn) { throw new Error("Missing required property 'product'"); } inputs["contract"] = args ? args.contract : undefined; @@ -82,12 +83,8 @@ export class CpCode extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["product"] = args ? args.product : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(CpCode.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/properties/edgeHostName.ts b/sdk/nodejs/properties/edgeHostName.ts index 4b0519d9c..7fd4edcfa 100644 --- a/sdk/nodejs/properties/edgeHostName.ts +++ b/sdk/nodejs/properties/edgeHostName.ts @@ -68,7 +68,8 @@ export class EdgeHostName extends pulumi.CustomResource { constructor(name: string, argsOrState?: EdgeHostNameArgs | EdgeHostNameState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("EdgeHostName is deprecated: akamai.properties.EdgeHostName has been deprecated in favor of akamai.EdgeHostName") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as EdgeHostNameState | undefined; inputs["certificate"] = state ? state.certificate : undefined; inputs["contract"] = state ? state.contract : undefined; @@ -81,10 +82,10 @@ export class EdgeHostName extends pulumi.CustomResource { inputs["productId"] = state ? state.productId : undefined; } else { const args = argsOrState as EdgeHostNameArgs | undefined; - if ((!args || args.edgeHostname === undefined) && !(opts && opts.urn)) { + if ((!args || args.edgeHostname === undefined) && !opts.urn) { throw new Error("Missing required property 'edgeHostname'"); } - if ((!args || args.ipBehavior === undefined) && !(opts && opts.urn)) { + if ((!args || args.ipBehavior === undefined) && !opts.urn) { throw new Error("Missing required property 'ipBehavior'"); } inputs["certificate"] = args ? args.certificate : undefined; @@ -97,12 +98,8 @@ export class EdgeHostName extends pulumi.CustomResource { inputs["product"] = args ? args.product : undefined; inputs["productId"] = args ? args.productId : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(EdgeHostName.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/properties/property.ts b/sdk/nodejs/properties/property.ts index dc3c9a65c..f91ed99bc 100644 --- a/sdk/nodejs/properties/property.ts +++ b/sdk/nodejs/properties/property.ts @@ -125,7 +125,8 @@ export class Property extends pulumi.CustomResource { constructor(name: string, argsOrState?: PropertyArgs | PropertyState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("Property is deprecated: akamai.properties.Property has been deprecated in favor of akamai.Property") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as PropertyState | undefined; inputs["contacts"] = state ? state.contacts : undefined; inputs["contract"] = state ? state.contract : undefined; @@ -170,12 +171,8 @@ export class Property extends pulumi.CustomResource { inputs["ruleWarnings"] = undefined /*out*/; inputs["stagingVersion"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(Property.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/properties/propertyActivation.ts b/sdk/nodejs/properties/propertyActivation.ts index eba7e30cc..4ec67ecea 100644 --- a/sdk/nodejs/properties/propertyActivation.ts +++ b/sdk/nodejs/properties/propertyActivation.ts @@ -62,7 +62,8 @@ export class PropertyActivation extends pulumi.CustomResource { constructor(name: string, argsOrState?: PropertyActivationArgs | PropertyActivationState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("PropertyActivation is deprecated: akamai.properties.PropertyActivation has been deprecated in favor of akamai.PropertyActivation") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as PropertyActivationState | undefined; inputs["activationId"] = state ? state.activationId : undefined; inputs["contacts"] = state ? state.contacts : undefined; @@ -75,10 +76,10 @@ export class PropertyActivation extends pulumi.CustomResource { inputs["warnings"] = state ? state.warnings : undefined; } else { const args = argsOrState as PropertyActivationArgs | undefined; - if ((!args || args.contacts === undefined) && !(opts && opts.urn)) { + if ((!args || args.contacts === undefined) && !opts.urn) { throw new Error("Missing required property 'contacts'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["activationId"] = args ? args.activationId : undefined; @@ -91,12 +92,8 @@ export class PropertyActivation extends pulumi.CustomResource { inputs["status"] = undefined /*out*/; inputs["warnings"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(PropertyActivation.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/properties/propertyVariables.ts b/sdk/nodejs/properties/propertyVariables.ts index d789f38f6..e200cb4d9 100644 --- a/sdk/nodejs/properties/propertyVariables.ts +++ b/sdk/nodejs/properties/propertyVariables.ts @@ -59,7 +59,8 @@ export class PropertyVariables extends pulumi.CustomResource { constructor(name: string, argsOrState?: PropertyVariablesArgs | PropertyVariablesState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("PropertyVariables is deprecated: akamai.properties.PropertyVariables has been deprecated in favor of akamai.PropertyVariables") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as PropertyVariablesState | undefined; inputs["json"] = state ? state.json : undefined; inputs["variables"] = state ? state.variables : undefined; @@ -68,12 +69,8 @@ export class PropertyVariables extends pulumi.CustomResource { inputs["variables"] = args ? args.variables : undefined; inputs["json"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(PropertyVariables.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/property.ts b/sdk/nodejs/property.ts index 2e438c79d..e65f14008 100644 --- a/sdk/nodejs/property.ts +++ b/sdk/nodejs/property.ts @@ -201,7 +201,8 @@ export class Property extends pulumi.CustomResource { constructor(name: string, args?: PropertyArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: PropertyArgs | PropertyState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as PropertyState | undefined; inputs["contacts"] = state ? state.contacts : undefined; inputs["contract"] = state ? state.contract : undefined; @@ -246,15 +247,11 @@ export class Property extends pulumi.CustomResource { inputs["ruleWarnings"] = undefined /*out*/; inputs["stagingVersion"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:properties/property:Property" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(Property.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/propertyActivation.ts b/sdk/nodejs/propertyActivation.ts index d0a5d5ce9..2876112b4 100644 --- a/sdk/nodejs/propertyActivation.ts +++ b/sdk/nodejs/propertyActivation.ts @@ -119,7 +119,8 @@ export class PropertyActivation extends pulumi.CustomResource { constructor(name: string, args: PropertyActivationArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: PropertyActivationArgs | PropertyActivationState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as PropertyActivationState | undefined; inputs["activationId"] = state ? state.activationId : undefined; inputs["contacts"] = state ? state.contacts : undefined; @@ -132,10 +133,10 @@ export class PropertyActivation extends pulumi.CustomResource { inputs["warnings"] = state ? state.warnings : undefined; } else { const args = argsOrState as PropertyActivationArgs | undefined; - if ((!args || args.contacts === undefined) && !(opts && opts.urn)) { + if ((!args || args.contacts === undefined) && !opts.urn) { throw new Error("Missing required property 'contacts'"); } - if ((!args || args.version === undefined) && !(opts && opts.urn)) { + if ((!args || args.version === undefined) && !opts.urn) { throw new Error("Missing required property 'version'"); } inputs["activationId"] = args ? args.activationId : undefined; @@ -148,15 +149,11 @@ export class PropertyActivation extends pulumi.CustomResource { inputs["status"] = undefined /*out*/; inputs["warnings"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:properties/propertyActivation:PropertyActivation" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(PropertyActivation.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/propertyVariables.ts b/sdk/nodejs/propertyVariables.ts index 2fd2518ec..8b006b416 100644 --- a/sdk/nodejs/propertyVariables.ts +++ b/sdk/nodejs/propertyVariables.ts @@ -52,7 +52,8 @@ export class PropertyVariables extends pulumi.CustomResource { constructor(name: string, args?: PropertyVariablesArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: PropertyVariablesArgs | PropertyVariablesState, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as PropertyVariablesState | undefined; inputs["json"] = state ? state.json : undefined; inputs["variables"] = state ? state.variables : undefined; @@ -61,15 +62,11 @@ export class PropertyVariables extends pulumi.CustomResource { inputs["variables"] = args ? args.variables : undefined; inputs["json"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } const aliasOpts = { aliases: [{ type: "akamai:properties/propertyVariables:PropertyVariables" }] }; - opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + opts = pulumi.mergeOptions(opts, aliasOpts); super(PropertyVariables.__pulumiType, name, inputs, opts); } } diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index 6b24dd777..40956cfa5 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -36,6 +36,7 @@ export class Provider extends pulumi.ProviderResource { */ constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions) { let inputs: pulumi.Inputs = {}; + opts = opts || {}; { inputs["appsecSection"] = args ? args.appsecSection : undefined; inputs["appsecs"] = pulumi.output(args ? args.appsecs : undefined).apply(JSON.stringify); @@ -51,12 +52,8 @@ export class Provider extends pulumi.ProviderResource { inputs["property"] = pulumi.output(args ? args.property : undefined).apply(JSON.stringify); inputs["propertySection"] = args ? args.propertySection : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(Provider.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/trafficmanagement/gtmASmap.ts b/sdk/nodejs/trafficmanagement/gtmASmap.ts index 2bf4d4f22..6c00730c6 100644 --- a/sdk/nodejs/trafficmanagement/gtmASmap.ts +++ b/sdk/nodejs/trafficmanagement/gtmASmap.ts @@ -56,7 +56,8 @@ export class GtmASmap extends pulumi.CustomResource { constructor(name: string, argsOrState?: GtmASmapArgs | GtmASmapState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("GtmASmap is deprecated: akamai.trafficmanagement.GtmASmap has been deprecated in favor of akamai.GtmAsmap") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmASmapState | undefined; inputs["assignments"] = state ? state.assignments : undefined; inputs["defaultDatacenter"] = state ? state.defaultDatacenter : undefined; @@ -65,10 +66,10 @@ export class GtmASmap extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmASmapArgs | undefined; - if ((!args || args.defaultDatacenter === undefined) && !(opts && opts.urn)) { + if ((!args || args.defaultDatacenter === undefined) && !opts.urn) { throw new Error("Missing required property 'defaultDatacenter'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["assignments"] = args ? args.assignments : undefined; @@ -77,12 +78,8 @@ export class GtmASmap extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(GtmASmap.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/trafficmanagement/gtmCidrmap.ts b/sdk/nodejs/trafficmanagement/gtmCidrmap.ts index 82780682e..2701a023c 100644 --- a/sdk/nodejs/trafficmanagement/gtmCidrmap.ts +++ b/sdk/nodejs/trafficmanagement/gtmCidrmap.ts @@ -56,7 +56,8 @@ export class GtmCidrmap extends pulumi.CustomResource { constructor(name: string, argsOrState?: GtmCidrmapArgs | GtmCidrmapState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("GtmCidrmap is deprecated: akamai.trafficmanagement.GtmCidrmap has been deprecated in favor of akamai.GtmCidrmap") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmCidrmapState | undefined; inputs["assignments"] = state ? state.assignments : undefined; inputs["defaultDatacenter"] = state ? state.defaultDatacenter : undefined; @@ -65,10 +66,10 @@ export class GtmCidrmap extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmCidrmapArgs | undefined; - if ((!args || args.defaultDatacenter === undefined) && !(opts && opts.urn)) { + if ((!args || args.defaultDatacenter === undefined) && !opts.urn) { throw new Error("Missing required property 'defaultDatacenter'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["assignments"] = args ? args.assignments : undefined; @@ -77,12 +78,8 @@ export class GtmCidrmap extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(GtmCidrmap.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/trafficmanagement/gtmDatacenter.ts b/sdk/nodejs/trafficmanagement/gtmDatacenter.ts index d29a9d069..3157b7c49 100644 --- a/sdk/nodejs/trafficmanagement/gtmDatacenter.ts +++ b/sdk/nodejs/trafficmanagement/gtmDatacenter.ts @@ -72,7 +72,8 @@ export class GtmDatacenter extends pulumi.CustomResource { constructor(name: string, argsOrState?: GtmDatacenterArgs | GtmDatacenterState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("GtmDatacenter is deprecated: akamai.trafficmanagement.GtmDatacenter has been deprecated in favor of akamai.GtmDatacenter") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmDatacenterState | undefined; inputs["city"] = state ? state.city : undefined; inputs["cloneOf"] = state ? state.cloneOf : undefined; @@ -97,7 +98,7 @@ export class GtmDatacenter extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmDatacenterArgs | undefined; - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["city"] = args ? args.city : undefined; @@ -122,12 +123,8 @@ export class GtmDatacenter extends pulumi.CustomResource { inputs["servermonitorPool"] = undefined /*out*/; inputs["virtual"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(GtmDatacenter.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/trafficmanagement/gtmDomain.ts b/sdk/nodejs/trafficmanagement/gtmDomain.ts index 66e3a2fed..0e7d664f1 100644 --- a/sdk/nodejs/trafficmanagement/gtmDomain.ts +++ b/sdk/nodejs/trafficmanagement/gtmDomain.ts @@ -84,7 +84,8 @@ export class GtmDomain extends pulumi.CustomResource { constructor(name: string, argsOrState?: GtmDomainArgs | GtmDomainState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("GtmDomain is deprecated: akamai.trafficmanagement.GtmDomain has been deprecated in favor of akamai.GtmDomain") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmDomainState | undefined; inputs["cnameCoalescingEnabled"] = state ? state.cnameCoalescingEnabled : undefined; inputs["comment"] = state ? state.comment : undefined; @@ -122,7 +123,7 @@ export class GtmDomain extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmDomainArgs | undefined; - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } inputs["cnameCoalescingEnabled"] = args ? args.cnameCoalescingEnabled : undefined; @@ -160,12 +161,8 @@ export class GtmDomain extends pulumi.CustomResource { inputs["servermonitorLoadCount"] = undefined /*out*/; inputs["servermonitorPool"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(GtmDomain.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/trafficmanagement/gtmGeomap.ts b/sdk/nodejs/trafficmanagement/gtmGeomap.ts index c6bdd5397..39cfdf7eb 100644 --- a/sdk/nodejs/trafficmanagement/gtmGeomap.ts +++ b/sdk/nodejs/trafficmanagement/gtmGeomap.ts @@ -56,7 +56,8 @@ export class GtmGeomap extends pulumi.CustomResource { constructor(name: string, argsOrState?: GtmGeomapArgs | GtmGeomapState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("GtmGeomap is deprecated: akamai.trafficmanagement.GtmGeomap has been deprecated in favor of akamai.GtmGeomap") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmGeomapState | undefined; inputs["assignments"] = state ? state.assignments : undefined; inputs["defaultDatacenter"] = state ? state.defaultDatacenter : undefined; @@ -65,10 +66,10 @@ export class GtmGeomap extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmGeomapArgs | undefined; - if ((!args || args.defaultDatacenter === undefined) && !(opts && opts.urn)) { + if ((!args || args.defaultDatacenter === undefined) && !opts.urn) { throw new Error("Missing required property 'defaultDatacenter'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } inputs["assignments"] = args ? args.assignments : undefined; @@ -77,12 +78,8 @@ export class GtmGeomap extends pulumi.CustomResource { inputs["name"] = args ? args.name : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(GtmGeomap.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/trafficmanagement/gtmProperty.ts b/sdk/nodejs/trafficmanagement/gtmProperty.ts index af388faf2..0fc3544b6 100644 --- a/sdk/nodejs/trafficmanagement/gtmProperty.ts +++ b/sdk/nodejs/trafficmanagement/gtmProperty.ts @@ -85,7 +85,8 @@ export class GtmProperty extends pulumi.CustomResource { constructor(name: string, argsOrState?: GtmPropertyArgs | GtmPropertyState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("GtmProperty is deprecated: akamai.trafficmanagement.GtmProperty has been deprecated in favor of akamai.GtmProperty") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmPropertyState | undefined; inputs["backupCname"] = state ? state.backupCname : undefined; inputs["backupIp"] = state ? state.backupIp : undefined; @@ -123,22 +124,22 @@ export class GtmProperty extends pulumi.CustomResource { inputs["weightedHashBitsForIpv6"] = state ? state.weightedHashBitsForIpv6 : undefined; } else { const args = argsOrState as GtmPropertyArgs | undefined; - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } - if ((!args || args.handoutLimit === undefined) && !(opts && opts.urn)) { + if ((!args || args.handoutLimit === undefined) && !opts.urn) { throw new Error("Missing required property 'handoutLimit'"); } - if ((!args || args.handoutMode === undefined) && !(opts && opts.urn)) { + if ((!args || args.handoutMode === undefined) && !opts.urn) { throw new Error("Missing required property 'handoutMode'"); } - if ((!args || args.scoreAggregationType === undefined) && !(opts && opts.urn)) { + if ((!args || args.scoreAggregationType === undefined) && !opts.urn) { throw new Error("Missing required property 'scoreAggregationType'"); } - if ((!args || args.trafficTargets === undefined) && !(opts && opts.urn)) { + if ((!args || args.trafficTargets === undefined) && !opts.urn) { throw new Error("Missing required property 'trafficTargets'"); } - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } inputs["backupCname"] = args ? args.backupCname : undefined; @@ -176,12 +177,8 @@ export class GtmProperty extends pulumi.CustomResource { inputs["weightedHashBitsForIpv4"] = undefined /*out*/; inputs["weightedHashBitsForIpv6"] = undefined /*out*/; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(GtmProperty.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/trafficmanagement/gtmResource.ts b/sdk/nodejs/trafficmanagement/gtmResource.ts index 8dda70410..6e63fc5c7 100644 --- a/sdk/nodejs/trafficmanagement/gtmResource.ts +++ b/sdk/nodejs/trafficmanagement/gtmResource.ts @@ -66,7 +66,8 @@ export class GtmResource extends pulumi.CustomResource { constructor(name: string, argsOrState?: GtmResourceArgs | GtmResourceState, opts?: pulumi.CustomResourceOptions) { pulumi.log.warn("GtmResource is deprecated: akamai.trafficmanagement.GtmResource has been deprecated in favor of akamai.GtmResource") let inputs: pulumi.Inputs = {}; - if (opts && opts.id) { + opts = opts || {}; + if (opts.id) { const state = argsOrState as GtmResourceState | undefined; inputs["aggregationType"] = state ? state.aggregationType : undefined; inputs["constrainedProperty"] = state ? state.constrainedProperty : undefined; @@ -85,13 +86,13 @@ export class GtmResource extends pulumi.CustomResource { inputs["waitOnComplete"] = state ? state.waitOnComplete : undefined; } else { const args = argsOrState as GtmResourceArgs | undefined; - if ((!args || args.aggregationType === undefined) && !(opts && opts.urn)) { + if ((!args || args.aggregationType === undefined) && !opts.urn) { throw new Error("Missing required property 'aggregationType'"); } - if ((!args || args.domain === undefined) && !(opts && opts.urn)) { + if ((!args || args.domain === undefined) && !opts.urn) { throw new Error("Missing required property 'domain'"); } - if ((!args || args.type === undefined) && !(opts && opts.urn)) { + if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } inputs["aggregationType"] = args ? args.aggregationType : undefined; @@ -110,12 +111,8 @@ export class GtmResource extends pulumi.CustomResource { inputs["upperBound"] = args ? args.upperBound : undefined; inputs["waitOnComplete"] = args ? args.waitOnComplete : undefined; } - if (!opts) { - opts = {} - } - if (!opts.version) { - opts.version = utilities.getVersion(); + opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); } super(GtmResource.__pulumiType, name, inputs, opts); }