diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4db081240c88..bdad431d445e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
## HEAD (Unreleased)
+- Adds default values to defaultResourcesState.go for Azure Spring Apps sub-resources
+ - New resources:
+ - azure-native:appplatform:BuildServiceAgentPool
+ - azure-native:appplatform:ConfigServer
+ - azure-native:appplatform:MonitoringSetting
+
## 1.83.1 (2022-10-25)
- Fix panic when validating `az` CLI version [#2049](https://github.com/pulumi/pulumi-azure-native/pull/2049)
diff --git a/azure-rest-api-specs b/azure-rest-api-specs
index 021e5ab6ec84..8d9e22058eb7 160000
--- a/azure-rest-api-specs
+++ b/azure-rest-api-specs
@@ -1 +1 @@
-Subproject commit 021e5ab6ec840d651d32a2c6bdf832800cdf8eb6
+Subproject commit 8d9e22058eb70f4d20baf1f0594b22f76f957c96
diff --git a/provider/cmd/pulumi-resource-azure-native/schema.json b/provider/cmd/pulumi-resource-azure-native/schema.json
index 2fa98ba100c4..d484c7d57d13 100644
--- a/provider/cmd/pulumi-resource-azure-native/schema.json
+++ b/provider/cmd/pulumi-resource-azure-native/schema.json
@@ -9400,6 +9400,67 @@
}
]
},
+ "azure-native:appplatform:BuildServiceAgentPoolProperties": {
+ "description": "Build service agent pool properties",
+ "properties": {
+ "poolSize": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:BuildServiceAgentPoolSizeProperties",
+ "description": "build service agent pool size properties"
+ }
+ },
+ "type": "object"
+ },
+ "azure-native:appplatform:BuildServiceAgentPoolPropertiesResponse": {
+ "description": "Build service agent pool properties",
+ "properties": {
+ "poolSize": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:BuildServiceAgentPoolSizePropertiesResponse",
+ "description": "build service agent pool size properties"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the build service agent pool"
+ }
+ },
+ "type": "object",
+ "required": [
+ "provisioningState"
+ ]
+ },
+ "azure-native:appplatform:BuildServiceAgentPoolSizeProperties": {
+ "description": "Build service agent pool size properties",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of build service agent pool size"
+ }
+ },
+ "type": "object"
+ },
+ "azure-native:appplatform:BuildServiceAgentPoolSizePropertiesResponse": {
+ "description": "Build service agent pool size properties",
+ "properties": {
+ "cpu": {
+ "type": "string",
+ "description": "The cpu property of build service agent pool size"
+ },
+ "memory": {
+ "type": "string",
+ "description": "The memory property of build service agent pool size"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of build service agent pool size"
+ }
+ },
+ "type": "object",
+ "required": [
+ "cpu",
+ "memory"
+ ]
+ },
"azure-native:appplatform:BuilderProperties": {
"description": "KPack Builder properties payload",
"properties": {
@@ -9706,6 +9767,179 @@
"version"
]
},
+ "azure-native:appplatform:ConfigServerGitProperty": {
+ "description": "Property of git.",
+ "properties": {
+ "hostKey": {
+ "type": "string",
+ "description": "Public sshKey of git repository."
+ },
+ "hostKeyAlgorithm": {
+ "type": "string",
+ "description": "SshKey algorithm of git repository."
+ },
+ "label": {
+ "type": "string",
+ "description": "Label of the repository"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password of git repository basic auth."
+ },
+ "privateKey": {
+ "type": "string",
+ "description": "Private sshKey algorithm of git repository."
+ },
+ "repositories": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:GitPatternRepository"
+ },
+ "description": "Repositories of git."
+ },
+ "searchPaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Searching path of the repository"
+ },
+ "strictHostKeyChecking": {
+ "type": "boolean",
+ "description": "Strict host key checking or not."
+ },
+ "uri": {
+ "type": "string",
+ "description": "URI of the repository"
+ },
+ "username": {
+ "type": "string",
+ "description": "Username of git repository basic auth."
+ }
+ },
+ "type": "object",
+ "required": [
+ "uri"
+ ]
+ },
+ "azure-native:appplatform:ConfigServerGitPropertyResponse": {
+ "description": "Property of git.",
+ "properties": {
+ "hostKey": {
+ "type": "string",
+ "description": "Public sshKey of git repository."
+ },
+ "hostKeyAlgorithm": {
+ "type": "string",
+ "description": "SshKey algorithm of git repository."
+ },
+ "label": {
+ "type": "string",
+ "description": "Label of the repository"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password of git repository basic auth."
+ },
+ "privateKey": {
+ "type": "string",
+ "description": "Private sshKey algorithm of git repository."
+ },
+ "repositories": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:GitPatternRepositoryResponse"
+ },
+ "description": "Repositories of git."
+ },
+ "searchPaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Searching path of the repository"
+ },
+ "strictHostKeyChecking": {
+ "type": "boolean",
+ "description": "Strict host key checking or not."
+ },
+ "uri": {
+ "type": "string",
+ "description": "URI of the repository"
+ },
+ "username": {
+ "type": "string",
+ "description": "Username of git repository basic auth."
+ }
+ },
+ "type": "object",
+ "required": [
+ "uri"
+ ]
+ },
+ "azure-native:appplatform:ConfigServerProperties": {
+ "description": "Config server git properties payload",
+ "properties": {
+ "configServer": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ConfigServerSettings",
+ "description": "Settings of config server."
+ },
+ "error": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:Error",
+ "description": "Error when apply config server settings."
+ }
+ },
+ "type": "object"
+ },
+ "azure-native:appplatform:ConfigServerPropertiesResponse": {
+ "description": "Config server git properties payload",
+ "properties": {
+ "configServer": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ConfigServerSettingsResponse",
+ "description": "Settings of config server."
+ },
+ "error": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ErrorResponse",
+ "description": "Error when apply config server settings."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "State of the config server."
+ }
+ },
+ "type": "object",
+ "required": [
+ "provisioningState"
+ ]
+ },
+ "azure-native:appplatform:ConfigServerSettings": {
+ "description": "The settings of config server.",
+ "properties": {
+ "gitProperty": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ConfigServerGitProperty",
+ "description": "Property of git environment."
+ }
+ },
+ "type": "object"
+ },
+ "azure-native:appplatform:ConfigServerSettingsResponse": {
+ "description": "The settings of config server.",
+ "properties": {
+ "gitProperty": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ConfigServerGitPropertyResponse",
+ "description": "Property of git environment."
+ }
+ },
+ "type": "object"
+ },
"azure-native:appplatform:ConfigurationServiceGitProperty": {
"description": "Property of git environment.",
"properties": {
@@ -10180,6 +10414,34 @@
},
"type": "object"
},
+ "azure-native:appplatform:Error": {
+ "description": "The error code compose of code and message.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The code of error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The message of error."
+ }
+ },
+ "type": "object"
+ },
+ "azure-native:appplatform:ErrorResponse": {
+ "description": "The error code compose of code and message.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The code of error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The message of error."
+ }
+ },
+ "type": "object"
+ },
"azure-native:appplatform:GatewayApiMetadataProperties": {
"description": "API metadata property for Spring Cloud Gateway",
"properties": {
@@ -10676,6 +10938,126 @@
"provisioningState"
]
},
+ "azure-native:appplatform:GitPatternRepository": {
+ "description": "Git repository property payload",
+ "properties": {
+ "hostKey": {
+ "type": "string",
+ "description": "Public sshKey of git repository."
+ },
+ "hostKeyAlgorithm": {
+ "type": "string",
+ "description": "SshKey algorithm of git repository."
+ },
+ "label": {
+ "type": "string",
+ "description": "Label of the repository"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the repository"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password of git repository basic auth."
+ },
+ "pattern": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Collection of pattern of the repository"
+ },
+ "privateKey": {
+ "type": "string",
+ "description": "Private sshKey algorithm of git repository."
+ },
+ "searchPaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Searching path of the repository"
+ },
+ "strictHostKeyChecking": {
+ "type": "boolean",
+ "description": "Strict host key checking or not."
+ },
+ "uri": {
+ "type": "string",
+ "description": "URI of the repository"
+ },
+ "username": {
+ "type": "string",
+ "description": "Username of git repository basic auth."
+ }
+ },
+ "type": "object",
+ "required": [
+ "name",
+ "uri"
+ ]
+ },
+ "azure-native:appplatform:GitPatternRepositoryResponse": {
+ "description": "Git repository property payload",
+ "properties": {
+ "hostKey": {
+ "type": "string",
+ "description": "Public sshKey of git repository."
+ },
+ "hostKeyAlgorithm": {
+ "type": "string",
+ "description": "SshKey algorithm of git repository."
+ },
+ "label": {
+ "type": "string",
+ "description": "Label of the repository"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the repository"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password of git repository basic auth."
+ },
+ "pattern": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Collection of pattern of the repository"
+ },
+ "privateKey": {
+ "type": "string",
+ "description": "Private sshKey algorithm of git repository."
+ },
+ "searchPaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Searching path of the repository"
+ },
+ "strictHostKeyChecking": {
+ "type": "boolean",
+ "description": "Strict host key checking or not."
+ },
+ "uri": {
+ "type": "string",
+ "description": "URI of the repository"
+ },
+ "username": {
+ "type": "string",
+ "description": "Username of git repository basic auth."
+ }
+ },
+ "type": "object",
+ "required": [
+ "name",
+ "uri"
+ ]
+ },
"azure-native:appplatform:ManagedIdentityProperties": {
"description": "Managed identity properties retrieved from ARM request headers.",
"properties": {
@@ -10737,6 +11119,51 @@
}
]
},
+ "azure-native:appplatform:MonitoringSettingProperties": {
+ "description": "Monitoring Setting properties payload",
+ "properties": {
+ "appInsightsInstrumentationKey": {
+ "type": "string",
+ "description": "Target application insight instrumentation key"
+ },
+ "error": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:Error",
+ "description": "Error when apply Monitoring Setting changes."
+ },
+ "traceEnabled": {
+ "type": "boolean",
+ "description": "Indicates whether enable the trace functionality"
+ }
+ },
+ "type": "object"
+ },
+ "azure-native:appplatform:MonitoringSettingPropertiesResponse": {
+ "description": "Monitoring Setting properties payload",
+ "properties": {
+ "appInsightsInstrumentationKey": {
+ "type": "string",
+ "description": "Target application insight instrumentation key"
+ },
+ "error": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ErrorResponse",
+ "description": "Error when apply Monitoring Setting changes."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "State of the Monitoring Setting."
+ },
+ "traceEnabled": {
+ "type": "boolean",
+ "description": "Indicates whether enable the trace functionality"
+ }
+ },
+ "type": "object",
+ "required": [
+ "provisioningState"
+ ]
+ },
"azure-native:appplatform:NetworkProfile": {
"description": "Service network profile payload",
"properties": {
@@ -329645,6 +330072,81 @@
}
]
},
+ "azure-native:appplatform:BuildServiceAgentPool": {
+ "description": "The build service agent pool resource\nAPI Version: 2022-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### BuildServiceAgentPool_UpdatePut\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var buildServiceAgentPool = new AzureNative.AppPlatform.BuildServiceAgentPool(\"buildServiceAgentPool\", new()\n {\n AgentPoolName = \"default\",\n BuildServiceName = \"default\",\n Properties = new AzureNative.AppPlatform.Inputs.BuildServiceAgentPoolPropertiesArgs\n {\n PoolSize = new AzureNative.AppPlatform.Inputs.BuildServiceAgentPoolSizePropertiesArgs\n {\n Name = \"S3\",\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tappplatform \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/appplatform\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appplatform.NewBuildServiceAgentPool(ctx, \"buildServiceAgentPool\", \u0026appplatform.BuildServiceAgentPoolArgs{\n\t\t\tAgentPoolName: pulumi.String(\"default\"),\n\t\t\tBuildServiceName: pulumi.String(\"default\"),\n\t\t\tProperties: appplatform.BuildServiceAgentPoolPropertiesResponse{\n\t\t\t\tPoolSize: \u0026appplatform.BuildServiceAgentPoolSizePropertiesArgs{\n\t\t\t\t\tName: pulumi.String(\"S3\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.BuildServiceAgentPool;\nimport com.pulumi.azurenative.appplatform.BuildServiceAgentPoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var buildServiceAgentPool = new BuildServiceAgentPool(\"buildServiceAgentPool\", BuildServiceAgentPoolArgs.builder() \n .agentPoolName(\"default\")\n .buildServiceName(\"default\")\n .properties(Map.of(\"poolSize\", Map.of(\"name\", \"S3\")))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst buildServiceAgentPool = new azure_native.appplatform.BuildServiceAgentPool(\"buildServiceAgentPool\", {\n agentPoolName: \"default\",\n buildServiceName: \"default\",\n properties: {\n poolSize: {\n name: \"S3\",\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nbuild_service_agent_pool = azure_native.appplatform.BuildServiceAgentPool(\"buildServiceAgentPool\",\n agent_pool_name=\"default\",\n build_service_name=\"default\",\n properties=azure_native.appplatform.BuildServiceAgentPoolPropertiesResponseArgs(\n pool_size=azure_native.appplatform.BuildServiceAgentPoolSizePropertiesArgs(\n name=\"S3\",\n ),\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n buildServiceAgentPool:\n type: azure-native:appplatform:BuildServiceAgentPool\n properties:\n agentPoolName: default\n buildServiceName: default\n properties:\n poolSize:\n name: S3\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:BuildServiceAgentPool default /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/buildServices/default/agentPools/default \n```\n",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:BuildServiceAgentPoolPropertiesResponse",
+ "description": "build service agent pool properties"
+ },
+ "systemData": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:SystemDataResponse",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "name",
+ "properties",
+ "systemData",
+ "type"
+ ],
+ "inputProperties": {
+ "agentPoolName": {
+ "type": "string",
+ "description": "The name of the build service agent pool resource."
+ },
+ "buildServiceName": {
+ "type": "string",
+ "description": "The name of the build service resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:BuildServiceAgentPoolProperties",
+ "description": "build service agent pool properties"
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the Service resource."
+ }
+ },
+ "requiredInputs": [
+ "buildServiceName",
+ "resourceGroupName",
+ "serviceName"
+ ],
+ "aliases": [
+ {
+ "type": "azure-native:appplatform/v20220101preview:BuildServiceAgentPool"
+ },
+ {
+ "type": "azure-native:appplatform/v20220301preview:BuildServiceAgentPool"
+ },
+ {
+ "type": "azure-native:appplatform/v20220401:BuildServiceAgentPool"
+ },
+ {
+ "type": "azure-native:appplatform/v20220501preview:BuildServiceAgentPool"
+ },
+ {
+ "type": "azure-native:appplatform/v20220901preview:BuildServiceAgentPool"
+ }
+ ]
+ },
"azure-native:appplatform:BuildServiceBuilder": {
"description": "KPack Builder resource\nAPI Version: 2022-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### BuildServiceBuilder_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var buildServiceBuilder = new AzureNative.AppPlatform.BuildServiceBuilder(\"buildServiceBuilder\", new()\n {\n BuildServiceName = \"default\",\n BuilderName = \"mybuilder\",\n Properties = new AzureNative.AppPlatform.Inputs.BuilderPropertiesArgs\n {\n BuildpackGroups = new[]\n {\n new AzureNative.AppPlatform.Inputs.BuildpacksGroupPropertiesArgs\n {\n Buildpacks = new[]\n {\n new AzureNative.AppPlatform.Inputs.BuildpackPropertiesArgs\n {\n Id = \"tanzu-buildpacks/java-azure\",\n },\n },\n Name = \"mix\",\n },\n },\n Stack = new AzureNative.AppPlatform.Inputs.StackPropertiesArgs\n {\n Id = \"io.buildpacks.stacks.bionic\",\n Version = \"base\",\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.BuildServiceBuilder;\nimport com.pulumi.azurenative.appplatform.BuildServiceBuilderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var buildServiceBuilder = new BuildServiceBuilder(\"buildServiceBuilder\", BuildServiceBuilderArgs.builder() \n .buildServiceName(\"default\")\n .builderName(\"mybuilder\")\n .properties(Map.ofEntries(\n Map.entry(\"buildpackGroups\", Map.ofEntries(\n Map.entry(\"buildpacks\", Map.of(\"id\", \"tanzu-buildpacks/java-azure\")),\n Map.entry(\"name\", \"mix\")\n )),\n Map.entry(\"stack\", Map.ofEntries(\n Map.entry(\"id\", \"io.buildpacks.stacks.bionic\"),\n Map.entry(\"version\", \"base\")\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst buildServiceBuilder = new azure_native.appplatform.BuildServiceBuilder(\"buildServiceBuilder\", {\n buildServiceName: \"default\",\n builderName: \"mybuilder\",\n properties: {\n buildpackGroups: [{\n buildpacks: [{\n id: \"tanzu-buildpacks/java-azure\",\n }],\n name: \"mix\",\n }],\n stack: {\n id: \"io.buildpacks.stacks.bionic\",\n version: \"base\",\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nbuild_service_builder = azure_native.appplatform.BuildServiceBuilder(\"buildServiceBuilder\",\n build_service_name=\"default\",\n builder_name=\"mybuilder\",\n properties=azure_native.appplatform.BuilderPropertiesResponseArgs(\n buildpack_groups=[{\n \"buildpacks\": [azure_native.appplatform.BuildpackPropertiesArgs(\n id=\"tanzu-buildpacks/java-azure\",\n )],\n \"name\": \"mix\",\n }],\n stack=azure_native.appplatform.StackPropertiesArgs(\n id=\"io.buildpacks.stacks.bionic\",\n version=\"base\",\n ),\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n buildServiceBuilder:\n type: azure-native:appplatform:BuildServiceBuilder\n properties:\n buildServiceName: default\n builderName: mybuilder\n properties:\n buildpackGroups:\n - buildpacks:\n - id: tanzu-buildpacks/java-azure\n name: mix\n stack:\n id: io.buildpacks.stacks.bionic\n version: base\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:BuildServiceBuilder mybuilder /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/buildServices/default/builders/mybuilder \n```\n",
"properties": {
@@ -329876,6 +330378,78 @@
}
]
},
+ "azure-native:appplatform:ConfigServer": {
+ "description": "Config Server resource\nAPI Version: 2020-07-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ConfigServers_UpdatePut\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var configServer = new AzureNative.AppPlatform.ConfigServer(\"configServer\", new()\n {\n Properties = new AzureNative.AppPlatform.Inputs.ConfigServerPropertiesArgs\n {\n ConfigServer = new AzureNative.AppPlatform.Inputs.ConfigServerSettingsArgs\n {\n GitProperty = new AzureNative.AppPlatform.Inputs.ConfigServerGitPropertyArgs\n {\n Label = \"master\",\n SearchPaths = new[]\n {\n \"/\",\n },\n Uri = \"https://github.com/fake-user/fake-repository.git\",\n },\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.ConfigServer;\nimport com.pulumi.azurenative.appplatform.ConfigServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var configServer = new ConfigServer(\"configServer\", ConfigServerArgs.builder() \n .properties(Map.of(\"configServer\", Map.of(\"gitProperty\", Map.ofEntries(\n Map.entry(\"label\", \"master\"),\n Map.entry(\"searchPaths\", \"/\"),\n Map.entry(\"uri\", \"https://github.com/fake-user/fake-repository.git\")\n ))))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst configServer = new azure_native.appplatform.ConfigServer(\"configServer\", {\n properties: {\n configServer: {\n gitProperty: {\n label: \"master\",\n searchPaths: [\"/\"],\n uri: \"https://github.com/fake-user/fake-repository.git\",\n },\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nconfig_server = azure_native.appplatform.ConfigServer(\"configServer\",\n properties=azure_native.appplatform.ConfigServerPropertiesResponseArgs(\n config_server={\n \"gitProperty\": azure_native.appplatform.ConfigServerGitPropertyArgs(\n label=\"master\",\n search_paths=[\"/\"],\n uri=\"https://github.com/fake-user/fake-repository.git\",\n ),\n },\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n configServer:\n type: azure-native:appplatform:ConfigServer\n properties:\n properties:\n configServer:\n gitProperty:\n label: master\n searchPaths:\n - /\n uri: https://github.com/fake-user/fake-repository.git\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:ConfigServer default /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/configServers/default \n```\n",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ConfigServerPropertiesResponse",
+ "description": "Properties of the Config Server resource"
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "name",
+ "properties",
+ "type"
+ ],
+ "inputProperties": {
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ConfigServerProperties",
+ "description": "Properties of the Config Server resource"
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the Service resource."
+ }
+ },
+ "requiredInputs": [
+ "resourceGroupName",
+ "serviceName"
+ ],
+ "aliases": [
+ {
+ "type": "azure-native:appplatform/v20200701:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20201101preview:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20210601preview:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20210901preview:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20220101preview:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20220301preview:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20220401:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20220501preview:ConfigServer"
+ },
+ {
+ "type": "azure-native:appplatform/v20220901preview:ConfigServer"
+ }
+ ]
+ },
"azure-native:appplatform:ConfigurationService": {
"description": "Application Configuration Service resource\nAPI Version: 2022-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ConfigurationServices_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var configurationService = new AzureNative.AppPlatform.ConfigurationService(\"configurationService\", new()\n {\n ConfigurationServiceName = \"default\",\n Properties = new AzureNative.AppPlatform.Inputs.ConfigurationServicePropertiesArgs\n {\n Settings = new AzureNative.AppPlatform.Inputs.ConfigurationServiceSettingsArgs\n {\n GitProperty = new AzureNative.AppPlatform.Inputs.ConfigurationServiceGitPropertyArgs\n {\n Repositories = new[]\n {\n new AzureNative.AppPlatform.Inputs.ConfigurationServiceGitRepositoryArgs\n {\n Label = \"master\",\n Name = \"fake\",\n Patterns = new[]\n {\n \"app/dev\",\n },\n Uri = \"https://github.com/fake-user/fake-repository\",\n },\n },\n },\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.ConfigurationService;\nimport com.pulumi.azurenative.appplatform.ConfigurationServiceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var configurationService = new ConfigurationService(\"configurationService\", ConfigurationServiceArgs.builder() \n .configurationServiceName(\"default\")\n .properties(Map.of(\"settings\", Map.of(\"gitProperty\", Map.of(\"repositories\", Map.ofEntries(\n Map.entry(\"label\", \"master\"),\n Map.entry(\"name\", \"fake\"),\n Map.entry(\"patterns\", \"app/dev\"),\n Map.entry(\"uri\", \"https://github.com/fake-user/fake-repository\")\n )))))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst configurationService = new azure_native.appplatform.ConfigurationService(\"configurationService\", {\n configurationServiceName: \"default\",\n properties: {\n settings: {\n gitProperty: {\n repositories: [{\n label: \"master\",\n name: \"fake\",\n patterns: [\"app/dev\"],\n uri: \"https://github.com/fake-user/fake-repository\",\n }],\n },\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nconfiguration_service = azure_native.appplatform.ConfigurationService(\"configurationService\",\n configuration_service_name=\"default\",\n properties=azure_native.appplatform.ConfigurationServicePropertiesResponseArgs(\n settings={\n \"gitProperty\": {\n \"repositories\": [azure_native.appplatform.ConfigurationServiceGitRepositoryArgs(\n label=\"master\",\n name=\"fake\",\n patterns=[\"app/dev\"],\n uri=\"https://github.com/fake-user/fake-repository\",\n )],\n },\n },\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n configurationService:\n type: azure-native:appplatform:ConfigurationService\n properties:\n configurationServiceName: default\n properties:\n settings:\n gitProperty:\n repositories:\n - label: master\n name: fake\n patterns:\n - app/dev\n uri: https://github.com/fake-user/fake-repository\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:ConfigurationService default /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/configurationServices/default \n```\n",
"properties": {
@@ -330159,44 +330733,188 @@
},
"properties": {
"type": "object",
- "$ref": "#/types/azure-native:appplatform:GatewayProperties",
- "description": "Spring Cloud Gateway properties payload"
+ "$ref": "#/types/azure-native:appplatform:GatewayProperties",
+ "description": "Spring Cloud Gateway properties payload"
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the Service resource."
+ },
+ "sku": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:Sku",
+ "description": "Sku of the Spring Cloud Gateway resource"
+ }
+ },
+ "requiredInputs": [
+ "resourceGroupName",
+ "serviceName"
+ ],
+ "aliases": [
+ {
+ "type": "azure-native:appplatform/v20220101preview:Gateway"
+ },
+ {
+ "type": "azure-native:appplatform/v20220301preview:Gateway"
+ },
+ {
+ "type": "azure-native:appplatform/v20220501preview:Gateway"
+ },
+ {
+ "type": "azure-native:appplatform/v20220901preview:Gateway"
+ }
+ ]
+ },
+ "azure-native:appplatform:GatewayCustomDomain": {
+ "description": "Custom domain of the Spring Cloud Gateway\nAPI Version: 2022-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### GatewayCustomDomains_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var gatewayCustomDomain = new AzureNative.AppPlatform.GatewayCustomDomain(\"gatewayCustomDomain\", new()\n {\n DomainName = \"myDomainName\",\n GatewayName = \"default\",\n Properties = new AzureNative.AppPlatform.Inputs.GatewayCustomDomainPropertiesArgs\n {\n Thumbprint = \"*\",\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tappplatform \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/appplatform\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appplatform.NewGatewayCustomDomain(ctx, \"gatewayCustomDomain\", \u0026appplatform.GatewayCustomDomainArgs{\n\t\t\tDomainName: pulumi.String(\"myDomainName\"),\n\t\t\tGatewayName: pulumi.String(\"default\"),\n\t\t\tProperties: \u0026appplatform.GatewayCustomDomainPropertiesArgs{\n\t\t\t\tThumbprint: pulumi.String(\"*\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.GatewayCustomDomain;\nimport com.pulumi.azurenative.appplatform.GatewayCustomDomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var gatewayCustomDomain = new GatewayCustomDomain(\"gatewayCustomDomain\", GatewayCustomDomainArgs.builder() \n .domainName(\"myDomainName\")\n .gatewayName(\"default\")\n .properties(Map.of(\"thumbprint\", \"*\"))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst gatewayCustomDomain = new azure_native.appplatform.GatewayCustomDomain(\"gatewayCustomDomain\", {\n domainName: \"myDomainName\",\n gatewayName: \"default\",\n properties: {\n thumbprint: \"*\",\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ngateway_custom_domain = azure_native.appplatform.GatewayCustomDomain(\"gatewayCustomDomain\",\n domain_name=\"myDomainName\",\n gateway_name=\"default\",\n properties=azure_native.appplatform.GatewayCustomDomainPropertiesArgs(\n thumbprint=\"*\",\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n gatewayCustomDomain:\n type: azure-native:appplatform:GatewayCustomDomain\n properties:\n domainName: myDomainName\n gatewayName: default\n properties:\n thumbprint: '*'\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:GatewayCustomDomain myDomainName /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default/domains/myDomainName \n```\n",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:GatewayCustomDomainPropertiesResponse",
+ "description": "The properties of custom domain for Spring Cloud Gateway"
+ },
+ "systemData": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:SystemDataResponse",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "name",
+ "properties",
+ "systemData",
+ "type"
+ ],
+ "inputProperties": {
+ "domainName": {
+ "type": "string",
+ "description": "The name of the Spring Cloud Gateway custom domain."
+ },
+ "gatewayName": {
+ "type": "string",
+ "description": "The name of Spring Cloud Gateway."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:GatewayCustomDomainProperties",
+ "description": "The properties of custom domain for Spring Cloud Gateway"
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the Service resource."
+ }
+ },
+ "requiredInputs": [
+ "gatewayName",
+ "resourceGroupName",
+ "serviceName"
+ ],
+ "aliases": [
+ {
+ "type": "azure-native:appplatform/v20220101preview:GatewayCustomDomain"
+ },
+ {
+ "type": "azure-native:appplatform/v20220301preview:GatewayCustomDomain"
+ },
+ {
+ "type": "azure-native:appplatform/v20220501preview:GatewayCustomDomain"
+ },
+ {
+ "type": "azure-native:appplatform/v20220901preview:GatewayCustomDomain"
+ }
+ ]
+ },
+ "azure-native:appplatform:GatewayRouteConfig": {
+ "description": "Spring Cloud Gateway route config resource\nAPI Version: 2022-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### GatewayRouteConfigs_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var gatewayRouteConfig = new AzureNative.AppPlatform.GatewayRouteConfig(\"gatewayRouteConfig\", new()\n {\n GatewayName = \"default\",\n Properties = new AzureNative.AppPlatform.Inputs.GatewayRouteConfigPropertiesArgs\n {\n AppResourceId = \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\",\n Routes = new[]\n {\n new AzureNative.AppPlatform.Inputs.GatewayApiRouteArgs\n {\n Filters = new[]\n {\n \"StripPrefix=2\",\n \"RateLimit=1,1s\",\n },\n Predicates = new[]\n {\n \"Path=/api5/customer/**\",\n },\n SsoEnabled = true,\n Title = \"myApp route config\",\n },\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n RouteConfigName = \"myRouteConfig\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tappplatform \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/appplatform\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appplatform.NewGatewayRouteConfig(ctx, \"gatewayRouteConfig\", \u0026appplatform.GatewayRouteConfigArgs{\n\t\t\tGatewayName: pulumi.String(\"default\"),\n\t\t\tProperties: appplatform.GatewayRouteConfigPropertiesResponse{\n\t\t\t\tAppResourceId: pulumi.String(\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\"),\n\t\t\t\tRoutes: appplatform.GatewayApiRouteArray{\n\t\t\t\t\t\u0026appplatform.GatewayApiRouteArgs{\n\t\t\t\t\t\tFilters: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"StripPrefix=2\"),\n\t\t\t\t\t\t\tpulumi.String(\"RateLimit=1,1s\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tPredicates: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Path=/api5/customer/**\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSsoEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tTitle: pulumi.String(\"myApp route config\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tRouteConfigName: pulumi.String(\"myRouteConfig\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.GatewayRouteConfig;\nimport com.pulumi.azurenative.appplatform.GatewayRouteConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var gatewayRouteConfig = new GatewayRouteConfig(\"gatewayRouteConfig\", GatewayRouteConfigArgs.builder() \n .gatewayName(\"default\")\n .properties(Map.ofEntries(\n Map.entry(\"appResourceId\", \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\"),\n Map.entry(\"routes\", Map.ofEntries(\n Map.entry(\"filters\", \n \"StripPrefix=2\",\n \"RateLimit=1,1s\"),\n Map.entry(\"predicates\", \"Path=/api5/customer/**\"),\n Map.entry(\"ssoEnabled\", true),\n Map.entry(\"title\", \"myApp route config\")\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .routeConfigName(\"myRouteConfig\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst gatewayRouteConfig = new azure_native.appplatform.GatewayRouteConfig(\"gatewayRouteConfig\", {\n gatewayName: \"default\",\n properties: {\n appResourceId: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\",\n routes: [{\n filters: [\n \"StripPrefix=2\",\n \"RateLimit=1,1s\",\n ],\n predicates: [\"Path=/api5/customer/**\"],\n ssoEnabled: true,\n title: \"myApp route config\",\n }],\n },\n resourceGroupName: \"myResourceGroup\",\n routeConfigName: \"myRouteConfig\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ngateway_route_config = azure_native.appplatform.GatewayRouteConfig(\"gatewayRouteConfig\",\n gateway_name=\"default\",\n properties=azure_native.appplatform.GatewayRouteConfigPropertiesResponseArgs(\n app_resource_id=\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\",\n routes=[azure_native.appplatform.GatewayApiRouteArgs(\n filters=[\n \"StripPrefix=2\",\n \"RateLimit=1,1s\",\n ],\n predicates=[\"Path=/api5/customer/**\"],\n sso_enabled=True,\n title=\"myApp route config\",\n )],\n ),\n resource_group_name=\"myResourceGroup\",\n route_config_name=\"myRouteConfig\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n gatewayRouteConfig:\n type: azure-native:appplatform:GatewayRouteConfig\n properties:\n gatewayName: default\n properties:\n appResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\n routes:\n - filters:\n - StripPrefix=2\n - RateLimit=1,1s\n predicates:\n - Path=/api5/customer/**\n ssoEnabled: true\n title: myApp route config\n resourceGroupName: myResourceGroup\n routeConfigName: myRouteConfig\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:GatewayRouteConfig myRouteConfig /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default/routeConfigs/myRouteConfig \n```\n",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:GatewayRouteConfigPropertiesResponse",
+ "description": "API route config of the Spring Cloud Gateway"
+ },
+ "systemData": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:SystemDataResponse",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "name",
+ "properties",
+ "systemData",
+ "type"
+ ],
+ "inputProperties": {
+ "gatewayName": {
+ "type": "string",
+ "description": "The name of Spring Cloud Gateway."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:GatewayRouteConfigProperties",
+ "description": "API route config of the Spring Cloud Gateway"
},
"resourceGroupName": {
"type": "string",
"description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
},
+ "routeConfigName": {
+ "type": "string",
+ "description": "The name of the Spring Cloud Gateway route config."
+ },
"serviceName": {
"type": "string",
"description": "The name of the Service resource."
- },
- "sku": {
- "type": "object",
- "$ref": "#/types/azure-native:appplatform:Sku",
- "description": "Sku of the Spring Cloud Gateway resource"
}
},
"requiredInputs": [
+ "gatewayName",
"resourceGroupName",
"serviceName"
],
"aliases": [
{
- "type": "azure-native:appplatform/v20220101preview:Gateway"
+ "type": "azure-native:appplatform/v20220101preview:GatewayRouteConfig"
},
{
- "type": "azure-native:appplatform/v20220301preview:Gateway"
+ "type": "azure-native:appplatform/v20220301preview:GatewayRouteConfig"
},
{
- "type": "azure-native:appplatform/v20220501preview:Gateway"
+ "type": "azure-native:appplatform/v20220501preview:GatewayRouteConfig"
},
{
- "type": "azure-native:appplatform/v20220901preview:Gateway"
+ "type": "azure-native:appplatform/v20220901preview:GatewayRouteConfig"
}
]
},
- "azure-native:appplatform:GatewayCustomDomain": {
- "description": "Custom domain of the Spring Cloud Gateway\nAPI Version: 2022-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### GatewayCustomDomains_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var gatewayCustomDomain = new AzureNative.AppPlatform.GatewayCustomDomain(\"gatewayCustomDomain\", new()\n {\n DomainName = \"myDomainName\",\n GatewayName = \"default\",\n Properties = new AzureNative.AppPlatform.Inputs.GatewayCustomDomainPropertiesArgs\n {\n Thumbprint = \"*\",\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tappplatform \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/appplatform\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appplatform.NewGatewayCustomDomain(ctx, \"gatewayCustomDomain\", \u0026appplatform.GatewayCustomDomainArgs{\n\t\t\tDomainName: pulumi.String(\"myDomainName\"),\n\t\t\tGatewayName: pulumi.String(\"default\"),\n\t\t\tProperties: \u0026appplatform.GatewayCustomDomainPropertiesArgs{\n\t\t\t\tThumbprint: pulumi.String(\"*\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.GatewayCustomDomain;\nimport com.pulumi.azurenative.appplatform.GatewayCustomDomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var gatewayCustomDomain = new GatewayCustomDomain(\"gatewayCustomDomain\", GatewayCustomDomainArgs.builder() \n .domainName(\"myDomainName\")\n .gatewayName(\"default\")\n .properties(Map.of(\"thumbprint\", \"*\"))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst gatewayCustomDomain = new azure_native.appplatform.GatewayCustomDomain(\"gatewayCustomDomain\", {\n domainName: \"myDomainName\",\n gatewayName: \"default\",\n properties: {\n thumbprint: \"*\",\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ngateway_custom_domain = azure_native.appplatform.GatewayCustomDomain(\"gatewayCustomDomain\",\n domain_name=\"myDomainName\",\n gateway_name=\"default\",\n properties=azure_native.appplatform.GatewayCustomDomainPropertiesArgs(\n thumbprint=\"*\",\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n gatewayCustomDomain:\n type: azure-native:appplatform:GatewayCustomDomain\n properties:\n domainName: myDomainName\n gatewayName: default\n properties:\n thumbprint: '*'\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:GatewayCustomDomain myDomainName /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default/domains/myDomainName \n```\n",
+ "azure-native:appplatform:MonitoringSetting": {
+ "description": "Monitoring Setting resource\nAPI Version: 2020-07-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### MonitoringSettings_UpdatePut\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var monitoringSetting = new AzureNative.AppPlatform.MonitoringSetting(\"monitoringSetting\", new()\n {\n Properties = new AzureNative.AppPlatform.Inputs.MonitoringSettingPropertiesArgs\n {\n AppInsightsInstrumentationKey = \"00000000-0000-0000-0000-000000000000\",\n TraceEnabled = true,\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tappplatform \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/appplatform\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appplatform.NewMonitoringSetting(ctx, \"monitoringSetting\", \u0026appplatform.MonitoringSettingArgs{\n\t\t\tProperties: \u0026appplatform.MonitoringSettingPropertiesArgs{\n\t\t\t\tAppInsightsInstrumentationKey: pulumi.String(\"00000000-0000-0000-0000-000000000000\"),\n\t\t\t\tTraceEnabled: pulumi.Bool(true),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.MonitoringSetting;\nimport com.pulumi.azurenative.appplatform.MonitoringSettingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var monitoringSetting = new MonitoringSetting(\"monitoringSetting\", MonitoringSettingArgs.builder() \n .properties(Map.ofEntries(\n Map.entry(\"appInsightsInstrumentationKey\", \"00000000-0000-0000-0000-000000000000\"),\n Map.entry(\"traceEnabled\", true)\n ))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst monitoringSetting = new azure_native.appplatform.MonitoringSetting(\"monitoringSetting\", {\n properties: {\n appInsightsInstrumentationKey: \"00000000-0000-0000-0000-000000000000\",\n traceEnabled: true,\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmonitoring_setting = azure_native.appplatform.MonitoringSetting(\"monitoringSetting\",\n properties=azure_native.appplatform.MonitoringSettingPropertiesArgs(\n app_insights_instrumentation_key=\"00000000-0000-0000-0000-000000000000\",\n trace_enabled=True,\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n monitoringSetting:\n type: azure-native:appplatform:MonitoringSetting\n properties:\n properties:\n appInsightsInstrumentationKey: 00000000-0000-0000-0000-000000000000\n traceEnabled: true\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:MonitoringSetting default /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/monitoringSettings/default \n```\n",
"properties": {
"name": {
"type": "string",
@@ -330204,13 +330922,8 @@
},
"properties": {
"type": "object",
- "$ref": "#/types/azure-native:appplatform:GatewayCustomDomainPropertiesResponse",
- "description": "The properties of custom domain for Spring Cloud Gateway"
- },
- "systemData": {
- "type": "object",
- "$ref": "#/types/azure-native:appplatform:SystemDataResponse",
- "description": "Metadata pertaining to creation and last modification of the resource."
+ "$ref": "#/types/azure-native:appplatform:MonitoringSettingPropertiesResponse",
+ "description": "Properties of the Monitoring Setting resource"
},
"type": {
"type": "string",
@@ -330221,22 +330934,13 @@
"required": [
"name",
"properties",
- "systemData",
"type"
],
"inputProperties": {
- "domainName": {
- "type": "string",
- "description": "The name of the Spring Cloud Gateway custom domain."
- },
- "gatewayName": {
- "type": "string",
- "description": "The name of Spring Cloud Gateway."
- },
"properties": {
"type": "object",
- "$ref": "#/types/azure-native:appplatform:GatewayCustomDomainProperties",
- "description": "The properties of custom domain for Spring Cloud Gateway"
+ "$ref": "#/types/azure-native:appplatform:MonitoringSettingProperties",
+ "description": "Properties of the Monitoring Setting resource"
},
"resourceGroupName": {
"type": "string",
@@ -330248,94 +330952,36 @@
}
},
"requiredInputs": [
- "gatewayName",
"resourceGroupName",
"serviceName"
],
"aliases": [
{
- "type": "azure-native:appplatform/v20220101preview:GatewayCustomDomain"
+ "type": "azure-native:appplatform/v20200701:MonitoringSetting"
},
{
- "type": "azure-native:appplatform/v20220301preview:GatewayCustomDomain"
+ "type": "azure-native:appplatform/v20201101preview:MonitoringSetting"
},
{
- "type": "azure-native:appplatform/v20220501preview:GatewayCustomDomain"
+ "type": "azure-native:appplatform/v20210601preview:MonitoringSetting"
},
{
- "type": "azure-native:appplatform/v20220901preview:GatewayCustomDomain"
- }
- ]
- },
- "azure-native:appplatform:GatewayRouteConfig": {
- "description": "Spring Cloud Gateway route config resource\nAPI Version: 2022-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### GatewayRouteConfigs_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var gatewayRouteConfig = new AzureNative.AppPlatform.GatewayRouteConfig(\"gatewayRouteConfig\", new()\n {\n GatewayName = \"default\",\n Properties = new AzureNative.AppPlatform.Inputs.GatewayRouteConfigPropertiesArgs\n {\n AppResourceId = \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\",\n Routes = new[]\n {\n new AzureNative.AppPlatform.Inputs.GatewayApiRouteArgs\n {\n Filters = new[]\n {\n \"StripPrefix=2\",\n \"RateLimit=1,1s\",\n },\n Predicates = new[]\n {\n \"Path=/api5/customer/**\",\n },\n SsoEnabled = true,\n Title = \"myApp route config\",\n },\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n RouteConfigName = \"myRouteConfig\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tappplatform \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/appplatform\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appplatform.NewGatewayRouteConfig(ctx, \"gatewayRouteConfig\", \u0026appplatform.GatewayRouteConfigArgs{\n\t\t\tGatewayName: pulumi.String(\"default\"),\n\t\t\tProperties: appplatform.GatewayRouteConfigPropertiesResponse{\n\t\t\t\tAppResourceId: pulumi.String(\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\"),\n\t\t\t\tRoutes: appplatform.GatewayApiRouteArray{\n\t\t\t\t\t\u0026appplatform.GatewayApiRouteArgs{\n\t\t\t\t\t\tFilters: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"StripPrefix=2\"),\n\t\t\t\t\t\t\tpulumi.String(\"RateLimit=1,1s\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tPredicates: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Path=/api5/customer/**\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSsoEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tTitle: pulumi.String(\"myApp route config\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tRouteConfigName: pulumi.String(\"myRouteConfig\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.GatewayRouteConfig;\nimport com.pulumi.azurenative.appplatform.GatewayRouteConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var gatewayRouteConfig = new GatewayRouteConfig(\"gatewayRouteConfig\", GatewayRouteConfigArgs.builder() \n .gatewayName(\"default\")\n .properties(Map.ofEntries(\n Map.entry(\"appResourceId\", \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\"),\n Map.entry(\"routes\", Map.ofEntries(\n Map.entry(\"filters\", \n \"StripPrefix=2\",\n \"RateLimit=1,1s\"),\n Map.entry(\"predicates\", \"Path=/api5/customer/**\"),\n Map.entry(\"ssoEnabled\", true),\n Map.entry(\"title\", \"myApp route config\")\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .routeConfigName(\"myRouteConfig\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst gatewayRouteConfig = new azure_native.appplatform.GatewayRouteConfig(\"gatewayRouteConfig\", {\n gatewayName: \"default\",\n properties: {\n appResourceId: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\",\n routes: [{\n filters: [\n \"StripPrefix=2\",\n \"RateLimit=1,1s\",\n ],\n predicates: [\"Path=/api5/customer/**\"],\n ssoEnabled: true,\n title: \"myApp route config\",\n }],\n },\n resourceGroupName: \"myResourceGroup\",\n routeConfigName: \"myRouteConfig\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ngateway_route_config = azure_native.appplatform.GatewayRouteConfig(\"gatewayRouteConfig\",\n gateway_name=\"default\",\n properties=azure_native.appplatform.GatewayRouteConfigPropertiesResponseArgs(\n app_resource_id=\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\",\n routes=[azure_native.appplatform.GatewayApiRouteArgs(\n filters=[\n \"StripPrefix=2\",\n \"RateLimit=1,1s\",\n ],\n predicates=[\"Path=/api5/customer/**\"],\n sso_enabled=True,\n title=\"myApp route config\",\n )],\n ),\n resource_group_name=\"myResourceGroup\",\n route_config_name=\"myRouteConfig\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n gatewayRouteConfig:\n type: azure-native:appplatform:GatewayRouteConfig\n properties:\n gatewayName: default\n properties:\n appResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp\n routes:\n - filters:\n - StripPrefix=2\n - RateLimit=1,1s\n predicates:\n - Path=/api5/customer/**\n ssoEnabled: true\n title: myApp route config\n resourceGroupName: myResourceGroup\n routeConfigName: myRouteConfig\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:GatewayRouteConfig myRouteConfig /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default/routeConfigs/myRouteConfig \n```\n",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the resource."
- },
- "properties": {
- "type": "object",
- "$ref": "#/types/azure-native:appplatform:GatewayRouteConfigPropertiesResponse",
- "description": "API route config of the Spring Cloud Gateway"
- },
- "systemData": {
- "type": "object",
- "$ref": "#/types/azure-native:appplatform:SystemDataResponse",
- "description": "Metadata pertaining to creation and last modification of the resource."
+ "type": "azure-native:appplatform/v20210901preview:MonitoringSetting"
},
- "type": {
- "type": "string",
- "description": "The type of the resource."
- }
- },
- "type": "object",
- "required": [
- "name",
- "properties",
- "systemData",
- "type"
- ],
- "inputProperties": {
- "gatewayName": {
- "type": "string",
- "description": "The name of Spring Cloud Gateway."
- },
- "properties": {
- "type": "object",
- "$ref": "#/types/azure-native:appplatform:GatewayRouteConfigProperties",
- "description": "API route config of the Spring Cloud Gateway"
- },
- "resourceGroupName": {
- "type": "string",
- "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
- },
- "routeConfigName": {
- "type": "string",
- "description": "The name of the Spring Cloud Gateway route config."
+ {
+ "type": "azure-native:appplatform/v20220101preview:MonitoringSetting"
},
- "serviceName": {
- "type": "string",
- "description": "The name of the Service resource."
- }
- },
- "requiredInputs": [
- "gatewayName",
- "resourceGroupName",
- "serviceName"
- ],
- "aliases": [
{
- "type": "azure-native:appplatform/v20220101preview:GatewayRouteConfig"
+ "type": "azure-native:appplatform/v20220301preview:MonitoringSetting"
},
{
- "type": "azure-native:appplatform/v20220301preview:GatewayRouteConfig"
+ "type": "azure-native:appplatform/v20220401:MonitoringSetting"
},
{
- "type": "azure-native:appplatform/v20220501preview:GatewayRouteConfig"
+ "type": "azure-native:appplatform/v20220501preview:MonitoringSetting"
},
{
- "type": "azure-native:appplatform/v20220901preview:GatewayRouteConfig"
+ "type": "azure-native:appplatform/v20220901preview:MonitoringSetting"
}
]
},
@@ -338174,7 +338820,7 @@
]
},
"azure-native:azurearcdata:PostgresInstance": {
- "description": "A Postgres Instance.\nAPI Version: 2021-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a Postgres Instance.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgresInstance = new AzureNative.AzureArcData.PostgresInstance(\"postgresInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureArcData.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\",\n Type = \"CustomLocation\",\n },\n Location = \"eastus\",\n PostgresInstanceName = \"testpostgresInstance\",\n Properties = new AzureNative.AzureArcData.Inputs.PostgresInstancePropertiesArgs\n {\n Admin = \"admin\",\n BasicLoginInformation = new AzureNative.AzureArcData.Inputs.BasicLoginInformationArgs\n {\n Password = \"********\",\n Username = \"username\",\n },\n DataControllerId = \"dataControllerId\",\n K8sRaw = \n {\n { \"apiVersion\", \"apiVersion\" },\n { \"kind\", \"postgresql-12\" },\n { \"metadata\", \n {\n { \"creationTimestamp\", \"2020-08-25T14:55:10Z\" },\n { \"generation\", 1 },\n { \"name\", \"pg1\" },\n { \"namespace\", \"test\" },\n { \"resourceVersion\", \"527780\" },\n { \"selfLink\", \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\" },\n { \"uid\", \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\" },\n } },\n { \"spec\", \n {\n { \"backups\", \n {\n { \"deltaMinutes\", 3 },\n { \"fullMinutes\", 10 },\n { \"tiers\", new[]\n {\n \n {\n { \"retention\", \n {\n { \"maximums\", new[]\n {\n \"6\",\n \"512MB\",\n } },\n { \"minimums\", new[]\n {\n \"3\",\n } },\n } },\n { \"storage\", \n {\n { \"volumeSize\", \"1Gi\" },\n } },\n },\n } },\n } },\n { \"engine\", \n {\n { \"extensions\", new[]\n {\n \n {\n { \"name\", \"citus\" },\n },\n } },\n } },\n { \"scale\", \n {\n { \"shards\", 3 },\n } },\n { \"scheduling\", \n {\n { \"default\", \n {\n { \"resources\", \n {\n { \"requests\", \n {\n { \"memory\", \"256Mi\" },\n } },\n } },\n } },\n } },\n { \"service\", \n {\n { \"type\", \"NodePort\" },\n } },\n { \"storage\", \n {\n { \"data\", \n {\n { \"className\", \"local-storage\" },\n { \"size\", \"5Gi\" },\n } },\n { \"logs\", \n {\n { \"className\", \"local-storage\" },\n { \"size\", \"5Gi\" },\n } },\n } },\n } },\n { \"status\", \n {\n { \"externalEndpoint\", null },\n { \"readyPods\", \"4/4\" },\n { \"state\", \"Ready\" },\n } },\n },\n },\n ResourceGroupName = \"testrg\",\n Sku = new AzureNative.AzureArcData.Inputs.PostgresInstanceSkuArgs\n {\n Dev = true,\n Name = \"default\",\n Tier = AzureNative.AzureArcData.PostgresInstanceSkuTier.Hyperscale,\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurearcdata \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/azurearcdata\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := azurearcdata.NewPostgresInstance(ctx, \"postgresInstance\", \u0026azurearcdata.PostgresInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurearcdata.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\"),\n\t\t\t\tType: pulumi.String(\"CustomLocation\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tPostgresInstanceName: pulumi.String(\"testpostgresInstance\"),\n\t\t\tProperties: azurearcdata.PostgresInstancePropertiesResponse{\n\t\t\t\tAdmin: pulumi.String(\"admin\"),\n\t\t\t\tBasicLoginInformation: \u0026azurearcdata.BasicLoginInformationArgs{\n\t\t\t\t\tPassword: pulumi.String(\"********\"),\n\t\t\t\t\tUsername: pulumi.String(\"username\"),\n\t\t\t\t},\n\t\t\t\tDataControllerId: pulumi.String(\"dataControllerId\"),\n\t\t\t\tK8sRaw: pulumi.Any{\n\t\t\t\t\tApiVersion: \"apiVersion\",\n\t\t\t\t\tKind: \"postgresql-12\",\n\t\t\t\t\tMetadata: map[string]interface{}{\n\t\t\t\t\t\t\"creationTimestamp\": \"2020-08-25T14:55:10Z\",\n\t\t\t\t\t\t\"generation\": 1,\n\t\t\t\t\t\t\"name\": \"pg1\",\n\t\t\t\t\t\t\"namespace\": \"test\",\n\t\t\t\t\t\t\"resourceVersion\": \"527780\",\n\t\t\t\t\t\t\"selfLink\": \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\",\n\t\t\t\t\t\t\"uid\": \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\",\n\t\t\t\t\t},\n\t\t\t\t\tSpec: map[string]interface{}{\n\t\t\t\t\t\t\"backups\": map[string]interface{}{\n\t\t\t\t\t\t\t\"deltaMinutes\": 3,\n\t\t\t\t\t\t\t\"fullMinutes\": 10,\n\t\t\t\t\t\t\t\"tiers\": []map[string]interface{}{\n\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"retention\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"maximums\": []string{\n\t\t\t\t\t\t\t\t\t\t\t\"6\",\n\t\t\t\t\t\t\t\t\t\t\t\"512MB\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\"minimums\": []string{\n\t\t\t\t\t\t\t\t\t\t\t\"3\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"storage\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"volumeSize\": \"1Gi\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"engine\": map[string]interface{}{\n\t\t\t\t\t\t\t\"extensions\": []map[string]interface{}{\n\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"name\": \"citus\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"scale\": map[string]interface{}{\n\t\t\t\t\t\t\t\"shards\": 3,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"scheduling\": map[string]interface{}{\n\t\t\t\t\t\t\t\"default\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"resources\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"requests\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"memory\": \"256Mi\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"service\": map[string]interface{}{\n\t\t\t\t\t\t\t\"type\": \"NodePort\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"storage\": map[string]interface{}{\n\t\t\t\t\t\t\t\"data\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"className\": \"local-storage\",\n\t\t\t\t\t\t\t\t\"size\": \"5Gi\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"logs\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"className\": \"local-storage\",\n\t\t\t\t\t\t\t\t\"size\": \"5Gi\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tStatus: map[string]interface{}{\n\t\t\t\t\t\t\"externalEndpoint\": nil,\n\t\t\t\t\t\t\"readyPods\": \"4/4\",\n\t\t\t\t\t\t\"state\": \"Ready\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tSku: azurearcdata.PostgresInstanceSkuResponse{\n\t\t\t\tDev: pulumi.Bool(true),\n\t\t\t\tName: pulumi.String(\"default\"),\n\t\t\t\tTier: azurearcdata.PostgresInstanceSkuTierHyperscale,\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.azurearcdata.PostgresInstance;\nimport com.pulumi.azurenative.azurearcdata.PostgresInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgresInstance = new PostgresInstance(\"postgresInstance\", PostgresInstanceArgs.builder() \n .extendedLocation(Map.ofEntries(\n Map.entry(\"name\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\"),\n Map.entry(\"type\", \"CustomLocation\")\n ))\n .location(\"eastus\")\n .postgresInstanceName(\"testpostgresInstance\")\n .properties(Map.ofEntries(\n Map.entry(\"admin\", \"admin\"),\n Map.entry(\"basicLoginInformation\", Map.ofEntries(\n Map.entry(\"password\", \"********\"),\n Map.entry(\"username\", \"username\")\n )),\n Map.entry(\"dataControllerId\", \"dataControllerId\"),\n Map.entry(\"k8sRaw\", Map.ofEntries(\n Map.entry(\"apiVersion\", \"apiVersion\"),\n Map.entry(\"kind\", \"postgresql-12\"),\n Map.entry(\"metadata\", PostgresInstancePropertiesArgs.builder()\n .creationTimestamp(\"2020-08-25T14:55:10Z\")\n .generation(1)\n .name(\"pg1\")\n .namespace(\"test\")\n .resourceVersion(\"527780\")\n .selfLink(\"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\")\n .uid(\"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\")\n .build()),\n Map.entry(\"spec\", PostgresInstancePropertiesArgs.builder()\n .backups(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .engine(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .scale(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .scheduling(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .service(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .storage(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build()),\n Map.entry(\"status\", PostgresInstancePropertiesArgs.builder()\n .externalEndpoint(null)\n .readyPods(\"4/4\")\n .state(\"Ready\")\n .build())\n ))\n ))\n .resourceGroupName(\"testrg\")\n .sku(Map.ofEntries(\n Map.entry(\"dev\", true),\n Map.entry(\"name\", \"default\"),\n Map.entry(\"tier\", \"Hyperscale\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst postgresInstance = new azure_native.azurearcdata.PostgresInstance(\"postgresInstance\", {\n extendedLocation: {\n name: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\",\n type: \"CustomLocation\",\n },\n location: \"eastus\",\n postgresInstanceName: \"testpostgresInstance\",\n properties: {\n admin: \"admin\",\n basicLoginInformation: {\n password: \"********\",\n username: \"username\",\n },\n dataControllerId: \"dataControllerId\",\n k8sRaw: {\n apiVersion: \"apiVersion\",\n kind: \"postgresql-12\",\n metadata: {\n creationTimestamp: \"2020-08-25T14:55:10Z\",\n generation: 1,\n name: \"pg1\",\n namespace: \"test\",\n resourceVersion: \"527780\",\n selfLink: \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\",\n uid: \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\",\n },\n spec: {\n backups: {\n deltaMinutes: 3,\n fullMinutes: 10,\n tiers: [{\n retention: {\n maximums: [\n \"6\",\n \"512MB\",\n ],\n minimums: [\"3\"],\n },\n storage: {\n volumeSize: \"1Gi\",\n },\n }],\n },\n engine: {\n extensions: [{\n name: \"citus\",\n }],\n },\n scale: {\n shards: 3,\n },\n scheduling: {\n \"default\": {\n resources: {\n requests: {\n memory: \"256Mi\",\n },\n },\n },\n },\n service: {\n type: \"NodePort\",\n },\n storage: {\n data: {\n className: \"local-storage\",\n size: \"5Gi\",\n },\n logs: {\n className: \"local-storage\",\n size: \"5Gi\",\n },\n },\n },\n status: {\n externalEndpoint: undefined,\n readyPods: \"4/4\",\n state: \"Ready\",\n },\n },\n },\n resourceGroupName: \"testrg\",\n sku: {\n dev: true,\n name: \"default\",\n tier: azure_native.azurearcdata.PostgresInstanceSkuTier.Hyperscale,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\npostgres_instance = azure_native.azurearcdata.PostgresInstance(\"postgresInstance\",\n extended_location=azure_native.azurearcdata.ExtendedLocationArgs(\n name=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\",\n type=\"CustomLocation\",\n ),\n location=\"eastus\",\n postgres_instance_name=\"testpostgresInstance\",\n properties=azure_native.azurearcdata.PostgresInstancePropertiesResponseArgs(\n admin=\"admin\",\n basic_login_information=azure_native.azurearcdata.BasicLoginInformationArgs(\n password=\"********\",\n username=\"username\",\n ),\n data_controller_id=\"dataControllerId\",\n k8s_raw={\n \"apiVersion\": \"apiVersion\",\n \"kind\": \"postgresql-12\",\n \"metadata\": {\n \"creationTimestamp\": \"2020-08-25T14:55:10Z\",\n \"generation\": 1,\n \"name\": \"pg1\",\n \"namespace\": \"test\",\n \"resourceVersion\": \"527780\",\n \"selfLink\": \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\",\n \"uid\": \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\",\n },\n \"spec\": {\n \"backups\": {\n \"deltaMinutes\": 3,\n \"fullMinutes\": 10,\n \"tiers\": [{\n \"retention\": {\n \"maximums\": [\n \"6\",\n \"512MB\",\n ],\n \"minimums\": [\"3\"],\n },\n \"storage\": {\n \"volumeSize\": \"1Gi\",\n },\n }],\n },\n \"engine\": {\n \"extensions\": [{\n \"name\": \"citus\",\n }],\n },\n \"scale\": {\n \"shards\": 3,\n },\n \"scheduling\": {\n \"default\": {\n \"resources\": {\n \"requests\": {\n \"memory\": \"256Mi\",\n },\n },\n },\n },\n \"service\": {\n \"type\": \"NodePort\",\n },\n \"storage\": {\n \"data\": {\n \"className\": \"local-storage\",\n \"size\": \"5Gi\",\n },\n \"logs\": {\n \"className\": \"local-storage\",\n \"size\": \"5Gi\",\n },\n },\n },\n \"status\": {\n \"externalEndpoint\": None,\n \"readyPods\": \"4/4\",\n \"state\": \"Ready\",\n },\n },\n ),\n resource_group_name=\"testrg\",\n sku=azure_native.azurearcdata.PostgresInstanceSkuResponseArgs(\n dev=True,\n name=\"default\",\n tier=azure_native.azurearcdata.PostgresInstanceSkuTier.HYPERSCALE,\n ))\n\n```\n\n```yaml\nresources:\n postgresInstance:\n type: azure-native:azurearcdata:PostgresInstance\n properties:\n extendedLocation:\n name: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\n type: CustomLocation\n location: eastus\n postgresInstanceName: testpostgresInstance\n properties:\n admin: admin\n basicLoginInformation:\n password: '********'\n username: username\n dataControllerId: dataControllerId\n k8sRaw:\n apiVersion: apiVersion\n kind: postgresql-12\n metadata:\n creationTimestamp: 2020-08-25T14:55:10Z\n generation: 1\n name: pg1\n namespace: test\n resourceVersion: '527780'\n selfLink: /apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\n uid: 1111aaaa-ffff-ffff-ffff-99999aaaaaaa\n spec:\n backups:\n deltaMinutes: 3\n fullMinutes: 10\n tiers:\n - retention:\n maximums:\n - '6'\n - 512MB\n minimums:\n - '3'\n storage:\n volumeSize: 1Gi\n engine:\n extensions:\n - name: citus\n scale:\n shards: 3\n scheduling:\n default:\n resources:\n requests:\n memory: 256Mi\n service:\n type: NodePort\n storage:\n data:\n className: local-storage\n size: 5Gi\n logs:\n className: local-storage\n size: 5Gi\n status:\n externalEndpoint: null\n readyPods: 4/4\n state: Ready\n resourceGroupName: testrg\n sku:\n dev: true\n name: default\n tier: Hyperscale\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:azurearcdata:PostgresInstance testsqlregistration /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance \n```\n",
+ "description": "A Postgres Instance.\nAPI Version: 2021-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a Postgres Instance.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgresInstance = new AzureNative.AzureArcData.PostgresInstance(\"postgresInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureArcData.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\",\n Type = \"CustomLocation\",\n },\n Location = \"eastus\",\n PostgresInstanceName = \"testpostgresInstance\",\n Properties = new AzureNative.AzureArcData.Inputs.PostgresInstancePropertiesArgs\n {\n Admin = \"admin\",\n BasicLoginInformation = new AzureNative.AzureArcData.Inputs.BasicLoginInformationArgs\n {\n Password = \"********\",\n Username = \"username\",\n },\n DataControllerId = \"dataControllerId\",\n K8sRaw = \n {\n { \"apiVersion\", \"apiVersion\" },\n { \"kind\", \"postgresql-12\" },\n { \"metadata\", \n {\n { \"creationTimestamp\", \"2020-08-25T14:55:10Z\" },\n { \"generation\", 1 },\n { \"name\", \"pg1\" },\n { \"namespace\", \"test\" },\n { \"resourceVersion\", \"527780\" },\n { \"selfLink\", \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\" },\n { \"uid\", \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\" },\n } },\n { \"spec\", \n {\n { \"backups\", \n {\n { \"deltaMinutes\", 3 },\n { \"fullMinutes\", 10 },\n { \"tiers\", new[]\n {\n \n {\n { \"retention\", \n {\n { \"maximums\", new[]\n {\n \"6\",\n \"512MB\",\n } },\n { \"minimums\", new[]\n {\n \"3\",\n } },\n } },\n { \"storage\", \n {\n { \"volumeSize\", \"1Gi\" },\n } },\n },\n } },\n } },\n { \"engine\", \n {\n { \"extensions\", new[]\n {\n \n {\n { \"name\", \"citus\" },\n },\n } },\n } },\n { \"scale\", \n {\n { \"shards\", 3 },\n } },\n { \"scheduling\", \n {\n { \"default\", \n {\n { \"resources\", \n {\n { \"requests\", \n {\n { \"memory\", \"256Mi\" },\n } },\n } },\n } },\n } },\n { \"service\", \n {\n { \"type\", \"NodePort\" },\n } },\n { \"storage\", \n {\n { \"data\", \n {\n { \"className\", \"local-storage\" },\n { \"size\", \"5Gi\" },\n } },\n { \"logs\", \n {\n { \"className\", \"local-storage\" },\n { \"size\", \"5Gi\" },\n } },\n } },\n } },\n { \"status\", \n {\n { \"externalEndpoint\", null },\n { \"readyPods\", \"4/4\" },\n { \"state\", \"Ready\" },\n } },\n },\n },\n ResourceGroupName = \"testrg\",\n Sku = new AzureNative.AzureArcData.Inputs.PostgresInstanceSkuArgs\n {\n Dev = true,\n Name = \"default\",\n Tier = AzureNative.AzureArcData.PostgresInstanceSkuTier.Hyperscale,\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurearcdata \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/azurearcdata\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := azurearcdata.NewPostgresInstance(ctx, \"postgresInstance\", \u0026azurearcdata.PostgresInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurearcdata.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\"),\n\t\t\t\tType: pulumi.String(\"CustomLocation\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tPostgresInstanceName: pulumi.String(\"testpostgresInstance\"),\n\t\t\tProperties: azurearcdata.PostgresInstancePropertiesResponse{\n\t\t\t\tAdmin: pulumi.String(\"admin\"),\n\t\t\t\tBasicLoginInformation: \u0026azurearcdata.BasicLoginInformationArgs{\n\t\t\t\t\tPassword: pulumi.String(\"********\"),\n\t\t\t\t\tUsername: pulumi.String(\"username\"),\n\t\t\t\t},\n\t\t\t\tDataControllerId: pulumi.String(\"dataControllerId\"),\n\t\t\t\tK8sRaw: pulumi.Any{\n\t\t\t\t\tApiVersion: \"apiVersion\",\n\t\t\t\t\tKind: \"postgresql-12\",\n\t\t\t\t\tMetadata: map[string]interface{}{\n\t\t\t\t\t\t\"creationTimestamp\": \"2020-08-25T14:55:10Z\",\n\t\t\t\t\t\t\"generation\": 1,\n\t\t\t\t\t\t\"name\": \"pg1\",\n\t\t\t\t\t\t\"namespace\": \"test\",\n\t\t\t\t\t\t\"resourceVersion\": \"527780\",\n\t\t\t\t\t\t\"selfLink\": \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\",\n\t\t\t\t\t\t\"uid\": \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\",\n\t\t\t\t\t},\n\t\t\t\t\tSpec: map[string]interface{}{\n\t\t\t\t\t\t\"backups\": map[string]interface{}{\n\t\t\t\t\t\t\t\"deltaMinutes\": 3,\n\t\t\t\t\t\t\t\"fullMinutes\": 10,\n\t\t\t\t\t\t\t\"tiers\": []map[string]interface{}{\n\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"retention\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"maximums\": []string{\n\t\t\t\t\t\t\t\t\t\t\t\"6\",\n\t\t\t\t\t\t\t\t\t\t\t\"512MB\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\"minimums\": []string{\n\t\t\t\t\t\t\t\t\t\t\t\"3\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"storage\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"volumeSize\": \"1Gi\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"engine\": map[string]interface{}{\n\t\t\t\t\t\t\t\"extensions\": []map[string]interface{}{\n\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"name\": \"citus\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"scale\": map[string]interface{}{\n\t\t\t\t\t\t\t\"shards\": 3,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"scheduling\": map[string]interface{}{\n\t\t\t\t\t\t\t\"default\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"resources\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"requests\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\t\"memory\": \"256Mi\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"service\": map[string]interface{}{\n\t\t\t\t\t\t\t\"type\": \"NodePort\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"storage\": map[string]interface{}{\n\t\t\t\t\t\t\t\"data\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"className\": \"local-storage\",\n\t\t\t\t\t\t\t\t\"size\": \"5Gi\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"logs\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"className\": \"local-storage\",\n\t\t\t\t\t\t\t\t\"size\": \"5Gi\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tStatus: map[string]interface{}{\n\t\t\t\t\t\t\"externalEndpoint\": nil,\n\t\t\t\t\t\t\"readyPods\": \"4/4\",\n\t\t\t\t\t\t\"state\": \"Ready\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tSku: azurearcdata.PostgresInstanceSkuResponse{\n\t\t\t\tDev: pulumi.Bool(true),\n\t\t\t\tName: pulumi.String(\"default\"),\n\t\t\t\tTier: azurearcdata.PostgresInstanceSkuTierHyperscale,\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.azurearcdata.PostgresInstance;\nimport com.pulumi.azurenative.azurearcdata.PostgresInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgresInstance = new PostgresInstance(\"postgresInstance\", PostgresInstanceArgs.builder() \n .extendedLocation(Map.ofEntries(\n Map.entry(\"name\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\"),\n Map.entry(\"type\", \"CustomLocation\")\n ))\n .location(\"eastus\")\n .postgresInstanceName(\"testpostgresInstance\")\n .properties(Map.ofEntries(\n Map.entry(\"admin\", \"admin\"),\n Map.entry(\"basicLoginInformation\", Map.ofEntries(\n Map.entry(\"password\", \"********\"),\n Map.entry(\"username\", \"username\")\n )),\n Map.entry(\"dataControllerId\", \"dataControllerId\"),\n Map.entry(\"k8sRaw\", Map.ofEntries(\n Map.entry(\"apiVersion\", \"apiVersion\"),\n Map.entry(\"kind\", \"postgresql-12\"),\n Map.entry(\"metadata\", PostgresInstancePropertiesArgs.builder()\n .creationTimestamp(\"2020-08-25T14:55:10Z\")\n .generation(1)\n .name(\"pg1\")\n .namespace(\"test\")\n .resourceVersion(\"527780\")\n .selfLink(\"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\")\n .uid(\"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\")\n .build()),\n Map.entry(\"spec\", PostgresInstancePropertiesArgs.builder()\n .backups(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .engine(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .scale(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .scheduling(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .service(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .storage(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build()),\n Map.entry(\"status\", PostgresInstancePropertiesArgs.builder()\n .externalEndpoint(null)\n .readyPods(\"4/4\")\n .state(\"Ready\")\n .build())\n ))\n ))\n .resourceGroupName(\"testrg\")\n .sku(Map.ofEntries(\n Map.entry(\"dev\", true),\n Map.entry(\"name\", \"default\"),\n Map.entry(\"tier\", \"Hyperscale\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst postgresInstance = new azure_native.azurearcdata.PostgresInstance(\"postgresInstance\", {\n extendedLocation: {\n name: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\",\n type: \"CustomLocation\",\n },\n location: \"eastus\",\n postgresInstanceName: \"testpostgresInstance\",\n properties: {\n admin: \"admin\",\n basicLoginInformation: {\n password: \"********\",\n username: \"username\",\n },\n dataControllerId: \"dataControllerId\",\n k8sRaw: {\n apiVersion: \"apiVersion\",\n kind: \"postgresql-12\",\n metadata: {\n creationTimestamp: \"2020-08-25T14:55:10Z\",\n generation: 1,\n name: \"pg1\",\n namespace: \"test\",\n resourceVersion: \"527780\",\n selfLink: \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\",\n uid: \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\",\n },\n spec: {\n backups: {\n deltaMinutes: 3,\n fullMinutes: 10,\n tiers: [{\n retention: {\n maximums: [\n \"6\",\n \"512MB\",\n ],\n minimums: [\"3\"],\n },\n storage: {\n volumeSize: \"1Gi\",\n },\n }],\n },\n engine: {\n extensions: [{\n name: \"citus\",\n }],\n },\n scale: {\n shards: 3,\n },\n scheduling: {\n \"default\": {\n resources: {\n requests: {\n memory: \"256Mi\",\n },\n },\n },\n },\n service: {\n type: \"NodePort\",\n },\n storage: {\n data: {\n className: \"local-storage\",\n size: \"5Gi\",\n },\n logs: {\n className: \"local-storage\",\n size: \"5Gi\",\n },\n },\n },\n status: {\n externalEndpoint: undefined,\n readyPods: \"4/4\",\n state: \"Ready\",\n },\n },\n },\n resourceGroupName: \"testrg\",\n sku: {\n dev: true,\n name: \"default\",\n tier: azure_native.azurearcdata.PostgresInstanceSkuTier.Hyperscale,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\npostgres_instance = azure_native.azurearcdata.PostgresInstance(\"postgresInstance\",\n extended_location=azure_native.azurearcdata.ExtendedLocationArgs(\n name=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\",\n type=\"CustomLocation\",\n ),\n location=\"eastus\",\n postgres_instance_name=\"testpostgresInstance\",\n properties=azure_native.azurearcdata.PostgresInstancePropertiesResponseArgs(\n admin=\"admin\",\n basic_login_information=azure_native.azurearcdata.BasicLoginInformationArgs(\n password=\"********\",\n username=\"username\",\n ),\n data_controller_id=\"dataControllerId\",\n k8s_raw={\n \"apiVersion\": \"apiVersion\",\n \"kind\": \"postgresql-12\",\n \"metadata\": {\n \"creationTimestamp\": \"2020-08-25T14:55:10Z\",\n \"generation\": 1,\n \"name\": \"pg1\",\n \"namespace\": \"test\",\n \"resourceVersion\": \"527780\",\n \"selfLink\": \"/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\",\n \"uid\": \"1111aaaa-ffff-ffff-ffff-99999aaaaaaa\",\n },\n \"spec\": {\n \"backups\": {\n \"deltaMinutes\": 3,\n \"fullMinutes\": 10,\n \"tiers\": [{\n \"retention\": {\n \"maximums\": [\n \"6\",\n \"512MB\",\n ],\n \"minimums\": [\"3\"],\n },\n \"storage\": {\n \"volumeSize\": \"1Gi\",\n },\n }],\n },\n \"engine\": {\n \"extensions\": [{\n \"name\": \"citus\",\n }],\n },\n \"scale\": {\n \"shards\": 3,\n },\n \"scheduling\": {\n \"default\": {\n \"resources\": {\n \"requests\": {\n \"memory\": \"256Mi\",\n },\n },\n },\n },\n \"service\": {\n \"type\": \"NodePort\",\n },\n \"storage\": {\n \"data\": {\n \"className\": \"local-storage\",\n \"size\": \"5Gi\",\n },\n \"logs\": {\n \"className\": \"local-storage\",\n \"size\": \"5Gi\",\n },\n },\n },\n \"status\": {\n \"externalEndpoint\": None,\n \"readyPods\": \"4/4\",\n \"state\": \"Ready\",\n },\n },\n ),\n resource_group_name=\"testrg\",\n sku=azure_native.azurearcdata.PostgresInstanceSkuResponseArgs(\n dev=True,\n name=\"default\",\n tier=azure_native.azurearcdata.PostgresInstanceSkuTier.HYPERSCALE,\n ))\n\n```\n\n```yaml\nresources:\n postgresInstance:\n type: azure-native:azurearcdata:PostgresInstance\n properties:\n extendedLocation:\n name: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation\n type: CustomLocation\n location: eastus\n postgresInstanceName: testpostgresInstance\n properties:\n admin: admin\n basicLoginInformation:\n password: '********'\n username: username\n dataControllerId: dataControllerId\n k8sRaw:\n apiVersion: apiVersion\n kind: postgresql-12\n metadata:\n creationTimestamp: 2020-08-25T14:55:10Z\n generation: 1\n name: pg1\n namespace: test\n resourceVersion: '527780'\n selfLink: /apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1\n uid: 1111aaaa-ffff-ffff-ffff-99999aaaaaaa\n spec:\n backups:\n deltaMinutes: 3\n fullMinutes: 10\n tiers:\n - retention:\n maximums:\n - '6'\n - 512MB\n minimums:\n - '3'\n storage:\n volumeSize: 1Gi\n engine:\n extensions:\n - name: citus\n scale:\n shards: 3\n scheduling:\n default:\n resources:\n requests:\n memory: 256Mi\n service:\n type: NodePort\n storage:\n data:\n className: local-storage\n size: 5Gi\n logs:\n className: local-storage\n size: 5Gi\n status:\n externalEndpoint: null\n readyPods: 4/4\n state: Ready\n resourceGroupName: testrg\n sku:\n dev: true\n name: default\n tier: Hyperscale\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:azurearcdata:PostgresInstance testpostgresInstance /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance \n```\n",
"properties": {
"extendedLocation": {
"type": "object",
@@ -344410,7 +345056,7 @@
]
},
"azure-native:cdn:OriginGroup": {
- "description": "Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.\nAPI Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### OriginGroups_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var originGroup = new AzureNative.Cdn.OriginGroup(\"originGroup\", new()\n {\n EndpointName = \"endpoint1\",\n HealthProbeSettings = new AzureNative.Cdn.Inputs.HealthProbeParametersArgs\n {\n ProbeIntervalInSeconds = 120,\n ProbePath = \"/health.aspx\",\n ProbeProtocol = AzureNative.Cdn.ProbeProtocol.Http,\n ProbeRequestType = AzureNative.Cdn.HealthProbeRequestType.GET,\n },\n OriginGroupName = \"origingroup1\",\n Origins = new[]\n {\n new AzureNative.Cdn.Inputs.ResourceReferenceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n },\n },\n ProfileName = \"profile1\",\n ResourceGroupName = \"RG\",\n ResponseBasedOriginErrorDetectionSettings = new AzureNative.Cdn.Inputs.ResponseBasedOriginErrorDetectionParametersArgs\n {\n ResponseBasedDetectedErrorTypes = AzureNative.Cdn.ResponseBasedDetectedErrorTypes.TcpErrorsOnly,\n ResponseBasedFailoverThresholdPercentage = 10,\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tcdn \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/cdn\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cdn.NewOriginGroup(ctx, \"originGroup\", \u0026cdn.OriginGroupArgs{\n\t\t\tEndpointName: pulumi.String(\"endpoint1\"),\n\t\t\tHealthProbeSettings: \u0026cdn.HealthProbeParametersArgs{\n\t\t\t\tProbeIntervalInSeconds: pulumi.Int(120),\n\t\t\t\tProbePath: pulumi.String(\"/health.aspx\"),\n\t\t\t\tProbeProtocol: cdn.ProbeProtocolHttp,\n\t\t\t\tProbeRequestType: cdn.HealthProbeRequestTypeGET,\n\t\t\t},\n\t\t\tOriginGroupName: pulumi.String(\"origingroup1\"),\n\t\t\tOrigins: cdn.ResourceReferenceArray{\n\t\t\t\t\u0026cdn.ResourceReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProfileName: pulumi.String(\"profile1\"),\n\t\t\tResourceGroupName: pulumi.String(\"RG\"),\n\t\t\tResponseBasedOriginErrorDetectionSettings: \u0026cdn.ResponseBasedOriginErrorDetectionParametersArgs{\n\t\t\t\tResponseBasedDetectedErrorTypes: cdn.ResponseBasedDetectedErrorTypesTcpErrorsOnly,\n\t\t\t\tResponseBasedFailoverThresholdPercentage: pulumi.Int(10),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.cdn.OriginGroup;\nimport com.pulumi.azurenative.cdn.OriginGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var originGroup = new OriginGroup(\"originGroup\", OriginGroupArgs.builder() \n .endpointName(\"endpoint1\")\n .healthProbeSettings(Map.ofEntries(\n Map.entry(\"probeIntervalInSeconds\", 120),\n Map.entry(\"probePath\", \"/health.aspx\"),\n Map.entry(\"probeProtocol\", \"Http\"),\n Map.entry(\"probeRequestType\", \"GET\")\n ))\n .originGroupName(\"origingroup1\")\n .origins(Map.of(\"id\", \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\"))\n .profileName(\"profile1\")\n .resourceGroupName(\"RG\")\n .responseBasedOriginErrorDetectionSettings(Map.ofEntries(\n Map.entry(\"responseBasedDetectedErrorTypes\", \"TcpErrorsOnly\"),\n Map.entry(\"responseBasedFailoverThresholdPercentage\", 10)\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst originGroup = new azure_native.cdn.OriginGroup(\"originGroup\", {\n endpointName: \"endpoint1\",\n healthProbeSettings: {\n probeIntervalInSeconds: 120,\n probePath: \"/health.aspx\",\n probeProtocol: azure_native.cdn.ProbeProtocol.Http,\n probeRequestType: azure_native.cdn.HealthProbeRequestType.GET,\n },\n originGroupName: \"origingroup1\",\n origins: [{\n id: \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n }],\n profileName: \"profile1\",\n resourceGroupName: \"RG\",\n responseBasedOriginErrorDetectionSettings: {\n responseBasedDetectedErrorTypes: azure_native.cdn.ResponseBasedDetectedErrorTypes.TcpErrorsOnly,\n responseBasedFailoverThresholdPercentage: 10,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\norigin_group = azure_native.cdn.OriginGroup(\"originGroup\",\n endpoint_name=\"endpoint1\",\n health_probe_settings=azure_native.cdn.HealthProbeParametersArgs(\n probe_interval_in_seconds=120,\n probe_path=\"/health.aspx\",\n probe_protocol=azure_native.cdn.ProbeProtocol.HTTP,\n probe_request_type=azure_native.cdn.HealthProbeRequestType.GET,\n ),\n origin_group_name=\"origingroup1\",\n origins=[azure_native.cdn.ResourceReferenceArgs(\n id=\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n )],\n profile_name=\"profile1\",\n resource_group_name=\"RG\",\n response_based_origin_error_detection_settings=azure_native.cdn.ResponseBasedOriginErrorDetectionParametersArgs(\n response_based_detected_error_types=azure_native.cdn.ResponseBasedDetectedErrorTypes.TCP_ERRORS_ONLY,\n response_based_failover_threshold_percentage=10,\n ))\n\n```\n\n```yaml\nresources:\n originGroup:\n type: azure-native:cdn:OriginGroup\n properties:\n endpointName: endpoint1\n healthProbeSettings:\n probeIntervalInSeconds: 120\n probePath: /health.aspx\n probeProtocol: Http\n probeRequestType: GET\n originGroupName: origingroup1\n origins:\n - id: /subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\n profileName: profile1\n resourceGroupName: RG\n responseBasedOriginErrorDetectionSettings:\n responseBasedDetectedErrorTypes: TcpErrorsOnly\n responseBasedFailoverThresholdPercentage: 10\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:cdn:OriginGroup origingroup1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1 \n```\n",
+ "description": "Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.\nAPI Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### OriginGroups_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var originGroup = new AzureNative.Cdn.OriginGroup(\"originGroup\", new()\n {\n EndpointName = \"endpoint1\",\n HealthProbeSettings = new AzureNative.Cdn.Inputs.HealthProbeParametersArgs\n {\n ProbeIntervalInSeconds = 120,\n ProbePath = \"/health.aspx\",\n ProbeProtocol = AzureNative.Cdn.ProbeProtocol.Http,\n ProbeRequestType = AzureNative.Cdn.HealthProbeRequestType.GET,\n },\n OriginGroupName = \"origingroup1\",\n Origins = new[]\n {\n new AzureNative.Cdn.Inputs.ResourceReferenceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n },\n },\n ProfileName = \"profile1\",\n ResourceGroupName = \"RG\",\n ResponseBasedOriginErrorDetectionSettings = new AzureNative.Cdn.Inputs.ResponseBasedOriginErrorDetectionParametersArgs\n {\n ResponseBasedDetectedErrorTypes = AzureNative.Cdn.ResponseBasedDetectedErrorTypes.TcpErrorsOnly,\n ResponseBasedFailoverThresholdPercentage = 10,\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tcdn \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/cdn\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cdn.NewOriginGroup(ctx, \"originGroup\", \u0026cdn.OriginGroupArgs{\n\t\t\tEndpointName: pulumi.String(\"endpoint1\"),\n\t\t\tHealthProbeSettings: \u0026cdn.HealthProbeParametersArgs{\n\t\t\t\tProbeIntervalInSeconds: pulumi.Int(120),\n\t\t\t\tProbePath: pulumi.String(\"/health.aspx\"),\n\t\t\t\tProbeProtocol: cdn.ProbeProtocolHttp,\n\t\t\t\tProbeRequestType: cdn.HealthProbeRequestTypeGET,\n\t\t\t},\n\t\t\tOriginGroupName: pulumi.String(\"origingroup1\"),\n\t\t\tOrigins: cdn.ResourceReferenceArray{\n\t\t\t\t\u0026cdn.ResourceReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProfileName: pulumi.String(\"profile1\"),\n\t\t\tResourceGroupName: pulumi.String(\"RG\"),\n\t\t\tResponseBasedOriginErrorDetectionSettings: \u0026cdn.ResponseBasedOriginErrorDetectionParametersArgs{\n\t\t\t\tResponseBasedDetectedErrorTypes: cdn.ResponseBasedDetectedErrorTypesTcpErrorsOnly,\n\t\t\t\tResponseBasedFailoverThresholdPercentage: pulumi.Int(10),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.cdn.OriginGroup;\nimport com.pulumi.azurenative.cdn.OriginGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var originGroup = new OriginGroup(\"originGroup\", OriginGroupArgs.builder() \n .endpointName(\"endpoint1\")\n .healthProbeSettings(Map.ofEntries(\n Map.entry(\"probeIntervalInSeconds\", 120),\n Map.entry(\"probePath\", \"/health.aspx\"),\n Map.entry(\"probeProtocol\", \"Http\"),\n Map.entry(\"probeRequestType\", \"GET\")\n ))\n .originGroupName(\"origingroup1\")\n .origins(Map.of(\"id\", \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\"))\n .profileName(\"profile1\")\n .resourceGroupName(\"RG\")\n .responseBasedOriginErrorDetectionSettings(Map.ofEntries(\n Map.entry(\"responseBasedDetectedErrorTypes\", \"TcpErrorsOnly\"),\n Map.entry(\"responseBasedFailoverThresholdPercentage\", 10)\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst originGroup = new azure_native.cdn.OriginGroup(\"originGroup\", {\n endpointName: \"endpoint1\",\n healthProbeSettings: {\n probeIntervalInSeconds: 120,\n probePath: \"/health.aspx\",\n probeProtocol: azure_native.cdn.ProbeProtocol.Http,\n probeRequestType: azure_native.cdn.HealthProbeRequestType.GET,\n },\n originGroupName: \"origingroup1\",\n origins: [{\n id: \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n }],\n profileName: \"profile1\",\n resourceGroupName: \"RG\",\n responseBasedOriginErrorDetectionSettings: {\n responseBasedDetectedErrorTypes: azure_native.cdn.ResponseBasedDetectedErrorTypes.TcpErrorsOnly,\n responseBasedFailoverThresholdPercentage: 10,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\norigin_group = azure_native.cdn.OriginGroup(\"originGroup\",\n endpoint_name=\"endpoint1\",\n health_probe_settings=azure_native.cdn.HealthProbeParametersArgs(\n probe_interval_in_seconds=120,\n probe_path=\"/health.aspx\",\n probe_protocol=azure_native.cdn.ProbeProtocol.HTTP,\n probe_request_type=azure_native.cdn.HealthProbeRequestType.GET,\n ),\n origin_group_name=\"origingroup1\",\n origins=[azure_native.cdn.ResourceReferenceArgs(\n id=\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n )],\n profile_name=\"profile1\",\n resource_group_name=\"RG\",\n response_based_origin_error_detection_settings=azure_native.cdn.ResponseBasedOriginErrorDetectionParametersArgs(\n response_based_detected_error_types=azure_native.cdn.ResponseBasedDetectedErrorTypes.TCP_ERRORS_ONLY,\n response_based_failover_threshold_percentage=10,\n ))\n\n```\n\n```yaml\nresources:\n originGroup:\n type: azure-native:cdn:OriginGroup\n properties:\n endpointName: endpoint1\n healthProbeSettings:\n probeIntervalInSeconds: 120\n probePath: /health.aspx\n probeProtocol: Http\n probeRequestType: GET\n originGroupName: origingroup1\n origins:\n - id: /subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\n profileName: profile1\n resourceGroupName: RG\n responseBasedOriginErrorDetectionSettings:\n responseBasedDetectedErrorTypes: TcpErrorsOnly\n responseBasedFailoverThresholdPercentage: 10\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:cdn:OriginGroup originGroup1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1 \n```\n",
"properties": {
"healthProbeSettings": {
"type": "object",
@@ -353589,7 +354235,7 @@
]
},
"azure-native:connectedvmwarevsphere:VirtualMachineTemplate": {
- "description": "Define the virtualMachineTemplate.\nAPI Version: 2020-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateVirtualMachineTemplate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineTemplate = new AzureNative.ConnectedVMwarevSphere.VirtualMachineTemplate(\"virtualMachineTemplate\", new()\n {\n ExtendedLocation = new AzureNative.ConnectedVMwarevSphere.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\",\n Type = \"customLocation\",\n },\n Location = \"East US\",\n MoRefId = \"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n ResourceGroupName = \"testrg\",\n VCenterId = \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\",\n VirtualMachineTemplateName = \"WebFrontEndTemplate\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tconnectedvmwarevsphere \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/connectedvmwarevsphere\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := connectedvmwarevsphere.NewVirtualMachineTemplate(ctx, \"virtualMachineTemplate\", \u0026connectedvmwarevsphere.VirtualMachineTemplateArgs{\n\t\t\tExtendedLocation: \u0026connectedvmwarevsphere.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\"),\n\t\t\t\tType: pulumi.String(\"customLocation\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"East US\"),\n\t\t\tMoRefId: pulumi.String(\"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\"),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tVCenterId: pulumi.String(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\"),\n\t\t\tVirtualMachineTemplateName: pulumi.String(\"WebFrontEndTemplate\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.connectedvmwarevsphere.VirtualMachineTemplate;\nimport com.pulumi.azurenative.connectedvmwarevsphere.VirtualMachineTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachineTemplate = new VirtualMachineTemplate(\"virtualMachineTemplate\", VirtualMachineTemplateArgs.builder() \n .extendedLocation(Map.ofEntries(\n Map.entry(\"name\", \"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\"),\n Map.entry(\"type\", \"customLocation\")\n ))\n .location(\"East US\")\n .moRefId(\"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\")\n .resourceGroupName(\"testrg\")\n .vCenterId(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\")\n .virtualMachineTemplateName(\"WebFrontEndTemplate\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachineTemplate = new azure_native.connectedvmwarevsphere.VirtualMachineTemplate(\"virtualMachineTemplate\", {\n extendedLocation: {\n name: \"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\",\n type: \"customLocation\",\n },\n location: \"East US\",\n moRefId: \"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n resourceGroupName: \"testrg\",\n vCenterId: \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\",\n virtualMachineTemplateName: \"WebFrontEndTemplate\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_template = azure_native.connectedvmwarevsphere.VirtualMachineTemplate(\"virtualMachineTemplate\",\n extended_location=azure_native.connectedvmwarevsphere.ExtendedLocationArgs(\n name=\"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\",\n type=\"customLocation\",\n ),\n location=\"East US\",\n mo_ref_id=\"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n resource_group_name=\"testrg\",\n v_center_id=\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\",\n virtual_machine_template_name=\"WebFrontEndTemplate\")\n\n```\n\n```yaml\nresources:\n virtualMachineTemplate:\n type: azure-native:connectedvmwarevsphere:VirtualMachineTemplate\n properties:\n extendedLocation:\n name: /subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\n type: customLocation\n location: East US\n moRefId: aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\n resourceGroupName: testrg\n vCenterId: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\n virtualMachineTemplateName: WebFrontEndTemplate\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:connectedvmwarevsphere:VirtualMachineTemplate WebFrontEndTemplate /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VirtualMachineTemplates/WebFrontEndTemplate \n```\n",
+ "description": "Define the virtualMachineTemplate.\nAPI Version: 2020-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateVirtualMachineTemplate\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineTemplate = new AzureNative.ConnectedVMwarevSphere.VirtualMachineTemplate(\"virtualMachineTemplate\", new()\n {\n ExtendedLocation = new AzureNative.ConnectedVMwarevSphere.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\",\n Type = \"customLocation\",\n },\n Location = \"East US\",\n MoRefId = \"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n ResourceGroupName = \"testrg\",\n VCenterId = \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\",\n VirtualMachineTemplateName = \"WebFrontEndTemplate\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tconnectedvmwarevsphere \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/connectedvmwarevsphere\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := connectedvmwarevsphere.NewVirtualMachineTemplate(ctx, \"virtualMachineTemplate\", \u0026connectedvmwarevsphere.VirtualMachineTemplateArgs{\n\t\t\tExtendedLocation: \u0026connectedvmwarevsphere.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\"),\n\t\t\t\tType: pulumi.String(\"customLocation\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"East US\"),\n\t\t\tMoRefId: pulumi.String(\"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\"),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tVCenterId: pulumi.String(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\"),\n\t\t\tVirtualMachineTemplateName: pulumi.String(\"WebFrontEndTemplate\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.connectedvmwarevsphere.VirtualMachineTemplate;\nimport com.pulumi.azurenative.connectedvmwarevsphere.VirtualMachineTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachineTemplate = new VirtualMachineTemplate(\"virtualMachineTemplate\", VirtualMachineTemplateArgs.builder() \n .extendedLocation(Map.ofEntries(\n Map.entry(\"name\", \"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\"),\n Map.entry(\"type\", \"customLocation\")\n ))\n .location(\"East US\")\n .moRefId(\"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\")\n .resourceGroupName(\"testrg\")\n .vCenterId(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\")\n .virtualMachineTemplateName(\"WebFrontEndTemplate\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachineTemplate = new azure_native.connectedvmwarevsphere.VirtualMachineTemplate(\"virtualMachineTemplate\", {\n extendedLocation: {\n name: \"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\",\n type: \"customLocation\",\n },\n location: \"East US\",\n moRefId: \"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n resourceGroupName: \"testrg\",\n vCenterId: \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\",\n virtualMachineTemplateName: \"WebFrontEndTemplate\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_template = azure_native.connectedvmwarevsphere.VirtualMachineTemplate(\"virtualMachineTemplate\",\n extended_location=azure_native.connectedvmwarevsphere.ExtendedLocationArgs(\n name=\"/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\",\n type=\"customLocation\",\n ),\n location=\"East US\",\n mo_ref_id=\"aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n resource_group_name=\"testrg\",\n v_center_id=\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\",\n virtual_machine_template_name=\"WebFrontEndTemplate\")\n\n```\n\n```yaml\nresources:\n virtualMachineTemplate:\n type: azure-native:connectedvmwarevsphere:VirtualMachineTemplate\n properties:\n extendedLocation:\n name: /subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso\n type: customLocation\n location: East US\n moRefId: aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\n resourceGroupName: testrg\n vCenterId: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter\n virtualMachineTemplateName: WebFrontEndTemplate\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:connectedvmwarevsphere:VirtualMachineTemplate ContosoAgent /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VirtualMachineTemplates/ContosoAgent \n```\n",
"properties": {
"customResourceName": {
"type": "string",
@@ -373629,7 +374275,7 @@
]
},
"azure-native:datashare:KustoDatabaseDataSetMapping": {
- "description": "A Kusto database data set mapping\nAPI Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### DataSetMappings_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDB_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDWDataSetToAdlsGen2File_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDW_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SynapseWorkspaceSqlPoolTable_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"consumerAccount\",\n DataSetMappingName = \"datasetMappingName1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"consumerAccount\"),\n\t\t\tDataSetMappingName: pulumi.String(\"datasetMappingName1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"consumerAccount\")\n .dataSetMappingName(\"datasetMappingName1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"consumerAccount\",\n dataSetMappingName: \"datasetMappingName1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"consumerAccount\",\n data_set_mapping_name=\"datasetMappingName1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: consumerAccount\n dataSetMappingName: datasetMappingName1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:datashare:KustoDatabaseDataSetMapping datasetMappingName1 /subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/ShareSubscription1/dataSetMappings/datasetMappingName1 \n```\n",
+ "description": "A Kusto database data set mapping\nAPI Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### DataSetMappings_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDB_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDWDataSetToAdlsGen2File_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDW_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SynapseWorkspaceSqlPoolTable_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kustoDatabaseDataSetMapping = new AzureNative.DataShare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", new()\n {\n AccountName = \"consumerAccount\",\n DataSetMappingName = \"datasetMappingName1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewKustoDatabaseDataSetMapping(ctx, \"kustoDatabaseDataSetMapping\", \u0026datashare.KustoDatabaseDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"consumerAccount\"),\n\t\t\tDataSetMappingName: pulumi.String(\"datasetMappingName1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMapping;\nimport com.pulumi.azurenative.datashare.KustoDatabaseDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kustoDatabaseDataSetMapping = new KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", KustoDatabaseDataSetMappingArgs.builder() \n .accountName(\"consumerAccount\")\n .dataSetMappingName(\"datasetMappingName1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst kustoDatabaseDataSetMapping = new azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\", {\n accountName: \"consumerAccount\",\n dataSetMappingName: \"datasetMappingName1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkusto_database_data_set_mapping = azure_native.datashare.KustoDatabaseDataSetMapping(\"kustoDatabaseDataSetMapping\",\n account_name=\"consumerAccount\",\n data_set_mapping_name=\"datasetMappingName1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n kustoDatabaseDataSetMapping:\n type: azure-native:datashare:KustoDatabaseDataSetMapping\n properties:\n accountName: consumerAccount\n dataSetMappingName: datasetMappingName1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:datashare:KustoDatabaseDataSetMapping datasetMappingName /subscriptions/4e745bb7-c420-479b-b0d6-a0f92d48a227/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/ShareSubscription1/dataSetMappings/datasetMappingName1 \n```\n",
"properties": {
"dataSetId": {
"type": "string",
@@ -374858,7 +375504,7 @@
]
},
"azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping": {
- "description": "A Synapse Workspace Sql Pool Table data set mapping\nAPI Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### DataSetMappings_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDB_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDWDataSetToAdlsGen2File_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDW_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SynapseWorkspaceSqlPoolTable_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"consumerAccount\",\n DataSetId = \"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\",\n DataSetMappingName = \"datasetMappingName1\",\n Kind = \"SynapseWorkspaceSqlPoolTable\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n SynapseWorkspaceSqlPoolTableResourceId = \"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"consumerAccount\"),\n\t\t\tDataSetId: pulumi.String(\"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\"),\n\t\t\tDataSetMappingName: pulumi.String(\"datasetMappingName1\"),\n\t\t\tKind: pulumi.String(\"SynapseWorkspaceSqlPoolTable\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\n\t\t\tSynapseWorkspaceSqlPoolTableResourceId: pulumi.String(\"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"consumerAccount\")\n .dataSetId(\"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\")\n .dataSetMappingName(\"datasetMappingName1\")\n .kind(\"SynapseWorkspaceSqlPoolTable\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .synapseWorkspaceSqlPoolTableResourceId(\"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"consumerAccount\",\n dataSetId: \"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\",\n dataSetMappingName: \"datasetMappingName1\",\n kind: \"SynapseWorkspaceSqlPoolTable\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n synapseWorkspaceSqlPoolTableResourceId: \"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"consumerAccount\",\n data_set_id=\"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\",\n data_set_mapping_name=\"datasetMappingName1\",\n kind=\"SynapseWorkspaceSqlPoolTable\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\",\n synapse_workspace_sql_pool_table_resource_id=\"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: consumerAccount\n dataSetId: 3dc64e49-1fc3-4186-b3dc-d388c4d3076a\n dataSetMappingName: datasetMappingName1\n kind: SynapseWorkspaceSqlPoolTable\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n synapseWorkspaceSqlPoolTableResourceId: /subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping datasetMappingName1 /subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/ShareSubscription1/dataSetMappings/datasetMappingName1 \n```\n",
+ "description": "A Synapse Workspace Sql Pool Table data set mapping\nAPI Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### DataSetMappings_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDB_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDWDataSetToAdlsGen2File_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SqlDW_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"Account1\",\n DataSetMappingName = \"DatasetMapping1\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"Account1\"),\n\t\t\tDataSetMappingName: pulumi.String(\"DatasetMapping1\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"Account1\")\n .dataSetMappingName(\"DatasetMapping1\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"Account1\",\n dataSetMappingName: \"DatasetMapping1\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"Account1\",\n data_set_mapping_name=\"DatasetMapping1\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: Account1\n dataSetMappingName: DatasetMapping1\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### DataSetMappings_SynapseWorkspaceSqlPoolTable_Create\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var synapseWorkspaceSqlPoolTableDataSetMapping = new AzureNative.DataShare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", new()\n {\n AccountName = \"consumerAccount\",\n DataSetId = \"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\",\n DataSetMappingName = \"datasetMappingName1\",\n Kind = \"SynapseWorkspaceSqlPoolTable\",\n ResourceGroupName = \"SampleResourceGroup\",\n ShareSubscriptionName = \"ShareSubscription1\",\n SynapseWorkspaceSqlPoolTableResourceId = \"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatashare \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datashare.NewSynapseWorkspaceSqlPoolTableDataSetMapping(ctx, \"synapseWorkspaceSqlPoolTableDataSetMapping\", \u0026datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs{\n\t\t\tAccountName: pulumi.String(\"consumerAccount\"),\n\t\t\tDataSetId: pulumi.String(\"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\"),\n\t\t\tDataSetMappingName: pulumi.String(\"datasetMappingName1\"),\n\t\t\tKind: pulumi.String(\"SynapseWorkspaceSqlPoolTable\"),\n\t\t\tResourceGroupName: pulumi.String(\"SampleResourceGroup\"),\n\t\t\tShareSubscriptionName: pulumi.String(\"ShareSubscription1\"),\n\t\t\tSynapseWorkspaceSqlPoolTableResourceId: pulumi.String(\"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping;\nimport com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var synapseWorkspaceSqlPoolTableDataSetMapping = new SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", SynapseWorkspaceSqlPoolTableDataSetMappingArgs.builder() \n .accountName(\"consumerAccount\")\n .dataSetId(\"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\")\n .dataSetMappingName(\"datasetMappingName1\")\n .kind(\"SynapseWorkspaceSqlPoolTable\")\n .resourceGroupName(\"SampleResourceGroup\")\n .shareSubscriptionName(\"ShareSubscription1\")\n .synapseWorkspaceSqlPoolTableResourceId(\"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst synapseWorkspaceSqlPoolTableDataSetMapping = new azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\", {\n accountName: \"consumerAccount\",\n dataSetId: \"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\",\n dataSetMappingName: \"datasetMappingName1\",\n kind: \"SynapseWorkspaceSqlPoolTable\",\n resourceGroupName: \"SampleResourceGroup\",\n shareSubscriptionName: \"ShareSubscription1\",\n synapseWorkspaceSqlPoolTableResourceId: \"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsynapse_workspace_sql_pool_table_data_set_mapping = azure_native.datashare.SynapseWorkspaceSqlPoolTableDataSetMapping(\"synapseWorkspaceSqlPoolTableDataSetMapping\",\n account_name=\"consumerAccount\",\n data_set_id=\"3dc64e49-1fc3-4186-b3dc-d388c4d3076a\",\n data_set_mapping_name=\"datasetMappingName1\",\n kind=\"SynapseWorkspaceSqlPoolTable\",\n resource_group_name=\"SampleResourceGroup\",\n share_subscription_name=\"ShareSubscription1\",\n synapse_workspace_sql_pool_table_resource_id=\"/subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\")\n\n```\n\n```yaml\nresources:\n synapseWorkspaceSqlPoolTableDataSetMapping:\n type: azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping\n properties:\n accountName: consumerAccount\n dataSetId: 3dc64e49-1fc3-4186-b3dc-d388c4d3076a\n dataSetMappingName: datasetMappingName1\n kind: SynapseWorkspaceSqlPoolTable\n resourceGroupName: SampleResourceGroup\n shareSubscriptionName: ShareSubscription1\n synapseWorkspaceSqlPoolTableResourceId: /subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/schemas/dbo/tables/table1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:datashare:SynapseWorkspaceSqlPoolTableDataSetMapping datasetMappingName /subscriptions/4e745bb7-c420-479b-b0d6-a0f92d48a227/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/ShareSubscription1/dataSetMappings/datasetMappingName1 \n```\n",
"properties": {
"dataSetId": {
"type": "string",
@@ -403327,7 +403973,7 @@
]
},
"azure-native:insights:guestDiagnosticsSetting": {
- "description": "Virtual machine guest diagnostics settings resource.\nAPI Version: 2018-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a guest diagnostic settings\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var guestDiagnosticsSetting = new AzureNative.Insights.GuestDiagnosticsSetting(\"guestDiagnosticsSetting\", new()\n {\n DataSources = new[]\n {\n new AzureNative.Insights.Inputs.DataSourceArgs\n {\n Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs\n {\n PerfCounters = new[]\n {\n new AzureNative.Insights.Inputs.PerformanceCounterConfigurationArgs\n {\n Name = \"\\\\Process(_Total)\\\\%Processor Time\",\n SamplingPeriod = \"PT1M\",\n },\n new AzureNative.Insights.Inputs.PerformanceCounterConfigurationArgs\n {\n Name = \"\\\\Process(_Total)\\\\Working Set\",\n SamplingPeriod = \"PT1M\",\n },\n },\n },\n Kind = \"PerformanceCounter\",\n Sinks = new[]\n {\n new AzureNative.Insights.Inputs.SinkConfigurationArgs\n {\n Kind = \"LogAnalytics\",\n },\n },\n },\n new AzureNative.Insights.Inputs.DataSourceArgs\n {\n Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs\n {\n Providers = new[]\n {\n new AzureNative.Insights.Inputs.EtwProviderConfigurationArgs\n {\n Id = \"1\",\n },\n new AzureNative.Insights.Inputs.EtwProviderConfigurationArgs\n {\n Id = \"2\",\n },\n },\n },\n Kind = \"ETWProviders\",\n Sinks = new[]\n {\n new AzureNative.Insights.Inputs.SinkConfigurationArgs\n {\n Kind = \"LogAnalytics\",\n },\n },\n },\n new AzureNative.Insights.Inputs.DataSourceArgs\n {\n Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs\n {\n EventLogs = new[]\n {\n new AzureNative.Insights.Inputs.EventLogConfigurationArgs\n {\n Filter = \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"CatWoman\\\"\",\n LogName = \"Application\",\n },\n new AzureNative.Insights.Inputs.EventLogConfigurationArgs\n {\n Filter = \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"BatMan\\\"\",\n LogName = \"Application\",\n },\n },\n },\n Kind = \"WindowsEventLogs\",\n Sinks = new[]\n {\n new AzureNative.Insights.Inputs.SinkConfigurationArgs\n {\n Kind = \"LogAnalytics\",\n },\n },\n },\n },\n DiagnosticSettingsName = \"SampleDiagSetting\",\n Location = \"Global\",\n OsType = \"Windows\",\n ResourceGroupName = \"Default-ResourceGroup\",\n Tags = null,\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.insights.guestDiagnosticsSetting;\nimport com.pulumi.azurenative.insights.GuestDiagnosticsSettingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var guestDiagnosticsSetting = new GuestDiagnosticsSetting(\"guestDiagnosticsSetting\", GuestDiagnosticsSettingArgs.builder() \n .dataSources( \n Map.ofEntries(\n Map.entry(\"configuration\", Map.of(\"perfCounters\", \n Map.ofEntries(\n Map.entry(\"name\", \"\\\\Process(_Total)\\\\%Processor Time\"),\n Map.entry(\"samplingPeriod\", \"PT1M\")\n ),\n Map.ofEntries(\n Map.entry(\"name\", \"\\\\Process(_Total)\\\\Working Set\"),\n Map.entry(\"samplingPeriod\", \"PT1M\")\n ))),\n Map.entry(\"kind\", \"PerformanceCounter\"),\n Map.entry(\"sinks\", Map.of(\"kind\", \"LogAnalytics\"))\n ),\n Map.ofEntries(\n Map.entry(\"configuration\", Map.of(\"providers\", \n Map.of(\"id\", \"1\"),\n Map.of(\"id\", \"2\"))),\n Map.entry(\"kind\", \"ETWProviders\"),\n Map.entry(\"sinks\", Map.of(\"kind\", \"LogAnalytics\"))\n ),\n Map.ofEntries(\n Map.entry(\"configuration\", Map.of(\"eventLogs\", \n Map.ofEntries(\n Map.entry(\"filter\", \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"CatWoman\\\"\"),\n Map.entry(\"logName\", \"Application\")\n ),\n Map.ofEntries(\n Map.entry(\"filter\", \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"BatMan\\\"\"),\n Map.entry(\"logName\", \"Application\")\n ))),\n Map.entry(\"kind\", \"WindowsEventLogs\"),\n Map.entry(\"sinks\", Map.of(\"kind\", \"LogAnalytics\"))\n ))\n .diagnosticSettingsName(\"SampleDiagSetting\")\n .location(\"Global\")\n .osType(\"Windows\")\n .resourceGroupName(\"Default-ResourceGroup\")\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst guestDiagnosticsSetting = new azure_native.insights.GuestDiagnosticsSetting(\"guestDiagnosticsSetting\", {\n dataSources: [\n {\n configuration: {\n perfCounters: [\n {\n name: `\\Process(_Total)\\%Processor Time`,\n samplingPeriod: \"PT1M\",\n },\n {\n name: \"\\\\Process(_Total)\\\\Working Set\",\n samplingPeriod: \"PT1M\",\n },\n ],\n },\n kind: \"PerformanceCounter\",\n sinks: [{\n kind: \"LogAnalytics\",\n }],\n },\n {\n configuration: {\n providers: [\n {\n id: \"1\",\n },\n {\n id: \"2\",\n },\n ],\n },\n kind: \"ETWProviders\",\n sinks: [{\n kind: \"LogAnalytics\",\n }],\n },\n {\n configuration: {\n eventLogs: [\n {\n filter: `SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"`,\n logName: \"Application\",\n },\n {\n filter: `SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"`,\n logName: \"Application\",\n },\n ],\n },\n kind: \"WindowsEventLogs\",\n sinks: [{\n kind: \"LogAnalytics\",\n }],\n },\n ],\n diagnosticSettingsName: \"SampleDiagSetting\",\n location: \"Global\",\n osType: \"Windows\",\n resourceGroupName: \"Default-ResourceGroup\",\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nguest_diagnostics_setting = azure_native.insights.GuestDiagnosticsSetting(\"guestDiagnosticsSetting\",\n data_sources=[\n {\n \"configuration\": {\n \"perfCounters\": [\n azure_native.insights.PerformanceCounterConfigurationArgs(\n name=\"\\\\Process(_Total)\\\\%Processor Time\",\n sampling_period=\"PT1M\",\n ),\n azure_native.insights.PerformanceCounterConfigurationArgs(\n name=\"\\\\Process(_Total)\\\\Working Set\",\n sampling_period=\"PT1M\",\n ),\n ],\n },\n \"kind\": \"PerformanceCounter\",\n \"sinks\": [{\n \"kind\": \"LogAnalytics\",\n }],\n },\n {\n \"configuration\": {\n \"providers\": [\n azure_native.insights.EtwProviderConfigurationArgs(\n id=\"1\",\n ),\n azure_native.insights.EtwProviderConfigurationArgs(\n id=\"2\",\n ),\n ],\n },\n \"kind\": \"ETWProviders\",\n \"sinks\": [{\n \"kind\": \"LogAnalytics\",\n }],\n },\n {\n \"configuration\": {\n \"eventLogs\": [\n azure_native.insights.EventLogConfigurationArgs(\n filter=\"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"CatWoman\\\"\",\n log_name=\"Application\",\n ),\n azure_native.insights.EventLogConfigurationArgs(\n filter=\"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"BatMan\\\"\",\n log_name=\"Application\",\n ),\n ],\n },\n \"kind\": \"WindowsEventLogs\",\n \"sinks\": [{\n \"kind\": \"LogAnalytics\",\n }],\n },\n ],\n diagnostic_settings_name=\"SampleDiagSetting\",\n location=\"Global\",\n os_type=\"Windows\",\n resource_group_name=\"Default-ResourceGroup\",\n tags={})\n\n```\n\n```yaml\nresources:\n guestDiagnosticsSetting:\n type: azure-native:insights:guestDiagnosticsSetting\n properties:\n dataSources:\n - configuration:\n perfCounters:\n - name: \\Process(_Total)\\%Processor Time\n samplingPeriod: PT1M\n - name: \\Process(_Total)\\Working Set\n samplingPeriod: PT1M\n kind: PerformanceCounter\n sinks:\n - kind: LogAnalytics\n - configuration:\n providers:\n - id: '1'\n - id: '2'\n kind: ETWProviders\n sinks:\n - kind: LogAnalytics\n - configuration:\n eventLogs:\n - filter: SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"\n logName: Application\n - filter: SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"\n logName: Application\n kind: WindowsEventLogs\n sinks:\n - kind: LogAnalytics\n diagnosticSettingsName: SampleDiagSetting\n location: Global\n osType: Windows\n resourceGroupName: Default-ResourceGroup\n tags: {}\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:insights:guestDiagnosticsSetting SampleDiagSetting /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting \n```\n",
+ "description": "Virtual machine guest diagnostics settings resource.\nAPI Version: 2018-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a guest diagnostic settings\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var guestDiagnosticsSetting = new AzureNative.Insights.GuestDiagnosticsSetting(\"guestDiagnosticsSetting\", new()\n {\n DataSources = new[]\n {\n new AzureNative.Insights.Inputs.DataSourceArgs\n {\n Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs\n {\n PerfCounters = new[]\n {\n new AzureNative.Insights.Inputs.PerformanceCounterConfigurationArgs\n {\n Name = \"\\\\Process(_Total)\\\\%Processor Time\",\n SamplingPeriod = \"PT1M\",\n },\n new AzureNative.Insights.Inputs.PerformanceCounterConfigurationArgs\n {\n Name = \"\\\\Process(_Total)\\\\Working Set\",\n SamplingPeriod = \"PT1M\",\n },\n },\n },\n Kind = \"PerformanceCounter\",\n Sinks = new[]\n {\n new AzureNative.Insights.Inputs.SinkConfigurationArgs\n {\n Kind = \"LogAnalytics\",\n },\n },\n },\n new AzureNative.Insights.Inputs.DataSourceArgs\n {\n Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs\n {\n Providers = new[]\n {\n new AzureNative.Insights.Inputs.EtwProviderConfigurationArgs\n {\n Id = \"1\",\n },\n new AzureNative.Insights.Inputs.EtwProviderConfigurationArgs\n {\n Id = \"2\",\n },\n },\n },\n Kind = \"ETWProviders\",\n Sinks = new[]\n {\n new AzureNative.Insights.Inputs.SinkConfigurationArgs\n {\n Kind = \"LogAnalytics\",\n },\n },\n },\n new AzureNative.Insights.Inputs.DataSourceArgs\n {\n Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs\n {\n EventLogs = new[]\n {\n new AzureNative.Insights.Inputs.EventLogConfigurationArgs\n {\n Filter = \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"CatWoman\\\"\",\n LogName = \"Application\",\n },\n new AzureNative.Insights.Inputs.EventLogConfigurationArgs\n {\n Filter = \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"BatMan\\\"\",\n LogName = \"Application\",\n },\n },\n },\n Kind = \"WindowsEventLogs\",\n Sinks = new[]\n {\n new AzureNative.Insights.Inputs.SinkConfigurationArgs\n {\n Kind = \"LogAnalytics\",\n },\n },\n },\n },\n DiagnosticSettingsName = \"SampleDiagSetting\",\n Location = \"Global\",\n OsType = \"Windows\",\n ResourceGroupName = \"Default-ResourceGroup\",\n Tags = null,\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.insights.guestDiagnosticsSetting;\nimport com.pulumi.azurenative.insights.GuestDiagnosticsSettingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var guestDiagnosticsSetting = new GuestDiagnosticsSetting(\"guestDiagnosticsSetting\", GuestDiagnosticsSettingArgs.builder() \n .dataSources( \n Map.ofEntries(\n Map.entry(\"configuration\", Map.of(\"perfCounters\", \n Map.ofEntries(\n Map.entry(\"name\", \"\\\\Process(_Total)\\\\%Processor Time\"),\n Map.entry(\"samplingPeriod\", \"PT1M\")\n ),\n Map.ofEntries(\n Map.entry(\"name\", \"\\\\Process(_Total)\\\\Working Set\"),\n Map.entry(\"samplingPeriod\", \"PT1M\")\n ))),\n Map.entry(\"kind\", \"PerformanceCounter\"),\n Map.entry(\"sinks\", Map.of(\"kind\", \"LogAnalytics\"))\n ),\n Map.ofEntries(\n Map.entry(\"configuration\", Map.of(\"providers\", \n Map.of(\"id\", \"1\"),\n Map.of(\"id\", \"2\"))),\n Map.entry(\"kind\", \"ETWProviders\"),\n Map.entry(\"sinks\", Map.of(\"kind\", \"LogAnalytics\"))\n ),\n Map.ofEntries(\n Map.entry(\"configuration\", Map.of(\"eventLogs\", \n Map.ofEntries(\n Map.entry(\"filter\", \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"CatWoman\\\"\"),\n Map.entry(\"logName\", \"Application\")\n ),\n Map.ofEntries(\n Map.entry(\"filter\", \"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"BatMan\\\"\"),\n Map.entry(\"logName\", \"Application\")\n ))),\n Map.entry(\"kind\", \"WindowsEventLogs\"),\n Map.entry(\"sinks\", Map.of(\"kind\", \"LogAnalytics\"))\n ))\n .diagnosticSettingsName(\"SampleDiagSetting\")\n .location(\"Global\")\n .osType(\"Windows\")\n .resourceGroupName(\"Default-ResourceGroup\")\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst guestDiagnosticsSetting = new azure_native.insights.GuestDiagnosticsSetting(\"guestDiagnosticsSetting\", {\n dataSources: [\n {\n configuration: {\n perfCounters: [\n {\n name: `\\Process(_Total)\\%Processor Time`,\n samplingPeriod: \"PT1M\",\n },\n {\n name: \"\\\\Process(_Total)\\\\Working Set\",\n samplingPeriod: \"PT1M\",\n },\n ],\n },\n kind: \"PerformanceCounter\",\n sinks: [{\n kind: \"LogAnalytics\",\n }],\n },\n {\n configuration: {\n providers: [\n {\n id: \"1\",\n },\n {\n id: \"2\",\n },\n ],\n },\n kind: \"ETWProviders\",\n sinks: [{\n kind: \"LogAnalytics\",\n }],\n },\n {\n configuration: {\n eventLogs: [\n {\n filter: `SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"`,\n logName: \"Application\",\n },\n {\n filter: `SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"`,\n logName: \"Application\",\n },\n ],\n },\n kind: \"WindowsEventLogs\",\n sinks: [{\n kind: \"LogAnalytics\",\n }],\n },\n ],\n diagnosticSettingsName: \"SampleDiagSetting\",\n location: \"Global\",\n osType: \"Windows\",\n resourceGroupName: \"Default-ResourceGroup\",\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nguest_diagnostics_setting = azure_native.insights.GuestDiagnosticsSetting(\"guestDiagnosticsSetting\",\n data_sources=[\n {\n \"configuration\": {\n \"perfCounters\": [\n azure_native.insights.PerformanceCounterConfigurationArgs(\n name=\"\\\\Process(_Total)\\\\%Processor Time\",\n sampling_period=\"PT1M\",\n ),\n azure_native.insights.PerformanceCounterConfigurationArgs(\n name=\"\\\\Process(_Total)\\\\Working Set\",\n sampling_period=\"PT1M\",\n ),\n ],\n },\n \"kind\": \"PerformanceCounter\",\n \"sinks\": [{\n \"kind\": \"LogAnalytics\",\n }],\n },\n {\n \"configuration\": {\n \"providers\": [\n azure_native.insights.EtwProviderConfigurationArgs(\n id=\"1\",\n ),\n azure_native.insights.EtwProviderConfigurationArgs(\n id=\"2\",\n ),\n ],\n },\n \"kind\": \"ETWProviders\",\n \"sinks\": [{\n \"kind\": \"LogAnalytics\",\n }],\n },\n {\n \"configuration\": {\n \"eventLogs\": [\n azure_native.insights.EventLogConfigurationArgs(\n filter=\"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"CatWoman\\\"\",\n log_name=\"Application\",\n ),\n azure_native.insights.EventLogConfigurationArgs(\n filter=\"SourceName == Xyz AND EventId = \\\"100\\\" AND $Xpath/Column=\\\"DCName\\\" = \\\"BatMan\\\"\",\n log_name=\"Application\",\n ),\n ],\n },\n \"kind\": \"WindowsEventLogs\",\n \"sinks\": [{\n \"kind\": \"LogAnalytics\",\n }],\n },\n ],\n diagnostic_settings_name=\"SampleDiagSetting\",\n location=\"Global\",\n os_type=\"Windows\",\n resource_group_name=\"Default-ResourceGroup\",\n tags={})\n\n```\n\n```yaml\nresources:\n guestDiagnosticsSetting:\n type: azure-native:insights:guestDiagnosticsSetting\n properties:\n dataSources:\n - configuration:\n perfCounters:\n - name: \\Process(_Total)\\%Processor Time\n samplingPeriod: PT1M\n - name: \\Process(_Total)\\Working Set\n samplingPeriod: PT1M\n kind: PerformanceCounter\n sinks:\n - kind: LogAnalytics\n - configuration:\n providers:\n - id: '1'\n - id: '2'\n kind: ETWProviders\n sinks:\n - kind: LogAnalytics\n - configuration:\n eventLogs:\n - filter: SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"\n logName: Application\n - filter: SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"\n logName: Application\n kind: WindowsEventLogs\n sinks:\n - kind: LogAnalytics\n diagnosticSettingsName: SampleDiagSetting\n location: Global\n osType: Windows\n resourceGroupName: Default-ResourceGroup\n tags: {}\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:insights:guestDiagnosticsSetting productionMachineSetting /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting \n```\n",
"properties": {
"dataSources": {
"type": "array",
@@ -414443,7 +415089,7 @@
]
},
"azure-native:machinelearningservices:Job": {
- "description": "Azure Resource Manager resource envelope.\nAPI Version: 2021-03-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrUpdate Command Job.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var job = new AzureNative.MachineLearningServices.Job(\"job\", new()\n {\n Id = \"testJob\",\n Properties = new AzureNative.MachineLearningServices.Inputs.CommandJobArgs\n {\n CodeId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n Command = \"python file.py test\",\n Compute = new AzureNative.MachineLearningServices.Inputs.ComputeConfigurationArgs\n {\n InstanceCount = 1,\n Target = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n Description = \"string\",\n Distribution = new AzureNative.MachineLearningServices.Inputs.PyTorchArgs\n {\n DistributionType = \"PyTorch\",\n ProcessCount = 2,\n },\n EnvironmentId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n EnvironmentVariables = \n {\n { \"MY_ENV_VAR1\", \"string\" },\n { \"MY_ENV_VAR2\", \"string\" },\n },\n ExperimentName = \"myExperiment\",\n Identity = new AzureNative.MachineLearningServices.Inputs.AmlTokenArgs\n {\n IdentityType = \"AMLToken\",\n },\n InputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.InputDataBindingArgs\n {\n DataId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n JobType = \"Command\",\n OutputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.OutputDataBindingArgs\n {\n DatastoreId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n Properties = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Tags = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Timeout = \"PT1M\",\n },\n ResourceGroupName = \"testrg123\",\n WorkspaceName = \"testworkspace\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.Job;\nimport com.pulumi.azurenative.machinelearningservices.JobArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var job = new Job(\"job\", JobArgs.builder() \n .id(\"testJob\")\n .properties(Map.ofEntries(\n Map.entry(\"codeId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\"),\n Map.entry(\"command\", \"python file.py test\"),\n Map.entry(\"compute\", Map.ofEntries(\n Map.entry(\"instanceCount\", 1),\n Map.entry(\"target\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\")\n )),\n Map.entry(\"description\", \"string\"),\n Map.entry(\"distribution\", Map.ofEntries(\n Map.entry(\"distributionType\", \"PyTorch\"),\n Map.entry(\"processCount\", 2)\n )),\n Map.entry(\"environmentId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\"),\n Map.entry(\"environmentVariables\", CommandJobArgs.builder()\n .mY_ENV_VAR1(\"string\")\n .mY_ENV_VAR2(\"string\")\n .build()),\n Map.entry(\"experimentName\", \"myExperiment\"),\n Map.entry(\"identity\", Map.of(\"identityType\", \"AMLToken\")),\n Map.entry(\"inputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"dataId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"jobType\", \"Command\"),\n Map.entry(\"outputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"datastoreId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"properties\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"tags\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"timeout\", \"PT1M\")\n ))\n .resourceGroupName(\"testrg123\")\n .workspaceName(\"testworkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst job = new azure_native.machinelearningservices.Job(\"job\", {\n id: \"testJob\",\n properties: {\n codeId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command: \"python file.py test\",\n compute: {\n instanceCount: 1,\n target: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n description: \"string\",\n distribution: {\n distributionType: \"PyTorch\",\n processCount: 2,\n },\n environmentId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environmentVariables: {\n MY_ENV_VAR1: \"string\",\n MY_ENV_VAR2: \"string\",\n },\n experimentName: \"myExperiment\",\n identity: {\n identityType: \"AMLToken\",\n },\n inputDataBindings: {\n test: {\n dataId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n jobType: \"Command\",\n outputDataBindings: {\n test: {\n datastoreId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n properties: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n tags: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n timeout: \"PT1M\",\n },\n resourceGroupName: \"testrg123\",\n workspaceName: \"testworkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\njob = azure_native.machinelearningservices.Job(\"job\",\n id=\"testJob\",\n properties=azure_native.machinelearningservices.CommandJobArgs(\n code_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command=\"python file.py test\",\n compute=azure_native.machinelearningservices.ComputeConfigurationArgs(\n instance_count=1,\n target=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n ),\n description=\"string\",\n distribution=azure_native.machinelearningservices.PyTorchArgs(\n distribution_type=\"PyTorch\",\n process_count=2,\n ),\n environment_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environment_variables={\n \"MY_ENV_VAR1\": \"string\",\n \"MY_ENV_VAR2\": \"string\",\n },\n experiment_name=\"myExperiment\",\n identity=azure_native.machinelearningservices.AmlTokenArgs(\n identity_type=\"AMLToken\",\n ),\n input_data_bindings={\n \"test\": azure_native.machinelearningservices.InputDataBindingArgs(\n data_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n job_type=\"Command\",\n output_data_bindings={\n \"test\": azure_native.machinelearningservices.OutputDataBindingArgs(\n datastore_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n properties={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n tags={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n timeout=\"PT1M\",\n ),\n resource_group_name=\"testrg123\",\n workspace_name=\"testworkspace\")\n\n```\n\n```yaml\nresources:\n job:\n type: azure-native:machinelearningservices:Job\n properties:\n id: testJob\n properties:\n codeId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\n command: python file.py test\n compute:\n instanceCount: 1\n target: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\n description: string\n distribution:\n distributionType: PyTorch\n processCount: 2\n environmentId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\n environmentVariables:\n MY_ENV_VAR1: string\n MY_ENV_VAR2: string\n experimentName: myExperiment\n identity:\n identityType: AMLToken\n inputDataBindings:\n test:\n dataId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\n pathOnCompute: path/on/compute\n jobType: Command\n outputDataBindings:\n test:\n datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\n pathOnCompute: path/on/compute\n properties:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n tags:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n timeout: PT1M\n resourceGroupName: testrg123\n workspaceName: testworkspace\n\n```\n\n{{% /example %}}\n{{% example %}}\n### CreateOrUpdate Sweep Job.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var job = new AzureNative.MachineLearningServices.Job(\"job\", new()\n {\n Id = \"testJob\",\n Properties = new AzureNative.MachineLearningServices.Inputs.SweepJobArgs\n {\n Algorithm = \"Grid\",\n Compute = new AzureNative.MachineLearningServices.Inputs.ComputeConfigurationArgs\n {\n InstanceCount = 1,\n Target = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n Description = \"string\",\n Identity = new AzureNative.MachineLearningServices.Inputs.AmlTokenArgs\n {\n IdentityType = \"AMLToken\",\n },\n JobType = \"Sweep\",\n MaxConcurrentTrials = 1,\n MaxTotalTrials = 1,\n Objective = new AzureNative.MachineLearningServices.Inputs.ObjectiveArgs\n {\n Goal = \"Minimize\",\n PrimaryMetric = \"string\",\n },\n Properties = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n SearchSpace = \n {\n { \"name\", null },\n },\n Tags = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Timeout = \"PT1M\",\n Trial = new AzureNative.MachineLearningServices.Inputs.TrialComponentArgs\n {\n CodeId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n Command = \"python file.py test\",\n Distribution = new AzureNative.MachineLearningServices.Inputs.PyTorchArgs\n {\n DistributionType = \"PyTorch\",\n ProcessCount = 2,\n },\n EnvironmentId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n EnvironmentVariables = \n {\n { \"MY_ENV_VAR1\", \"string\" },\n { \"MY_ENV_VAR2\", \"string\" },\n },\n InputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.InputDataBindingArgs\n {\n DataId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n OutputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.OutputDataBindingArgs\n {\n DatastoreId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n Timeout = \"PT1M\",\n },\n },\n ResourceGroupName = \"testrg123\",\n WorkspaceName = \"testworkspace\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.Job;\nimport com.pulumi.azurenative.machinelearningservices.JobArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var job = new Job(\"job\", JobArgs.builder() \n .id(\"testJob\")\n .properties(Map.ofEntries(\n Map.entry(\"algorithm\", \"Grid\"),\n Map.entry(\"compute\", Map.ofEntries(\n Map.entry(\"instanceCount\", 1),\n Map.entry(\"target\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\")\n )),\n Map.entry(\"description\", \"string\"),\n Map.entry(\"identity\", Map.of(\"identityType\", \"AMLToken\")),\n Map.entry(\"jobType\", \"Sweep\"),\n Map.entry(\"maxConcurrentTrials\", 1),\n Map.entry(\"maxTotalTrials\", 1),\n Map.entry(\"objective\", Map.ofEntries(\n Map.entry(\"goal\", \"Minimize\"),\n Map.entry(\"primaryMetric\", \"string\")\n )),\n Map.entry(\"properties\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"searchSpace\", CommandJobArgs.builder()\n .name()\n .build()),\n Map.entry(\"tags\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"timeout\", \"PT1M\"),\n Map.entry(\"trial\", Map.ofEntries(\n Map.entry(\"codeId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\"),\n Map.entry(\"command\", \"python file.py test\"),\n Map.entry(\"distribution\", Map.ofEntries(\n Map.entry(\"distributionType\", \"PyTorch\"),\n Map.entry(\"processCount\", 2)\n )),\n Map.entry(\"environmentId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\"),\n Map.entry(\"environmentVariables\", CommandJobArgs.builder()\n .mY_ENV_VAR1(\"string\")\n .mY_ENV_VAR2(\"string\")\n .build()),\n Map.entry(\"inputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"dataId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"outputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"datastoreId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"timeout\", \"PT1M\")\n ))\n ))\n .resourceGroupName(\"testrg123\")\n .workspaceName(\"testworkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst job = new azure_native.machinelearningservices.Job(\"job\", {\n id: \"testJob\",\n properties: {\n algorithm: \"Grid\",\n compute: {\n instanceCount: 1,\n target: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n description: \"string\",\n identity: {\n identityType: \"AMLToken\",\n },\n jobType: \"Sweep\",\n maxConcurrentTrials: 1,\n maxTotalTrials: 1,\n objective: {\n goal: \"Minimize\",\n primaryMetric: \"string\",\n },\n properties: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n searchSpace: {\n name: {},\n },\n tags: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n timeout: \"PT1M\",\n trial: {\n codeId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command: \"python file.py test\",\n distribution: {\n distributionType: \"PyTorch\",\n processCount: 2,\n },\n environmentId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environmentVariables: {\n MY_ENV_VAR1: \"string\",\n MY_ENV_VAR2: \"string\",\n },\n inputDataBindings: {\n test: {\n dataId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n outputDataBindings: {\n test: {\n datastoreId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n timeout: \"PT1M\",\n },\n },\n resourceGroupName: \"testrg123\",\n workspaceName: \"testworkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\njob = azure_native.machinelearningservices.Job(\"job\",\n id=\"testJob\",\n properties=azure_native.machinelearningservices.SweepJobArgs(\n algorithm=\"Grid\",\n compute=azure_native.machinelearningservices.ComputeConfigurationArgs(\n instance_count=1,\n target=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n ),\n description=\"string\",\n identity=azure_native.machinelearningservices.AmlTokenArgs(\n identity_type=\"AMLToken\",\n ),\n job_type=\"Sweep\",\n max_concurrent_trials=1,\n max_total_trials=1,\n objective=azure_native.machinelearningservices.ObjectiveArgs(\n goal=\"Minimize\",\n primary_metric=\"string\",\n ),\n properties={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n search_space={\n \"name\": {},\n },\n tags={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n timeout=\"PT1M\",\n trial=azure_native.machinelearningservices.TrialComponentArgs(\n code_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command=\"python file.py test\",\n distribution=azure_native.machinelearningservices.PyTorchArgs(\n distribution_type=\"PyTorch\",\n process_count=2,\n ),\n environment_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environment_variables={\n \"MY_ENV_VAR1\": \"string\",\n \"MY_ENV_VAR2\": \"string\",\n },\n input_data_bindings={\n \"test\": azure_native.machinelearningservices.InputDataBindingArgs(\n data_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n output_data_bindings={\n \"test\": azure_native.machinelearningservices.OutputDataBindingArgs(\n datastore_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n timeout=\"PT1M\",\n ),\n ),\n resource_group_name=\"testrg123\",\n workspace_name=\"testworkspace\")\n\n```\n\n```yaml\nresources:\n job:\n type: azure-native:machinelearningservices:Job\n properties:\n id: testJob\n properties:\n algorithm: Grid\n compute:\n instanceCount: 1\n target: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\n description: string\n identity:\n identityType: AMLToken\n jobType: Sweep\n maxConcurrentTrials: 1\n maxTotalTrials: 1\n objective:\n goal: Minimize\n primaryMetric: string\n properties:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n searchSpace:\n name: {}\n tags:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n timeout: PT1M\n trial:\n codeId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\n command: python file.py test\n distribution:\n distributionType: PyTorch\n processCount: 2\n environmentId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\n environmentVariables:\n MY_ENV_VAR1: string\n MY_ENV_VAR2: string\n inputDataBindings:\n test:\n dataId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\n pathOnCompute: path/on/compute\n outputDataBindings:\n test:\n datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\n pathOnCompute: path/on/compute\n timeout: PT1M\n resourceGroupName: testrg123\n workspaceName: testworkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:machinelearningservices:Job testJob /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob \n```\n",
+ "description": "Azure Resource Manager resource envelope.\nAPI Version: 2021-03-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrUpdate Command Job.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var job = new AzureNative.MachineLearningServices.Job(\"job\", new()\n {\n Id = \"testJob\",\n Properties = new AzureNative.MachineLearningServices.Inputs.CommandJobArgs\n {\n CodeId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n Command = \"python file.py test\",\n Compute = new AzureNative.MachineLearningServices.Inputs.ComputeConfigurationArgs\n {\n InstanceCount = 1,\n Target = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n Description = \"string\",\n Distribution = new AzureNative.MachineLearningServices.Inputs.PyTorchArgs\n {\n DistributionType = \"PyTorch\",\n ProcessCount = 2,\n },\n EnvironmentId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n EnvironmentVariables = \n {\n { \"MY_ENV_VAR1\", \"string\" },\n { \"MY_ENV_VAR2\", \"string\" },\n },\n ExperimentName = \"myExperiment\",\n Identity = new AzureNative.MachineLearningServices.Inputs.AmlTokenArgs\n {\n IdentityType = \"AMLToken\",\n },\n InputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.InputDataBindingArgs\n {\n DataId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n JobType = \"Command\",\n OutputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.OutputDataBindingArgs\n {\n DatastoreId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n Properties = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Tags = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Timeout = \"PT1M\",\n },\n ResourceGroupName = \"testrg123\",\n WorkspaceName = \"testworkspace\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.Job;\nimport com.pulumi.azurenative.machinelearningservices.JobArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var job = new Job(\"job\", JobArgs.builder() \n .id(\"testJob\")\n .properties(Map.ofEntries(\n Map.entry(\"codeId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\"),\n Map.entry(\"command\", \"python file.py test\"),\n Map.entry(\"compute\", Map.ofEntries(\n Map.entry(\"instanceCount\", 1),\n Map.entry(\"target\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\")\n )),\n Map.entry(\"description\", \"string\"),\n Map.entry(\"distribution\", Map.ofEntries(\n Map.entry(\"distributionType\", \"PyTorch\"),\n Map.entry(\"processCount\", 2)\n )),\n Map.entry(\"environmentId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\"),\n Map.entry(\"environmentVariables\", CommandJobArgs.builder()\n .mY_ENV_VAR1(\"string\")\n .mY_ENV_VAR2(\"string\")\n .build()),\n Map.entry(\"experimentName\", \"myExperiment\"),\n Map.entry(\"identity\", Map.of(\"identityType\", \"AMLToken\")),\n Map.entry(\"inputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"dataId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"jobType\", \"Command\"),\n Map.entry(\"outputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"datastoreId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"properties\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"tags\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"timeout\", \"PT1M\")\n ))\n .resourceGroupName(\"testrg123\")\n .workspaceName(\"testworkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst job = new azure_native.machinelearningservices.Job(\"job\", {\n id: \"testJob\",\n properties: {\n codeId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command: \"python file.py test\",\n compute: {\n instanceCount: 1,\n target: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n description: \"string\",\n distribution: {\n distributionType: \"PyTorch\",\n processCount: 2,\n },\n environmentId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environmentVariables: {\n MY_ENV_VAR1: \"string\",\n MY_ENV_VAR2: \"string\",\n },\n experimentName: \"myExperiment\",\n identity: {\n identityType: \"AMLToken\",\n },\n inputDataBindings: {\n test: {\n dataId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n jobType: \"Command\",\n outputDataBindings: {\n test: {\n datastoreId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n properties: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n tags: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n timeout: \"PT1M\",\n },\n resourceGroupName: \"testrg123\",\n workspaceName: \"testworkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\njob = azure_native.machinelearningservices.Job(\"job\",\n id=\"testJob\",\n properties=azure_native.machinelearningservices.CommandJobArgs(\n code_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command=\"python file.py test\",\n compute=azure_native.machinelearningservices.ComputeConfigurationArgs(\n instance_count=1,\n target=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n ),\n description=\"string\",\n distribution=azure_native.machinelearningservices.PyTorchArgs(\n distribution_type=\"PyTorch\",\n process_count=2,\n ),\n environment_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environment_variables={\n \"MY_ENV_VAR1\": \"string\",\n \"MY_ENV_VAR2\": \"string\",\n },\n experiment_name=\"myExperiment\",\n identity=azure_native.machinelearningservices.AmlTokenArgs(\n identity_type=\"AMLToken\",\n ),\n input_data_bindings={\n \"test\": azure_native.machinelearningservices.InputDataBindingArgs(\n data_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n job_type=\"Command\",\n output_data_bindings={\n \"test\": azure_native.machinelearningservices.OutputDataBindingArgs(\n datastore_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n properties={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n tags={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n timeout=\"PT1M\",\n ),\n resource_group_name=\"testrg123\",\n workspace_name=\"testworkspace\")\n\n```\n\n```yaml\nresources:\n job:\n type: azure-native:machinelearningservices:Job\n properties:\n id: testJob\n properties:\n codeId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\n command: python file.py test\n compute:\n instanceCount: 1\n target: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\n description: string\n distribution:\n distributionType: PyTorch\n processCount: 2\n environmentId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\n environmentVariables:\n MY_ENV_VAR1: string\n MY_ENV_VAR2: string\n experimentName: myExperiment\n identity:\n identityType: AMLToken\n inputDataBindings:\n test:\n dataId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\n pathOnCompute: path/on/compute\n jobType: Command\n outputDataBindings:\n test:\n datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\n pathOnCompute: path/on/compute\n properties:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n tags:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n timeout: PT1M\n resourceGroupName: testrg123\n workspaceName: testworkspace\n\n```\n\n{{% /example %}}\n{{% example %}}\n### CreateOrUpdate Sweep Job.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var job = new AzureNative.MachineLearningServices.Job(\"job\", new()\n {\n Id = \"testJob\",\n Properties = new AzureNative.MachineLearningServices.Inputs.SweepJobArgs\n {\n Algorithm = \"Grid\",\n Compute = new AzureNative.MachineLearningServices.Inputs.ComputeConfigurationArgs\n {\n InstanceCount = 1,\n Target = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n Description = \"string\",\n Identity = new AzureNative.MachineLearningServices.Inputs.AmlTokenArgs\n {\n IdentityType = \"AMLToken\",\n },\n JobType = \"Sweep\",\n MaxConcurrentTrials = 1,\n MaxTotalTrials = 1,\n Objective = new AzureNative.MachineLearningServices.Inputs.ObjectiveArgs\n {\n Goal = \"Minimize\",\n PrimaryMetric = \"string\",\n },\n Properties = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n SearchSpace = \n {\n { \"name\", null },\n },\n Tags = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Timeout = \"PT1M\",\n Trial = new AzureNative.MachineLearningServices.Inputs.TrialComponentArgs\n {\n CodeId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n Command = \"python file.py test\",\n Distribution = new AzureNative.MachineLearningServices.Inputs.PyTorchArgs\n {\n DistributionType = \"PyTorch\",\n ProcessCount = 2,\n },\n EnvironmentId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n EnvironmentVariables = \n {\n { \"MY_ENV_VAR1\", \"string\" },\n { \"MY_ENV_VAR2\", \"string\" },\n },\n InputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.InputDataBindingArgs\n {\n DataId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n OutputDataBindings = \n {\n { \"test\", new AzureNative.MachineLearningServices.Inputs.OutputDataBindingArgs\n {\n DatastoreId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n PathOnCompute = \"path/on/compute\",\n } },\n },\n Timeout = \"PT1M\",\n },\n },\n ResourceGroupName = \"testrg123\",\n WorkspaceName = \"testworkspace\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.Job;\nimport com.pulumi.azurenative.machinelearningservices.JobArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var job = new Job(\"job\", JobArgs.builder() \n .id(\"testJob\")\n .properties(Map.ofEntries(\n Map.entry(\"algorithm\", \"Grid\"),\n Map.entry(\"compute\", Map.ofEntries(\n Map.entry(\"instanceCount\", 1),\n Map.entry(\"target\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\")\n )),\n Map.entry(\"description\", \"string\"),\n Map.entry(\"identity\", Map.of(\"identityType\", \"AMLToken\")),\n Map.entry(\"jobType\", \"Sweep\"),\n Map.entry(\"maxConcurrentTrials\", 1),\n Map.entry(\"maxTotalTrials\", 1),\n Map.entry(\"objective\", Map.ofEntries(\n Map.entry(\"goal\", \"Minimize\"),\n Map.entry(\"primaryMetric\", \"string\")\n )),\n Map.entry(\"properties\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"searchSpace\", CommandJobArgs.builder()\n .name()\n .build()),\n Map.entry(\"tags\", CommandJobArgs.builder()\n .additionalProp1(\"string\")\n .additionalProp2(\"string\")\n .additionalProp3(\"string\")\n .build()),\n Map.entry(\"timeout\", \"PT1M\"),\n Map.entry(\"trial\", Map.ofEntries(\n Map.entry(\"codeId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\"),\n Map.entry(\"command\", \"python file.py test\"),\n Map.entry(\"distribution\", Map.ofEntries(\n Map.entry(\"distributionType\", \"PyTorch\"),\n Map.entry(\"processCount\", 2)\n )),\n Map.entry(\"environmentId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\"),\n Map.entry(\"environmentVariables\", CommandJobArgs.builder()\n .mY_ENV_VAR1(\"string\")\n .mY_ENV_VAR2(\"string\")\n .build()),\n Map.entry(\"inputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"dataId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"outputDataBindings\", Map.of(\"test\", Map.ofEntries(\n Map.entry(\"datastoreId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\"),\n Map.entry(\"pathOnCompute\", \"path/on/compute\")\n ))),\n Map.entry(\"timeout\", \"PT1M\")\n ))\n ))\n .resourceGroupName(\"testrg123\")\n .workspaceName(\"testworkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst job = new azure_native.machinelearningservices.Job(\"job\", {\n id: \"testJob\",\n properties: {\n algorithm: \"Grid\",\n compute: {\n instanceCount: 1,\n target: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n },\n description: \"string\",\n identity: {\n identityType: \"AMLToken\",\n },\n jobType: \"Sweep\",\n maxConcurrentTrials: 1,\n maxTotalTrials: 1,\n objective: {\n goal: \"Minimize\",\n primaryMetric: \"string\",\n },\n properties: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n searchSpace: {\n name: {},\n },\n tags: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n timeout: \"PT1M\",\n trial: {\n codeId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command: \"python file.py test\",\n distribution: {\n distributionType: \"PyTorch\",\n processCount: 2,\n },\n environmentId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environmentVariables: {\n MY_ENV_VAR1: \"string\",\n MY_ENV_VAR2: \"string\",\n },\n inputDataBindings: {\n test: {\n dataId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n outputDataBindings: {\n test: {\n datastoreId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n pathOnCompute: \"path/on/compute\",\n },\n },\n timeout: \"PT1M\",\n },\n },\n resourceGroupName: \"testrg123\",\n workspaceName: \"testworkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\njob = azure_native.machinelearningservices.Job(\"job\",\n id=\"testJob\",\n properties=azure_native.machinelearningservices.SweepJobArgs(\n algorithm=\"Grid\",\n compute=azure_native.machinelearningservices.ComputeConfigurationArgs(\n instance_count=1,\n target=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\",\n ),\n description=\"string\",\n identity=azure_native.machinelearningservices.AmlTokenArgs(\n identity_type=\"AMLToken\",\n ),\n job_type=\"Sweep\",\n max_concurrent_trials=1,\n max_total_trials=1,\n objective=azure_native.machinelearningservices.ObjectiveArgs(\n goal=\"Minimize\",\n primary_metric=\"string\",\n ),\n properties={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n search_space={\n \"name\": {},\n },\n tags={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n timeout=\"PT1M\",\n trial=azure_native.machinelearningservices.TrialComponentArgs(\n code_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\",\n command=\"python file.py test\",\n distribution=azure_native.machinelearningservices.PyTorchArgs(\n distribution_type=\"PyTorch\",\n process_count=2,\n ),\n environment_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\",\n environment_variables={\n \"MY_ENV_VAR1\": \"string\",\n \"MY_ENV_VAR2\": \"string\",\n },\n input_data_bindings={\n \"test\": azure_native.machinelearningservices.InputDataBindingArgs(\n data_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n output_data_bindings={\n \"test\": azure_native.machinelearningservices.OutputDataBindingArgs(\n datastore_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\",\n path_on_compute=\"path/on/compute\",\n ),\n },\n timeout=\"PT1M\",\n ),\n ),\n resource_group_name=\"testrg123\",\n workspace_name=\"testworkspace\")\n\n```\n\n```yaml\nresources:\n job:\n type: azure-native:machinelearningservices:Job\n properties:\n id: testJob\n properties:\n algorithm: Grid\n compute:\n instanceCount: 1\n target: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute\n description: string\n identity:\n identityType: AMLToken\n jobType: Sweep\n maxConcurrentTrials: 1\n maxTotalTrials: 1\n objective:\n goal: Minimize\n primaryMetric: string\n properties:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n searchSpace:\n name: {}\n tags:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n timeout: PT1M\n trial:\n codeId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1\n command: python file.py test\n distribution:\n distributionType: PyTorch\n processCount: 2\n environmentId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1\n environmentVariables:\n MY_ENV_VAR1: string\n MY_ENV_VAR2: string\n inputDataBindings:\n test:\n dataId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1\n pathOnCompute: path/on/compute\n outputDataBindings:\n test:\n datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore\n pathOnCompute: path/on/compute\n timeout: PT1M\n resourceGroupName: testrg123\n workspaceName: testworkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:machinelearningservices:Job string string \n```\n",
"properties": {
"name": {
"type": "string",
@@ -415547,7 +416193,7 @@
]
},
"azure-native:machinelearningservices:ModelVersion": {
- "description": "Azure Resource Manager resource envelope.\nAPI Version: 2021-03-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrUpdate Model Version.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var modelVersion = new AzureNative.MachineLearningServices.ModelVersion(\"modelVersion\", new()\n {\n Name = \"testContainer\",\n Properties = new AzureNative.MachineLearningServices.Inputs.ModelVersionArgs\n {\n DatastoreId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\",\n Description = \"Model version description\",\n Flavors = \n {\n { \"python_function\", new AzureNative.MachineLearningServices.Inputs.FlavorDataArgs\n {\n Data = \n {\n { \"loader_module\", \"myLoaderModule\" },\n },\n } },\n },\n Path = \"path/in/datastore\",\n Properties = \n {\n { \"prop1\", \"value1\" },\n { \"prop2\", \"value2\" },\n },\n Tags = \n {\n { \"tag1\", \"value1\" },\n { \"tag2\", \"value2\" },\n },\n },\n ResourceGroupName = \"testrg123\",\n Version = \"1\",\n WorkspaceName = \"workspace123\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tmachinelearningservices \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/machinelearningservices\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := machinelearningservices.NewModelVersion(ctx, \"modelVersion\", \u0026machinelearningservices.ModelVersionArgs{\n\t\t\tName: pulumi.String(\"testContainer\"),\n\t\t\tProperties: machinelearningservices.ModelVersionResponse{\n\t\t\t\tDatastoreId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\"),\n\t\t\t\tDescription: pulumi.String(\"Model version description\"),\n\t\t\t\tFlavors: machinelearningservices.FlavorDataMap{\n\t\t\t\t\t\"python_function\": \u0026machinelearningservices.FlavorDataArgs{\n\t\t\t\t\t\tData: pulumi.StringMap{\n\t\t\t\t\t\t\t\"loader_module\": pulumi.String(\"myLoaderModule\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPath: pulumi.String(\"path/in/datastore\"),\n\t\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\t\"prop1\": pulumi.String(\"value1\"),\n\t\t\t\t\t\"prop2\": pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\t\"tag1\": pulumi.String(\"value1\"),\n\t\t\t\t\t\"tag2\": pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"testrg123\"),\n\t\t\tVersion: pulumi.String(\"1\"),\n\t\t\tWorkspaceName: pulumi.String(\"workspace123\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.ModelVersion;\nimport com.pulumi.azurenative.machinelearningservices.ModelVersionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var modelVersion = new ModelVersion(\"modelVersion\", ModelVersionArgs.builder() \n .name(\"testContainer\")\n .properties(Map.ofEntries(\n Map.entry(\"datastoreId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\"),\n Map.entry(\"description\", \"Model version description\"),\n Map.entry(\"flavors\", Map.of(\"python_function\", Map.of(\"data\", Map.of(\"loader_module\", \"myLoaderModule\")))),\n Map.entry(\"path\", \"path/in/datastore\"),\n Map.entry(\"properties\", Map.ofEntries(\n Map.entry(\"prop1\", \"value1\"),\n Map.entry(\"prop2\", \"value2\")\n )),\n Map.entry(\"tags\", Map.ofEntries(\n Map.entry(\"tag1\", \"value1\"),\n Map.entry(\"tag2\", \"value2\")\n ))\n ))\n .resourceGroupName(\"testrg123\")\n .version(\"1\")\n .workspaceName(\"workspace123\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst modelVersion = new azure_native.machinelearningservices.ModelVersion(\"modelVersion\", {\n name: \"testContainer\",\n properties: {\n datastoreId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\",\n description: \"Model version description\",\n flavors: {\n python_function: {\n data: {\n loader_module: \"myLoaderModule\",\n },\n },\n },\n path: \"path/in/datastore\",\n properties: {\n prop1: \"value1\",\n prop2: \"value2\",\n },\n tags: {\n tag1: \"value1\",\n tag2: \"value2\",\n },\n },\n resourceGroupName: \"testrg123\",\n version: \"1\",\n workspaceName: \"workspace123\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmodel_version = azure_native.machinelearningservices.ModelVersion(\"modelVersion\",\n name=\"testContainer\",\n properties=azure_native.machinelearningservices.ModelVersionResponseArgs(\n datastore_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\",\n description=\"Model version description\",\n flavors={\n \"python_function\": azure_native.machinelearningservices.FlavorDataArgs(\n data={\n \"loader_module\": \"myLoaderModule\",\n },\n ),\n },\n path=\"path/in/datastore\",\n properties={\n \"prop1\": \"value1\",\n \"prop2\": \"value2\",\n },\n tags={\n \"tag1\": \"value1\",\n \"tag2\": \"value2\",\n },\n ),\n resource_group_name=\"testrg123\",\n version=\"1\",\n workspace_name=\"workspace123\")\n\n```\n\n```yaml\nresources:\n modelVersion:\n type: azure-native:machinelearningservices:ModelVersion\n properties:\n name: testContainer\n properties:\n datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\n description: Model version description\n flavors:\n python_function:\n data:\n loader_module: myLoaderModule\n path: path/in/datastore\n properties:\n prop1: value1\n prop2: value2\n tags:\n tag1: value1\n tag2: value2\n resourceGroupName: testrg123\n version: '1'\n workspaceName: workspace123\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:machinelearningservices:ModelVersion 1 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1 \n```\n",
+ "description": "Azure Resource Manager resource envelope.\nAPI Version: 2021-03-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrUpdate Model Version.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var modelVersion = new AzureNative.MachineLearningServices.ModelVersion(\"modelVersion\", new()\n {\n Name = \"testContainer\",\n Properties = new AzureNative.MachineLearningServices.Inputs.ModelVersionArgs\n {\n DatastoreId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\",\n Description = \"Model version description\",\n Flavors = \n {\n { \"python_function\", new AzureNative.MachineLearningServices.Inputs.FlavorDataArgs\n {\n Data = \n {\n { \"loader_module\", \"myLoaderModule\" },\n },\n } },\n },\n Path = \"path/in/datastore\",\n Properties = \n {\n { \"prop1\", \"value1\" },\n { \"prop2\", \"value2\" },\n },\n Tags = \n {\n { \"tag1\", \"value1\" },\n { \"tag2\", \"value2\" },\n },\n },\n ResourceGroupName = \"testrg123\",\n Version = \"1\",\n WorkspaceName = \"workspace123\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tmachinelearningservices \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/machinelearningservices\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := machinelearningservices.NewModelVersion(ctx, \"modelVersion\", \u0026machinelearningservices.ModelVersionArgs{\n\t\t\tName: pulumi.String(\"testContainer\"),\n\t\t\tProperties: machinelearningservices.ModelVersionResponse{\n\t\t\t\tDatastoreId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\"),\n\t\t\t\tDescription: pulumi.String(\"Model version description\"),\n\t\t\t\tFlavors: machinelearningservices.FlavorDataMap{\n\t\t\t\t\t\"python_function\": \u0026machinelearningservices.FlavorDataArgs{\n\t\t\t\t\t\tData: pulumi.StringMap{\n\t\t\t\t\t\t\t\"loader_module\": pulumi.String(\"myLoaderModule\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPath: pulumi.String(\"path/in/datastore\"),\n\t\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\t\"prop1\": pulumi.String(\"value1\"),\n\t\t\t\t\t\"prop2\": pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\t\"tag1\": pulumi.String(\"value1\"),\n\t\t\t\t\t\"tag2\": pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"testrg123\"),\n\t\t\tVersion: pulumi.String(\"1\"),\n\t\t\tWorkspaceName: pulumi.String(\"workspace123\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.ModelVersion;\nimport com.pulumi.azurenative.machinelearningservices.ModelVersionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var modelVersion = new ModelVersion(\"modelVersion\", ModelVersionArgs.builder() \n .name(\"testContainer\")\n .properties(Map.ofEntries(\n Map.entry(\"datastoreId\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\"),\n Map.entry(\"description\", \"Model version description\"),\n Map.entry(\"flavors\", Map.of(\"python_function\", Map.of(\"data\", Map.of(\"loader_module\", \"myLoaderModule\")))),\n Map.entry(\"path\", \"path/in/datastore\"),\n Map.entry(\"properties\", Map.ofEntries(\n Map.entry(\"prop1\", \"value1\"),\n Map.entry(\"prop2\", \"value2\")\n )),\n Map.entry(\"tags\", Map.ofEntries(\n Map.entry(\"tag1\", \"value1\"),\n Map.entry(\"tag2\", \"value2\")\n ))\n ))\n .resourceGroupName(\"testrg123\")\n .version(\"1\")\n .workspaceName(\"workspace123\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst modelVersion = new azure_native.machinelearningservices.ModelVersion(\"modelVersion\", {\n name: \"testContainer\",\n properties: {\n datastoreId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\",\n description: \"Model version description\",\n flavors: {\n python_function: {\n data: {\n loader_module: \"myLoaderModule\",\n },\n },\n },\n path: \"path/in/datastore\",\n properties: {\n prop1: \"value1\",\n prop2: \"value2\",\n },\n tags: {\n tag1: \"value1\",\n tag2: \"value2\",\n },\n },\n resourceGroupName: \"testrg123\",\n version: \"1\",\n workspaceName: \"workspace123\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmodel_version = azure_native.machinelearningservices.ModelVersion(\"modelVersion\",\n name=\"testContainer\",\n properties=azure_native.machinelearningservices.ModelVersionResponseArgs(\n datastore_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\",\n description=\"Model version description\",\n flavors={\n \"python_function\": azure_native.machinelearningservices.FlavorDataArgs(\n data={\n \"loader_module\": \"myLoaderModule\",\n },\n ),\n },\n path=\"path/in/datastore\",\n properties={\n \"prop1\": \"value1\",\n \"prop2\": \"value2\",\n },\n tags={\n \"tag1\": \"value1\",\n \"tag2\": \"value2\",\n },\n ),\n resource_group_name=\"testrg123\",\n version=\"1\",\n workspace_name=\"workspace123\")\n\n```\n\n```yaml\nresources:\n modelVersion:\n type: azure-native:machinelearningservices:ModelVersion\n properties:\n name: testContainer\n properties:\n datastoreId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123\n description: Model version description\n flavors:\n python_function:\n data:\n loader_module: myLoaderModule\n path: path/in/datastore\n properties:\n prop1: value1\n prop2: value2\n tags:\n tag1: value1\n tag2: value2\n resourceGroupName: testrg123\n version: '1'\n workspaceName: workspace123\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:machinelearningservices:ModelVersion 999 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/999 \n```\n",
"properties": {
"name": {
"type": "string",
@@ -417180,7 +417826,7 @@
]
},
"azure-native:managednetwork:ManagedNetworkPeeringPolicy": {
- "description": "The Managed Network Peering Policy resource\nAPI Version: 2019-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ManagedNetworkPeeringPoliciesPut\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var managedNetworkPeeringPolicy = new AzureNative.ManagedNetwork.ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\", new()\n {\n ManagedNetworkName = \"myManagedNetwork\",\n ManagedNetworkPeeringPolicyName = \"myHubAndSpoke\",\n Properties = new AzureNative.ManagedNetwork.Inputs.ManagedNetworkPeeringPolicyPropertiesArgs\n {\n Hub = new AzureNative.ManagedNetwork.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\",\n },\n Spokes = new[]\n {\n new AzureNative.ManagedNetwork.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\",\n },\n },\n Type = \"HubAndSpokeTopology\",\n },\n ResourceGroupName = \"myResourceGroup\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tmanagednetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/managednetwork\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := managednetwork.NewManagedNetworkPeeringPolicy(ctx, \"managedNetworkPeeringPolicy\", \u0026managednetwork.ManagedNetworkPeeringPolicyArgs{\n\t\t\tManagedNetworkName: pulumi.String(\"myManagedNetwork\"),\n\t\t\tManagedNetworkPeeringPolicyName: pulumi.String(\"myHubAndSpoke\"),\n\t\t\tProperties: managednetwork.ManagedNetworkPeeringPolicyPropertiesResponse{\n\t\t\t\tHub: \u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\"),\n\t\t\t\t},\n\t\t\t\tSpokes: managednetwork.ResourceIdArray{\n\t\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tType: pulumi.String(\"HubAndSpokeTopology\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.managednetwork.ManagedNetworkPeeringPolicy;\nimport com.pulumi.azurenative.managednetwork.ManagedNetworkPeeringPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var managedNetworkPeeringPolicy = new ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\", ManagedNetworkPeeringPolicyArgs.builder() \n .managedNetworkName(\"myManagedNetwork\")\n .managedNetworkPeeringPolicyName(\"myHubAndSpoke\")\n .properties(Map.ofEntries(\n Map.entry(\"hub\", Map.of(\"id\", \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\")),\n Map.entry(\"spokes\", Map.of(\"id\", \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\")),\n Map.entry(\"type\", \"HubAndSpokeTopology\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst managedNetworkPeeringPolicy = new azure_native.managednetwork.ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\", {\n managedNetworkName: \"myManagedNetwork\",\n managedNetworkPeeringPolicyName: \"myHubAndSpoke\",\n properties: {\n hub: {\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\",\n },\n spokes: [{\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\",\n }],\n type: \"HubAndSpokeTopology\",\n },\n resourceGroupName: \"myResourceGroup\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmanaged_network_peering_policy = azure_native.managednetwork.ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\",\n managed_network_name=\"myManagedNetwork\",\n managed_network_peering_policy_name=\"myHubAndSpoke\",\n properties=azure_native.managednetwork.ManagedNetworkPeeringPolicyPropertiesResponseArgs(\n hub=azure_native.managednetwork.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\",\n ),\n spokes=[azure_native.managednetwork.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\",\n )],\n type=\"HubAndSpokeTopology\",\n ),\n resource_group_name=\"myResourceGroup\")\n\n```\n\n```yaml\nresources:\n managedNetworkPeeringPolicy:\n type: azure-native:managednetwork:ManagedNetworkPeeringPolicy\n properties:\n managedNetworkName: myManagedNetwork\n managedNetworkPeeringPolicyName: myHubAndSpoke\n properties:\n hub:\n id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\n spokes:\n - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\n type: HubAndSpokeTopology\n resourceGroupName: myResourceGroup\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:managednetwork:ManagedNetworkPeeringPolicy myHubAndSpoke /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke \n```\n",
+ "description": "The Managed Network Peering Policy resource\nAPI Version: 2019-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ManagedNetworkPeeringPoliciesPut\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var managedNetworkPeeringPolicy = new AzureNative.ManagedNetwork.ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\", new()\n {\n ManagedNetworkName = \"myManagedNetwork\",\n ManagedNetworkPeeringPolicyName = \"myHubAndSpoke\",\n Properties = new AzureNative.ManagedNetwork.Inputs.ManagedNetworkPeeringPolicyPropertiesArgs\n {\n Hub = new AzureNative.ManagedNetwork.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\",\n },\n Spokes = new[]\n {\n new AzureNative.ManagedNetwork.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\",\n },\n },\n Type = \"HubAndSpokeTopology\",\n },\n ResourceGroupName = \"myResourceGroup\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tmanagednetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/managednetwork\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := managednetwork.NewManagedNetworkPeeringPolicy(ctx, \"managedNetworkPeeringPolicy\", \u0026managednetwork.ManagedNetworkPeeringPolicyArgs{\n\t\t\tManagedNetworkName: pulumi.String(\"myManagedNetwork\"),\n\t\t\tManagedNetworkPeeringPolicyName: pulumi.String(\"myHubAndSpoke\"),\n\t\t\tProperties: managednetwork.ManagedNetworkPeeringPolicyPropertiesResponse{\n\t\t\t\tHub: \u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\"),\n\t\t\t\t},\n\t\t\t\tSpokes: managednetwork.ResourceIdArray{\n\t\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tType: pulumi.String(\"HubAndSpokeTopology\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.managednetwork.ManagedNetworkPeeringPolicy;\nimport com.pulumi.azurenative.managednetwork.ManagedNetworkPeeringPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var managedNetworkPeeringPolicy = new ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\", ManagedNetworkPeeringPolicyArgs.builder() \n .managedNetworkName(\"myManagedNetwork\")\n .managedNetworkPeeringPolicyName(\"myHubAndSpoke\")\n .properties(Map.ofEntries(\n Map.entry(\"hub\", Map.of(\"id\", \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\")),\n Map.entry(\"spokes\", Map.of(\"id\", \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\")),\n Map.entry(\"type\", \"HubAndSpokeTopology\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst managedNetworkPeeringPolicy = new azure_native.managednetwork.ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\", {\n managedNetworkName: \"myManagedNetwork\",\n managedNetworkPeeringPolicyName: \"myHubAndSpoke\",\n properties: {\n hub: {\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\",\n },\n spokes: [{\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\",\n }],\n type: \"HubAndSpokeTopology\",\n },\n resourceGroupName: \"myResourceGroup\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmanaged_network_peering_policy = azure_native.managednetwork.ManagedNetworkPeeringPolicy(\"managedNetworkPeeringPolicy\",\n managed_network_name=\"myManagedNetwork\",\n managed_network_peering_policy_name=\"myHubAndSpoke\",\n properties=azure_native.managednetwork.ManagedNetworkPeeringPolicyPropertiesResponseArgs(\n hub=azure_native.managednetwork.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\",\n ),\n spokes=[azure_native.managednetwork.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\",\n )],\n type=\"HubAndSpokeTopology\",\n ),\n resource_group_name=\"myResourceGroup\")\n\n```\n\n```yaml\nresources:\n managedNetworkPeeringPolicy:\n type: azure-native:managednetwork:ManagedNetworkPeeringPolicy\n properties:\n managedNetworkName: myManagedNetwork\n managedNetworkPeeringPolicyName: myHubAndSpoke\n properties:\n hub:\n id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet\n spokes:\n - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1\n type: HubAndSpokeTopology\n resourceGroupName: myResourceGroup\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:managednetwork:ManagedNetworkPeeringPolicy myHubAndSpoke /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke \n```\n",
"properties": {
"location": {
"type": "string",
@@ -425198,7 +425844,7 @@
"deprecationMessage": "Please use one of the variants: AdminRule, DefaultAdminRule."
},
"azure-native:network:AdminRuleCollection": {
- "description": "Defines the rule collection.\nAPI Version: 2021-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update an admin rule collection\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var adminRuleCollection = new AzureNative.Network.AdminRuleCollection(\"adminRuleCollection\", new()\n {\n AppliesToGroups = new[]\n {\n new AzureNative.Network.Inputs.NetworkManagerSecurityGroupItemArgs\n {\n NetworkGroupId = \"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\",\n },\n },\n ConfigurationName = \"myTestSecurityConfig\",\n Description = \"A sample policy\",\n NetworkManagerName = \"testNetworkManager\",\n ResourceGroupName = \"rg1\",\n RuleCollectionName = \"testRuleCollection\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewAdminRuleCollection(ctx, \"adminRuleCollection\", \u0026network.AdminRuleCollectionArgs{\n\t\t\tAppliesToGroups: []network.NetworkManagerSecurityGroupItemArgs{\n\t\t\t\t\u0026network.NetworkManagerSecurityGroupItemArgs{\n\t\t\t\t\tNetworkGroupId: pulumi.String(\"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tConfigurationName: pulumi.String(\"myTestSecurityConfig\"),\n\t\t\tDescription: pulumi.String(\"A sample policy\"),\n\t\t\tNetworkManagerName: pulumi.String(\"testNetworkManager\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tRuleCollectionName: pulumi.String(\"testRuleCollection\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.AdminRuleCollection;\nimport com.pulumi.azurenative.network.AdminRuleCollectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var adminRuleCollection = new AdminRuleCollection(\"adminRuleCollection\", AdminRuleCollectionArgs.builder() \n .appliesToGroups(Map.of(\"networkGroupId\", \"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\"))\n .configurationName(\"myTestSecurityConfig\")\n .description(\"A sample policy\")\n .networkManagerName(\"testNetworkManager\")\n .resourceGroupName(\"rg1\")\n .ruleCollectionName(\"testRuleCollection\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst adminRuleCollection = new azure_native.network.AdminRuleCollection(\"adminRuleCollection\", {\n appliesToGroups: [{\n networkGroupId: \"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\",\n }],\n configurationName: \"myTestSecurityConfig\",\n description: \"A sample policy\",\n networkManagerName: \"testNetworkManager\",\n resourceGroupName: \"rg1\",\n ruleCollectionName: \"testRuleCollection\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nadmin_rule_collection = azure_native.network.AdminRuleCollection(\"adminRuleCollection\",\n applies_to_groups=[azure_native.network.NetworkManagerSecurityGroupItemArgs(\n network_group_id=\"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\",\n )],\n configuration_name=\"myTestSecurityConfig\",\n description=\"A sample policy\",\n network_manager_name=\"testNetworkManager\",\n resource_group_name=\"rg1\",\n rule_collection_name=\"testRuleCollection\")\n\n```\n\n```yaml\nresources:\n adminRuleCollection:\n type: azure-native:network:AdminRuleCollection\n properties:\n appliesToGroups:\n - networkGroupId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\n configurationName: myTestSecurityConfig\n description: A sample policy\n networkManagerName: testNetworkManager\n resourceGroupName: rg1\n ruleCollectionName: testRuleCollection\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:AdminRuleCollection myTestSecurityConfig /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig \n```\n",
+ "description": "Defines the rule collection.\nAPI Version: 2021-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update an admin rule collection\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var adminRuleCollection = new AzureNative.Network.AdminRuleCollection(\"adminRuleCollection\", new()\n {\n AppliesToGroups = new[]\n {\n new AzureNative.Network.Inputs.NetworkManagerSecurityGroupItemArgs\n {\n NetworkGroupId = \"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\",\n },\n },\n ConfigurationName = \"myTestSecurityConfig\",\n Description = \"A sample policy\",\n NetworkManagerName = \"testNetworkManager\",\n ResourceGroupName = \"rg1\",\n RuleCollectionName = \"testRuleCollection\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewAdminRuleCollection(ctx, \"adminRuleCollection\", \u0026network.AdminRuleCollectionArgs{\n\t\t\tAppliesToGroups: []network.NetworkManagerSecurityGroupItemArgs{\n\t\t\t\t\u0026network.NetworkManagerSecurityGroupItemArgs{\n\t\t\t\t\tNetworkGroupId: pulumi.String(\"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tConfigurationName: pulumi.String(\"myTestSecurityConfig\"),\n\t\t\tDescription: pulumi.String(\"A sample policy\"),\n\t\t\tNetworkManagerName: pulumi.String(\"testNetworkManager\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tRuleCollectionName: pulumi.String(\"testRuleCollection\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.AdminRuleCollection;\nimport com.pulumi.azurenative.network.AdminRuleCollectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var adminRuleCollection = new AdminRuleCollection(\"adminRuleCollection\", AdminRuleCollectionArgs.builder() \n .appliesToGroups(Map.of(\"networkGroupId\", \"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\"))\n .configurationName(\"myTestSecurityConfig\")\n .description(\"A sample policy\")\n .networkManagerName(\"testNetworkManager\")\n .resourceGroupName(\"rg1\")\n .ruleCollectionName(\"testRuleCollection\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst adminRuleCollection = new azure_native.network.AdminRuleCollection(\"adminRuleCollection\", {\n appliesToGroups: [{\n networkGroupId: \"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\",\n }],\n configurationName: \"myTestSecurityConfig\",\n description: \"A sample policy\",\n networkManagerName: \"testNetworkManager\",\n resourceGroupName: \"rg1\",\n ruleCollectionName: \"testRuleCollection\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nadmin_rule_collection = azure_native.network.AdminRuleCollection(\"adminRuleCollection\",\n applies_to_groups=[azure_native.network.NetworkManagerSecurityGroupItemArgs(\n network_group_id=\"/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\",\n )],\n configuration_name=\"myTestSecurityConfig\",\n description=\"A sample policy\",\n network_manager_name=\"testNetworkManager\",\n resource_group_name=\"rg1\",\n rule_collection_name=\"testRuleCollection\")\n\n```\n\n```yaml\nresources:\n adminRuleCollection:\n type: azure-native:network:AdminRuleCollection\n properties:\n appliesToGroups:\n - networkGroupId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup\n configurationName: myTestSecurityConfig\n description: A sample policy\n networkManagerName: testNetworkManager\n resourceGroupName: rg1\n ruleCollectionName: testRuleCollection\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:AdminRuleCollection myTestSecurityConfig /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection \n```\n",
"properties": {
"appliesToGroups": {
"type": "array",
@@ -427724,7 +428370,7 @@
]
},
"azure-native:network:DefaultAdminRule": {
- "description": "Network default admin rule.\nAPI Version: 2021-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a default admin rule\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var defaultAdminRule = new AzureNative.Network.DefaultAdminRule(\"defaultAdminRule\", new()\n {\n ConfigurationName = \"myTestSecurityConfig\",\n Flag = \"AllowVnetInbound\",\n Kind = \"Default\",\n NetworkManagerName = \"testNetworkManager\",\n ResourceGroupName = \"rg1\",\n RuleCollectionName = \"testRuleCollection\",\n RuleName = \"SampleDefaultAdminRule\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewDefaultAdminRule(ctx, \"defaultAdminRule\", \u0026network.DefaultAdminRuleArgs{\n\t\t\tConfigurationName: pulumi.String(\"myTestSecurityConfig\"),\n\t\t\tFlag: pulumi.String(\"AllowVnetInbound\"),\n\t\t\tKind: pulumi.String(\"Default\"),\n\t\t\tNetworkManagerName: pulumi.String(\"testNetworkManager\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tRuleCollectionName: pulumi.String(\"testRuleCollection\"),\n\t\t\tRuleName: pulumi.String(\"SampleDefaultAdminRule\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.DefaultAdminRule;\nimport com.pulumi.azurenative.network.DefaultAdminRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var defaultAdminRule = new DefaultAdminRule(\"defaultAdminRule\", DefaultAdminRuleArgs.builder() \n .configurationName(\"myTestSecurityConfig\")\n .flag(\"AllowVnetInbound\")\n .kind(\"Default\")\n .networkManagerName(\"testNetworkManager\")\n .resourceGroupName(\"rg1\")\n .ruleCollectionName(\"testRuleCollection\")\n .ruleName(\"SampleDefaultAdminRule\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst defaultAdminRule = new azure_native.network.DefaultAdminRule(\"defaultAdminRule\", {\n configurationName: \"myTestSecurityConfig\",\n flag: \"AllowVnetInbound\",\n kind: \"Default\",\n networkManagerName: \"testNetworkManager\",\n resourceGroupName: \"rg1\",\n ruleCollectionName: \"testRuleCollection\",\n ruleName: \"SampleDefaultAdminRule\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndefault_admin_rule = azure_native.network.DefaultAdminRule(\"defaultAdminRule\",\n configuration_name=\"myTestSecurityConfig\",\n flag=\"AllowVnetInbound\",\n kind=\"Default\",\n network_manager_name=\"testNetworkManager\",\n resource_group_name=\"rg1\",\n rule_collection_name=\"testRuleCollection\",\n rule_name=\"SampleDefaultAdminRule\")\n\n```\n\n```yaml\nresources:\n defaultAdminRule:\n type: azure-native:network:DefaultAdminRule\n properties:\n configurationName: myTestSecurityConfig\n flag: AllowVnetInbound\n kind: Default\n networkManagerName: testNetworkManager\n resourceGroupName: rg1\n ruleCollectionName: testRuleCollection\n ruleName: SampleDefaultAdminRule\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create an admin rule\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var defaultAdminRule = new AzureNative.Network.DefaultAdminRule(\"defaultAdminRule\", new()\n {\n ConfigurationName = \"myTestSecurityConfig\",\n NetworkManagerName = \"testNetworkManager\",\n ResourceGroupName = \"rg1\",\n RuleCollectionName = \"testRuleCollection\",\n RuleName = \"SampleAdminRule\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewDefaultAdminRule(ctx, \"defaultAdminRule\", \u0026network.DefaultAdminRuleArgs{\n\t\t\tConfigurationName: pulumi.String(\"myTestSecurityConfig\"),\n\t\t\tNetworkManagerName: pulumi.String(\"testNetworkManager\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tRuleCollectionName: pulumi.String(\"testRuleCollection\"),\n\t\t\tRuleName: pulumi.String(\"SampleAdminRule\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.DefaultAdminRule;\nimport com.pulumi.azurenative.network.DefaultAdminRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var defaultAdminRule = new DefaultAdminRule(\"defaultAdminRule\", DefaultAdminRuleArgs.builder() \n .configurationName(\"myTestSecurityConfig\")\n .networkManagerName(\"testNetworkManager\")\n .resourceGroupName(\"rg1\")\n .ruleCollectionName(\"testRuleCollection\")\n .ruleName(\"SampleAdminRule\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst defaultAdminRule = new azure_native.network.DefaultAdminRule(\"defaultAdminRule\", {\n configurationName: \"myTestSecurityConfig\",\n networkManagerName: \"testNetworkManager\",\n resourceGroupName: \"rg1\",\n ruleCollectionName: \"testRuleCollection\",\n ruleName: \"SampleAdminRule\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndefault_admin_rule = azure_native.network.DefaultAdminRule(\"defaultAdminRule\",\n configuration_name=\"myTestSecurityConfig\",\n network_manager_name=\"testNetworkManager\",\n resource_group_name=\"rg1\",\n rule_collection_name=\"testRuleCollection\",\n rule_name=\"SampleAdminRule\")\n\n```\n\n```yaml\nresources:\n defaultAdminRule:\n type: azure-native:network:DefaultAdminRule\n properties:\n configurationName: myTestSecurityConfig\n networkManagerName: testNetworkManager\n resourceGroupName: rg1\n ruleCollectionName: testRuleCollection\n ruleName: SampleAdminRule\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:DefaultAdminRule SampleAdminRule /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleAdminRule \n```\n",
+ "description": "Network default admin rule.\nAPI Version: 2021-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a default admin rule\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var defaultAdminRule = new AzureNative.Network.DefaultAdminRule(\"defaultAdminRule\", new()\n {\n ConfigurationName = \"myTestSecurityConfig\",\n Flag = \"AllowVnetInbound\",\n Kind = \"Default\",\n NetworkManagerName = \"testNetworkManager\",\n ResourceGroupName = \"rg1\",\n RuleCollectionName = \"testRuleCollection\",\n RuleName = \"SampleDefaultAdminRule\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewDefaultAdminRule(ctx, \"defaultAdminRule\", \u0026network.DefaultAdminRuleArgs{\n\t\t\tConfigurationName: pulumi.String(\"myTestSecurityConfig\"),\n\t\t\tFlag: pulumi.String(\"AllowVnetInbound\"),\n\t\t\tKind: pulumi.String(\"Default\"),\n\t\t\tNetworkManagerName: pulumi.String(\"testNetworkManager\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tRuleCollectionName: pulumi.String(\"testRuleCollection\"),\n\t\t\tRuleName: pulumi.String(\"SampleDefaultAdminRule\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.DefaultAdminRule;\nimport com.pulumi.azurenative.network.DefaultAdminRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var defaultAdminRule = new DefaultAdminRule(\"defaultAdminRule\", DefaultAdminRuleArgs.builder() \n .configurationName(\"myTestSecurityConfig\")\n .flag(\"AllowVnetInbound\")\n .kind(\"Default\")\n .networkManagerName(\"testNetworkManager\")\n .resourceGroupName(\"rg1\")\n .ruleCollectionName(\"testRuleCollection\")\n .ruleName(\"SampleDefaultAdminRule\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst defaultAdminRule = new azure_native.network.DefaultAdminRule(\"defaultAdminRule\", {\n configurationName: \"myTestSecurityConfig\",\n flag: \"AllowVnetInbound\",\n kind: \"Default\",\n networkManagerName: \"testNetworkManager\",\n resourceGroupName: \"rg1\",\n ruleCollectionName: \"testRuleCollection\",\n ruleName: \"SampleDefaultAdminRule\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndefault_admin_rule = azure_native.network.DefaultAdminRule(\"defaultAdminRule\",\n configuration_name=\"myTestSecurityConfig\",\n flag=\"AllowVnetInbound\",\n kind=\"Default\",\n network_manager_name=\"testNetworkManager\",\n resource_group_name=\"rg1\",\n rule_collection_name=\"testRuleCollection\",\n rule_name=\"SampleDefaultAdminRule\")\n\n```\n\n```yaml\nresources:\n defaultAdminRule:\n type: azure-native:network:DefaultAdminRule\n properties:\n configurationName: myTestSecurityConfig\n flag: AllowVnetInbound\n kind: Default\n networkManagerName: testNetworkManager\n resourceGroupName: rg1\n ruleCollectionName: testRuleCollection\n ruleName: SampleDefaultAdminRule\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create an admin rule\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var defaultAdminRule = new AzureNative.Network.DefaultAdminRule(\"defaultAdminRule\", new()\n {\n ConfigurationName = \"myTestSecurityConfig\",\n NetworkManagerName = \"testNetworkManager\",\n ResourceGroupName = \"rg1\",\n RuleCollectionName = \"testRuleCollection\",\n RuleName = \"SampleAdminRule\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewDefaultAdminRule(ctx, \"defaultAdminRule\", \u0026network.DefaultAdminRuleArgs{\n\t\t\tConfigurationName: pulumi.String(\"myTestSecurityConfig\"),\n\t\t\tNetworkManagerName: pulumi.String(\"testNetworkManager\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tRuleCollectionName: pulumi.String(\"testRuleCollection\"),\n\t\t\tRuleName: pulumi.String(\"SampleAdminRule\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.DefaultAdminRule;\nimport com.pulumi.azurenative.network.DefaultAdminRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var defaultAdminRule = new DefaultAdminRule(\"defaultAdminRule\", DefaultAdminRuleArgs.builder() \n .configurationName(\"myTestSecurityConfig\")\n .networkManagerName(\"testNetworkManager\")\n .resourceGroupName(\"rg1\")\n .ruleCollectionName(\"testRuleCollection\")\n .ruleName(\"SampleAdminRule\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst defaultAdminRule = new azure_native.network.DefaultAdminRule(\"defaultAdminRule\", {\n configurationName: \"myTestSecurityConfig\",\n networkManagerName: \"testNetworkManager\",\n resourceGroupName: \"rg1\",\n ruleCollectionName: \"testRuleCollection\",\n ruleName: \"SampleAdminRule\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndefault_admin_rule = azure_native.network.DefaultAdminRule(\"defaultAdminRule\",\n configuration_name=\"myTestSecurityConfig\",\n network_manager_name=\"testNetworkManager\",\n resource_group_name=\"rg1\",\n rule_collection_name=\"testRuleCollection\",\n rule_name=\"SampleAdminRule\")\n\n```\n\n```yaml\nresources:\n defaultAdminRule:\n type: azure-native:network:DefaultAdminRule\n properties:\n configurationName: myTestSecurityConfig\n networkManagerName: testNetworkManager\n resourceGroupName: rg1\n ruleCollectionName: testRuleCollection\n ruleName: SampleAdminRule\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:DefaultAdminRule SampleAdminRule /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule \n```\n",
"properties": {
"access": {
"type": "string",
@@ -432772,7 +433418,7 @@
]
},
"azure-native:network:LoadBalancer": {
- "description": "LoadBalancer resource.\nAPI Version: 2020-11-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create load balancer\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Frontend IP in Zone 1\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n Zones = new[]\n {\n \"1\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\")),\n Map.entry(\"zones\", \"1\")\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n zones: [\"1\"],\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n \"zones\": [\"1\"],\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n zones:\n - '1'\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Global Tier and one regional load balancer in its backend pool\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n LoadBalancerBackendAddresses = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancerBackendAddressArgs\n {\n LoadBalancerFrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n Name = \"regional-lb1-address\",\n },\n },\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n Tier = \"Global\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.ofEntries(\n Map.entry(\"loadBalancerBackendAddresses\", Map.ofEntries(\n Map.entry(\"loadBalancerFrontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\")),\n Map.entry(\"name\", \"regional-lb1-address\")\n )),\n Map.entry(\"name\", \"be-lb\")\n ))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.ofEntries(\n Map.entry(\"name\", \"Standard\"),\n Map.entry(\"tier\", \"Global\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n loadBalancerBackendAddresses: [{\n loadBalancerFrontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n name: \"regional-lb1-address\",\n }],\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n tier: \"Global\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[{\n \"loadBalancerBackendAddresses\": [{\n \"loadBalancerFrontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n ),\n \"name\": \"regional-lb1-address\",\n }],\n \"name\": \"be-lb\",\n }],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n tier=\"Global\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - loadBalancerBackendAddresses:\n - loadBalancerFrontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\n name: regional-lb1-address\n name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n tier: Global\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Standard SKU\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with inbound nat pool\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[] {},\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n Name = \"test\",\n PrivateIPAllocationMethod = \"Dynamic\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n Zones = new[] {},\n },\n },\n InboundNatPools = new[]\n {\n new AzureNative.Network.Inputs.InboundNatPoolArgs\n {\n BackendPort = 8888,\n EnableFloatingIP = true,\n EnableTcpReset = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n FrontendPortRangeEnd = 8085,\n FrontendPortRangeStart = 8080,\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n IdleTimeoutInMinutes = 10,\n Name = \"test\",\n Protocol = \"Tcp\",\n },\n },\n InboundNatRules = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[] {},\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[] {},\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools()\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"privateIPAllocationMethod\", \"Dynamic\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\")),\n Map.entry(\"zones\", )\n ))\n .inboundNatPools(Map.ofEntries(\n Map.entry(\"backendPort\", 8888),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\")),\n Map.entry(\"frontendPortRangeEnd\", 8085),\n Map.entry(\"frontendPortRangeStart\", 8080),\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\"),\n Map.entry(\"idleTimeoutInMinutes\", 10),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .inboundNatRules()\n .loadBalancerName(\"lb\")\n .loadBalancingRules()\n .location(\"eastus\")\n .outboundRules()\n .probes()\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [],\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n name: \"test\",\n privateIPAllocationMethod: \"Dynamic\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n zones: [],\n }],\n inboundNatPools: [{\n backendPort: 8888,\n enableFloatingIP: true,\n enableTcpReset: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n frontendPortRangeEnd: 8085,\n frontendPortRangeStart: 8080,\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n idleTimeoutInMinutes: 10,\n name: \"test\",\n protocol: \"Tcp\",\n }],\n inboundNatRules: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [],\n location: \"eastus\",\n outboundRules: [],\n probes: [],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[],\n frontend_ip_configurations=[{\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n \"name\": \"test\",\n \"privateIPAllocationMethod\": \"Dynamic\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n ),\n \"zones\": [],\n }],\n inbound_nat_pools=[{\n \"backendPort\": 8888,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n ),\n \"frontendPortRangeEnd\": 8085,\n \"frontendPortRangeStart\": 8080,\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n \"idleTimeoutInMinutes\": 10,\n \"name\": \"test\",\n \"protocol\": \"Tcp\",\n }],\n inbound_nat_rules=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[],\n location=\"eastus\",\n outbound_rules=[],\n probes=[],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools: []\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n name: test\n privateIPAllocationMethod: Dynamic\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\n zones: []\n inboundNatPools:\n - backendPort: 8888\n enableFloatingIP: true\n enableTcpReset: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n frontendPortRangeEnd: 8085\n frontendPortRangeStart: 8080\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\n idleTimeoutInMinutes: 10\n name: test\n protocol: Tcp\n inboundNatRules: []\n loadBalancerName: lb\n loadBalancingRules: []\n location: eastus\n outboundRules: []\n probes: []\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with outbound rules\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n PublicIPAddress = new AzureNative.Network.Inputs.PublicIPAddressArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n DisableOutboundSnat = true,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[]\n {\n new AzureNative.Network.Inputs.OutboundRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n },\n Name = \"rule1\",\n Protocol = \"All\",\n },\n },\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"publicIPAddress\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"disableOutboundSnat\", true),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"frontendIPConfigurations\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"name\", \"rule1\"),\n Map.entry(\"protocol\", \"All\")\n ))\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n disableOutboundSnat: true,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n }],\n name: \"rule1\",\n protocol: \"All\",\n }],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[azure_native.network.FrontendIPConfigurationArgs(\n name=\"fe-lb\",\n public_ip_address=azure_native.network.PublicIPAddressArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n ),\n )],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"disableOutboundSnat\": True,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"frontendIPConfigurations\": [azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n )],\n \"name\": \"rule1\",\n \"protocol\": \"All\",\n }],\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n publicIPAddress:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n disableOutboundSnat: true\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n name: rule1\n protocol: All\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:LoadBalancer lb /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb \n```\n",
+ "description": "LoadBalancer resource.\nAPI Version: 2020-11-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create load balancer\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Frontend IP in Zone 1\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n Zones = new[]\n {\n \"1\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\")),\n Map.entry(\"zones\", \"1\")\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n zones: [\"1\"],\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n \"zones\": [\"1\"],\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n zones:\n - '1'\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Global Tier and one regional load balancer in its backend pool\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n LoadBalancerBackendAddresses = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancerBackendAddressArgs\n {\n LoadBalancerFrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n Name = \"regional-lb1-address\",\n },\n },\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n Tier = \"Global\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.ofEntries(\n Map.entry(\"loadBalancerBackendAddresses\", Map.ofEntries(\n Map.entry(\"loadBalancerFrontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\")),\n Map.entry(\"name\", \"regional-lb1-address\")\n )),\n Map.entry(\"name\", \"be-lb\")\n ))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.ofEntries(\n Map.entry(\"name\", \"Standard\"),\n Map.entry(\"tier\", \"Global\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n loadBalancerBackendAddresses: [{\n loadBalancerFrontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n name: \"regional-lb1-address\",\n }],\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n tier: \"Global\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[{\n \"loadBalancerBackendAddresses\": [{\n \"loadBalancerFrontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n ),\n \"name\": \"regional-lb1-address\",\n }],\n \"name\": \"be-lb\",\n }],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n tier=\"Global\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - loadBalancerBackendAddresses:\n - loadBalancerFrontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\n name: regional-lb1-address\n name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n tier: Global\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Standard SKU\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with inbound nat pool\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[] {},\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n Name = \"test\",\n PrivateIPAllocationMethod = \"Dynamic\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n Zones = new[] {},\n },\n },\n InboundNatPools = new[]\n {\n new AzureNative.Network.Inputs.InboundNatPoolArgs\n {\n BackendPort = 8888,\n EnableFloatingIP = true,\n EnableTcpReset = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n FrontendPortRangeEnd = 8085,\n FrontendPortRangeStart = 8080,\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n IdleTimeoutInMinutes = 10,\n Name = \"test\",\n Protocol = \"Tcp\",\n },\n },\n InboundNatRules = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[] {},\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[] {},\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools()\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"privateIPAllocationMethod\", \"Dynamic\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\")),\n Map.entry(\"zones\", )\n ))\n .inboundNatPools(Map.ofEntries(\n Map.entry(\"backendPort\", 8888),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\")),\n Map.entry(\"frontendPortRangeEnd\", 8085),\n Map.entry(\"frontendPortRangeStart\", 8080),\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\"),\n Map.entry(\"idleTimeoutInMinutes\", 10),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .inboundNatRules()\n .loadBalancerName(\"lb\")\n .loadBalancingRules()\n .location(\"eastus\")\n .outboundRules()\n .probes()\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [],\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n name: \"test\",\n privateIPAllocationMethod: \"Dynamic\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n zones: [],\n }],\n inboundNatPools: [{\n backendPort: 8888,\n enableFloatingIP: true,\n enableTcpReset: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n frontendPortRangeEnd: 8085,\n frontendPortRangeStart: 8080,\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n idleTimeoutInMinutes: 10,\n name: \"test\",\n protocol: \"Tcp\",\n }],\n inboundNatRules: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [],\n location: \"eastus\",\n outboundRules: [],\n probes: [],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[],\n frontend_ip_configurations=[{\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n \"name\": \"test\",\n \"privateIPAllocationMethod\": \"Dynamic\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n ),\n \"zones\": [],\n }],\n inbound_nat_pools=[{\n \"backendPort\": 8888,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n ),\n \"frontendPortRangeEnd\": 8085,\n \"frontendPortRangeStart\": 8080,\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n \"idleTimeoutInMinutes\": 10,\n \"name\": \"test\",\n \"protocol\": \"Tcp\",\n }],\n inbound_nat_rules=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[],\n location=\"eastus\",\n outbound_rules=[],\n probes=[],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools: []\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n name: test\n privateIPAllocationMethod: Dynamic\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\n zones: []\n inboundNatPools:\n - backendPort: 8888\n enableFloatingIP: true\n enableTcpReset: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n frontendPortRangeEnd: 8085\n frontendPortRangeStart: 8080\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\n idleTimeoutInMinutes: 10\n name: test\n protocol: Tcp\n inboundNatRules: []\n loadBalancerName: lb\n loadBalancingRules: []\n location: eastus\n outboundRules: []\n probes: []\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with outbound rules\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n \n {\n { \"name\", \"fe-lb\" },\n { \"publicIPAddress\", new AzureNative.Network.Inputs.PublicIPAddressArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n } },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n DisableOutboundSnat = true,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[]\n {\n new AzureNative.Network.Inputs.OutboundRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n },\n Name = \"rule1\",\n Protocol = \"All\",\n },\n },\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"publicIPAddress\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"disableOutboundSnat\", true),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"frontendIPConfigurations\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"name\", \"rule1\"),\n Map.entry(\"protocol\", \"All\")\n ))\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n disableOutboundSnat: true,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n }],\n name: \"rule1\",\n protocol: \"All\",\n }],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[azure_native.network.FrontendIPConfigurationResponseArgs(\n name=\"fe-lb\",\n public_ip_address=azure_native.network.PublicIPAddressArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n ),\n )],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"disableOutboundSnat\": True,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"frontendIPConfigurations\": [azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n )],\n \"name\": \"rule1\",\n \"protocol\": \"All\",\n }],\n probes=[{\n \"intervalInSeconds\": 15,\n \"name\": \"probe-lb\",\n \"numberOfProbes\": 2,\n \"port\": 80,\n \"protocol\": \"Http\",\n \"requestPath\": \"healthcheck.aspx\",\n }],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n publicIPAddress:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n disableOutboundSnat: true\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n name: rule1\n protocol: All\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:LoadBalancer lb /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb \n```\n",
"properties": {
"backendAddressPools": {
"type": "array",
@@ -434119,7 +434765,7 @@
]
},
"azure-native:network:NetworkInterface": {
- "description": "A network interface in a resource group.\nAPI Version: 2020-11-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create network interface\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkInterface = new AzureNative.Network.NetworkInterface(\"networkInterface\", new()\n {\n EnableAcceleratedNetworking = true,\n IpConfigurations = new[]\n {\n new AzureNative.Network.Inputs.NetworkInterfaceIPConfigurationArgs\n {\n Name = \"ipconfig1\",\n PublicIPAddress = new AzureNative.Network.Inputs.PublicIPAddressArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n },\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n },\n },\n },\n Location = \"eastus\",\n NetworkInterfaceName = \"test-nic\",\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.NetworkInterface;\nimport com.pulumi.azurenative.network.NetworkInterfaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var networkInterface = new NetworkInterface(\"networkInterface\", NetworkInterfaceArgs.builder() \n .enableAcceleratedNetworking(true)\n .ipConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"ipconfig1\"),\n Map.entry(\"publicIPAddress\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\")),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\"))\n ))\n .location(\"eastus\")\n .networkInterfaceName(\"test-nic\")\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst networkInterface = new azure_native.network.NetworkInterface(\"networkInterface\", {\n enableAcceleratedNetworking: true,\n ipConfigurations: [{\n name: \"ipconfig1\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n },\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n },\n }],\n location: \"eastus\",\n networkInterfaceName: \"test-nic\",\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_interface = azure_native.network.NetworkInterface(\"networkInterface\",\n enable_accelerated_networking=True,\n ip_configurations=[azure_native.network.NetworkInterfaceIPConfigurationArgs(\n name=\"ipconfig1\",\n public_ip_address=azure_native.network.PublicIPAddressArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n ),\n subnet=azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n ),\n )],\n location=\"eastus\",\n network_interface_name=\"test-nic\",\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n networkInterface:\n type: azure-native:network:NetworkInterface\n properties:\n enableAcceleratedNetworking: true\n ipConfigurations:\n - name: ipconfig1\n publicIPAddress:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\n location: eastus\n networkInterfaceName: test-nic\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:NetworkInterface test-nic /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic \n```\n",
+ "description": "A network interface in a resource group.\nAPI Version: 2020-11-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create network interface\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkInterface = new AzureNative.Network.NetworkInterface(\"networkInterface\", new()\n {\n EnableAcceleratedNetworking = true,\n IpConfigurations = new[]\n {\n new AzureNative.Network.Inputs.NetworkInterfaceIPConfigurationArgs\n {\n Name = \"ipconfig1\",\n PublicIPAddress = new AzureNative.Network.Inputs.PublicIPAddressArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n },\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n },\n },\n },\n Location = \"eastus\",\n NetworkInterfaceName = \"test-nic\",\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.NetworkInterface;\nimport com.pulumi.azurenative.network.NetworkInterfaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var networkInterface = new NetworkInterface(\"networkInterface\", NetworkInterfaceArgs.builder() \n .enableAcceleratedNetworking(true)\n .ipConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"ipconfig1\"),\n Map.entry(\"publicIPAddress\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\")),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\"))\n ))\n .location(\"eastus\")\n .networkInterfaceName(\"test-nic\")\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst networkInterface = new azure_native.network.NetworkInterface(\"networkInterface\", {\n enableAcceleratedNetworking: true,\n ipConfigurations: [{\n name: \"ipconfig1\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n },\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n },\n }],\n location: \"eastus\",\n networkInterfaceName: \"test-nic\",\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_interface = azure_native.network.NetworkInterface(\"networkInterface\",\n enable_accelerated_networking=True,\n ip_configurations=[{\n \"name\": \"ipconfig1\",\n \"publicIPAddress\": azure_native.network.PublicIPAddressArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n ),\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n ),\n }],\n location=\"eastus\",\n network_interface_name=\"test-nic\",\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n networkInterface:\n type: azure-native:network:NetworkInterface\n properties:\n enableAcceleratedNetworking: true\n ipConfigurations:\n - name: ipconfig1\n publicIPAddress:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\n location: eastus\n networkInterfaceName: test-nic\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:NetworkInterface test-nic /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic \n```\n",
"properties": {
"dnsSettings": {
"type": "object",
@@ -441676,7 +442322,7 @@
]
},
"azure-native:network:SubscriptionNetworkManagerConnection": {
- "description": "The Network Manager Connection resource\nAPI Version: 2022-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update Subscription Network Manager Connection\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var subscriptionNetworkManagerConnection = new AzureNative.Network.SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\", new()\n {\n NetworkManagerConnectionName = \"TestNMConnection\",\n NetworkManagerId = \"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewSubscriptionNetworkManagerConnection(ctx, \"subscriptionNetworkManagerConnection\", \u0026network.SubscriptionNetworkManagerConnectionArgs{\n\t\t\tNetworkManagerConnectionName: pulumi.String(\"TestNMConnection\"),\n\t\t\tNetworkManagerId: pulumi.String(\"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.SubscriptionNetworkManagerConnection;\nimport com.pulumi.azurenative.network.SubscriptionNetworkManagerConnectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var subscriptionNetworkManagerConnection = new SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\", SubscriptionNetworkManagerConnectionArgs.builder() \n .networkManagerConnectionName(\"TestNMConnection\")\n .networkManagerId(\"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst subscriptionNetworkManagerConnection = new azure_native.network.SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\", {\n networkManagerConnectionName: \"TestNMConnection\",\n networkManagerId: \"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsubscription_network_manager_connection = azure_native.network.SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\",\n network_manager_connection_name=\"TestNMConnection\",\n network_manager_id=\"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\")\n\n```\n\n```yaml\nresources:\n subscriptionNetworkManagerConnection:\n type: azure-native:network:SubscriptionNetworkManagerConnection\n properties:\n networkManagerConnectionName: TestNMConnection\n networkManagerId: /subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:SubscriptionNetworkManagerConnection TestNMConnection /subscriptions/subscriptionA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection \n```\n",
+ "description": "The Network Manager Connection resource\nAPI Version: 2022-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update Subscription Network Manager Connection\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var subscriptionNetworkManagerConnection = new AzureNative.Network.SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\", new()\n {\n NetworkManagerConnectionName = \"TestNMConnection\",\n NetworkManagerId = \"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewSubscriptionNetworkManagerConnection(ctx, \"subscriptionNetworkManagerConnection\", \u0026network.SubscriptionNetworkManagerConnectionArgs{\n\t\t\tNetworkManagerConnectionName: pulumi.String(\"TestNMConnection\"),\n\t\t\tNetworkManagerId: pulumi.String(\"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.SubscriptionNetworkManagerConnection;\nimport com.pulumi.azurenative.network.SubscriptionNetworkManagerConnectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var subscriptionNetworkManagerConnection = new SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\", SubscriptionNetworkManagerConnectionArgs.builder() \n .networkManagerConnectionName(\"TestNMConnection\")\n .networkManagerId(\"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst subscriptionNetworkManagerConnection = new azure_native.network.SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\", {\n networkManagerConnectionName: \"TestNMConnection\",\n networkManagerId: \"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsubscription_network_manager_connection = azure_native.network.SubscriptionNetworkManagerConnection(\"subscriptionNetworkManagerConnection\",\n network_manager_connection_name=\"TestNMConnection\",\n network_manager_id=\"/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\")\n\n```\n\n```yaml\nresources:\n subscriptionNetworkManagerConnection:\n type: azure-native:network:SubscriptionNetworkManagerConnection\n properties:\n networkManagerConnectionName: TestNMConnection\n networkManagerId: /subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:SubscriptionNetworkManagerConnection TestMConnection /subscriptions/subscriptionA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection \n```\n",
"properties": {
"description": {
"type": "string",
@@ -451722,7 +452368,7 @@
]
},
"azure-native:powerbidedicated:CapacityDetails": {
- "description": "Represents an instance of a Dedicated Capacity resource.\nAPI Version: 2021-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create capacity\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var capacityDetails = new AzureNative.PowerBIDedicated.CapacityDetails(\"capacityDetails\", new()\n {\n Administration = new AzureNative.PowerBIDedicated.Inputs.DedicatedCapacityAdministratorsArgs\n {\n Members = new[]\n {\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n },\n },\n DedicatedCapacityName = \"azsdktest\",\n Location = \"West US\",\n ResourceGroupName = \"TestRG\",\n Sku = new AzureNative.PowerBIDedicated.Inputs.CapacitySkuArgs\n {\n Name = \"A1\",\n Tier = \"PBIE_Azure\",\n },\n Tags = \n {\n { \"testKey\", \"testValue\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tpowerbidedicated \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/powerbidedicated\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := powerbidedicated.NewCapacityDetails(ctx, \"capacityDetails\", \u0026powerbidedicated.CapacityDetailsArgs{\n\t\t\tAdministration: \u0026powerbidedicated.DedicatedCapacityAdministratorsArgs{\n\t\t\t\tMembers: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"azsdktest@microsoft.com\"),\n\t\t\t\t\tpulumi.String(\"azsdktest2@microsoft.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDedicatedCapacityName: pulumi.String(\"azsdktest\"),\n\t\t\tLocation: pulumi.String(\"West US\"),\n\t\t\tResourceGroupName: pulumi.String(\"TestRG\"),\n\t\t\tSku: \u0026powerbidedicated.CapacitySkuArgs{\n\t\t\t\tName: pulumi.String(\"A1\"),\n\t\t\t\tTier: pulumi.String(\"PBIE_Azure\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"testKey\": pulumi.String(\"testValue\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.powerbidedicated.CapacityDetails;\nimport com.pulumi.azurenative.powerbidedicated.CapacityDetailsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var capacityDetails = new CapacityDetails(\"capacityDetails\", CapacityDetailsArgs.builder() \n .administration(Map.of(\"members\", \n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\"))\n .dedicatedCapacityName(\"azsdktest\")\n .location(\"West US\")\n .resourceGroupName(\"TestRG\")\n .sku(Map.ofEntries(\n Map.entry(\"name\", \"A1\"),\n Map.entry(\"tier\", \"PBIE_Azure\")\n ))\n .tags(Map.of(\"testKey\", \"testValue\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst capacityDetails = new azure_native.powerbidedicated.CapacityDetails(\"capacityDetails\", {\n administration: {\n members: [\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n },\n dedicatedCapacityName: \"azsdktest\",\n location: \"West US\",\n resourceGroupName: \"TestRG\",\n sku: {\n name: \"A1\",\n tier: \"PBIE_Azure\",\n },\n tags: {\n testKey: \"testValue\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ncapacity_details = azure_native.powerbidedicated.CapacityDetails(\"capacityDetails\",\n administration=azure_native.powerbidedicated.DedicatedCapacityAdministratorsArgs(\n members=[\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n ),\n dedicated_capacity_name=\"azsdktest\",\n location=\"West US\",\n resource_group_name=\"TestRG\",\n sku=azure_native.powerbidedicated.CapacitySkuArgs(\n name=\"A1\",\n tier=\"PBIE_Azure\",\n ),\n tags={\n \"testKey\": \"testValue\",\n })\n\n```\n\n```yaml\nresources:\n capacityDetails:\n type: azure-native:powerbidedicated:CapacityDetails\n properties:\n administration:\n members:\n - azsdktest@microsoft.com\n - azsdktest2@microsoft.com\n dedicatedCapacityName: azsdktest\n location: West US\n resourceGroupName: TestRG\n sku:\n name: A1\n tier: PBIE_Azure\n tags:\n testKey: testValue\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:powerbidedicated:CapacityDetails azsdktest /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/servers/azsdktest \n```\n",
+ "description": "Represents an instance of a Dedicated Capacity resource.\nAPI Version: 2021-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create capacity\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var capacityDetails = new AzureNative.PowerBIDedicated.CapacityDetails(\"capacityDetails\", new()\n {\n Administration = new AzureNative.PowerBIDedicated.Inputs.DedicatedCapacityAdministratorsArgs\n {\n Members = new[]\n {\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n },\n },\n DedicatedCapacityName = \"azsdktest\",\n Location = \"West US\",\n ResourceGroupName = \"TestRG\",\n Sku = new AzureNative.PowerBIDedicated.Inputs.CapacitySkuArgs\n {\n Name = \"A1\",\n Tier = \"PBIE_Azure\",\n },\n Tags = \n {\n { \"testKey\", \"testValue\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tpowerbidedicated \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/powerbidedicated\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := powerbidedicated.NewCapacityDetails(ctx, \"capacityDetails\", \u0026powerbidedicated.CapacityDetailsArgs{\n\t\t\tAdministration: \u0026powerbidedicated.DedicatedCapacityAdministratorsArgs{\n\t\t\t\tMembers: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"azsdktest@microsoft.com\"),\n\t\t\t\t\tpulumi.String(\"azsdktest2@microsoft.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDedicatedCapacityName: pulumi.String(\"azsdktest\"),\n\t\t\tLocation: pulumi.String(\"West US\"),\n\t\t\tResourceGroupName: pulumi.String(\"TestRG\"),\n\t\t\tSku: \u0026powerbidedicated.CapacitySkuArgs{\n\t\t\t\tName: pulumi.String(\"A1\"),\n\t\t\t\tTier: pulumi.String(\"PBIE_Azure\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"testKey\": pulumi.String(\"testValue\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.powerbidedicated.CapacityDetails;\nimport com.pulumi.azurenative.powerbidedicated.CapacityDetailsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var capacityDetails = new CapacityDetails(\"capacityDetails\", CapacityDetailsArgs.builder() \n .administration(Map.of(\"members\", \n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\"))\n .dedicatedCapacityName(\"azsdktest\")\n .location(\"West US\")\n .resourceGroupName(\"TestRG\")\n .sku(Map.ofEntries(\n Map.entry(\"name\", \"A1\"),\n Map.entry(\"tier\", \"PBIE_Azure\")\n ))\n .tags(Map.of(\"testKey\", \"testValue\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst capacityDetails = new azure_native.powerbidedicated.CapacityDetails(\"capacityDetails\", {\n administration: {\n members: [\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n },\n dedicatedCapacityName: \"azsdktest\",\n location: \"West US\",\n resourceGroupName: \"TestRG\",\n sku: {\n name: \"A1\",\n tier: \"PBIE_Azure\",\n },\n tags: {\n testKey: \"testValue\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ncapacity_details = azure_native.powerbidedicated.CapacityDetails(\"capacityDetails\",\n administration=azure_native.powerbidedicated.DedicatedCapacityAdministratorsArgs(\n members=[\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n ),\n dedicated_capacity_name=\"azsdktest\",\n location=\"West US\",\n resource_group_name=\"TestRG\",\n sku=azure_native.powerbidedicated.CapacitySkuArgs(\n name=\"A1\",\n tier=\"PBIE_Azure\",\n ),\n tags={\n \"testKey\": \"testValue\",\n })\n\n```\n\n```yaml\nresources:\n capacityDetails:\n type: azure-native:powerbidedicated:CapacityDetails\n properties:\n administration:\n members:\n - azsdktest@microsoft.com\n - azsdktest2@microsoft.com\n dedicatedCapacityName: azsdktest\n location: West US\n resourceGroupName: TestRG\n sku:\n name: A1\n tier: PBIE_Azure\n tags:\n testKey: testValue\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:powerbidedicated:CapacityDetails azsdktest /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest \n```\n",
"properties": {
"administration": {
"type": "object",
@@ -460629,7 +461275,7 @@
]
},
"azure-native:security:Automation": {
- "description": "The security automation resource.\nAPI Version: 2019-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a security automation for all assessments (including all severities)\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var automation = new AzureNative.Security.Automation(\"automation\", new()\n {\n Actions = new[]\n {\n new AzureNative.Security.Inputs.AutomationActionLogicAppArgs\n {\n ActionType = \"LogicApp\",\n LogicAppResourceId = \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n Uri = \"https://exampleTriggerUri1.com\",\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = new[]\n {\n new AzureNative.Security.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = new[]\n {\n new AzureNative.Security.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n },\n },\n Tags = null,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurity \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/security\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := security.NewAutomation(ctx, \"automation\", \u0026security.AutomationArgs{\n\t\t\tActions: pulumi.AnyArray{\n\t\t\t\tsecurity.AutomationActionLogicApp{\n\t\t\t\t\tActionType: \"LogicApp\",\n\t\t\t\t\tLogicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n\t\t\t\t\tUri: \"https://exampleTriggerUri1.com\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tAutomationName: pulumi.String(\"exampleAutomation\"),\n\t\t\tDescription: pulumi.String(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\"),\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tLocation: pulumi.String(\"Central US\"),\n\t\t\tResourceGroupName: pulumi.String(\"exampleResourceGroup\"),\n\t\t\tScopes: []security.AutomationScopeArgs{\n\t\t\t\t\u0026security.AutomationScopeArgs{\n\t\t\t\t\tDescription: pulumi.String(\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n\t\t\t\t\tScopePath: pulumi.String(\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSources: []security.AutomationSourceArgs{\n\t\t\t\t\u0026security.AutomationSourceArgs{\n\t\t\t\t\tEventSource: pulumi.String(\"Assessments\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: nil,\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.security.Automation;\nimport com.pulumi.azurenative.security.AutomationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var automation = new Automation(\"automation\", AutomationArgs.builder() \n .actions(Map.ofEntries(\n Map.entry(\"actionType\", \"LogicApp\"),\n Map.entry(\"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\"),\n Map.entry(\"uri\", \"https://exampleTriggerUri1.com\")\n ))\n .automationName(\"exampleAutomation\")\n .description(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\")\n .isEnabled(true)\n .location(\"Central US\")\n .resourceGroupName(\"exampleResourceGroup\")\n .scopes(Map.ofEntries(\n Map.entry(\"description\", \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n Map.entry(\"scopePath\", \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\")\n ))\n .sources(Map.of(\"eventSource\", \"Assessments\"))\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst automation = new azure_native.security.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nautomation = azure_native.security.Automation(\"automation\",\n actions=[azure_native.security.AutomationActionLogicAppArgs(\n action_type=\"LogicApp\",\n logic_app_resource_id=\"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri=\"https://exampleTriggerUri1.com\",\n )],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_native.security.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_native.security.AutomationSourceArgs(\n event_source=\"Assessments\",\n )],\n tags={})\n\n```\n\n```yaml\nresources:\n automation:\n type: azure-native:security:Automation\n properties:\n actions:\n - actionType: LogicApp\n logicAppResourceId: /subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\n uri: https://exampleTriggerUri1.com\n automationName: exampleAutomation\n description: An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\n isEnabled: true\n location: Central US\n resourceGroupName: exampleResourceGroup\n scopes:\n - description: 'A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5'\n scopePath: /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\n sources:\n - eventSource: Assessments\n tags: {}\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create or update a security automation for all high severity assessments\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var automation = new AzureNative.Security.Automation(\"automation\", new()\n {\n Actions = new[]\n {\n new AzureNative.Security.Inputs.AutomationActionLogicAppArgs\n {\n ActionType = \"LogicApp\",\n LogicAppResourceId = \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n Uri = \"https://exampleTriggerUri1.com\",\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = new[]\n {\n new AzureNative.Security.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = new[]\n {\n new AzureNative.Security.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = new[]\n {\n new AzureNative.Security.Inputs.AutomationRuleSetArgs\n {\n Rules = new[]\n {\n new AzureNative.Security.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"High\",\n Operator = \"Equals\",\n PropertyJPath = \"properties.metadata.severity\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = null,\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.security.Automation;\nimport com.pulumi.azurenative.security.AutomationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var automation = new Automation(\"automation\", AutomationArgs.builder() \n .actions(Map.ofEntries(\n Map.entry(\"actionType\", \"LogicApp\"),\n Map.entry(\"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\"),\n Map.entry(\"uri\", \"https://exampleTriggerUri1.com\")\n ))\n .automationName(\"exampleAutomation\")\n .description(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\")\n .isEnabled(true)\n .location(\"Central US\")\n .resourceGroupName(\"exampleResourceGroup\")\n .scopes(Map.ofEntries(\n Map.entry(\"description\", \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n Map.entry(\"scopePath\", \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\")\n ))\n .sources(Map.ofEntries(\n Map.entry(\"eventSource\", \"Assessments\"),\n Map.entry(\"ruleSets\", Map.of(\"rules\", Map.ofEntries(\n Map.entry(\"expectedValue\", \"High\"),\n Map.entry(\"operator\", \"Equals\"),\n Map.entry(\"propertyJPath\", \"properties.metadata.severity\"),\n Map.entry(\"propertyType\", \"String\")\n )))\n ))\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst automation = new azure_native.security.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"High\",\n operator: \"Equals\",\n propertyJPath: \"properties.metadata.severity\",\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nautomation = azure_native.security.Automation(\"automation\",\n actions=[azure_native.security.AutomationActionLogicAppArgs(\n action_type=\"LogicApp\",\n logic_app_resource_id=\"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri=\"https://exampleTriggerUri1.com\",\n )],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_native.security.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[{\n \"eventSource\": \"Assessments\",\n \"ruleSets\": [{\n \"rules\": [azure_native.security.AutomationTriggeringRuleArgs(\n expected_value=\"High\",\n operator=\"Equals\",\n property_j_path=\"properties.metadata.severity\",\n property_type=\"String\",\n )],\n }],\n }],\n tags={})\n\n```\n\n```yaml\nresources:\n automation:\n type: azure-native:security:Automation\n properties:\n actions:\n - actionType: LogicApp\n logicAppResourceId: /subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\n uri: https://exampleTriggerUri1.com\n automationName: exampleAutomation\n description: An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\n isEnabled: true\n location: Central US\n resourceGroupName: exampleResourceGroup\n scopes:\n - description: 'A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5'\n scopePath: /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\n sources:\n - eventSource: Assessments\n ruleSets:\n - rules:\n - expectedValue: High\n operator: Equals\n propertyJPath: properties.metadata.severity\n propertyType: String\n tags: {}\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Disable or enable a security automation\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var automation = new AzureNative.Security.Automation(\"automation\", new()\n {\n Actions = new[]\n {\n new AzureNative.Security.Inputs.AutomationActionLogicAppArgs\n {\n ActionType = \"LogicApp\",\n LogicAppResourceId = \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n Uri = \"https://exampleTriggerUri1.com\",\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n IsEnabled = false,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = new[]\n {\n new AzureNative.Security.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = new[]\n {\n new AzureNative.Security.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = new[]\n {\n new AzureNative.Security.Inputs.AutomationRuleSetArgs\n {\n Rules = new[]\n {\n new AzureNative.Security.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"customAssessment\",\n Operator = \"Equals\",\n PropertyJPath = \"$.Entity.AssessmentType\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = null,\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.security.Automation;\nimport com.pulumi.azurenative.security.AutomationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var automation = new Automation(\"automation\", AutomationArgs.builder() \n .actions(Map.ofEntries(\n Map.entry(\"actionType\", \"LogicApp\"),\n Map.entry(\"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\"),\n Map.entry(\"uri\", \"https://exampleTriggerUri1.com\")\n ))\n .automationName(\"exampleAutomation\")\n .description(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\")\n .isEnabled(false)\n .location(\"Central US\")\n .resourceGroupName(\"exampleResourceGroup\")\n .scopes(Map.ofEntries(\n Map.entry(\"description\", \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n Map.entry(\"scopePath\", \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\")\n ))\n .sources(Map.ofEntries(\n Map.entry(\"eventSource\", \"Assessments\"),\n Map.entry(\"ruleSets\", Map.of(\"rules\", Map.ofEntries(\n Map.entry(\"expectedValue\", \"customAssessment\"),\n Map.entry(\"operator\", \"Equals\"),\n Map.entry(\"propertyJPath\", \"$.Entity.AssessmentType\"),\n Map.entry(\"propertyType\", \"String\")\n )))\n ))\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst automation = new azure_native.security.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n isEnabled: false,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"customAssessment\",\n operator: \"Equals\",\n propertyJPath: `$.Entity.AssessmentType`,\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nautomation = azure_native.security.Automation(\"automation\",\n actions=[azure_native.security.AutomationActionLogicAppArgs(\n action_type=\"LogicApp\",\n logic_app_resource_id=\"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri=\"https://exampleTriggerUri1.com\",\n )],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n is_enabled=False,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_native.security.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[{\n \"eventSource\": \"Assessments\",\n \"ruleSets\": [{\n \"rules\": [azure_native.security.AutomationTriggeringRuleArgs(\n expected_value=\"customAssessment\",\n operator=\"Equals\",\n property_j_path=\"$.Entity.AssessmentType\",\n property_type=\"String\",\n )],\n }],\n }],\n tags={})\n\n```\n\n```yaml\nresources:\n automation:\n type: azure-native:security:Automation\n properties:\n actions:\n - actionType: LogicApp\n logicAppResourceId: /subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\n uri: https://exampleTriggerUri1.com\n automationName: exampleAutomation\n description: An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\n isEnabled: false\n location: Central US\n resourceGroupName: exampleResourceGroup\n scopes:\n - description: 'A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5'\n scopePath: /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\n sources:\n - eventSource: Assessments\n ruleSets:\n - rules:\n - expectedValue: customAssessment\n operator: Equals\n propertyJPath: $.Entity.AssessmentType\n propertyType: String\n tags: {}\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:security:Automation exampleAutomation /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation \n```\n",
+ "description": "The security automation resource.\nAPI Version: 2019-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a security automation for all assessments (including all severities)\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var automation = new AzureNative.Security.Automation(\"automation\", new()\n {\n Actions = new[]\n {\n new AzureNative.Security.Inputs.AutomationActionLogicAppArgs\n {\n ActionType = \"LogicApp\",\n LogicAppResourceId = \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n Uri = \"https://exampleTriggerUri1.com\",\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = new[]\n {\n new AzureNative.Security.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = new[]\n {\n new AzureNative.Security.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n },\n },\n Tags = null,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurity \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/security\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := security.NewAutomation(ctx, \"automation\", \u0026security.AutomationArgs{\n\t\t\tActions: pulumi.AnyArray{\n\t\t\t\tsecurity.AutomationActionLogicApp{\n\t\t\t\t\tActionType: \"LogicApp\",\n\t\t\t\t\tLogicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n\t\t\t\t\tUri: \"https://exampleTriggerUri1.com\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tAutomationName: pulumi.String(\"exampleAutomation\"),\n\t\t\tDescription: pulumi.String(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\"),\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tLocation: pulumi.String(\"Central US\"),\n\t\t\tResourceGroupName: pulumi.String(\"exampleResourceGroup\"),\n\t\t\tScopes: []security.AutomationScopeArgs{\n\t\t\t\t\u0026security.AutomationScopeArgs{\n\t\t\t\t\tDescription: pulumi.String(\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n\t\t\t\t\tScopePath: pulumi.String(\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSources: []security.AutomationSourceArgs{\n\t\t\t\t\u0026security.AutomationSourceArgs{\n\t\t\t\t\tEventSource: pulumi.String(\"Assessments\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: nil,\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.security.Automation;\nimport com.pulumi.azurenative.security.AutomationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var automation = new Automation(\"automation\", AutomationArgs.builder() \n .actions(Map.ofEntries(\n Map.entry(\"actionType\", \"LogicApp\"),\n Map.entry(\"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\"),\n Map.entry(\"uri\", \"https://exampleTriggerUri1.com\")\n ))\n .automationName(\"exampleAutomation\")\n .description(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\")\n .isEnabled(true)\n .location(\"Central US\")\n .resourceGroupName(\"exampleResourceGroup\")\n .scopes(Map.ofEntries(\n Map.entry(\"description\", \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n Map.entry(\"scopePath\", \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\")\n ))\n .sources(Map.of(\"eventSource\", \"Assessments\"))\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst automation = new azure_native.security.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nautomation = azure_native.security.Automation(\"automation\",\n actions=[azure_native.security.AutomationActionLogicAppArgs(\n action_type=\"LogicApp\",\n logic_app_resource_id=\"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri=\"https://exampleTriggerUri1.com\",\n )],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_native.security.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_native.security.AutomationSourceArgs(\n event_source=\"Assessments\",\n )],\n tags={})\n\n```\n\n```yaml\nresources:\n automation:\n type: azure-native:security:Automation\n properties:\n actions:\n - actionType: LogicApp\n logicAppResourceId: /subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\n uri: https://exampleTriggerUri1.com\n automationName: exampleAutomation\n description: An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\n isEnabled: true\n location: Central US\n resourceGroupName: exampleResourceGroup\n scopes:\n - description: 'A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5'\n scopePath: /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\n sources:\n - eventSource: Assessments\n tags: {}\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create or update a security automation for all high severity assessments\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var automation = new AzureNative.Security.Automation(\"automation\", new()\n {\n Actions = new[]\n {\n new AzureNative.Security.Inputs.AutomationActionLogicAppArgs\n {\n ActionType = \"LogicApp\",\n LogicAppResourceId = \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n Uri = \"https://exampleTriggerUri1.com\",\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = new[]\n {\n new AzureNative.Security.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = new[]\n {\n new AzureNative.Security.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = new[]\n {\n new AzureNative.Security.Inputs.AutomationRuleSetArgs\n {\n Rules = new[]\n {\n new AzureNative.Security.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"High\",\n Operator = \"Equals\",\n PropertyJPath = \"properties.metadata.severity\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = null,\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.security.Automation;\nimport com.pulumi.azurenative.security.AutomationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var automation = new Automation(\"automation\", AutomationArgs.builder() \n .actions(Map.ofEntries(\n Map.entry(\"actionType\", \"LogicApp\"),\n Map.entry(\"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\"),\n Map.entry(\"uri\", \"https://exampleTriggerUri1.com\")\n ))\n .automationName(\"exampleAutomation\")\n .description(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\")\n .isEnabled(true)\n .location(\"Central US\")\n .resourceGroupName(\"exampleResourceGroup\")\n .scopes(Map.ofEntries(\n Map.entry(\"description\", \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n Map.entry(\"scopePath\", \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\")\n ))\n .sources(Map.ofEntries(\n Map.entry(\"eventSource\", \"Assessments\"),\n Map.entry(\"ruleSets\", Map.of(\"rules\", Map.ofEntries(\n Map.entry(\"expectedValue\", \"High\"),\n Map.entry(\"operator\", \"Equals\"),\n Map.entry(\"propertyJPath\", \"properties.metadata.severity\"),\n Map.entry(\"propertyType\", \"String\")\n )))\n ))\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst automation = new azure_native.security.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"High\",\n operator: \"Equals\",\n propertyJPath: \"properties.metadata.severity\",\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nautomation = azure_native.security.Automation(\"automation\",\n actions=[azure_native.security.AutomationActionLogicAppArgs(\n action_type=\"LogicApp\",\n logic_app_resource_id=\"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri=\"https://exampleTriggerUri1.com\",\n )],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_native.security.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[{\n \"eventSource\": \"Assessments\",\n \"ruleSets\": [{\n \"rules\": [azure_native.security.AutomationTriggeringRuleArgs(\n expected_value=\"High\",\n operator=\"Equals\",\n property_j_path=\"properties.metadata.severity\",\n property_type=\"String\",\n )],\n }],\n }],\n tags={})\n\n```\n\n```yaml\nresources:\n automation:\n type: azure-native:security:Automation\n properties:\n actions:\n - actionType: LogicApp\n logicAppResourceId: /subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\n uri: https://exampleTriggerUri1.com\n automationName: exampleAutomation\n description: An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\n isEnabled: true\n location: Central US\n resourceGroupName: exampleResourceGroup\n scopes:\n - description: 'A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5'\n scopePath: /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\n sources:\n - eventSource: Assessments\n ruleSets:\n - rules:\n - expectedValue: High\n operator: Equals\n propertyJPath: properties.metadata.severity\n propertyType: String\n tags: {}\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Disable or enable a security automation\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var automation = new AzureNative.Security.Automation(\"automation\", new()\n {\n Actions = new[]\n {\n new AzureNative.Security.Inputs.AutomationActionLogicAppArgs\n {\n ActionType = \"LogicApp\",\n LogicAppResourceId = \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n Uri = \"https://exampleTriggerUri1.com\",\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n IsEnabled = false,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = new[]\n {\n new AzureNative.Security.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = new[]\n {\n new AzureNative.Security.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = new[]\n {\n new AzureNative.Security.Inputs.AutomationRuleSetArgs\n {\n Rules = new[]\n {\n new AzureNative.Security.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"customAssessment\",\n Operator = \"Equals\",\n PropertyJPath = \"$.Entity.AssessmentType\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = null,\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.security.Automation;\nimport com.pulumi.azurenative.security.AutomationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var automation = new Automation(\"automation\", AutomationArgs.builder() \n .actions(Map.ofEntries(\n Map.entry(\"actionType\", \"LogicApp\"),\n Map.entry(\"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\"),\n Map.entry(\"uri\", \"https://exampleTriggerUri1.com\")\n ))\n .automationName(\"exampleAutomation\")\n .description(\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\")\n .isEnabled(false)\n .location(\"Central US\")\n .resourceGroupName(\"exampleResourceGroup\")\n .scopes(Map.ofEntries(\n Map.entry(\"description\", \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\"),\n Map.entry(\"scopePath\", \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\")\n ))\n .sources(Map.ofEntries(\n Map.entry(\"eventSource\", \"Assessments\"),\n Map.entry(\"ruleSets\", Map.of(\"rules\", Map.ofEntries(\n Map.entry(\"expectedValue\", \"customAssessment\"),\n Map.entry(\"operator\", \"Equals\"),\n Map.entry(\"propertyJPath\", \"$.Entity.AssessmentType\"),\n Map.entry(\"propertyType\", \"String\")\n )))\n ))\n .tags()\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst automation = new azure_native.security.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n isEnabled: false,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"customAssessment\",\n operator: \"Equals\",\n propertyJPath: `$.Entity.AssessmentType`,\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nautomation = azure_native.security.Automation(\"automation\",\n actions=[azure_native.security.AutomationActionLogicAppArgs(\n action_type=\"LogicApp\",\n logic_app_resource_id=\"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri=\"https://exampleTriggerUri1.com\",\n )],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n is_enabled=False,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_native.security.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[{\n \"eventSource\": \"Assessments\",\n \"ruleSets\": [{\n \"rules\": [azure_native.security.AutomationTriggeringRuleArgs(\n expected_value=\"customAssessment\",\n operator=\"Equals\",\n property_j_path=\"$.Entity.AssessmentType\",\n property_type=\"String\",\n )],\n }],\n }],\n tags={})\n\n```\n\n```yaml\nresources:\n automation:\n type: azure-native:security:Automation\n properties:\n actions:\n - actionType: LogicApp\n logicAppResourceId: /subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\n uri: https://exampleTriggerUri1.com\n automationName: exampleAutomation\n description: An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\n isEnabled: false\n location: Central US\n resourceGroupName: exampleResourceGroup\n scopes:\n - description: 'A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5'\n scopePath: /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\n sources:\n - eventSource: Assessments\n ruleSets:\n - rules:\n - expectedValue: customAssessment\n operator: Equals\n propertyJPath: $.Entity.AssessmentType\n propertyType: String\n tags: {}\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:security:Automation exampleAutomation /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation \n```\n",
"properties": {
"actions": {
"type": "array",
@@ -466383,7 +467029,7 @@
]
},
"azure-native:securityinsights:Metadata": {
- "description": "Metadata resource definition.\nAPI Version: 2021-03-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create/update full metadata.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var metadata = new AzureNative.SecurityInsights.Metadata(\"metadata\", new()\n {\n Author = new AzureNative.SecurityInsights.Inputs.MetadataAuthorArgs\n {\n Email = \"email@microsoft.com\",\n Name = \"User Name\",\n },\n Categories = new AzureNative.SecurityInsights.Inputs.MetadataCategoriesArgs\n {\n Domains = new[]\n {\n \"Application\",\n \"Security – Insider Threat\",\n },\n Verticals = new[]\n {\n \"Healthcare\",\n },\n },\n ContentId = \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n Dependencies = new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n Criteria = new[]\n {\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n Criteria = new[]\n {\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"045d06d0-ee72-4794-aba4-cf5646e4c756\",\n Kind = \"DataConnector\",\n Name = \"Microsoft Defender for Endpoint\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\",\n Kind = \"DataConnector\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"de4dca9b-eb37-47d6-a56f-b8b06b261593\",\n Kind = \"DataConnector\",\n Version = \"2.0\",\n },\n },\n Operator = \"OR\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\",\n Kind = \"Playbook\",\n Version = \"1.0\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"21ba424a-9438-4444-953a-7059539a7a1b\",\n Kind = \"Parser\",\n },\n },\n Operator = \"AND\",\n },\n FirstPublishDate = \"2021-05-18\",\n Kind = \"AnalyticsRule\",\n LastPublishDate = \"2021-05-18\",\n MetadataName = \"metadataName\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ParentId = \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n Providers = new[]\n {\n \"Amazon\",\n \"Microsoft\",\n },\n ResourceGroupName = \"myRg\",\n Source = new AzureNative.SecurityInsights.Inputs.MetadataSourceArgs\n {\n Kind = \"Solution\",\n Name = \"Contoso Solution 1.0\",\n SourceId = \"b688a130-76f4-4a07-bf57-762222a3cadf\",\n },\n Support = new AzureNative.SecurityInsights.Inputs.MetadataSupportArgs\n {\n Email = \"support@microsoft.com\",\n Link = \"https://support.microsoft.com/\",\n Name = \"Microsoft\",\n Tier = \"Partner\",\n },\n Version = \"1.0.0.0\",\n WorkspaceName = \"myWorkspace\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/securityinsights\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewMetadata(ctx, \"metadata\", \u0026securityinsights.MetadataArgs{\n\t\t\tAuthor: \u0026securityinsights.MetadataAuthorArgs{\n\t\t\t\tEmail: pulumi.String(\"email@microsoft.com\"),\n\t\t\t\tName: pulumi.String(\"User Name\"),\n\t\t\t},\n\t\t\tCategories: \u0026securityinsights.MetadataCategoriesArgs{\n\t\t\t\tDomains: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"Application\"),\n\t\t\t\t\tpulumi.String(\"Security – Insider Threat\"),\n\t\t\t\t},\n\t\t\t\tVerticals: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"Healthcare\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tContentId: pulumi.String(\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\"),\n\t\t\tDependencies: securityinsights.MetadataDependenciesResponse{\n\t\t\t\tCriteria: []securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\u0026securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\tCriteria: []securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\t\t\u0026securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\t\t\tContentId: pulumi.String(\"045d06d0-ee72-4794-aba4-cf5646e4c756\"),\n\t\t\t\t\t\t\t\tKind: pulumi.String(\"DataConnector\"),\n\t\t\t\t\t\t\t\tName: pulumi.String(\"Microsoft Defender for Endpoint\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\t\t\tContentId: pulumi.String(\"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\"),\n\t\t\t\t\t\t\t\tKind: pulumi.String(\"DataConnector\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\t\t\tContentId: pulumi.String(\"de4dca9b-eb37-47d6-a56f-b8b06b261593\"),\n\t\t\t\t\t\t\t\tKind: pulumi.String(\"DataConnector\"),\n\t\t\t\t\t\t\t\tVersion: pulumi.String(\"2.0\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tOperator: pulumi.String(\"OR\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\tContentId: pulumi.String(\"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\"),\n\t\t\t\t\t\tKind: pulumi.String(\"Playbook\"),\n\t\t\t\t\t\tVersion: pulumi.String(\"1.0\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026securityinsights.MetadataDependenciesArgs{\n\t\t\t\t\t\tContentId: pulumi.String(\"21ba424a-9438-4444-953a-7059539a7a1b\"),\n\t\t\t\t\t\tKind: pulumi.String(\"Parser\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tOperator: pulumi.String(\"AND\"),\n\t\t\t},\n\t\t\tFirstPublishDate: pulumi.String(\"2021-05-18\"),\n\t\t\tKind: pulumi.String(\"AnalyticsRule\"),\n\t\t\tLastPublishDate: pulumi.String(\"2021-05-18\"),\n\t\t\tMetadataName: pulumi.String(\"metadataName\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tParentId: pulumi.String(\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\"),\n\t\t\tProviders: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Amazon\"),\n\t\t\t\tpulumi.String(\"Microsoft\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tSource: securityinsights.MetadataSourceResponse{\n\t\t\t\tKind: pulumi.String(\"Solution\"),\n\t\t\t\tName: pulumi.String(\"Contoso Solution 1.0\"),\n\t\t\t\tSourceId: pulumi.String(\"b688a130-76f4-4a07-bf57-762222a3cadf\"),\n\t\t\t},\n\t\t\tSupport: securityinsights.MetadataSupportResponse{\n\t\t\t\tEmail: pulumi.String(\"support@microsoft.com\"),\n\t\t\t\tLink: pulumi.String(\"https://support.microsoft.com/\"),\n\t\t\t\tName: pulumi.String(\"Microsoft\"),\n\t\t\t\tTier: pulumi.String(\"Partner\"),\n\t\t\t},\n\t\t\tVersion: pulumi.String(\"1.0.0.0\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.securityinsights.Metadata;\nimport com.pulumi.azurenative.securityinsights.MetadataArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var metadata = new Metadata(\"metadata\", MetadataArgs.builder() \n .author(Map.ofEntries(\n Map.entry(\"email\", \"email@microsoft.com\"),\n Map.entry(\"name\", \"User Name\")\n ))\n .categories(Map.ofEntries(\n Map.entry(\"domains\", \n \"Application\",\n \"Security – Insider Threat\"),\n Map.entry(\"verticals\", \"Healthcare\")\n ))\n .contentId(\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\")\n .dependencies(Map.ofEntries(\n Map.entry(\"criteria\", \n Map.ofEntries(\n Map.entry(\"criteria\", \n Map.ofEntries(\n Map.entry(\"contentId\", \"045d06d0-ee72-4794-aba4-cf5646e4c756\"),\n Map.entry(\"kind\", \"DataConnector\"),\n Map.entry(\"name\", \"Microsoft Defender for Endpoint\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\"),\n Map.entry(\"kind\", \"DataConnector\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"de4dca9b-eb37-47d6-a56f-b8b06b261593\"),\n Map.entry(\"kind\", \"DataConnector\"),\n Map.entry(\"version\", \"2.0\")\n )),\n Map.entry(\"operator\", \"OR\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\"),\n Map.entry(\"kind\", \"Playbook\"),\n Map.entry(\"version\", \"1.0\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"21ba424a-9438-4444-953a-7059539a7a1b\"),\n Map.entry(\"kind\", \"Parser\")\n )),\n Map.entry(\"operator\", \"AND\")\n ))\n .firstPublishDate(\"2021-05-18\")\n .kind(\"AnalyticsRule\")\n .lastPublishDate(\"2021-05-18\")\n .metadataName(\"metadataName\")\n .operationalInsightsResourceProvider(\"Microsoft.OperationalInsights\")\n .parentId(\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\")\n .providers( \n \"Amazon\",\n \"Microsoft\")\n .resourceGroupName(\"myRg\")\n .source(Map.ofEntries(\n Map.entry(\"kind\", \"Solution\"),\n Map.entry(\"name\", \"Contoso Solution 1.0\"),\n Map.entry(\"sourceId\", \"b688a130-76f4-4a07-bf57-762222a3cadf\")\n ))\n .support(Map.ofEntries(\n Map.entry(\"email\", \"support@microsoft.com\"),\n Map.entry(\"link\", \"https://support.microsoft.com/\"),\n Map.entry(\"name\", \"Microsoft\"),\n Map.entry(\"tier\", \"Partner\")\n ))\n .version(\"1.0.0.0\")\n .workspaceName(\"myWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst metadata = new azure_native.securityinsights.Metadata(\"metadata\", {\n author: {\n email: \"email@microsoft.com\",\n name: \"User Name\",\n },\n categories: {\n domains: [\n \"Application\",\n \"Security – Insider Threat\",\n ],\n verticals: [\"Healthcare\"],\n },\n contentId: \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n dependencies: {\n criteria: [\n {\n criteria: [\n {\n contentId: \"045d06d0-ee72-4794-aba4-cf5646e4c756\",\n kind: \"DataConnector\",\n name: \"Microsoft Defender for Endpoint\",\n },\n {\n contentId: \"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\",\n kind: \"DataConnector\",\n },\n {\n contentId: \"de4dca9b-eb37-47d6-a56f-b8b06b261593\",\n kind: \"DataConnector\",\n version: \"2.0\",\n },\n ],\n operator: \"OR\",\n },\n {\n contentId: \"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\",\n kind: \"Playbook\",\n version: \"1.0\",\n },\n {\n contentId: \"21ba424a-9438-4444-953a-7059539a7a1b\",\n kind: \"Parser\",\n },\n ],\n operator: \"AND\",\n },\n firstPublishDate: \"2021-05-18\",\n kind: \"AnalyticsRule\",\n lastPublishDate: \"2021-05-18\",\n metadataName: \"metadataName\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n parentId: \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n providers: [\n \"Amazon\",\n \"Microsoft\",\n ],\n resourceGroupName: \"myRg\",\n source: {\n kind: \"Solution\",\n name: \"Contoso Solution 1.0\",\n sourceId: \"b688a130-76f4-4a07-bf57-762222a3cadf\",\n },\n support: {\n email: \"support@microsoft.com\",\n link: \"https://support.microsoft.com/\",\n name: \"Microsoft\",\n tier: \"Partner\",\n },\n version: \"1.0.0.0\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmetadata = azure_native.securityinsights.Metadata(\"metadata\",\n author=azure_native.securityinsights.MetadataAuthorArgs(\n email=\"email@microsoft.com\",\n name=\"User Name\",\n ),\n categories=azure_native.securityinsights.MetadataCategoriesArgs(\n domains=[\n \"Application\",\n \"Security – Insider Threat\",\n ],\n verticals=[\"Healthcare\"],\n ),\n content_id=\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n dependencies=azure_native.securityinsights.MetadataDependenciesResponseArgs(\n criteria=[\n azure_native.securityinsights.MetadataDependenciesArgs(\n criteria=[\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"045d06d0-ee72-4794-aba4-cf5646e4c756\",\n kind=\"DataConnector\",\n name=\"Microsoft Defender for Endpoint\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\",\n kind=\"DataConnector\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"de4dca9b-eb37-47d6-a56f-b8b06b261593\",\n kind=\"DataConnector\",\n version=\"2.0\",\n ),\n ],\n operator=\"OR\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\",\n kind=\"Playbook\",\n version=\"1.0\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"21ba424a-9438-4444-953a-7059539a7a1b\",\n kind=\"Parser\",\n ),\n ],\n operator=\"AND\",\n ),\n first_publish_date=\"2021-05-18\",\n kind=\"AnalyticsRule\",\n last_publish_date=\"2021-05-18\",\n metadata_name=\"metadataName\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n parent_id=\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n providers=[\n \"Amazon\",\n \"Microsoft\",\n ],\n resource_group_name=\"myRg\",\n source=azure_native.securityinsights.MetadataSourceResponseArgs(\n kind=\"Solution\",\n name=\"Contoso Solution 1.0\",\n source_id=\"b688a130-76f4-4a07-bf57-762222a3cadf\",\n ),\n support=azure_native.securityinsights.MetadataSupportResponseArgs(\n email=\"support@microsoft.com\",\n link=\"https://support.microsoft.com/\",\n name=\"Microsoft\",\n tier=\"Partner\",\n ),\n version=\"1.0.0.0\",\n workspace_name=\"myWorkspace\")\n\n```\n\n```yaml\nresources:\n metadata:\n type: azure-native:securityinsights:Metadata\n properties:\n author:\n email: email@microsoft.com\n name: User Name\n categories:\n domains:\n - Application\n - Security – Insider Threat\n verticals:\n - Healthcare\n contentId: c00ee137-7475-47c8-9cce-ec6f0f1bedd0\n dependencies:\n criteria:\n - criteria:\n - contentId: 045d06d0-ee72-4794-aba4-cf5646e4c756\n kind: DataConnector\n name: Microsoft Defender for Endpoint\n - contentId: dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\n kind: DataConnector\n - contentId: de4dca9b-eb37-47d6-a56f-b8b06b261593\n kind: DataConnector\n version: '2.0'\n operator: OR\n - contentId: 31ee11cc-9989-4de8-b176-5e0ef5c4dbab\n kind: Playbook\n version: '1.0'\n - contentId: 21ba424a-9438-4444-953a-7059539a7a1b\n kind: Parser\n operator: AND\n firstPublishDate: 2021-05-18\n kind: AnalyticsRule\n lastPublishDate: 2021-05-18\n metadataName: metadataName\n operationalInsightsResourceProvider: Microsoft.OperationalInsights\n parentId: /subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\n providers:\n - Amazon\n - Microsoft\n resourceGroupName: myRg\n source:\n kind: Solution\n name: Contoso Solution 1.0\n sourceId: b688a130-76f4-4a07-bf57-762222a3cadf\n support:\n email: support@microsoft.com\n link: https://support.microsoft.com/\n name: Microsoft\n tier: Partner\n version: 1.0.0.0\n workspaceName: myWorkspace\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create/update minimal metadata.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var metadata = new AzureNative.SecurityInsights.Metadata(\"metadata\", new()\n {\n ContentId = \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n Kind = \"AnalyticsRule\",\n MetadataName = \"metadataName\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ParentId = \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n ResourceGroupName = \"myRg\",\n WorkspaceName = \"myWorkspace\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/securityinsights\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewMetadata(ctx, \"metadata\", \u0026securityinsights.MetadataArgs{\n\t\t\tContentId: pulumi.String(\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\"),\n\t\t\tKind: pulumi.String(\"AnalyticsRule\"),\n\t\t\tMetadataName: pulumi.String(\"metadataName\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tParentId: pulumi.String(\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.securityinsights.Metadata;\nimport com.pulumi.azurenative.securityinsights.MetadataArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var metadata = new Metadata(\"metadata\", MetadataArgs.builder() \n .contentId(\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\")\n .kind(\"AnalyticsRule\")\n .metadataName(\"metadataName\")\n .operationalInsightsResourceProvider(\"Microsoft.OperationalInsights\")\n .parentId(\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\")\n .resourceGroupName(\"myRg\")\n .workspaceName(\"myWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst metadata = new azure_native.securityinsights.Metadata(\"metadata\", {\n contentId: \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n kind: \"AnalyticsRule\",\n metadataName: \"metadataName\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n parentId: \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n resourceGroupName: \"myRg\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmetadata = azure_native.securityinsights.Metadata(\"metadata\",\n content_id=\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n kind=\"AnalyticsRule\",\n metadata_name=\"metadataName\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n parent_id=\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n resource_group_name=\"myRg\",\n workspace_name=\"myWorkspace\")\n\n```\n\n```yaml\nresources:\n metadata:\n type: azure-native:securityinsights:Metadata\n properties:\n contentId: c00ee137-7475-47c8-9cce-ec6f0f1bedd0\n kind: AnalyticsRule\n metadataName: metadataName\n operationalInsightsResourceProvider: Microsoft.OperationalInsights\n parentId: /subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\n resourceGroupName: myRg\n workspaceName: myWorkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:securityinsights:Metadata metadataName /subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/metadata/metadataName \n```\n",
+ "description": "Metadata resource definition.\nAPI Version: 2021-03-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create/update full metadata.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var metadata = new AzureNative.SecurityInsights.Metadata(\"metadata\", new()\n {\n Author = new AzureNative.SecurityInsights.Inputs.MetadataAuthorArgs\n {\n Email = \"email@microsoft.com\",\n Name = \"User Name\",\n },\n Categories = new AzureNative.SecurityInsights.Inputs.MetadataCategoriesArgs\n {\n Domains = new[]\n {\n \"Application\",\n \"Security – Insider Threat\",\n },\n Verticals = new[]\n {\n \"Healthcare\",\n },\n },\n ContentId = \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n Dependencies = new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n Criteria = new[]\n {\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n Criteria = new[]\n {\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"045d06d0-ee72-4794-aba4-cf5646e4c756\",\n Kind = \"DataConnector\",\n Name = \"Microsoft Defender for Endpoint\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\",\n Kind = \"DataConnector\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"de4dca9b-eb37-47d6-a56f-b8b06b261593\",\n Kind = \"DataConnector\",\n Version = \"2.0\",\n },\n },\n Operator = \"OR\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\",\n Kind = \"Playbook\",\n Version = \"1.0\",\n },\n new AzureNative.SecurityInsights.Inputs.MetadataDependenciesArgs\n {\n ContentId = \"21ba424a-9438-4444-953a-7059539a7a1b\",\n Kind = \"Parser\",\n },\n },\n Operator = \"AND\",\n },\n FirstPublishDate = \"2021-05-18\",\n Kind = \"AnalyticsRule\",\n LastPublishDate = \"2021-05-18\",\n MetadataName = \"metadataName\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ParentId = \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n Providers = new[]\n {\n \"Amazon\",\n \"Microsoft\",\n },\n ResourceGroupName = \"myRg\",\n Source = new AzureNative.SecurityInsights.Inputs.MetadataSourceArgs\n {\n Kind = \"Solution\",\n Name = \"Contoso Solution 1.0\",\n SourceId = \"b688a130-76f4-4a07-bf57-762222a3cadf\",\n },\n Support = new AzureNative.SecurityInsights.Inputs.MetadataSupportArgs\n {\n Email = \"support@microsoft.com\",\n Link = \"https://support.microsoft.com/\",\n Name = \"Microsoft\",\n Tier = \"Partner\",\n },\n Version = \"1.0.0.0\",\n WorkspaceName = \"myWorkspace\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.securityinsights.Metadata;\nimport com.pulumi.azurenative.securityinsights.MetadataArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var metadata = new Metadata(\"metadata\", MetadataArgs.builder() \n .author(Map.ofEntries(\n Map.entry(\"email\", \"email@microsoft.com\"),\n Map.entry(\"name\", \"User Name\")\n ))\n .categories(Map.ofEntries(\n Map.entry(\"domains\", \n \"Application\",\n \"Security – Insider Threat\"),\n Map.entry(\"verticals\", \"Healthcare\")\n ))\n .contentId(\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\")\n .dependencies(Map.ofEntries(\n Map.entry(\"criteria\", \n Map.ofEntries(\n Map.entry(\"criteria\", \n Map.ofEntries(\n Map.entry(\"contentId\", \"045d06d0-ee72-4794-aba4-cf5646e4c756\"),\n Map.entry(\"kind\", \"DataConnector\"),\n Map.entry(\"name\", \"Microsoft Defender for Endpoint\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\"),\n Map.entry(\"kind\", \"DataConnector\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"de4dca9b-eb37-47d6-a56f-b8b06b261593\"),\n Map.entry(\"kind\", \"DataConnector\"),\n Map.entry(\"version\", \"2.0\")\n )),\n Map.entry(\"operator\", \"OR\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\"),\n Map.entry(\"kind\", \"Playbook\"),\n Map.entry(\"version\", \"1.0\")\n ),\n Map.ofEntries(\n Map.entry(\"contentId\", \"21ba424a-9438-4444-953a-7059539a7a1b\"),\n Map.entry(\"kind\", \"Parser\")\n )),\n Map.entry(\"operator\", \"AND\")\n ))\n .firstPublishDate(\"2021-05-18\")\n .kind(\"AnalyticsRule\")\n .lastPublishDate(\"2021-05-18\")\n .metadataName(\"metadataName\")\n .operationalInsightsResourceProvider(\"Microsoft.OperationalInsights\")\n .parentId(\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\")\n .providers( \n \"Amazon\",\n \"Microsoft\")\n .resourceGroupName(\"myRg\")\n .source(Map.ofEntries(\n Map.entry(\"kind\", \"Solution\"),\n Map.entry(\"name\", \"Contoso Solution 1.0\"),\n Map.entry(\"sourceId\", \"b688a130-76f4-4a07-bf57-762222a3cadf\")\n ))\n .support(Map.ofEntries(\n Map.entry(\"email\", \"support@microsoft.com\"),\n Map.entry(\"link\", \"https://support.microsoft.com/\"),\n Map.entry(\"name\", \"Microsoft\"),\n Map.entry(\"tier\", \"Partner\")\n ))\n .version(\"1.0.0.0\")\n .workspaceName(\"myWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst metadata = new azure_native.securityinsights.Metadata(\"metadata\", {\n author: {\n email: \"email@microsoft.com\",\n name: \"User Name\",\n },\n categories: {\n domains: [\n \"Application\",\n \"Security – Insider Threat\",\n ],\n verticals: [\"Healthcare\"],\n },\n contentId: \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n dependencies: {\n criteria: [\n {\n criteria: [\n {\n contentId: \"045d06d0-ee72-4794-aba4-cf5646e4c756\",\n kind: \"DataConnector\",\n name: \"Microsoft Defender for Endpoint\",\n },\n {\n contentId: \"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\",\n kind: \"DataConnector\",\n },\n {\n contentId: \"de4dca9b-eb37-47d6-a56f-b8b06b261593\",\n kind: \"DataConnector\",\n version: \"2.0\",\n },\n ],\n operator: \"OR\",\n },\n {\n contentId: \"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\",\n kind: \"Playbook\",\n version: \"1.0\",\n },\n {\n contentId: \"21ba424a-9438-4444-953a-7059539a7a1b\",\n kind: \"Parser\",\n },\n ],\n operator: \"AND\",\n },\n firstPublishDate: \"2021-05-18\",\n kind: \"AnalyticsRule\",\n lastPublishDate: \"2021-05-18\",\n metadataName: \"metadataName\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n parentId: \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n providers: [\n \"Amazon\",\n \"Microsoft\",\n ],\n resourceGroupName: \"myRg\",\n source: {\n kind: \"Solution\",\n name: \"Contoso Solution 1.0\",\n sourceId: \"b688a130-76f4-4a07-bf57-762222a3cadf\",\n },\n support: {\n email: \"support@microsoft.com\",\n link: \"https://support.microsoft.com/\",\n name: \"Microsoft\",\n tier: \"Partner\",\n },\n version: \"1.0.0.0\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmetadata = azure_native.securityinsights.Metadata(\"metadata\",\n author=azure_native.securityinsights.MetadataAuthorArgs(\n email=\"email@microsoft.com\",\n name=\"User Name\",\n ),\n categories=azure_native.securityinsights.MetadataCategoriesArgs(\n domains=[\n \"Application\",\n \"Security – Insider Threat\",\n ],\n verticals=[\"Healthcare\"],\n ),\n content_id=\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n dependencies=azure_native.securityinsights.MetadataDependenciesResponseArgs(\n criteria=[\n azure_native.securityinsights.MetadataDependenciesArgs(\n criteria=[\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"045d06d0-ee72-4794-aba4-cf5646e4c756\",\n kind=\"DataConnector\",\n name=\"Microsoft Defender for Endpoint\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\",\n kind=\"DataConnector\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"de4dca9b-eb37-47d6-a56f-b8b06b261593\",\n kind=\"DataConnector\",\n version=\"2.0\",\n ),\n ],\n operator=\"OR\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"31ee11cc-9989-4de8-b176-5e0ef5c4dbab\",\n kind=\"Playbook\",\n version=\"1.0\",\n ),\n azure_native.securityinsights.MetadataDependenciesArgs(\n content_id=\"21ba424a-9438-4444-953a-7059539a7a1b\",\n kind=\"Parser\",\n ),\n ],\n operator=\"AND\",\n ),\n first_publish_date=\"2021-05-18\",\n kind=\"AnalyticsRule\",\n last_publish_date=\"2021-05-18\",\n metadata_name=\"metadataName\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n parent_id=\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n providers=[\n \"Amazon\",\n \"Microsoft\",\n ],\n resource_group_name=\"myRg\",\n source=azure_native.securityinsights.MetadataSourceResponseArgs(\n kind=\"Solution\",\n name=\"Contoso Solution 1.0\",\n source_id=\"b688a130-76f4-4a07-bf57-762222a3cadf\",\n ),\n support=azure_native.securityinsights.MetadataSupportResponseArgs(\n email=\"support@microsoft.com\",\n link=\"https://support.microsoft.com/\",\n name=\"Microsoft\",\n tier=\"Partner\",\n ),\n version=\"1.0.0.0\",\n workspace_name=\"myWorkspace\")\n\n```\n\n```yaml\nresources:\n metadata:\n type: azure-native:securityinsights:Metadata\n properties:\n author:\n email: email@microsoft.com\n name: User Name\n categories:\n domains:\n - Application\n - Security – Insider Threat\n verticals:\n - Healthcare\n contentId: c00ee137-7475-47c8-9cce-ec6f0f1bedd0\n dependencies:\n criteria:\n - criteria:\n - contentId: 045d06d0-ee72-4794-aba4-cf5646e4c756\n kind: DataConnector\n name: Microsoft Defender for Endpoint\n - contentId: dbfcb2cc-d782-40ef-8d94-fe7af58a6f2d\n kind: DataConnector\n - contentId: de4dca9b-eb37-47d6-a56f-b8b06b261593\n kind: DataConnector\n version: '2.0'\n operator: OR\n - contentId: 31ee11cc-9989-4de8-b176-5e0ef5c4dbab\n kind: Playbook\n version: '1.0'\n - contentId: 21ba424a-9438-4444-953a-7059539a7a1b\n kind: Parser\n operator: AND\n firstPublishDate: 2021-05-18\n kind: AnalyticsRule\n lastPublishDate: 2021-05-18\n metadataName: metadataName\n operationalInsightsResourceProvider: Microsoft.OperationalInsights\n parentId: /subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\n providers:\n - Amazon\n - Microsoft\n resourceGroupName: myRg\n source:\n kind: Solution\n name: Contoso Solution 1.0\n sourceId: b688a130-76f4-4a07-bf57-762222a3cadf\n support:\n email: support@microsoft.com\n link: https://support.microsoft.com/\n name: Microsoft\n tier: Partner\n version: 1.0.0.0\n workspaceName: myWorkspace\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create/update minimal metadata.\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var metadata = new AzureNative.SecurityInsights.Metadata(\"metadata\", new()\n {\n ContentId = \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n Kind = \"AnalyticsRule\",\n MetadataName = \"metadataName\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ParentId = \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n ResourceGroupName = \"myRg\",\n WorkspaceName = \"myWorkspace\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-native/sdk/go/azure/securityinsights\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewMetadata(ctx, \"metadata\", \u0026securityinsights.MetadataArgs{\n\t\t\tContentId: pulumi.String(\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\"),\n\t\t\tKind: pulumi.String(\"AnalyticsRule\"),\n\t\t\tMetadataName: pulumi.String(\"metadataName\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tParentId: pulumi.String(\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.securityinsights.Metadata;\nimport com.pulumi.azurenative.securityinsights.MetadataArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var metadata = new Metadata(\"metadata\", MetadataArgs.builder() \n .contentId(\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\")\n .kind(\"AnalyticsRule\")\n .metadataName(\"metadataName\")\n .operationalInsightsResourceProvider(\"Microsoft.OperationalInsights\")\n .parentId(\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\")\n .resourceGroupName(\"myRg\")\n .workspaceName(\"myWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst metadata = new azure_native.securityinsights.Metadata(\"metadata\", {\n contentId: \"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n kind: \"AnalyticsRule\",\n metadataName: \"metadataName\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n parentId: \"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n resourceGroupName: \"myRg\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmetadata = azure_native.securityinsights.Metadata(\"metadata\",\n content_id=\"c00ee137-7475-47c8-9cce-ec6f0f1bedd0\",\n kind=\"AnalyticsRule\",\n metadata_name=\"metadataName\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n parent_id=\"/subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\",\n resource_group_name=\"myRg\",\n workspace_name=\"myWorkspace\")\n\n```\n\n```yaml\nresources:\n metadata:\n type: azure-native:securityinsights:Metadata\n properties:\n contentId: c00ee137-7475-47c8-9cce-ec6f0f1bedd0\n kind: AnalyticsRule\n metadataName: metadataName\n operationalInsightsResourceProvider: Microsoft.OperationalInsights\n parentId: /subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/ruleName\n resourceGroupName: myRg\n workspaceName: myWorkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:securityinsights:Metadata metadataName /subscriptions/2e1dc338-d04d-4443-b721-037eff4fdcac/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/metadata/metadataName \n```\n",
"properties": {
"author": {
"type": "object",
@@ -503922,9 +504568,6 @@
},
{
"type": "azure-native:webpubsub/v20211001:WebPubSub"
- },
- {
- "type": "azure-native:webpubsub/v20220801preview:WebPubSub"
}
]
},
@@ -503984,9 +504627,6 @@
"aliases": [
{
"type": "azure-native:webpubsub/v20211001:WebPubSubHub"
- },
- {
- "type": "azure-native:webpubsub/v20220801preview:WebPubSubHub"
}
]
},
@@ -504068,9 +504708,6 @@
},
{
"type": "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"
- },
- {
- "type": "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"
}
]
},
@@ -504165,9 +504802,6 @@
},
{
"type": "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"
- },
- {
- "type": "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"
}
]
},
@@ -511957,6 +512591,71 @@
]
}
},
+ "azure-native:appplatform:getBuildServiceAgentPool": {
+ "description": "The build service agent pool resource\nAPI Version: 2022-01-01-preview.",
+ "inputs": {
+ "properties": {
+ "agentPoolName": {
+ "type": "string",
+ "description": "The name of the build service agent pool resource."
+ },
+ "buildServiceName": {
+ "type": "string",
+ "description": "The name of the build service resource."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the Service resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "agentPoolName",
+ "buildServiceName",
+ "resourceGroupName",
+ "serviceName"
+ ]
+ },
+ "outputs": {
+ "description": "The build service agent pool resource",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Fully qualified resource Id for the resource."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:BuildServiceAgentPoolPropertiesResponse",
+ "description": "build service agent pool properties"
+ },
+ "systemData": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:SystemDataResponse",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "id",
+ "name",
+ "properties",
+ "systemData",
+ "type"
+ ]
+ }
+ },
"azure-native:appplatform:getBuildServiceBuildResultLog": {
"description": "Build result log resource properties payload\nAPI Version: 2022-01-01-preview.",
"inputs": {
@@ -512230,6 +512929,55 @@
]
}
},
+ "azure-native:appplatform:getConfigServer": {
+ "description": "Config Server resource\nAPI Version: 2020-07-01.",
+ "inputs": {
+ "properties": {
+ "resourceGroupName": {
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the Service resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "resourceGroupName",
+ "serviceName"
+ ]
+ },
+ "outputs": {
+ "description": "Config Server resource",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Fully qualified resource Id for the resource."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:ConfigServerPropertiesResponse",
+ "description": "Properties of the Config Server resource"
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "id",
+ "name",
+ "properties",
+ "type"
+ ]
+ }
+ },
"azure-native:appplatform:getConfigurationService": {
"description": "Application Configuration Service resource\nAPI Version: 2022-01-01-preview.",
"inputs": {
@@ -512651,6 +513399,55 @@
]
}
},
+ "azure-native:appplatform:getMonitoringSetting": {
+ "description": "Monitoring Setting resource\nAPI Version: 2020-07-01.",
+ "inputs": {
+ "properties": {
+ "resourceGroupName": {
+ "type": "string",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the Service resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "resourceGroupName",
+ "serviceName"
+ ]
+ },
+ "outputs": {
+ "description": "Monitoring Setting resource",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Fully qualified resource Id for the resource."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "properties": {
+ "type": "object",
+ "$ref": "#/types/azure-native:appplatform:MonitoringSettingPropertiesResponse",
+ "description": "Properties of the Monitoring Setting resource"
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "type": "object",
+ "required": [
+ "id",
+ "name",
+ "properties",
+ "type"
+ ]
+ }
+ },
"azure-native:appplatform:getService": {
"description": "Service resource\nAPI Version: 2020-07-01.",
"inputs": {
diff --git a/provider/pkg/openapi/defaultResourcesState.go b/provider/pkg/openapi/defaultResourcesState.go
index bd98aee10132..3ddfe441d04c 100644
--- a/provider/pkg/openapi/defaultResourcesState.go
+++ b/provider/pkg/openapi/defaultResourcesState.go
@@ -44,7 +44,7 @@ var defaultResourcesStateRaw = map[string]map[string]interface{}{
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}": {
"autoExecuteStatus": "Default",
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}":{
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}": {
"azureADOnlyAuthentication": false,
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}": {
@@ -53,11 +53,11 @@ var defaultResourcesStateRaw = map[string]map[string]interface{}{
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}": {
"state": "Disabled",
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}": {
- "weeklyRetention": "PT0S",
- "monthlyRetention":"PT0S",
- "yearlyRetention": "PT0S",
- "weekOfYear": 1,
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}": {
+ "weeklyRetention": "PT0S",
+ "monthlyRetention": "PT0S",
+ "yearlyRetention": "PT0S",
+ "weekOfYear": 1,
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}": {
"retentionDays": 7,
@@ -121,7 +121,26 @@ var defaultResourcesStateRaw = map[string]map[string]interface{}{
"subnetResourceId": "*", // This is going to be a resource ID, so we choose accept any value here.
"swiftSupported": true,
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": {},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": {},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/monitoringSettings/default": {
+ "properties": map[string]interface{}{
+ "traceEnabled": false,
+ "appInsightsInstrumentationKey": nil,
+ "appInsightsSamplingRate": 10.0,
+ },
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/default": {
+ "properties": map[string]interface{}{
+ "configServer": nil,
+ },
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}": {
+ "properties": map[string]interface{}{
+ "poolSize": map[string]interface{}{
+ "name": "S1",
+ },
+ },
+ },
}
// defaultResourcesStateNormalized maps normalized paths of resources to default state of a resource. The default state is
diff --git a/sdk/dotnet/AppPlatform/BuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/BuildServiceAgentPool.cs
new file mode 100644
index 000000000000..bea790b4425e
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/BuildServiceAgentPool.cs
@@ -0,0 +1,131 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform
+{
+ ///
+ /// The build service agent pool resource
+ /// API Version: 2022-01-01-preview.
+ ///
+ [AzureNativeResourceType("azure-native:appplatform:BuildServiceAgentPool")]
+ public partial class BuildServiceAgentPool : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// build service agent pool properties
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// Metadata pertaining to creation and last modification of the resource.
+ ///
+ [Output("systemData")]
+ public Output SystemData { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a BuildServiceAgentPool resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public BuildServiceAgentPool(string name, BuildServiceAgentPoolArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform:BuildServiceAgentPool", name, args ?? new BuildServiceAgentPoolArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private BuildServiceAgentPool(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform:BuildServiceAgentPool", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:BuildServiceAgentPool"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:BuildServiceAgentPool"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:BuildServiceAgentPool"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:BuildServiceAgentPool"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:BuildServiceAgentPool"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing BuildServiceAgentPool resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static BuildServiceAgentPool Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new BuildServiceAgentPool(name, id, options);
+ }
+ }
+
+ public sealed class BuildServiceAgentPoolArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// The name of the build service agent pool resource.
+ ///
+ [Input("agentPoolName")]
+ public Input? AgentPoolName { get; set; }
+
+ ///
+ /// The name of the build service resource.
+ ///
+ [Input("buildServiceName", required: true)]
+ public Input BuildServiceName { get; set; } = null!;
+
+ ///
+ /// build service agent pool properties
+ ///
+ [Input("properties")]
+ public Input? Properties { get; set; }
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public BuildServiceAgentPoolArgs()
+ {
+ }
+ public static new BuildServiceAgentPoolArgs Empty => new BuildServiceAgentPoolArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/ConfigServer.cs b/sdk/dotnet/AppPlatform/ConfigServer.cs
new file mode 100644
index 000000000000..80c92d992426
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/ConfigServer.cs
@@ -0,0 +1,117 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform
+{
+ ///
+ /// Config Server resource
+ /// API Version: 2020-07-01.
+ ///
+ [AzureNativeResourceType("azure-native:appplatform:ConfigServer")]
+ public partial class ConfigServer : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// Properties of the Config Server resource
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a ConfigServer resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public ConfigServer(string name, ConfigServerArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private ConfigServer(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform:ConfigServer", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20200701:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20201101preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:ConfigServer"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing ConfigServer resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static ConfigServer Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new ConfigServer(name, id, options);
+ }
+ }
+
+ public sealed class ConfigServerArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Properties of the Config Server resource
+ ///
+ [Input("properties")]
+ public Input? Properties { get; set; }
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public ConfigServerArgs()
+ {
+ }
+ public static new ConfigServerArgs Empty => new ConfigServerArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/GetBuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/GetBuildServiceAgentPool.cs
new file mode 100644
index 000000000000..d5d720a77f35
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/GetBuildServiceAgentPool.cs
@@ -0,0 +1,138 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform
+{
+ public static class GetBuildServiceAgentPool
+ {
+ ///
+ /// The build service agent pool resource
+ /// API Version: 2022-01-01-preview.
+ ///
+ public static Task InvokeAsync(GetBuildServiceAgentPoolArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform:getBuildServiceAgentPool", args ?? new GetBuildServiceAgentPoolArgs(), options.WithDefaults());
+
+ ///
+ /// The build service agent pool resource
+ /// API Version: 2022-01-01-preview.
+ ///
+ public static Output Invoke(GetBuildServiceAgentPoolInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform:getBuildServiceAgentPool", args ?? new GetBuildServiceAgentPoolInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetBuildServiceAgentPoolArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the build service agent pool resource.
+ ///
+ [Input("agentPoolName", required: true)]
+ public string AgentPoolName { get; set; } = null!;
+
+ ///
+ /// The name of the build service resource.
+ ///
+ [Input("buildServiceName", required: true)]
+ public string BuildServiceName { get; set; } = null!;
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public string ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public string ServiceName { get; set; } = null!;
+
+ public GetBuildServiceAgentPoolArgs()
+ {
+ }
+ public static new GetBuildServiceAgentPoolArgs Empty => new GetBuildServiceAgentPoolArgs();
+ }
+
+ public sealed class GetBuildServiceAgentPoolInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the build service agent pool resource.
+ ///
+ [Input("agentPoolName", required: true)]
+ public Input AgentPoolName { get; set; } = null!;
+
+ ///
+ /// The name of the build service resource.
+ ///
+ [Input("buildServiceName", required: true)]
+ public Input BuildServiceName { get; set; } = null!;
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public GetBuildServiceAgentPoolInvokeArgs()
+ {
+ }
+ public static new GetBuildServiceAgentPoolInvokeArgs Empty => new GetBuildServiceAgentPoolInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetBuildServiceAgentPoolResult
+ {
+ ///
+ /// Fully qualified resource Id for the resource.
+ ///
+ public readonly string Id;
+ ///
+ /// The name of the resource.
+ ///
+ public readonly string Name;
+ ///
+ /// build service agent pool properties
+ ///
+ public readonly Outputs.BuildServiceAgentPoolPropertiesResponse Properties;
+ ///
+ /// Metadata pertaining to creation and last modification of the resource.
+ ///
+ public readonly Outputs.SystemDataResponse SystemData;
+ ///
+ /// The type of the resource.
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetBuildServiceAgentPoolResult(
+ string id,
+
+ string name,
+
+ Outputs.BuildServiceAgentPoolPropertiesResponse properties,
+
+ Outputs.SystemDataResponse systemData,
+
+ string type)
+ {
+ Id = id;
+ Name = name;
+ Properties = properties;
+ SystemData = systemData;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/GetConfigServer.cs b/sdk/dotnet/AppPlatform/GetConfigServer.cs
new file mode 100644
index 000000000000..090605bfef1c
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/GetConfigServer.cs
@@ -0,0 +1,107 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform
+{
+ public static class GetConfigServer
+ {
+ ///
+ /// Config Server resource
+ /// API Version: 2020-07-01.
+ ///
+ public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform:getConfigServer", args ?? new GetConfigServerArgs(), options.WithDefaults());
+
+ ///
+ /// Config Server resource
+ /// API Version: 2020-07-01.
+ ///
+ public static Output Invoke(GetConfigServerInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform:getConfigServer", args ?? new GetConfigServerInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetConfigServerArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public string ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public string ServiceName { get; set; } = null!;
+
+ public GetConfigServerArgs()
+ {
+ }
+ public static new GetConfigServerArgs Empty => new GetConfigServerArgs();
+ }
+
+ public sealed class GetConfigServerInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public GetConfigServerInvokeArgs()
+ {
+ }
+ public static new GetConfigServerInvokeArgs Empty => new GetConfigServerInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetConfigServerResult
+ {
+ ///
+ /// Fully qualified resource Id for the resource.
+ ///
+ public readonly string Id;
+ ///
+ /// The name of the resource.
+ ///
+ public readonly string Name;
+ ///
+ /// Properties of the Config Server resource
+ ///
+ public readonly Outputs.ConfigServerPropertiesResponse Properties;
+ ///
+ /// The type of the resource.
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetConfigServerResult(
+ string id,
+
+ string name,
+
+ Outputs.ConfigServerPropertiesResponse properties,
+
+ string type)
+ {
+ Id = id;
+ Name = name;
+ Properties = properties;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/GetMonitoringSetting.cs
new file mode 100644
index 000000000000..eb47b9b790f8
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/GetMonitoringSetting.cs
@@ -0,0 +1,107 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform
+{
+ public static class GetMonitoringSetting
+ {
+ ///
+ /// Monitoring Setting resource
+ /// API Version: 2020-07-01.
+ ///
+ public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform:getMonitoringSetting", args ?? new GetMonitoringSettingArgs(), options.WithDefaults());
+
+ ///
+ /// Monitoring Setting resource
+ /// API Version: 2020-07-01.
+ ///
+ public static Output Invoke(GetMonitoringSettingInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform:getMonitoringSetting", args ?? new GetMonitoringSettingInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetMonitoringSettingArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public string ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public string ServiceName { get; set; } = null!;
+
+ public GetMonitoringSettingArgs()
+ {
+ }
+ public static new GetMonitoringSettingArgs Empty => new GetMonitoringSettingArgs();
+ }
+
+ public sealed class GetMonitoringSettingInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public GetMonitoringSettingInvokeArgs()
+ {
+ }
+ public static new GetMonitoringSettingInvokeArgs Empty => new GetMonitoringSettingInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetMonitoringSettingResult
+ {
+ ///
+ /// Fully qualified resource Id for the resource.
+ ///
+ public readonly string Id;
+ ///
+ /// The name of the resource.
+ ///
+ public readonly string Name;
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ public readonly Outputs.MonitoringSettingPropertiesResponse Properties;
+ ///
+ /// The type of the resource.
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetMonitoringSettingResult(
+ string id,
+
+ string name,
+
+ Outputs.MonitoringSettingPropertiesResponse properties,
+
+ string type)
+ {
+ Id = id;
+ Name = name;
+ Properties = properties;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/BuildServiceAgentPoolPropertiesArgs.cs b/sdk/dotnet/AppPlatform/Inputs/BuildServiceAgentPoolPropertiesArgs.cs
new file mode 100644
index 000000000000..8e13ac3a9aec
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/BuildServiceAgentPoolPropertiesArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// Build service agent pool properties
+ ///
+ public sealed class BuildServiceAgentPoolPropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// build service agent pool size properties
+ ///
+ [Input("poolSize")]
+ public Input? PoolSize { get; set; }
+
+ public BuildServiceAgentPoolPropertiesArgs()
+ {
+ }
+ public static new BuildServiceAgentPoolPropertiesArgs Empty => new BuildServiceAgentPoolPropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs b/sdk/dotnet/AppPlatform/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs
new file mode 100644
index 000000000000..95f263b77e0d
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// Build service agent pool size properties
+ ///
+ public sealed class BuildServiceAgentPoolSizePropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// The name of build service agent pool size
+ ///
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ public BuildServiceAgentPoolSizePropertiesArgs()
+ {
+ }
+ public static new BuildServiceAgentPoolSizePropertiesArgs Empty => new BuildServiceAgentPoolSizePropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/Inputs/ConfigServerGitPropertyArgs.cs
new file mode 100644
index 000000000000..abab979cc1b5
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/ConfigServerGitPropertyArgs.cs
@@ -0,0 +1,95 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// Property of git.
+ ///
+ public sealed class ConfigServerGitPropertyArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ [Input("hostKey")]
+ public Input? HostKey { get; set; }
+
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ [Input("hostKeyAlgorithm")]
+ public Input? HostKeyAlgorithm { get; set; }
+
+ ///
+ /// Label of the repository
+ ///
+ [Input("label")]
+ public Input? Label { get; set; }
+
+ ///
+ /// Password of git repository basic auth.
+ ///
+ [Input("password")]
+ public Input? Password { get; set; }
+
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ [Input("privateKey")]
+ public Input? PrivateKey { get; set; }
+
+ [Input("repositories")]
+ private InputList? _repositories;
+
+ ///
+ /// Repositories of git.
+ ///
+ public InputList Repositories
+ {
+ get => _repositories ?? (_repositories = new InputList());
+ set => _repositories = value;
+ }
+
+ [Input("searchPaths")]
+ private InputList? _searchPaths;
+
+ ///
+ /// Searching path of the repository
+ ///
+ public InputList SearchPaths
+ {
+ get => _searchPaths ?? (_searchPaths = new InputList());
+ set => _searchPaths = value;
+ }
+
+ ///
+ /// Strict host key checking or not.
+ ///
+ [Input("strictHostKeyChecking")]
+ public Input? StrictHostKeyChecking { get; set; }
+
+ ///
+ /// URI of the repository
+ ///
+ [Input("uri", required: true)]
+ public Input Uri { get; set; } = null!;
+
+ ///
+ /// Username of git repository basic auth.
+ ///
+ [Input("username")]
+ public Input? Username { get; set; }
+
+ public ConfigServerGitPropertyArgs()
+ {
+ }
+ public static new ConfigServerGitPropertyArgs Empty => new ConfigServerGitPropertyArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/Inputs/ConfigServerPropertiesArgs.cs
new file mode 100644
index 000000000000..0496b3d461a9
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/ConfigServerPropertiesArgs.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// Config server git properties payload
+ ///
+ public sealed class ConfigServerPropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Settings of config server.
+ ///
+ [Input("configServer")]
+ public Input? ConfigServer { get; set; }
+
+ ///
+ /// Error when apply config server settings.
+ ///
+ [Input("error")]
+ public Input? Error { get; set; }
+
+ public ConfigServerPropertiesArgs()
+ {
+ }
+ public static new ConfigServerPropertiesArgs Empty => new ConfigServerPropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/Inputs/ConfigServerSettingsArgs.cs
new file mode 100644
index 000000000000..0979a9886ec9
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/ConfigServerSettingsArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// The settings of config server.
+ ///
+ public sealed class ConfigServerSettingsArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Property of git environment.
+ ///
+ [Input("gitProperty")]
+ public Input? GitProperty { get; set; }
+
+ public ConfigServerSettingsArgs()
+ {
+ }
+ public static new ConfigServerSettingsArgs Empty => new ConfigServerSettingsArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/Inputs/ErrorArgs.cs
new file mode 100644
index 000000000000..d396d24aa12f
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/ErrorArgs.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// The error code compose of code and message.
+ ///
+ public sealed class ErrorArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// The code of error.
+ ///
+ [Input("code")]
+ public Input? Code { get; set; }
+
+ ///
+ /// The message of error.
+ ///
+ [Input("message")]
+ public Input? Message { get; set; }
+
+ public ErrorArgs()
+ {
+ }
+ public static new ErrorArgs Empty => new ErrorArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/Inputs/GitPatternRepositoryArgs.cs
new file mode 100644
index 000000000000..6af903933013
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/GitPatternRepositoryArgs.cs
@@ -0,0 +1,101 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// Git repository property payload
+ ///
+ public sealed class GitPatternRepositoryArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ [Input("hostKey")]
+ public Input? HostKey { get; set; }
+
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ [Input("hostKeyAlgorithm")]
+ public Input? HostKeyAlgorithm { get; set; }
+
+ ///
+ /// Label of the repository
+ ///
+ [Input("label")]
+ public Input? Label { get; set; }
+
+ ///
+ /// Name of the repository
+ ///
+ [Input("name", required: true)]
+ public Input Name { get; set; } = null!;
+
+ ///
+ /// Password of git repository basic auth.
+ ///
+ [Input("password")]
+ public Input? Password { get; set; }
+
+ [Input("pattern")]
+ private InputList? _pattern;
+
+ ///
+ /// Collection of pattern of the repository
+ ///
+ public InputList Pattern
+ {
+ get => _pattern ?? (_pattern = new InputList());
+ set => _pattern = value;
+ }
+
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ [Input("privateKey")]
+ public Input? PrivateKey { get; set; }
+
+ [Input("searchPaths")]
+ private InputList? _searchPaths;
+
+ ///
+ /// Searching path of the repository
+ ///
+ public InputList SearchPaths
+ {
+ get => _searchPaths ?? (_searchPaths = new InputList());
+ set => _searchPaths = value;
+ }
+
+ ///
+ /// Strict host key checking or not.
+ ///
+ [Input("strictHostKeyChecking")]
+ public Input? StrictHostKeyChecking { get; set; }
+
+ ///
+ /// URI of the repository
+ ///
+ [Input("uri", required: true)]
+ public Input Uri { get; set; } = null!;
+
+ ///
+ /// Username of git repository basic auth.
+ ///
+ [Input("username")]
+ public Input? Username { get; set; }
+
+ public GitPatternRepositoryArgs()
+ {
+ }
+ public static new GitPatternRepositoryArgs Empty => new GitPatternRepositoryArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/Inputs/MonitoringSettingPropertiesArgs.cs
new file mode 100644
index 000000000000..8384bfa3cfb6
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Inputs/MonitoringSettingPropertiesArgs.cs
@@ -0,0 +1,41 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Inputs
+{
+
+ ///
+ /// Monitoring Setting properties payload
+ ///
+ public sealed class MonitoringSettingPropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Target application insight instrumentation key
+ ///
+ [Input("appInsightsInstrumentationKey")]
+ public Input? AppInsightsInstrumentationKey { get; set; }
+
+ ///
+ /// Error when apply Monitoring Setting changes.
+ ///
+ [Input("error")]
+ public Input? Error { get; set; }
+
+ ///
+ /// Indicates whether enable the trace functionality
+ ///
+ [Input("traceEnabled")]
+ public Input? TraceEnabled { get; set; }
+
+ public MonitoringSettingPropertiesArgs()
+ {
+ }
+ public static new MonitoringSettingPropertiesArgs Empty => new MonitoringSettingPropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/MonitoringSetting.cs
new file mode 100644
index 000000000000..3f8ee27f2796
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/MonitoringSetting.cs
@@ -0,0 +1,117 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform
+{
+ ///
+ /// Monitoring Setting resource
+ /// API Version: 2020-07-01.
+ ///
+ [AzureNativeResourceType("azure-native:appplatform:MonitoringSetting")]
+ public partial class MonitoringSetting : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a MonitoringSetting resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public MonitoringSetting(string name, MonitoringSettingArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform:MonitoringSetting", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20200701:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20201101preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:MonitoringSetting"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static MonitoringSetting Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new MonitoringSetting(name, id, options);
+ }
+ }
+
+ public sealed class MonitoringSettingArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ [Input("properties")]
+ public Input? Properties { get; set; }
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public MonitoringSettingArgs()
+ {
+ }
+ public static new MonitoringSettingArgs Empty => new MonitoringSettingArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/BuildServiceAgentPoolPropertiesResponse.cs b/sdk/dotnet/AppPlatform/Outputs/BuildServiceAgentPoolPropertiesResponse.cs
new file mode 100644
index 000000000000..40311941b533
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/BuildServiceAgentPoolPropertiesResponse.cs
@@ -0,0 +1,38 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// Build service agent pool properties
+ ///
+ [OutputType]
+ public sealed class BuildServiceAgentPoolPropertiesResponse
+ {
+ ///
+ /// build service agent pool size properties
+ ///
+ public readonly Outputs.BuildServiceAgentPoolSizePropertiesResponse? PoolSize;
+ ///
+ /// Provisioning state of the build service agent pool
+ ///
+ public readonly string ProvisioningState;
+
+ [OutputConstructor]
+ private BuildServiceAgentPoolPropertiesResponse(
+ Outputs.BuildServiceAgentPoolSizePropertiesResponse? poolSize,
+
+ string provisioningState)
+ {
+ PoolSize = poolSize;
+ ProvisioningState = provisioningState;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs b/sdk/dotnet/AppPlatform/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs
new file mode 100644
index 000000000000..dd4198e7b62e
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs
@@ -0,0 +1,45 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// Build service agent pool size properties
+ ///
+ [OutputType]
+ public sealed class BuildServiceAgentPoolSizePropertiesResponse
+ {
+ ///
+ /// The cpu property of build service agent pool size
+ ///
+ public readonly string Cpu;
+ ///
+ /// The memory property of build service agent pool size
+ ///
+ public readonly string Memory;
+ ///
+ /// The name of build service agent pool size
+ ///
+ public readonly string? Name;
+
+ [OutputConstructor]
+ private BuildServiceAgentPoolSizePropertiesResponse(
+ string cpu,
+
+ string memory,
+
+ string? name)
+ {
+ Cpu = cpu;
+ Memory = memory;
+ Name = name;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/Outputs/ConfigServerGitPropertyResponse.cs
new file mode 100644
index 000000000000..9ab2e878cd86
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/ConfigServerGitPropertyResponse.cs
@@ -0,0 +1,94 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// Property of git.
+ ///
+ [OutputType]
+ public sealed class ConfigServerGitPropertyResponse
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ public readonly string? HostKey;
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ public readonly string? HostKeyAlgorithm;
+ ///
+ /// Label of the repository
+ ///
+ public readonly string? Label;
+ ///
+ /// Password of git repository basic auth.
+ ///
+ public readonly string? Password;
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ public readonly string? PrivateKey;
+ ///
+ /// Repositories of git.
+ ///
+ public readonly ImmutableArray Repositories;
+ ///
+ /// Searching path of the repository
+ ///
+ public readonly ImmutableArray SearchPaths;
+ ///
+ /// Strict host key checking or not.
+ ///
+ public readonly bool? StrictHostKeyChecking;
+ ///
+ /// URI of the repository
+ ///
+ public readonly string Uri;
+ ///
+ /// Username of git repository basic auth.
+ ///
+ public readonly string? Username;
+
+ [OutputConstructor]
+ private ConfigServerGitPropertyResponse(
+ string? hostKey,
+
+ string? hostKeyAlgorithm,
+
+ string? label,
+
+ string? password,
+
+ string? privateKey,
+
+ ImmutableArray repositories,
+
+ ImmutableArray searchPaths,
+
+ bool? strictHostKeyChecking,
+
+ string uri,
+
+ string? username)
+ {
+ HostKey = hostKey;
+ HostKeyAlgorithm = hostKeyAlgorithm;
+ Label = label;
+ Password = password;
+ PrivateKey = privateKey;
+ Repositories = repositories;
+ SearchPaths = searchPaths;
+ StrictHostKeyChecking = strictHostKeyChecking;
+ Uri = uri;
+ Username = username;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/Outputs/ConfigServerPropertiesResponse.cs
new file mode 100644
index 000000000000..c7f73291f1bd
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/ConfigServerPropertiesResponse.cs
@@ -0,0 +1,45 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// Config server git properties payload
+ ///
+ [OutputType]
+ public sealed class ConfigServerPropertiesResponse
+ {
+ ///
+ /// Settings of config server.
+ ///
+ public readonly Outputs.ConfigServerSettingsResponse? ConfigServer;
+ ///
+ /// Error when apply config server settings.
+ ///
+ public readonly Outputs.ErrorResponse? Error;
+ ///
+ /// State of the config server.
+ ///
+ public readonly string ProvisioningState;
+
+ [OutputConstructor]
+ private ConfigServerPropertiesResponse(
+ Outputs.ConfigServerSettingsResponse? configServer,
+
+ Outputs.ErrorResponse? error,
+
+ string provisioningState)
+ {
+ ConfigServer = configServer;
+ Error = error;
+ ProvisioningState = provisioningState;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/Outputs/ConfigServerSettingsResponse.cs
new file mode 100644
index 000000000000..726d5c33e672
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/ConfigServerSettingsResponse.cs
@@ -0,0 +1,30 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// The settings of config server.
+ ///
+ [OutputType]
+ public sealed class ConfigServerSettingsResponse
+ {
+ ///
+ /// Property of git environment.
+ ///
+ public readonly Outputs.ConfigServerGitPropertyResponse? GitProperty;
+
+ [OutputConstructor]
+ private ConfigServerSettingsResponse(Outputs.ConfigServerGitPropertyResponse? gitProperty)
+ {
+ GitProperty = gitProperty;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/Outputs/ErrorResponse.cs
new file mode 100644
index 000000000000..e67708ac0d4d
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/ErrorResponse.cs
@@ -0,0 +1,38 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// The error code compose of code and message.
+ ///
+ [OutputType]
+ public sealed class ErrorResponse
+ {
+ ///
+ /// The code of error.
+ ///
+ public readonly string? Code;
+ ///
+ /// The message of error.
+ ///
+ public readonly string? Message;
+
+ [OutputConstructor]
+ private ErrorResponse(
+ string? code,
+
+ string? message)
+ {
+ Code = code;
+ Message = message;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/Outputs/GitPatternRepositoryResponse.cs
new file mode 100644
index 000000000000..5a53f8dbd8f6
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/GitPatternRepositoryResponse.cs
@@ -0,0 +1,101 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// Git repository property payload
+ ///
+ [OutputType]
+ public sealed class GitPatternRepositoryResponse
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ public readonly string? HostKey;
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ public readonly string? HostKeyAlgorithm;
+ ///
+ /// Label of the repository
+ ///
+ public readonly string? Label;
+ ///
+ /// Name of the repository
+ ///
+ public readonly string Name;
+ ///
+ /// Password of git repository basic auth.
+ ///
+ public readonly string? Password;
+ ///
+ /// Collection of pattern of the repository
+ ///
+ public readonly ImmutableArray Pattern;
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ public readonly string? PrivateKey;
+ ///
+ /// Searching path of the repository
+ ///
+ public readonly ImmutableArray SearchPaths;
+ ///
+ /// Strict host key checking or not.
+ ///
+ public readonly bool? StrictHostKeyChecking;
+ ///
+ /// URI of the repository
+ ///
+ public readonly string Uri;
+ ///
+ /// Username of git repository basic auth.
+ ///
+ public readonly string? Username;
+
+ [OutputConstructor]
+ private GitPatternRepositoryResponse(
+ string? hostKey,
+
+ string? hostKeyAlgorithm,
+
+ string? label,
+
+ string name,
+
+ string? password,
+
+ ImmutableArray pattern,
+
+ string? privateKey,
+
+ ImmutableArray searchPaths,
+
+ bool? strictHostKeyChecking,
+
+ string uri,
+
+ string? username)
+ {
+ HostKey = hostKey;
+ HostKeyAlgorithm = hostKeyAlgorithm;
+ Label = label;
+ Name = name;
+ Password = password;
+ Pattern = pattern;
+ PrivateKey = privateKey;
+ SearchPaths = searchPaths;
+ StrictHostKeyChecking = strictHostKeyChecking;
+ Uri = uri;
+ Username = username;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/Outputs/MonitoringSettingPropertiesResponse.cs
new file mode 100644
index 000000000000..85855db6ca31
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/Outputs/MonitoringSettingPropertiesResponse.cs
@@ -0,0 +1,52 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.Outputs
+{
+
+ ///
+ /// Monitoring Setting properties payload
+ ///
+ [OutputType]
+ public sealed class MonitoringSettingPropertiesResponse
+ {
+ ///
+ /// Target application insight instrumentation key
+ ///
+ public readonly string? AppInsightsInstrumentationKey;
+ ///
+ /// Error when apply Monitoring Setting changes.
+ ///
+ public readonly Outputs.ErrorResponse? Error;
+ ///
+ /// State of the Monitoring Setting.
+ ///
+ public readonly string ProvisioningState;
+ ///
+ /// Indicates whether enable the trace functionality
+ ///
+ public readonly bool? TraceEnabled;
+
+ [OutputConstructor]
+ private MonitoringSettingPropertiesResponse(
+ string? appInsightsInstrumentationKey,
+
+ Outputs.ErrorResponse? error,
+
+ string provisioningState,
+
+ bool? traceEnabled)
+ {
+ AppInsightsInstrumentationKey = appInsightsInstrumentationKey;
+ Error = error;
+ ProvisioningState = provisioningState;
+ TraceEnabled = traceEnabled;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/ConfigServer.cs b/sdk/dotnet/AppPlatform/V20200701/ConfigServer.cs
new file mode 100644
index 000000000000..05732887d018
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/ConfigServer.cs
@@ -0,0 +1,116 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701
+{
+ ///
+ /// Config Server resource
+ ///
+ [AzureNativeResourceType("azure-native:appplatform/v20200701:ConfigServer")]
+ public partial class ConfigServer : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// Properties of the Config Server resource
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a ConfigServer resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public ConfigServer(string name, ConfigServerArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20200701:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private ConfigServer(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20200701:ConfigServer", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20201101preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:ConfigServer"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing ConfigServer resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static ConfigServer Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new ConfigServer(name, id, options);
+ }
+ }
+
+ public sealed class ConfigServerArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Properties of the Config Server resource
+ ///
+ [Input("properties")]
+ public Input? Properties { get; set; }
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public ConfigServerArgs()
+ {
+ }
+ public static new ConfigServerArgs Empty => new ConfigServerArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20200701/GetConfigServer.cs
new file mode 100644
index 000000000000..ca6016d7d704
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/GetConfigServer.cs
@@ -0,0 +1,105 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701
+{
+ public static class GetConfigServer
+ {
+ ///
+ /// Config Server resource
+ ///
+ public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20200701:getConfigServer", args ?? new GetConfigServerArgs(), options.WithDefaults());
+
+ ///
+ /// Config Server resource
+ ///
+ public static Output Invoke(GetConfigServerInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20200701:getConfigServer", args ?? new GetConfigServerInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetConfigServerArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public string ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public string ServiceName { get; set; } = null!;
+
+ public GetConfigServerArgs()
+ {
+ }
+ public static new GetConfigServerArgs Empty => new GetConfigServerArgs();
+ }
+
+ public sealed class GetConfigServerInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public GetConfigServerInvokeArgs()
+ {
+ }
+ public static new GetConfigServerInvokeArgs Empty => new GetConfigServerInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetConfigServerResult
+ {
+ ///
+ /// Fully qualified resource Id for the resource.
+ ///
+ public readonly string Id;
+ ///
+ /// The name of the resource.
+ ///
+ public readonly string Name;
+ ///
+ /// Properties of the Config Server resource
+ ///
+ public readonly Outputs.ConfigServerPropertiesResponse Properties;
+ ///
+ /// The type of the resource.
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetConfigServerResult(
+ string id,
+
+ string name,
+
+ Outputs.ConfigServerPropertiesResponse properties,
+
+ string type)
+ {
+ Id = id;
+ Name = name;
+ Properties = properties;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20200701/GetMonitoringSetting.cs
new file mode 100644
index 000000000000..83cefa3842ac
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/GetMonitoringSetting.cs
@@ -0,0 +1,105 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701
+{
+ public static class GetMonitoringSetting
+ {
+ ///
+ /// Monitoring Setting resource
+ ///
+ public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20200701:getMonitoringSetting", args ?? new GetMonitoringSettingArgs(), options.WithDefaults());
+
+ ///
+ /// Monitoring Setting resource
+ ///
+ public static Output Invoke(GetMonitoringSettingInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20200701:getMonitoringSetting", args ?? new GetMonitoringSettingInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetMonitoringSettingArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public string ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public string ServiceName { get; set; } = null!;
+
+ public GetMonitoringSettingArgs()
+ {
+ }
+ public static new GetMonitoringSettingArgs Empty => new GetMonitoringSettingArgs();
+ }
+
+ public sealed class GetMonitoringSettingInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public GetMonitoringSettingInvokeArgs()
+ {
+ }
+ public static new GetMonitoringSettingInvokeArgs Empty => new GetMonitoringSettingInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetMonitoringSettingResult
+ {
+ ///
+ /// Fully qualified resource Id for the resource.
+ ///
+ public readonly string Id;
+ ///
+ /// The name of the resource.
+ ///
+ public readonly string Name;
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ public readonly Outputs.MonitoringSettingPropertiesResponse Properties;
+ ///
+ /// The type of the resource.
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetMonitoringSettingResult(
+ string id,
+
+ string name,
+
+ Outputs.MonitoringSettingPropertiesResponse properties,
+
+ string type)
+ {
+ Id = id;
+ Name = name;
+ Properties = properties;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerGitPropertyArgs.cs
new file mode 100644
index 000000000000..af703083ac4e
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerGitPropertyArgs.cs
@@ -0,0 +1,95 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Inputs
+{
+
+ ///
+ /// Property of git.
+ ///
+ public sealed class ConfigServerGitPropertyArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ [Input("hostKey")]
+ public Input? HostKey { get; set; }
+
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ [Input("hostKeyAlgorithm")]
+ public Input? HostKeyAlgorithm { get; set; }
+
+ ///
+ /// Label of the repository
+ ///
+ [Input("label")]
+ public Input? Label { get; set; }
+
+ ///
+ /// Password of git repository basic auth.
+ ///
+ [Input("password")]
+ public Input? Password { get; set; }
+
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ [Input("privateKey")]
+ public Input? PrivateKey { get; set; }
+
+ [Input("repositories")]
+ private InputList? _repositories;
+
+ ///
+ /// Repositories of git.
+ ///
+ public InputList Repositories
+ {
+ get => _repositories ?? (_repositories = new InputList());
+ set => _repositories = value;
+ }
+
+ [Input("searchPaths")]
+ private InputList? _searchPaths;
+
+ ///
+ /// Searching path of the repository
+ ///
+ public InputList SearchPaths
+ {
+ get => _searchPaths ?? (_searchPaths = new InputList());
+ set => _searchPaths = value;
+ }
+
+ ///
+ /// Strict host key checking or not.
+ ///
+ [Input("strictHostKeyChecking")]
+ public Input? StrictHostKeyChecking { get; set; }
+
+ ///
+ /// URI of the repository
+ ///
+ [Input("uri", required: true)]
+ public Input Uri { get; set; } = null!;
+
+ ///
+ /// Username of git repository basic auth.
+ ///
+ [Input("username")]
+ public Input? Username { get; set; }
+
+ public ConfigServerGitPropertyArgs()
+ {
+ }
+ public static new ConfigServerGitPropertyArgs Empty => new ConfigServerGitPropertyArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerPropertiesArgs.cs
new file mode 100644
index 000000000000..591d04292034
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerPropertiesArgs.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Inputs
+{
+
+ ///
+ /// Config server git properties payload
+ ///
+ public sealed class ConfigServerPropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Settings of config server.
+ ///
+ [Input("configServer")]
+ public Input? ConfigServer { get; set; }
+
+ ///
+ /// Error when apply config server settings.
+ ///
+ [Input("error")]
+ public Input? Error { get; set; }
+
+ public ConfigServerPropertiesArgs()
+ {
+ }
+ public static new ConfigServerPropertiesArgs Empty => new ConfigServerPropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerSettingsArgs.cs
new file mode 100644
index 000000000000..61961aca9a7b
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Inputs/ConfigServerSettingsArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Inputs
+{
+
+ ///
+ /// The settings of config server.
+ ///
+ public sealed class ConfigServerSettingsArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Property of git environment.
+ ///
+ [Input("gitProperty")]
+ public Input? GitProperty { get; set; }
+
+ public ConfigServerSettingsArgs()
+ {
+ }
+ public static new ConfigServerSettingsArgs Empty => new ConfigServerSettingsArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20200701/Inputs/ErrorArgs.cs
new file mode 100644
index 000000000000..f3e85bd7e6c7
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Inputs/ErrorArgs.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Inputs
+{
+
+ ///
+ /// The error code compose of code and message.
+ ///
+ public sealed class ErrorArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// The code of error.
+ ///
+ [Input("code")]
+ public Input? Code { get; set; }
+
+ ///
+ /// The message of error.
+ ///
+ [Input("message")]
+ public Input? Message { get; set; }
+
+ public ErrorArgs()
+ {
+ }
+ public static new ErrorArgs Empty => new ErrorArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20200701/Inputs/GitPatternRepositoryArgs.cs
new file mode 100644
index 000000000000..29bb098d1033
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Inputs/GitPatternRepositoryArgs.cs
@@ -0,0 +1,101 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Inputs
+{
+
+ ///
+ /// Git repository property payload
+ ///
+ public sealed class GitPatternRepositoryArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ [Input("hostKey")]
+ public Input? HostKey { get; set; }
+
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ [Input("hostKeyAlgorithm")]
+ public Input? HostKeyAlgorithm { get; set; }
+
+ ///
+ /// Label of the repository
+ ///
+ [Input("label")]
+ public Input? Label { get; set; }
+
+ ///
+ /// Name of the repository
+ ///
+ [Input("name", required: true)]
+ public Input Name { get; set; } = null!;
+
+ ///
+ /// Password of git repository basic auth.
+ ///
+ [Input("password")]
+ public Input? Password { get; set; }
+
+ [Input("pattern")]
+ private InputList? _pattern;
+
+ ///
+ /// Collection of pattern of the repository
+ ///
+ public InputList Pattern
+ {
+ get => _pattern ?? (_pattern = new InputList());
+ set => _pattern = value;
+ }
+
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ [Input("privateKey")]
+ public Input? PrivateKey { get; set; }
+
+ [Input("searchPaths")]
+ private InputList? _searchPaths;
+
+ ///
+ /// Searching path of the repository
+ ///
+ public InputList SearchPaths
+ {
+ get => _searchPaths ?? (_searchPaths = new InputList());
+ set => _searchPaths = value;
+ }
+
+ ///
+ /// Strict host key checking or not.
+ ///
+ [Input("strictHostKeyChecking")]
+ public Input? StrictHostKeyChecking { get; set; }
+
+ ///
+ /// URI of the repository
+ ///
+ [Input("uri", required: true)]
+ public Input Uri { get; set; } = null!;
+
+ ///
+ /// Username of git repository basic auth.
+ ///
+ [Input("username")]
+ public Input? Username { get; set; }
+
+ public GitPatternRepositoryArgs()
+ {
+ }
+ public static new GitPatternRepositoryArgs Empty => new GitPatternRepositoryArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20200701/Inputs/MonitoringSettingPropertiesArgs.cs
new file mode 100644
index 000000000000..c55c08fd31d7
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Inputs/MonitoringSettingPropertiesArgs.cs
@@ -0,0 +1,41 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Inputs
+{
+
+ ///
+ /// Monitoring Setting properties payload
+ ///
+ public sealed class MonitoringSettingPropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Target application insight instrumentation key
+ ///
+ [Input("appInsightsInstrumentationKey")]
+ public Input? AppInsightsInstrumentationKey { get; set; }
+
+ ///
+ /// Error when apply Monitoring Setting changes.
+ ///
+ [Input("error")]
+ public Input? Error { get; set; }
+
+ ///
+ /// Indicates whether enable the trace functionality
+ ///
+ [Input("traceEnabled")]
+ public Input? TraceEnabled { get; set; }
+
+ public MonitoringSettingPropertiesArgs()
+ {
+ }
+ public static new MonitoringSettingPropertiesArgs Empty => new MonitoringSettingPropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20200701/MonitoringSetting.cs
new file mode 100644
index 000000000000..480c48b2728b
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/MonitoringSetting.cs
@@ -0,0 +1,116 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701
+{
+ ///
+ /// Monitoring Setting resource
+ ///
+ [AzureNativeResourceType("azure-native:appplatform/v20200701:MonitoringSetting")]
+ public partial class MonitoringSetting : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a MonitoringSetting resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public MonitoringSetting(string name, MonitoringSettingArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20200701:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20200701:MonitoringSetting", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20201101preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:MonitoringSetting"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static MonitoringSetting Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new MonitoringSetting(name, id, options);
+ }
+ }
+
+ public sealed class MonitoringSettingArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ [Input("properties")]
+ public Input? Properties { get; set; }
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public MonitoringSettingArgs()
+ {
+ }
+ public static new MonitoringSettingArgs Empty => new MonitoringSettingArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerGitPropertyResponse.cs
new file mode 100644
index 000000000000..2b1788100a07
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerGitPropertyResponse.cs
@@ -0,0 +1,94 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Outputs
+{
+
+ ///
+ /// Property of git.
+ ///
+ [OutputType]
+ public sealed class ConfigServerGitPropertyResponse
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ public readonly string? HostKey;
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ public readonly string? HostKeyAlgorithm;
+ ///
+ /// Label of the repository
+ ///
+ public readonly string? Label;
+ ///
+ /// Password of git repository basic auth.
+ ///
+ public readonly string? Password;
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ public readonly string? PrivateKey;
+ ///
+ /// Repositories of git.
+ ///
+ public readonly ImmutableArray Repositories;
+ ///
+ /// Searching path of the repository
+ ///
+ public readonly ImmutableArray SearchPaths;
+ ///
+ /// Strict host key checking or not.
+ ///
+ public readonly bool? StrictHostKeyChecking;
+ ///
+ /// URI of the repository
+ ///
+ public readonly string Uri;
+ ///
+ /// Username of git repository basic auth.
+ ///
+ public readonly string? Username;
+
+ [OutputConstructor]
+ private ConfigServerGitPropertyResponse(
+ string? hostKey,
+
+ string? hostKeyAlgorithm,
+
+ string? label,
+
+ string? password,
+
+ string? privateKey,
+
+ ImmutableArray repositories,
+
+ ImmutableArray searchPaths,
+
+ bool? strictHostKeyChecking,
+
+ string uri,
+
+ string? username)
+ {
+ HostKey = hostKey;
+ HostKeyAlgorithm = hostKeyAlgorithm;
+ Label = label;
+ Password = password;
+ PrivateKey = privateKey;
+ Repositories = repositories;
+ SearchPaths = searchPaths;
+ StrictHostKeyChecking = strictHostKeyChecking;
+ Uri = uri;
+ Username = username;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerPropertiesResponse.cs
new file mode 100644
index 000000000000..9d8f96818c37
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerPropertiesResponse.cs
@@ -0,0 +1,45 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Outputs
+{
+
+ ///
+ /// Config server git properties payload
+ ///
+ [OutputType]
+ public sealed class ConfigServerPropertiesResponse
+ {
+ ///
+ /// Settings of config server.
+ ///
+ public readonly Outputs.ConfigServerSettingsResponse? ConfigServer;
+ ///
+ /// Error when apply config server settings.
+ ///
+ public readonly Outputs.ErrorResponse? Error;
+ ///
+ /// State of the config server.
+ ///
+ public readonly string ProvisioningState;
+
+ [OutputConstructor]
+ private ConfigServerPropertiesResponse(
+ Outputs.ConfigServerSettingsResponse? configServer,
+
+ Outputs.ErrorResponse? error,
+
+ string provisioningState)
+ {
+ ConfigServer = configServer;
+ Error = error;
+ ProvisioningState = provisioningState;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerSettingsResponse.cs
new file mode 100644
index 000000000000..2b466916e252
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Outputs/ConfigServerSettingsResponse.cs
@@ -0,0 +1,30 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Outputs
+{
+
+ ///
+ /// The settings of config server.
+ ///
+ [OutputType]
+ public sealed class ConfigServerSettingsResponse
+ {
+ ///
+ /// Property of git environment.
+ ///
+ public readonly Outputs.ConfigServerGitPropertyResponse? GitProperty;
+
+ [OutputConstructor]
+ private ConfigServerSettingsResponse(Outputs.ConfigServerGitPropertyResponse? gitProperty)
+ {
+ GitProperty = gitProperty;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20200701/Outputs/ErrorResponse.cs
new file mode 100644
index 000000000000..88e0a88413e7
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Outputs/ErrorResponse.cs
@@ -0,0 +1,38 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Outputs
+{
+
+ ///
+ /// The error code compose of code and message.
+ ///
+ [OutputType]
+ public sealed class ErrorResponse
+ {
+ ///
+ /// The code of error.
+ ///
+ public readonly string? Code;
+ ///
+ /// The message of error.
+ ///
+ public readonly string? Message;
+
+ [OutputConstructor]
+ private ErrorResponse(
+ string? code,
+
+ string? message)
+ {
+ Code = code;
+ Message = message;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20200701/Outputs/GitPatternRepositoryResponse.cs
new file mode 100644
index 000000000000..b4da4357e5ac
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Outputs/GitPatternRepositoryResponse.cs
@@ -0,0 +1,101 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Outputs
+{
+
+ ///
+ /// Git repository property payload
+ ///
+ [OutputType]
+ public sealed class GitPatternRepositoryResponse
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ public readonly string? HostKey;
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ public readonly string? HostKeyAlgorithm;
+ ///
+ /// Label of the repository
+ ///
+ public readonly string? Label;
+ ///
+ /// Name of the repository
+ ///
+ public readonly string Name;
+ ///
+ /// Password of git repository basic auth.
+ ///
+ public readonly string? Password;
+ ///
+ /// Collection of pattern of the repository
+ ///
+ public readonly ImmutableArray Pattern;
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ public readonly string? PrivateKey;
+ ///
+ /// Searching path of the repository
+ ///
+ public readonly ImmutableArray SearchPaths;
+ ///
+ /// Strict host key checking or not.
+ ///
+ public readonly bool? StrictHostKeyChecking;
+ ///
+ /// URI of the repository
+ ///
+ public readonly string Uri;
+ ///
+ /// Username of git repository basic auth.
+ ///
+ public readonly string? Username;
+
+ [OutputConstructor]
+ private GitPatternRepositoryResponse(
+ string? hostKey,
+
+ string? hostKeyAlgorithm,
+
+ string? label,
+
+ string name,
+
+ string? password,
+
+ ImmutableArray pattern,
+
+ string? privateKey,
+
+ ImmutableArray searchPaths,
+
+ bool? strictHostKeyChecking,
+
+ string uri,
+
+ string? username)
+ {
+ HostKey = hostKey;
+ HostKeyAlgorithm = hostKeyAlgorithm;
+ Label = label;
+ Name = name;
+ Password = password;
+ Pattern = pattern;
+ PrivateKey = privateKey;
+ SearchPaths = searchPaths;
+ StrictHostKeyChecking = strictHostKeyChecking;
+ Uri = uri;
+ Username = username;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20200701/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20200701/Outputs/MonitoringSettingPropertiesResponse.cs
new file mode 100644
index 000000000000..59dccf710daf
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20200701/Outputs/MonitoringSettingPropertiesResponse.cs
@@ -0,0 +1,52 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20200701.Outputs
+{
+
+ ///
+ /// Monitoring Setting properties payload
+ ///
+ [OutputType]
+ public sealed class MonitoringSettingPropertiesResponse
+ {
+ ///
+ /// Target application insight instrumentation key
+ ///
+ public readonly string? AppInsightsInstrumentationKey;
+ ///
+ /// Error when apply Monitoring Setting changes.
+ ///
+ public readonly Outputs.ErrorResponse? Error;
+ ///
+ /// State of the Monitoring Setting.
+ ///
+ public readonly string ProvisioningState;
+ ///
+ /// Indicates whether enable the trace functionality
+ ///
+ public readonly bool? TraceEnabled;
+
+ [OutputConstructor]
+ private MonitoringSettingPropertiesResponse(
+ string? appInsightsInstrumentationKey,
+
+ Outputs.ErrorResponse? error,
+
+ string provisioningState,
+
+ bool? traceEnabled)
+ {
+ AppInsightsInstrumentationKey = appInsightsInstrumentationKey;
+ Error = error;
+ ProvisioningState = provisioningState;
+ TraceEnabled = traceEnabled;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/ConfigServer.cs b/sdk/dotnet/AppPlatform/V20201101Preview/ConfigServer.cs
new file mode 100644
index 000000000000..e733bcbc6d1b
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/ConfigServer.cs
@@ -0,0 +1,116 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview
+{
+ ///
+ /// Config Server resource
+ ///
+ [AzureNativeResourceType("azure-native:appplatform/v20201101preview:ConfigServer")]
+ public partial class ConfigServer : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// Properties of the Config Server resource
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a ConfigServer resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public ConfigServer(string name, ConfigServerArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20201101preview:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private ConfigServer(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20201101preview:ConfigServer", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20200701:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:ConfigServer"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing ConfigServer resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static ConfigServer Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new ConfigServer(name, id, options);
+ }
+ }
+
+ public sealed class ConfigServerArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Properties of the Config Server resource
+ ///
+ [Input("properties")]
+ public Input? Properties { get; set; }
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public ConfigServerArgs()
+ {
+ }
+ public static new ConfigServerArgs Empty => new ConfigServerArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20201101Preview/GetConfigServer.cs
new file mode 100644
index 000000000000..7616d6107900
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/GetConfigServer.cs
@@ -0,0 +1,105 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview
+{
+ public static class GetConfigServer
+ {
+ ///
+ /// Config Server resource
+ ///
+ public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20201101preview:getConfigServer", args ?? new GetConfigServerArgs(), options.WithDefaults());
+
+ ///
+ /// Config Server resource
+ ///
+ public static Output Invoke(GetConfigServerInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20201101preview:getConfigServer", args ?? new GetConfigServerInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetConfigServerArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public string ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public string ServiceName { get; set; } = null!;
+
+ public GetConfigServerArgs()
+ {
+ }
+ public static new GetConfigServerArgs Empty => new GetConfigServerArgs();
+ }
+
+ public sealed class GetConfigServerInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public GetConfigServerInvokeArgs()
+ {
+ }
+ public static new GetConfigServerInvokeArgs Empty => new GetConfigServerInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetConfigServerResult
+ {
+ ///
+ /// Fully qualified resource Id for the resource.
+ ///
+ public readonly string Id;
+ ///
+ /// The name of the resource.
+ ///
+ public readonly string Name;
+ ///
+ /// Properties of the Config Server resource
+ ///
+ public readonly Outputs.ConfigServerPropertiesResponse Properties;
+ ///
+ /// The type of the resource.
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetConfigServerResult(
+ string id,
+
+ string name,
+
+ Outputs.ConfigServerPropertiesResponse properties,
+
+ string type)
+ {
+ Id = id;
+ Name = name;
+ Properties = properties;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20201101Preview/GetMonitoringSetting.cs
new file mode 100644
index 000000000000..10d3d675f913
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/GetMonitoringSetting.cs
@@ -0,0 +1,105 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview
+{
+ public static class GetMonitoringSetting
+ {
+ ///
+ /// Monitoring Setting resource
+ ///
+ public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20201101preview:getMonitoringSetting", args ?? new GetMonitoringSettingArgs(), options.WithDefaults());
+
+ ///
+ /// Monitoring Setting resource
+ ///
+ public static Output Invoke(GetMonitoringSettingInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20201101preview:getMonitoringSetting", args ?? new GetMonitoringSettingInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetMonitoringSettingArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public string ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public string ServiceName { get; set; } = null!;
+
+ public GetMonitoringSettingArgs()
+ {
+ }
+ public static new GetMonitoringSettingArgs Empty => new GetMonitoringSettingArgs();
+ }
+
+ public sealed class GetMonitoringSettingInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public GetMonitoringSettingInvokeArgs()
+ {
+ }
+ public static new GetMonitoringSettingInvokeArgs Empty => new GetMonitoringSettingInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetMonitoringSettingResult
+ {
+ ///
+ /// Fully qualified resource Id for the resource.
+ ///
+ public readonly string Id;
+ ///
+ /// The name of the resource.
+ ///
+ public readonly string Name;
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ public readonly Outputs.MonitoringSettingPropertiesResponse Properties;
+ ///
+ /// The type of the resource.
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetMonitoringSettingResult(
+ string id,
+
+ string name,
+
+ Outputs.MonitoringSettingPropertiesResponse properties,
+
+ string type)
+ {
+ Id = id;
+ Name = name;
+ Properties = properties;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerGitPropertyArgs.cs
new file mode 100644
index 000000000000..938d2e50f039
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerGitPropertyArgs.cs
@@ -0,0 +1,95 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Inputs
+{
+
+ ///
+ /// Property of git.
+ ///
+ public sealed class ConfigServerGitPropertyArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ [Input("hostKey")]
+ public Input? HostKey { get; set; }
+
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ [Input("hostKeyAlgorithm")]
+ public Input? HostKeyAlgorithm { get; set; }
+
+ ///
+ /// Label of the repository
+ ///
+ [Input("label")]
+ public Input? Label { get; set; }
+
+ ///
+ /// Password of git repository basic auth.
+ ///
+ [Input("password")]
+ public Input? Password { get; set; }
+
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ [Input("privateKey")]
+ public Input? PrivateKey { get; set; }
+
+ [Input("repositories")]
+ private InputList? _repositories;
+
+ ///
+ /// Repositories of git.
+ ///
+ public InputList Repositories
+ {
+ get => _repositories ?? (_repositories = new InputList());
+ set => _repositories = value;
+ }
+
+ [Input("searchPaths")]
+ private InputList? _searchPaths;
+
+ ///
+ /// Searching path of the repository
+ ///
+ public InputList SearchPaths
+ {
+ get => _searchPaths ?? (_searchPaths = new InputList());
+ set => _searchPaths = value;
+ }
+
+ ///
+ /// Strict host key checking or not.
+ ///
+ [Input("strictHostKeyChecking")]
+ public Input? StrictHostKeyChecking { get; set; }
+
+ ///
+ /// URI of the repository
+ ///
+ [Input("uri", required: true)]
+ public Input Uri { get; set; } = null!;
+
+ ///
+ /// Username of git repository basic auth.
+ ///
+ [Input("username")]
+ public Input? Username { get; set; }
+
+ public ConfigServerGitPropertyArgs()
+ {
+ }
+ public static new ConfigServerGitPropertyArgs Empty => new ConfigServerGitPropertyArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerPropertiesArgs.cs
new file mode 100644
index 000000000000..850c2a5679bb
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerPropertiesArgs.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Inputs
+{
+
+ ///
+ /// Config server git properties payload
+ ///
+ public sealed class ConfigServerPropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Settings of config server.
+ ///
+ [Input("configServer")]
+ public Input? ConfigServer { get; set; }
+
+ ///
+ /// Error when apply config server settings.
+ ///
+ [Input("error")]
+ public Input? Error { get; set; }
+
+ public ConfigServerPropertiesArgs()
+ {
+ }
+ public static new ConfigServerPropertiesArgs Empty => new ConfigServerPropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerSettingsArgs.cs
new file mode 100644
index 000000000000..360d62581262
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ConfigServerSettingsArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Inputs
+{
+
+ ///
+ /// The settings of config server.
+ ///
+ public sealed class ConfigServerSettingsArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Property of git environment.
+ ///
+ [Input("gitProperty")]
+ public Input? GitProperty { get; set; }
+
+ public ConfigServerSettingsArgs()
+ {
+ }
+ public static new ConfigServerSettingsArgs Empty => new ConfigServerSettingsArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ErrorArgs.cs
new file mode 100644
index 000000000000..a663c43c1a9c
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/ErrorArgs.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Inputs
+{
+
+ ///
+ /// The error code compose of code and message.
+ ///
+ public sealed class ErrorArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// The code of error.
+ ///
+ [Input("code")]
+ public Input? Code { get; set; }
+
+ ///
+ /// The message of error.
+ ///
+ [Input("message")]
+ public Input? Message { get; set; }
+
+ public ErrorArgs()
+ {
+ }
+ public static new ErrorArgs Empty => new ErrorArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/GitPatternRepositoryArgs.cs
new file mode 100644
index 000000000000..b696623bacfd
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/GitPatternRepositoryArgs.cs
@@ -0,0 +1,101 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Inputs
+{
+
+ ///
+ /// Git repository property payload
+ ///
+ public sealed class GitPatternRepositoryArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ [Input("hostKey")]
+ public Input? HostKey { get; set; }
+
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ [Input("hostKeyAlgorithm")]
+ public Input? HostKeyAlgorithm { get; set; }
+
+ ///
+ /// Label of the repository
+ ///
+ [Input("label")]
+ public Input? Label { get; set; }
+
+ ///
+ /// Name of the repository
+ ///
+ [Input("name", required: true)]
+ public Input Name { get; set; } = null!;
+
+ ///
+ /// Password of git repository basic auth.
+ ///
+ [Input("password")]
+ public Input? Password { get; set; }
+
+ [Input("pattern")]
+ private InputList? _pattern;
+
+ ///
+ /// Collection of pattern of the repository
+ ///
+ public InputList Pattern
+ {
+ get => _pattern ?? (_pattern = new InputList());
+ set => _pattern = value;
+ }
+
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ [Input("privateKey")]
+ public Input? PrivateKey { get; set; }
+
+ [Input("searchPaths")]
+ private InputList? _searchPaths;
+
+ ///
+ /// Searching path of the repository
+ ///
+ public InputList SearchPaths
+ {
+ get => _searchPaths ?? (_searchPaths = new InputList());
+ set => _searchPaths = value;
+ }
+
+ ///
+ /// Strict host key checking or not.
+ ///
+ [Input("strictHostKeyChecking")]
+ public Input? StrictHostKeyChecking { get; set; }
+
+ ///
+ /// URI of the repository
+ ///
+ [Input("uri", required: true)]
+ public Input Uri { get; set; } = null!;
+
+ ///
+ /// Username of git repository basic auth.
+ ///
+ [Input("username")]
+ public Input? Username { get; set; }
+
+ public GitPatternRepositoryArgs()
+ {
+ }
+ public static new GitPatternRepositoryArgs Empty => new GitPatternRepositoryArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/MonitoringSettingPropertiesArgs.cs
new file mode 100644
index 000000000000..fc746a7744e4
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Inputs/MonitoringSettingPropertiesArgs.cs
@@ -0,0 +1,47 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Inputs
+{
+
+ ///
+ /// Monitoring Setting properties payload
+ ///
+ public sealed class MonitoringSettingPropertiesArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings
+ ///
+ [Input("appInsightsInstrumentationKey")]
+ public Input? AppInsightsInstrumentationKey { get; set; }
+
+ ///
+ /// Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0]
+ ///
+ [Input("appInsightsSamplingRate")]
+ public Input? AppInsightsSamplingRate { get; set; }
+
+ ///
+ /// Error when apply Monitoring Setting changes.
+ ///
+ [Input("error")]
+ public Input? Error { get; set; }
+
+ ///
+ /// Indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not
+ ///
+ [Input("traceEnabled")]
+ public Input? TraceEnabled { get; set; }
+
+ public MonitoringSettingPropertiesArgs()
+ {
+ }
+ public static new MonitoringSettingPropertiesArgs Empty => new MonitoringSettingPropertiesArgs();
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20201101Preview/MonitoringSetting.cs
new file mode 100644
index 000000000000..e6ca1659861f
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/MonitoringSetting.cs
@@ -0,0 +1,116 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview
+{
+ ///
+ /// Monitoring Setting resource
+ ///
+ [AzureNativeResourceType("azure-native:appplatform/v20201101preview:MonitoringSetting")]
+ public partial class MonitoringSetting : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a MonitoringSetting resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public MonitoringSetting(string name, MonitoringSettingArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20201101preview:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20201101preview:MonitoringSetting", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20200701:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:MonitoringSetting"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:MonitoringSetting"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static MonitoringSetting Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new MonitoringSetting(name, id, options);
+ }
+ }
+
+ public sealed class MonitoringSettingArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Properties of the Monitoring Setting resource
+ ///
+ [Input("properties")]
+ public Input? Properties { get; set; }
+
+ ///
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
+ ///
+ [Input("resourceGroupName", required: true)]
+ public Input ResourceGroupName { get; set; } = null!;
+
+ ///
+ /// The name of the Service resource.
+ ///
+ [Input("serviceName", required: true)]
+ public Input ServiceName { get; set; } = null!;
+
+ public MonitoringSettingArgs()
+ {
+ }
+ public static new MonitoringSettingArgs Empty => new MonitoringSettingArgs();
+ }
+}
diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/StorageResponse.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs
similarity index 54%
rename from sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/StorageResponse.cs
rename to sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs
index 46e261a4f78e..539fdee81c86 100644
--- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/StorageResponse.cs
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs
@@ -7,24 +7,24 @@
using System.Threading.Tasks;
using Pulumi.Serialization;
-namespace Pulumi.AzureNative.DBforPostgreSQL.V20220308Preview.Outputs
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Outputs
{
///
- /// Storage properties of a server
+ /// Application Insights agent versions properties payload
///
[OutputType]
- public sealed class StorageResponse
+ public sealed class ApplicationInsightsAgentVersionsResponse
{
///
- /// Max storage allowed for a server.
+ /// Indicates the version of application insight java agent
///
- public readonly int? StorageSizeGB;
+ public readonly string Java;
[OutputConstructor]
- private StorageResponse(int? storageSizeGB)
+ private ApplicationInsightsAgentVersionsResponse(string java)
{
- StorageSizeGB = storageSizeGB;
+ Java = java;
}
}
}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerGitPropertyResponse.cs
new file mode 100644
index 000000000000..f400e4e3b498
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerGitPropertyResponse.cs
@@ -0,0 +1,94 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Outputs
+{
+
+ ///
+ /// Property of git.
+ ///
+ [OutputType]
+ public sealed class ConfigServerGitPropertyResponse
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ public readonly string? HostKey;
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ public readonly string? HostKeyAlgorithm;
+ ///
+ /// Label of the repository
+ ///
+ public readonly string? Label;
+ ///
+ /// Password of git repository basic auth.
+ ///
+ public readonly string? Password;
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ public readonly string? PrivateKey;
+ ///
+ /// Repositories of git.
+ ///
+ public readonly ImmutableArray Repositories;
+ ///
+ /// Searching path of the repository
+ ///
+ public readonly ImmutableArray SearchPaths;
+ ///
+ /// Strict host key checking or not.
+ ///
+ public readonly bool? StrictHostKeyChecking;
+ ///
+ /// URI of the repository
+ ///
+ public readonly string Uri;
+ ///
+ /// Username of git repository basic auth.
+ ///
+ public readonly string? Username;
+
+ [OutputConstructor]
+ private ConfigServerGitPropertyResponse(
+ string? hostKey,
+
+ string? hostKeyAlgorithm,
+
+ string? label,
+
+ string? password,
+
+ string? privateKey,
+
+ ImmutableArray repositories,
+
+ ImmutableArray searchPaths,
+
+ bool? strictHostKeyChecking,
+
+ string uri,
+
+ string? username)
+ {
+ HostKey = hostKey;
+ HostKeyAlgorithm = hostKeyAlgorithm;
+ Label = label;
+ Password = password;
+ PrivateKey = privateKey;
+ Repositories = repositories;
+ SearchPaths = searchPaths;
+ StrictHostKeyChecking = strictHostKeyChecking;
+ Uri = uri;
+ Username = username;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerPropertiesResponse.cs
new file mode 100644
index 000000000000..aeb022fa14bc
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerPropertiesResponse.cs
@@ -0,0 +1,45 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Outputs
+{
+
+ ///
+ /// Config server git properties payload
+ ///
+ [OutputType]
+ public sealed class ConfigServerPropertiesResponse
+ {
+ ///
+ /// Settings of config server.
+ ///
+ public readonly Outputs.ConfigServerSettingsResponse? ConfigServer;
+ ///
+ /// Error when apply config server settings.
+ ///
+ public readonly Outputs.ErrorResponse? Error;
+ ///
+ /// State of the config server.
+ ///
+ public readonly string ProvisioningState;
+
+ [OutputConstructor]
+ private ConfigServerPropertiesResponse(
+ Outputs.ConfigServerSettingsResponse? configServer,
+
+ Outputs.ErrorResponse? error,
+
+ string provisioningState)
+ {
+ ConfigServer = configServer;
+ Error = error;
+ ProvisioningState = provisioningState;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerSettingsResponse.cs
new file mode 100644
index 000000000000..3ca9fb038e7b
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ConfigServerSettingsResponse.cs
@@ -0,0 +1,30 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Outputs
+{
+
+ ///
+ /// The settings of config server.
+ ///
+ [OutputType]
+ public sealed class ConfigServerSettingsResponse
+ {
+ ///
+ /// Property of git environment.
+ ///
+ public readonly Outputs.ConfigServerGitPropertyResponse? GitProperty;
+
+ [OutputConstructor]
+ private ConfigServerSettingsResponse(Outputs.ConfigServerGitPropertyResponse? gitProperty)
+ {
+ GitProperty = gitProperty;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ErrorResponse.cs
new file mode 100644
index 000000000000..e65618e154ac
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/ErrorResponse.cs
@@ -0,0 +1,38 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Outputs
+{
+
+ ///
+ /// The error code compose of code and message.
+ ///
+ [OutputType]
+ public sealed class ErrorResponse
+ {
+ ///
+ /// The code of error.
+ ///
+ public readonly string? Code;
+ ///
+ /// The message of error.
+ ///
+ public readonly string? Message;
+
+ [OutputConstructor]
+ private ErrorResponse(
+ string? code,
+
+ string? message)
+ {
+ Code = code;
+ Message = message;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/GitPatternRepositoryResponse.cs
new file mode 100644
index 000000000000..c4e29cba3629
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/GitPatternRepositoryResponse.cs
@@ -0,0 +1,101 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Outputs
+{
+
+ ///
+ /// Git repository property payload
+ ///
+ [OutputType]
+ public sealed class GitPatternRepositoryResponse
+ {
+ ///
+ /// Public sshKey of git repository.
+ ///
+ public readonly string? HostKey;
+ ///
+ /// SshKey algorithm of git repository.
+ ///
+ public readonly string? HostKeyAlgorithm;
+ ///
+ /// Label of the repository
+ ///
+ public readonly string? Label;
+ ///
+ /// Name of the repository
+ ///
+ public readonly string Name;
+ ///
+ /// Password of git repository basic auth.
+ ///
+ public readonly string? Password;
+ ///
+ /// Collection of pattern of the repository
+ ///
+ public readonly ImmutableArray Pattern;
+ ///
+ /// Private sshKey algorithm of git repository.
+ ///
+ public readonly string? PrivateKey;
+ ///
+ /// Searching path of the repository
+ ///
+ public readonly ImmutableArray SearchPaths;
+ ///
+ /// Strict host key checking or not.
+ ///
+ public readonly bool? StrictHostKeyChecking;
+ ///
+ /// URI of the repository
+ ///
+ public readonly string Uri;
+ ///
+ /// Username of git repository basic auth.
+ ///
+ public readonly string? Username;
+
+ [OutputConstructor]
+ private GitPatternRepositoryResponse(
+ string? hostKey,
+
+ string? hostKeyAlgorithm,
+
+ string? label,
+
+ string name,
+
+ string? password,
+
+ ImmutableArray pattern,
+
+ string? privateKey,
+
+ ImmutableArray searchPaths,
+
+ bool? strictHostKeyChecking,
+
+ string uri,
+
+ string? username)
+ {
+ HostKey = hostKey;
+ HostKeyAlgorithm = hostKeyAlgorithm;
+ Label = label;
+ Name = name;
+ Password = password;
+ Pattern = pattern;
+ PrivateKey = privateKey;
+ SearchPaths = searchPaths;
+ StrictHostKeyChecking = strictHostKeyChecking;
+ Uri = uri;
+ Username = username;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/MonitoringSettingPropertiesResponse.cs
new file mode 100644
index 000000000000..d456e53fe9ce
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20201101Preview/Outputs/MonitoringSettingPropertiesResponse.cs
@@ -0,0 +1,66 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20201101Preview.Outputs
+{
+
+ ///
+ /// Monitoring Setting properties payload
+ ///
+ [OutputType]
+ public sealed class MonitoringSettingPropertiesResponse
+ {
+ ///
+ /// Indicates the versions of application insight agent
+ ///
+ public readonly Outputs.ApplicationInsightsAgentVersionsResponse? AppInsightsAgentVersions;
+ ///
+ /// Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings
+ ///
+ public readonly string? AppInsightsInstrumentationKey;
+ ///
+ /// Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0]
+ ///
+ public readonly double? AppInsightsSamplingRate;
+ ///
+ /// Error when apply Monitoring Setting changes.
+ ///
+ public readonly Outputs.ErrorResponse? Error;
+ ///
+ /// State of the Monitoring Setting.
+ ///
+ public readonly string ProvisioningState;
+ ///
+ /// Indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not
+ ///
+ public readonly bool? TraceEnabled;
+
+ [OutputConstructor]
+ private MonitoringSettingPropertiesResponse(
+ Outputs.ApplicationInsightsAgentVersionsResponse? appInsightsAgentVersions,
+
+ string? appInsightsInstrumentationKey,
+
+ double? appInsightsSamplingRate,
+
+ Outputs.ErrorResponse? error,
+
+ string provisioningState,
+
+ bool? traceEnabled)
+ {
+ AppInsightsAgentVersions = appInsightsAgentVersions;
+ AppInsightsInstrumentationKey = appInsightsInstrumentationKey;
+ AppInsightsSamplingRate = appInsightsSamplingRate;
+ Error = error;
+ ProvisioningState = provisioningState;
+ TraceEnabled = traceEnabled;
+ }
+ }
+}
diff --git a/sdk/dotnet/AppPlatform/V20210601Preview/ConfigServer.cs b/sdk/dotnet/AppPlatform/V20210601Preview/ConfigServer.cs
new file mode 100644
index 000000000000..ffc0923ced1e
--- /dev/null
+++ b/sdk/dotnet/AppPlatform/V20210601Preview/ConfigServer.cs
@@ -0,0 +1,116 @@
+// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AzureNative.AppPlatform.V20210601Preview
+{
+ ///
+ /// Config Server resource
+ ///
+ [AzureNativeResourceType("azure-native:appplatform/v20210601preview:ConfigServer")]
+ public partial class ConfigServer : global::Pulumi.CustomResource
+ {
+ ///
+ /// The name of the resource.
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// Properties of the Config Server resource
+ ///
+ [Output("properties")]
+ public Output Properties { get; private set; } = null!;
+
+ ///
+ /// The type of the resource.
+ ///
+ [Output("type")]
+ public Output Type { get; private set; } = null!;
+
+
+ ///
+ /// Create a ConfigServer resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public ConfigServer(string name, ConfigServerArgs args, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20210601preview:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private ConfigServer(string name, Input id, CustomResourceOptions? options = null)
+ : base("azure-native:appplatform/v20210601preview:ConfigServer", name, null, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ Aliases =
+ {
+ new global::Pulumi.Alias { Type = "azure-native:appplatform:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20200701:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20201101preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:ConfigServer"},
+ new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:ConfigServer"},
+ },
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing ConfigServer resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// A bag of options that control this resource's behavior
+ public static ConfigServer Get(string name, Input id, CustomResourceOptions? options = null)
+ {
+ return new ConfigServer(name, id, options);
+ }
+ }
+
+ public sealed class ConfigServerArgs : global::Pulumi.ResourceArgs
+ {
+ ///