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 + { + /// + /// 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/V20210601Preview/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20210601Preview/GetConfigServer.cs new file mode 100644 index 000000000000..fd85616f0dd2 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview +{ + public static class GetConfigServer + { + /// + /// Config Server resource + /// + public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20210601preview: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/v20210601preview: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/V20210601Preview/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20210601Preview/GetMonitoringSetting.cs new file mode 100644 index 000000000000..9362d9ed6d93 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview +{ + public static class GetMonitoringSetting + { + /// + /// Monitoring Setting resource + /// + public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20210601preview: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/v20210601preview: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/V20210601Preview/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Inputs/ConfigServerGitPropertyArgs.cs new file mode 100644 index 000000000000..5e1f0e142a8a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Inputs/ConfigServerPropertiesArgs.cs new file mode 100644 index 000000000000..41c2b08a89fc --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Inputs/ConfigServerSettingsArgs.cs new file mode 100644 index 000000000000..d16bf6fda60f --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Inputs/ErrorArgs.cs new file mode 100644 index 000000000000..0519b48798cd --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Inputs/GitPatternRepositoryArgs.cs new file mode 100644 index 000000000000..aab1acd8d604 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Inputs/MonitoringSettingPropertiesArgs.cs new file mode 100644 index 000000000000..216298cb1ff3 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20210601Preview/MonitoringSetting.cs new file mode 100644 index 000000000000..fee19e2d2b1c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview +{ + /// + /// Monitoring Setting resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20210601preview: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/v20210601preview:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20210601preview: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/v20201101preview: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/WebPubSub/V20220801Preview/Outputs/PrivateEndpointResponse.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs similarity index 54% rename from sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointResponse.cs rename to sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs index b19f7ab01d75..058130e6650e 100644 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointResponse.cs +++ b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs @@ -7,24 +7,24 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.AzureNative.WebPubSub.V20220801Preview.Outputs +namespace Pulumi.AzureNative.AppPlatform.V20210601Preview.Outputs { /// - /// Private endpoint + /// Application Insights agent versions properties payload /// [OutputType] - public sealed class PrivateEndpointResponse + public sealed class ApplicationInsightsAgentVersionsResponse { /// - /// Full qualified Id of the private endpoint + /// Indicates the version of application insight java agent /// - public readonly string? Id; + public readonly string Java; [OutputConstructor] - private PrivateEndpointResponse(string? id) + private ApplicationInsightsAgentVersionsResponse(string java) { - Id = id; + Java = java; } } } diff --git a/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ConfigServerGitPropertyResponse.cs new file mode 100644 index 000000000000..ee72f92de87c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ConfigServerPropertiesResponse.cs new file mode 100644 index 000000000000..f363c1c1ce9a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ConfigServerSettingsResponse.cs new file mode 100644 index 000000000000..19cddf64c0ea --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/ErrorResponse.cs new file mode 100644 index 000000000000..314f62264553 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/GitPatternRepositoryResponse.cs new file mode 100644 index 000000000000..828b21675c52 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210601Preview/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20210601Preview/Outputs/MonitoringSettingPropertiesResponse.cs new file mode 100644 index 000000000000..8b158e11e58c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210601Preview/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.V20210601Preview.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/V20210901Preview/ConfigServer.cs b/sdk/dotnet/AppPlatform/V20210901Preview/ConfigServer.cs new file mode 100644 index 000000000000..937cd623064a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview +{ + /// + /// Config Server resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20210901preview: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/v20210901preview:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, "")) + { + } + + private ConfigServer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20210901preview: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/v20210601preview: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/V20210901Preview/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20210901Preview/GetConfigServer.cs new file mode 100644 index 000000000000..bcd28439e27d --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview +{ + public static class GetConfigServer + { + /// + /// Config Server resource + /// + public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20210901preview: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/v20210901preview: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/V20210901Preview/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20210901Preview/GetMonitoringSetting.cs new file mode 100644 index 000000000000..9fe845f26c57 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview +{ + public static class GetMonitoringSetting + { + /// + /// Monitoring Setting resource + /// + public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20210901preview: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/v20210901preview: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/V20210901Preview/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Inputs/ConfigServerGitPropertyArgs.cs new file mode 100644 index 000000000000..5fa9b04a6ab4 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Inputs/ConfigServerPropertiesArgs.cs new file mode 100644 index 000000000000..67d907959ffa --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Inputs/ConfigServerSettingsArgs.cs new file mode 100644 index 000000000000..5088ae08c8ea --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Inputs/ErrorArgs.cs new file mode 100644 index 000000000000..6f0ed3de5bb2 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Inputs/GitPatternRepositoryArgs.cs new file mode 100644 index 000000000000..14b898653be3 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Inputs/MonitoringSettingPropertiesArgs.cs new file mode 100644 index 000000000000..a4baf687d066 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20210901Preview/MonitoringSetting.cs new file mode 100644 index 000000000000..c8f060b3dec0 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview +{ + /// + /// Monitoring Setting resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20210901preview: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/v20210901preview:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20210901preview: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/v20201101preview:MonitoringSetting"}, + new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview: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/WebPubSub/V20220801Preview/Outputs/WebPubSubTlsSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs similarity index 53% rename from sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubTlsSettingsResponse.cs rename to sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs index 0432f1aa45d2..dd0fc3854701 100644 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubTlsSettingsResponse.cs +++ b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs @@ -7,24 +7,24 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.AzureNative.WebPubSub.V20220801Preview.Outputs +namespace Pulumi.AzureNative.AppPlatform.V20210901Preview.Outputs { /// - /// TLS settings for the resource + /// Application Insights agent versions properties payload /// [OutputType] - public sealed class WebPubSubTlsSettingsResponse + public sealed class ApplicationInsightsAgentVersionsResponse { /// - /// Request client certificate during TLS handshake if enabled + /// Indicates the version of application insight java agent /// - public readonly bool? ClientCertEnabled; + public readonly string Java; [OutputConstructor] - private WebPubSubTlsSettingsResponse(bool? clientCertEnabled) + private ApplicationInsightsAgentVersionsResponse(string java) { - ClientCertEnabled = clientCertEnabled; + Java = java; } } } diff --git a/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ConfigServerGitPropertyResponse.cs new file mode 100644 index 000000000000..cfb470b89cf7 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ConfigServerPropertiesResponse.cs new file mode 100644 index 000000000000..715da081bfeb --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ConfigServerSettingsResponse.cs new file mode 100644 index 000000000000..7937eca99bbe --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/ErrorResponse.cs new file mode 100644 index 000000000000..2ba517e63301 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/GitPatternRepositoryResponse.cs new file mode 100644 index 000000000000..80453fa3b783 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20210901Preview/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20210901Preview/Outputs/MonitoringSettingPropertiesResponse.cs new file mode 100644 index 000000000000..f77b7a5beb21 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20210901Preview/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.V20210901Preview.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/V20220101Preview/BuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220101Preview/BuildServiceAgentPool.cs new file mode 100644 index 000000000000..5b665067d1a0 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/BuildServiceAgentPool.cs @@ -0,0 +1,130 @@ +// *** 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.V20220101Preview +{ + /// + /// The build service agent pool resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220101preview: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/v20220101preview:BuildServiceAgentPool", name, args ?? new BuildServiceAgentPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private BuildServiceAgentPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220101preview: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: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/DBforPostgreSQL/V20220308Preview/FirewallRule.cs b/sdk/dotnet/AppPlatform/V20220101Preview/ConfigServer.cs similarity index 50% rename from sdk/dotnet/DBforPostgreSQL/V20220308Preview/FirewallRule.cs rename to sdk/dotnet/AppPlatform/V20220101Preview/ConfigServer.cs index 65b663c6e3be..dfeb7cbb73a3 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/FirewallRule.cs +++ b/sdk/dotnet/AppPlatform/V20220101Preview/ConfigServer.cs @@ -7,59 +7,53 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.AzureNative.DBforPostgreSQL.V20220308Preview +namespace Pulumi.AzureNative.AppPlatform.V20220101Preview { /// - /// Represents a server firewall rule. + /// Config Server resource /// - [AzureNativeResourceType("azure-native:dbforpostgresql/v20220308preview:FirewallRule")] - public partial class FirewallRule : global::Pulumi.CustomResource + [AzureNativeResourceType("azure-native:appplatform/v20220101preview:ConfigServer")] + public partial class ConfigServer : global::Pulumi.CustomResource { /// - /// The end IP address of the server firewall rule. Must be IPv4 format. - /// - [Output("endIpAddress")] - public Output EndIpAddress { get; private set; } = null!; - - /// - /// The name of the resource + /// The name of the resource. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// The start IP address of the server firewall rule. Must be IPv4 format. + /// Properties of the Config Server resource /// - [Output("startIpAddress")] - public Output StartIpAddress { get; private set; } = null!; + [Output("properties")] + public Output Properties { get; private set; } = null!; /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// Metadata pertaining to creation and last modification of the resource. /// [Output("systemData")] public Output SystemData { get; private set; } = null!; /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// The type of the resource. /// [Output("type")] public Output Type { get; private set; } = null!; /// - /// Create a FirewallRule resource with the given unique name, arguments, and options. + /// 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 FirewallRule(string name, FirewallRuleArgs args, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:FirewallRule", name, args ?? new FirewallRuleArgs(), MakeResourceOptions(options, "")) + public ConfigServer(string name, ConfigServerArgs args, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220101preview:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, "")) { } - private FirewallRule(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:FirewallRule", name, null, MakeResourceOptions(options, id)) + private ConfigServer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220101preview:ConfigServer", name, null, MakeResourceOptions(options, id)) { } @@ -70,13 +64,15 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20200214preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:FirewallRule"}, + 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/v20210601preview:ConfigServer"}, + new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview: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); @@ -85,54 +81,42 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing FirewallRule resource's state with the given name, ID, and optional extra + /// 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 FirewallRule Get(string name, Input id, CustomResourceOptions? options = null) + public static ConfigServer Get(string name, Input id, CustomResourceOptions? options = null) { - return new FirewallRule(name, id, options); + return new ConfigServer(name, id, options); } } - public sealed class FirewallRuleArgs : global::Pulumi.ResourceArgs + public sealed class ConfigServerArgs : global::Pulumi.ResourceArgs { /// - /// The end IP address of the server firewall rule. Must be IPv4 format. + /// Properties of the Config Server resource /// - [Input("endIpAddress", required: true)] - public Input EndIpAddress { get; set; } = null!; + [Input("properties")] + public Input? Properties { get; set; } /// - /// The name of the server firewall rule. - /// - [Input("firewallRuleName")] - public Input? FirewallRuleName { get; set; } - - /// - /// The name of the resource group. The name is case insensitive. + /// 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 server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - /// - /// The start IP address of the server firewall rule. Must be IPv4 format. + /// The name of the Service resource. /// - [Input("startIpAddress", required: true)] - public Input StartIpAddress { get; set; } = null!; + [Input("serviceName", required: true)] + public Input ServiceName { get; set; } = null!; - public FirewallRuleArgs() + public ConfigServerArgs() { } - public static new FirewallRuleArgs Empty => new FirewallRuleArgs(); + public static new ConfigServerArgs Empty => new ConfigServerArgs(); } } diff --git a/sdk/dotnet/AppPlatform/V20220101Preview/GetBuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220101Preview/GetBuildServiceAgentPool.cs new file mode 100644 index 000000000000..99fcf88a5386 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/GetBuildServiceAgentPool.cs @@ -0,0 +1,136 @@ +// *** 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.V20220101Preview +{ + public static class GetBuildServiceAgentPool + { + /// + /// The build service agent pool resource + /// + public static Task InvokeAsync(GetBuildServiceAgentPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220101preview:getBuildServiceAgentPool", args ?? new GetBuildServiceAgentPoolArgs(), options.WithDefaults()); + + /// + /// The build service agent pool resource + /// + public static Output Invoke(GetBuildServiceAgentPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20220101preview: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/WebPubSub/V20220801Preview/GetWebPubSubHub.cs b/sdk/dotnet/AppPlatform/V20220101Preview/GetConfigServer.cs similarity index 51% rename from sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubHub.cs rename to sdk/dotnet/AppPlatform/V20220101Preview/GetConfigServer.cs index 997ce90b2cd4..c9efc5da0a5e 100644 --- a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubHub.cs +++ b/sdk/dotnet/AppPlatform/V20220101Preview/GetConfigServer.cs @@ -7,32 +7,26 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.AzureNative.WebPubSub.V20220801Preview +namespace Pulumi.AzureNative.AppPlatform.V20220101Preview { - public static class GetWebPubSubHub + public static class GetConfigServer { /// - /// A hub setting + /// Config Server resource /// - public static Task InvokeAsync(GetWebPubSubHubArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:webpubsub/v20220801preview:getWebPubSubHub", args ?? new GetWebPubSubHubArgs(), options.WithDefaults()); + public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220101preview:getConfigServer", args ?? new GetConfigServerArgs(), options.WithDefaults()); /// - /// A hub setting + /// Config Server resource /// - public static Output Invoke(GetWebPubSubHubInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubHub", args ?? new GetWebPubSubHubInvokeArgs(), options.WithDefaults()); + public static Output Invoke(GetConfigServerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20220101preview:getConfigServer", args ?? new GetConfigServerInvokeArgs(), options.WithDefaults()); } - public sealed class GetWebPubSubHubArgs : global::Pulumi.InvokeArgs + public sealed class GetConfigServerArgs : global::Pulumi.InvokeArgs { - /// - /// The hub name. - /// - [Input("hubName", required: true)] - public string HubName { 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. /// @@ -40,25 +34,19 @@ public sealed class GetWebPubSubHubArgs : global::Pulumi.InvokeArgs public string ResourceGroupName { get; set; } = null!; /// - /// The name of the resource. + /// The name of the Service resource. /// - [Input("resourceName", required: true)] - public string ResourceName { get; set; } = null!; + [Input("serviceName", required: true)] + public string ServiceName { get; set; } = null!; - public GetWebPubSubHubArgs() + public GetConfigServerArgs() { } - public static new GetWebPubSubHubArgs Empty => new GetWebPubSubHubArgs(); + public static new GetConfigServerArgs Empty => new GetConfigServerArgs(); } - public sealed class GetWebPubSubHubInvokeArgs : global::Pulumi.InvokeArgs + public sealed class GetConfigServerInvokeArgs : global::Pulumi.InvokeArgs { - /// - /// The hub name. - /// - [Input("hubName", required: true)] - public Input HubName { 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. /// @@ -66,20 +54,20 @@ public sealed class GetWebPubSubHubInvokeArgs : global::Pulumi.InvokeArgs public Input ResourceGroupName { get; set; } = null!; /// - /// The name of the resource. + /// The name of the Service resource. /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; + [Input("serviceName", required: true)] + public Input ServiceName { get; set; } = null!; - public GetWebPubSubHubInvokeArgs() + public GetConfigServerInvokeArgs() { } - public static new GetWebPubSubHubInvokeArgs Empty => new GetWebPubSubHubInvokeArgs(); + public static new GetConfigServerInvokeArgs Empty => new GetConfigServerInvokeArgs(); } [OutputType] - public sealed class GetWebPubSubHubResult + public sealed class GetConfigServerResult { /// /// Fully qualified resource Id for the resource. @@ -90,25 +78,25 @@ public sealed class GetWebPubSubHubResult /// public readonly string Name; /// - /// Properties of a hub. + /// Properties of the Config Server resource /// - public readonly Outputs.WebPubSubHubPropertiesResponse Properties; + public readonly Outputs.ConfigServerPropertiesResponse Properties; /// /// Metadata pertaining to creation and last modification of the resource. /// public readonly Outputs.SystemDataResponse SystemData; /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" + /// The type of the resource. /// public readonly string Type; [OutputConstructor] - private GetWebPubSubHubResult( + private GetConfigServerResult( string id, string name, - Outputs.WebPubSubHubPropertiesResponse properties, + Outputs.ConfigServerPropertiesResponse properties, Outputs.SystemDataResponse systemData, diff --git a/sdk/dotnet/AppPlatform/V20220101Preview/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220101Preview/GetMonitoringSetting.cs new file mode 100644 index 000000000000..03aeb058e203 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/GetMonitoringSetting.cs @@ -0,0 +1,112 @@ +// *** 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.V20220101Preview +{ + public static class GetMonitoringSetting + { + /// + /// Monitoring Setting resource + /// + public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220101preview: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/v20220101preview: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; + /// + /// 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 GetMonitoringSettingResult( + string id, + + string name, + + Outputs.MonitoringSettingPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs new file mode 100644 index 000000000000..b5644cf93035 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs new file mode 100644 index 000000000000..8585fdc60a99 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/ConfigServerGitPropertyArgs.cs new file mode 100644 index 000000000000..5b73dcd8511b --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/ConfigServerPropertiesArgs.cs new file mode 100644 index 000000000000..d07b611ab80f --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/ConfigServerSettingsArgs.cs new file mode 100644 index 000000000000..b43c779102a1 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/ErrorArgs.cs new file mode 100644 index 000000000000..78c4607c1f78 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/GitPatternRepositoryArgs.cs new file mode 100644 index 000000000000..0a01211ae1a8 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.Inputs +{ + + /// + /// Git repository property payload for config server + /// + 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/V20220101Preview/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Inputs/MonitoringSettingPropertiesArgs.cs new file mode 100644 index 000000000000..fc0cfa78718d --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220101Preview/MonitoringSetting.cs new file mode 100644 index 000000000000..2a4dd1366019 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/MonitoringSetting.cs @@ -0,0 +1,122 @@ +// *** 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.V20220101Preview +{ + /// + /// Monitoring Setting resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220101preview: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!; + + /// + /// 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 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/v20220101preview:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220101preview: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/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/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/V20220101Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs new file mode 100644 index 000000000000..4b12a01fa4ab --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/ApplicationInsightsAgentVersionsResponse.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.V20220101Preview.Outputs +{ + + /// + /// Application Insights agent versions properties payload + /// + [OutputType] + public sealed class ApplicationInsightsAgentVersionsResponse + { + /// + /// Indicates the version of application insight java agent + /// + public readonly string Java; + + [OutputConstructor] + private ApplicationInsightsAgentVersionsResponse(string java) + { + Java = java; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs new file mode 100644 index 000000000000..34719c9c2503 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs new file mode 100644 index 000000000000..456cad2a4506 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/ConfigServerGitPropertyResponse.cs new file mode 100644 index 000000000000..7567d3ea9801 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/ConfigServerPropertiesResponse.cs new file mode 100644 index 000000000000..c6c08a710e4a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/ConfigServerSettingsResponse.cs new file mode 100644 index 000000000000..f3353ee0d34b --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/ErrorResponse.cs new file mode 100644 index 000000000000..2a8fd105c222 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220101Preview/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/GitPatternRepositoryResponse.cs new file mode 100644 index 000000000000..95f9521b2f5e --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.Outputs +{ + + /// + /// Git repository property payload for config server + /// + [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/V20220101Preview/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220101Preview/Outputs/MonitoringSettingPropertiesResponse.cs new file mode 100644 index 000000000000..bc54e7ea50a0 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220101Preview/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.V20220101Preview.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/V20220301Preview/BuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220301Preview/BuildServiceAgentPool.cs new file mode 100644 index 000000000000..081826fa7088 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/BuildServiceAgentPool.cs @@ -0,0 +1,130 @@ +// *** 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.V20220301Preview +{ + /// + /// The build service agent pool resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220301preview: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/v20220301preview:BuildServiceAgentPool", name, args ?? new BuildServiceAgentPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private BuildServiceAgentPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220301preview: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:BuildServiceAgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview: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/V20220301Preview/ConfigServer.cs b/sdk/dotnet/AppPlatform/V20220301Preview/ConfigServer.cs new file mode 100644 index 000000000000..b247f4e66fe7 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/ConfigServer.cs @@ -0,0 +1,122 @@ +// *** 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.V20220301Preview +{ + /// + /// Config Server resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220301preview: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!; + + /// + /// 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 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/v20220301preview:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, "")) + { + } + + private ConfigServer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220301preview: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/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/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/V20220301Preview/GetBuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220301Preview/GetBuildServiceAgentPool.cs new file mode 100644 index 000000000000..d3d8a8f931cd --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/GetBuildServiceAgentPool.cs @@ -0,0 +1,136 @@ +// *** 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.V20220301Preview +{ + public static class GetBuildServiceAgentPool + { + /// + /// The build service agent pool resource + /// + public static Task InvokeAsync(GetBuildServiceAgentPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220301preview:getBuildServiceAgentPool", args ?? new GetBuildServiceAgentPoolArgs(), options.WithDefaults()); + + /// + /// The build service agent pool resource + /// + public static Output Invoke(GetBuildServiceAgentPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20220301preview: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/V20220301Preview/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20220301Preview/GetConfigServer.cs new file mode 100644 index 000000000000..cc0e62f08883 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/GetConfigServer.cs @@ -0,0 +1,112 @@ +// *** 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.V20220301Preview +{ + public static class GetConfigServer + { + /// + /// Config Server resource + /// + public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220301preview: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/v20220301preview: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; + /// + /// 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 GetConfigServerResult( + string id, + + string name, + + Outputs.ConfigServerPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220301Preview/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220301Preview/GetMonitoringSetting.cs new file mode 100644 index 000000000000..6304dd425b21 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/GetMonitoringSetting.cs @@ -0,0 +1,112 @@ +// *** 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.V20220301Preview +{ + public static class GetMonitoringSetting + { + /// + /// Monitoring Setting resource + /// + public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220301preview: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/v20220301preview: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; + /// + /// 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 GetMonitoringSettingResult( + string id, + + string name, + + Outputs.MonitoringSettingPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs new file mode 100644 index 000000000000..80cd73eef295 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs new file mode 100644 index 000000000000..24182691ec05 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/ConfigServerGitPropertyArgs.cs new file mode 100644 index 000000000000..938a0dbea808 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/ConfigServerPropertiesArgs.cs new file mode 100644 index 000000000000..fb2e94613d0a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/ConfigServerSettingsArgs.cs new file mode 100644 index 000000000000..ba93c4e3dde4 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/ErrorArgs.cs new file mode 100644 index 000000000000..bc94ce1c3416 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/GitPatternRepositoryArgs.cs new file mode 100644 index 000000000000..3b5cc825476c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.Inputs +{ + + /// + /// Git repository property payload for config server + /// + 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/V20220301Preview/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Inputs/MonitoringSettingPropertiesArgs.cs new file mode 100644 index 000000000000..e10c4f08a95a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220301Preview/MonitoringSetting.cs new file mode 100644 index 000000000000..41aeeca9b0bd --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/MonitoringSetting.cs @@ -0,0 +1,122 @@ +// *** 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.V20220301Preview +{ + /// + /// Monitoring Setting resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220301preview: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!; + + /// + /// 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 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/v20220301preview:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220301preview: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/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/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/V20220301Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs new file mode 100644 index 000000000000..b7f75ca354f0 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/ApplicationInsightsAgentVersionsResponse.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.V20220301Preview.Outputs +{ + + /// + /// Application Insights agent versions properties payload + /// + [OutputType] + public sealed class ApplicationInsightsAgentVersionsResponse + { + /// + /// Indicates the version of application insight java agent + /// + public readonly string Java; + + [OutputConstructor] + private ApplicationInsightsAgentVersionsResponse(string java) + { + Java = java; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs new file mode 100644 index 000000000000..95a28be81f20 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs new file mode 100644 index 000000000000..b2dd56787250 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/ConfigServerGitPropertyResponse.cs new file mode 100644 index 000000000000..67edeccc316c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/ConfigServerPropertiesResponse.cs new file mode 100644 index 000000000000..ef9c2d0f02ed --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/ConfigServerSettingsResponse.cs new file mode 100644 index 000000000000..54198337605b --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/ErrorResponse.cs new file mode 100644 index 000000000000..7721fd2e1540 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/V20220301Preview/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/GitPatternRepositoryResponse.cs new file mode 100644 index 000000000000..96885a9db6e8 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.Outputs +{ + + /// + /// Git repository property payload for config server + /// + [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/V20220301Preview/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220301Preview/Outputs/MonitoringSettingPropertiesResponse.cs new file mode 100644 index 000000000000..6d3afbea7a26 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220301Preview/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.V20220301Preview.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/WebPubSub/V20220801Preview/WebPubSubCustomDomain.cs b/sdk/dotnet/AppPlatform/V20220401/BuildServiceAgentPool.cs similarity index 52% rename from sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubCustomDomain.cs rename to sdk/dotnet/AppPlatform/V20220401/BuildServiceAgentPool.cs index a89c66880e97..fd95f4b82016 100644 --- a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubCustomDomain.cs +++ b/sdk/dotnet/AppPlatform/V20220401/BuildServiceAgentPool.cs @@ -7,26 +7,14 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.AzureNative.WebPubSub.V20220801Preview +namespace Pulumi.AzureNative.AppPlatform.V20220401 { /// - /// A custom domain + /// The build service agent pool resource /// - [AzureNativeResourceType("azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain")] - public partial class WebPubSubCustomDomain : global::Pulumi.CustomResource + [AzureNativeResourceType("azure-native:appplatform/v20220401:BuildServiceAgentPool")] + public partial class BuildServiceAgentPool : global::Pulumi.CustomResource { - /// - /// Reference to a resource. - /// - [Output("customCertificate")] - public Output CustomCertificate { get; private set; } = null!; - - /// - /// The custom domain name. - /// - [Output("domainName")] - public Output DomainName { get; private set; } = null!; - /// /// The name of the resource. /// @@ -34,10 +22,10 @@ public partial class WebPubSubCustomDomain : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// Provisioning state of the resource. + /// build service agent pool properties /// - [Output("provisioningState")] - public Output ProvisioningState { get; private set; } = null!; + [Output("properties")] + public Output Properties { get; private set; } = null!; /// /// Metadata pertaining to creation and last modification of the resource. @@ -46,26 +34,26 @@ public partial class WebPubSubCustomDomain : global::Pulumi.CustomResource public Output SystemData { get; private set; } = null!; /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" + /// The type of the resource. /// [Output("type")] public Output Type { get; private set; } = null!; /// - /// Create a WebPubSubCustomDomain resource with the given unique name, arguments, and options. + /// 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 WebPubSubCustomDomain(string name, WebPubSubCustomDomainArgs args, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain", name, args ?? new WebPubSubCustomDomainArgs(), MakeResourceOptions(options, "")) + public BuildServiceAgentPool(string name, BuildServiceAgentPoolArgs args, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220401:BuildServiceAgentPool", name, args ?? new BuildServiceAgentPoolArgs(), MakeResourceOptions(options, "")) { } - private WebPubSubCustomDomain(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain", name, null, MakeResourceOptions(options, id)) + private BuildServiceAgentPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220401:BuildServiceAgentPool", name, null, MakeResourceOptions(options, id)) { } @@ -74,6 +62,14 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:appplatform:BuildServiceAgentPool"}, + 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/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. @@ -81,38 +77,38 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing WebPubSubCustomDomain resource's state with the given name, ID, and optional extra + /// 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 WebPubSubCustomDomain Get(string name, Input id, CustomResourceOptions? options = null) + public static BuildServiceAgentPool Get(string name, Input id, CustomResourceOptions? options = null) { - return new WebPubSubCustomDomain(name, id, options); + return new BuildServiceAgentPool(name, id, options); } } - public sealed class WebPubSubCustomDomainArgs : global::Pulumi.ResourceArgs + public sealed class BuildServiceAgentPoolArgs : global::Pulumi.ResourceArgs { /// - /// Reference to a resource. + /// The name of the build service agent pool resource. /// - [Input("customCertificate", required: true)] - public Input CustomCertificate { get; set; } = null!; + [Input("agentPoolName")] + public Input? AgentPoolName { get; set; } /// - /// The custom domain name. + /// The name of the build service resource. /// - [Input("domainName", required: true)] - public Input DomainName { get; set; } = null!; + [Input("buildServiceName", required: true)] + public Input BuildServiceName { get; set; } = null!; /// - /// Custom domain name. + /// build service agent pool properties /// - [Input("name")] - public Input? Name { get; set; } + [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. @@ -121,14 +117,14 @@ public sealed class WebPubSubCustomDomainArgs : global::Pulumi.ResourceArgs public Input ResourceGroupName { get; set; } = null!; /// - /// The name of the resource. + /// The name of the Service resource. /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; + [Input("serviceName", required: true)] + public Input ServiceName { get; set; } = null!; - public WebPubSubCustomDomainArgs() + public BuildServiceAgentPoolArgs() { } - public static new WebPubSubCustomDomainArgs Empty => new WebPubSubCustomDomainArgs(); + public static new BuildServiceAgentPoolArgs Empty => new BuildServiceAgentPoolArgs(); } } diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubHub.cs b/sdk/dotnet/AppPlatform/V20220401/ConfigServer.cs similarity index 56% rename from sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubHub.cs rename to sdk/dotnet/AppPlatform/V20220401/ConfigServer.cs index 089175941f0b..cd2f0b24142a 100644 --- a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubHub.cs +++ b/sdk/dotnet/AppPlatform/V20220401/ConfigServer.cs @@ -7,13 +7,13 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.AzureNative.WebPubSub.V20220801Preview +namespace Pulumi.AzureNative.AppPlatform.V20220401 { /// - /// A hub setting + /// Config Server resource /// - [AzureNativeResourceType("azure-native:webpubsub/v20220801preview:WebPubSubHub")] - public partial class WebPubSubHub : global::Pulumi.CustomResource + [AzureNativeResourceType("azure-native:appplatform/v20220401:ConfigServer")] + public partial class ConfigServer : global::Pulumi.CustomResource { /// /// The name of the resource. @@ -22,10 +22,10 @@ public partial class WebPubSubHub : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// Properties of a hub. + /// Properties of the Config Server resource /// [Output("properties")] - public Output Properties { get; private set; } = null!; + public Output Properties { get; private set; } = null!; /// /// Metadata pertaining to creation and last modification of the resource. @@ -34,26 +34,26 @@ public partial class WebPubSubHub : global::Pulumi.CustomResource public Output SystemData { get; private set; } = null!; /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" + /// The type of the resource. /// [Output("type")] public Output Type { get; private set; } = null!; /// - /// Create a WebPubSubHub resource with the given unique name, arguments, and options. + /// 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 WebPubSubHub(string name, WebPubSubHubArgs args, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubHub", name, args ?? new WebPubSubHubArgs(), MakeResourceOptions(options, "")) + public ConfigServer(string name, ConfigServerArgs args, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220401:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, "")) { } - private WebPubSubHub(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubHub", name, null, MakeResourceOptions(options, id)) + private ConfigServer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220401:ConfigServer", name, null, MakeResourceOptions(options, id)) { } @@ -64,8 +64,15 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new global::Pulumi.Alias { Type = "azure-native:webpubsub:WebPubSubHub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubHub"}, + 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/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/v20220501preview:ConfigServer"}, + new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:ConfigServer"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -74,32 +81,26 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing WebPubSubHub resource's state with the given name, ID, and optional extra + /// 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 WebPubSubHub Get(string name, Input id, CustomResourceOptions? options = null) + public static ConfigServer Get(string name, Input id, CustomResourceOptions? options = null) { - return new WebPubSubHub(name, id, options); + return new ConfigServer(name, id, options); } } - public sealed class WebPubSubHubArgs : global::Pulumi.ResourceArgs + public sealed class ConfigServerArgs : global::Pulumi.ResourceArgs { /// - /// The hub name. + /// Properties of the Config Server resource /// - [Input("hubName")] - public Input? HubName { get; set; } - - /// - /// Properties of a hub. - /// - [Input("properties", required: true)] - public Input Properties { get; set; } = null!; + [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. @@ -108,14 +109,14 @@ public sealed class WebPubSubHubArgs : global::Pulumi.ResourceArgs public Input ResourceGroupName { get; set; } = null!; /// - /// The name of the resource. + /// The name of the Service resource. /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; + [Input("serviceName", required: true)] + public Input ServiceName { get; set; } = null!; - public WebPubSubHubArgs() + public ConfigServerArgs() { } - public static new WebPubSubHubArgs Empty => new WebPubSubHubArgs(); + public static new ConfigServerArgs Empty => new ConfigServerArgs(); } } diff --git a/sdk/dotnet/AppPlatform/V20220401/GetBuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220401/GetBuildServiceAgentPool.cs new file mode 100644 index 000000000000..95484af56d32 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/GetBuildServiceAgentPool.cs @@ -0,0 +1,136 @@ +// *** 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.V20220401 +{ + public static class GetBuildServiceAgentPool + { + /// + /// The build service agent pool resource + /// + public static Task InvokeAsync(GetBuildServiceAgentPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220401:getBuildServiceAgentPool", args ?? new GetBuildServiceAgentPoolArgs(), options.WithDefaults()); + + /// + /// The build service agent pool resource + /// + public static Output Invoke(GetBuildServiceAgentPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20220401: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/V20220401/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20220401/GetConfigServer.cs new file mode 100644 index 000000000000..6fb52baf5d3d --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/GetConfigServer.cs @@ -0,0 +1,112 @@ +// *** 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.V20220401 +{ + public static class GetConfigServer + { + /// + /// Config Server resource + /// + public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220401: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/v20220401: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; + /// + /// 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 GetConfigServerResult( + string id, + + string name, + + Outputs.ConfigServerPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220401/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220401/GetMonitoringSetting.cs new file mode 100644 index 000000000000..d7aed2f2631e --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/GetMonitoringSetting.cs @@ -0,0 +1,112 @@ +// *** 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.V20220401 +{ + public static class GetMonitoringSetting + { + /// + /// Monitoring Setting resource + /// + public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220401: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/v20220401: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; + /// + /// 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 GetMonitoringSettingResult( + string id, + + string name, + + Outputs.MonitoringSettingPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220401/Inputs/BuildServiceAgentPoolPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/BuildServiceAgentPoolPropertiesArgs.cs new file mode 100644 index 000000000000..7190ad7c7636 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs new file mode 100644 index 000000000000..53c1cc982021 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/ConfigServerGitPropertyArgs.cs new file mode 100644 index 000000000000..925aa4be94e9 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/ConfigServerPropertiesArgs.cs new file mode 100644 index 000000000000..32b001436cae --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/ConfigServerSettingsArgs.cs new file mode 100644 index 000000000000..c5858bb3027e --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/ErrorArgs.cs new file mode 100644 index 000000000000..074a9c7e9c50 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/GitPatternRepositoryArgs.cs new file mode 100644 index 000000000000..dfe67505bd33 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.Inputs +{ + + /// + /// Git repository property payload for config server + /// + 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/V20220401/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220401/Inputs/MonitoringSettingPropertiesArgs.cs new file mode 100644 index 000000000000..3962befe4913 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220401/MonitoringSetting.cs new file mode 100644 index 000000000000..8da6371f76cf --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/MonitoringSetting.cs @@ -0,0 +1,122 @@ +// *** 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.V20220401 +{ + /// + /// Monitoring Setting resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220401: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!; + + /// + /// 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 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/v20220401:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220401: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/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/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/WebPubSub/V20220801Preview/Outputs/ResourceReferenceResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/ApplicationInsightsAgentVersionsResponse.cs similarity index 54% rename from sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceReferenceResponse.cs rename to sdk/dotnet/AppPlatform/V20220401/Outputs/ApplicationInsightsAgentVersionsResponse.cs index a5f099b10cdd..8d2572c63e9b 100644 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceReferenceResponse.cs +++ b/sdk/dotnet/AppPlatform/V20220401/Outputs/ApplicationInsightsAgentVersionsResponse.cs @@ -7,24 +7,24 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.AzureNative.WebPubSub.V20220801Preview.Outputs +namespace Pulumi.AzureNative.AppPlatform.V20220401.Outputs { /// - /// Reference to a resource. + /// Application Insights agent versions properties payload /// [OutputType] - public sealed class ResourceReferenceResponse + public sealed class ApplicationInsightsAgentVersionsResponse { /// - /// Resource ID. + /// Indicates the version of application insight java agent /// - public readonly string? Id; + public readonly string Java; [OutputConstructor] - private ResourceReferenceResponse(string? id) + private ApplicationInsightsAgentVersionsResponse(string java) { - Id = id; + Java = java; } } } diff --git a/sdk/dotnet/AppPlatform/V20220401/Outputs/BuildServiceAgentPoolPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/BuildServiceAgentPoolPropertiesResponse.cs new file mode 100644 index 000000000000..c301750bf070 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs new file mode 100644 index 000000000000..ec160911b060 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/ConfigServerGitPropertyResponse.cs new file mode 100644 index 000000000000..e805035e41ba --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/ConfigServerPropertiesResponse.cs new file mode 100644 index 000000000000..5fe64642f697 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/ConfigServerSettingsResponse.cs new file mode 100644 index 000000000000..d65243a4925a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/ErrorResponse.cs new file mode 100644 index 000000000000..9315d87b93a6 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220401/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/GitPatternRepositoryResponse.cs new file mode 100644 index 000000000000..03e54894887a --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.Outputs +{ + + /// + /// Git repository property payload for config server + /// + [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/V20220401/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220401/Outputs/MonitoringSettingPropertiesResponse.cs new file mode 100644 index 000000000000..035843066ef9 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220401/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.V20220401.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/V20220501Preview/BuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220501Preview/BuildServiceAgentPool.cs new file mode 100644 index 000000000000..3ac6a4ff572f --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/BuildServiceAgentPool.cs @@ -0,0 +1,130 @@ +// *** 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.V20220501Preview +{ + /// + /// The build service agent pool resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220501preview: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/v20220501preview:BuildServiceAgentPool", name, args ?? new BuildServiceAgentPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private BuildServiceAgentPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220501preview: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:BuildServiceAgentPool"}, + 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/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/V20220501Preview/ConfigServer.cs b/sdk/dotnet/AppPlatform/V20220501Preview/ConfigServer.cs new file mode 100644 index 000000000000..ca25edd98b04 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/ConfigServer.cs @@ -0,0 +1,122 @@ +// *** 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.V20220501Preview +{ + /// + /// Config Server resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220501preview: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!; + + /// + /// 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 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/v20220501preview:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, "")) + { + } + + private ConfigServer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220501preview: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/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/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/V20220501Preview/GetBuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220501Preview/GetBuildServiceAgentPool.cs new file mode 100644 index 000000000000..a9e6d44fc543 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/GetBuildServiceAgentPool.cs @@ -0,0 +1,136 @@ +// *** 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.V20220501Preview +{ + public static class GetBuildServiceAgentPool + { + /// + /// The build service agent pool resource + /// + public static Task InvokeAsync(GetBuildServiceAgentPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220501preview:getBuildServiceAgentPool", args ?? new GetBuildServiceAgentPoolArgs(), options.WithDefaults()); + + /// + /// The build service agent pool resource + /// + public static Output Invoke(GetBuildServiceAgentPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20220501preview: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/V20220501Preview/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20220501Preview/GetConfigServer.cs new file mode 100644 index 000000000000..e091851a77c9 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/GetConfigServer.cs @@ -0,0 +1,112 @@ +// *** 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.V20220501Preview +{ + public static class GetConfigServer + { + /// + /// Config Server resource + /// + public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220501preview: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/v20220501preview: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; + /// + /// 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 GetConfigServerResult( + string id, + + string name, + + Outputs.ConfigServerPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220501Preview/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220501Preview/GetMonitoringSetting.cs new file mode 100644 index 000000000000..e94cd3050d66 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/GetMonitoringSetting.cs @@ -0,0 +1,112 @@ +// *** 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.V20220501Preview +{ + public static class GetMonitoringSetting + { + /// + /// Monitoring Setting resource + /// + public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220501preview: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/v20220501preview: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; + /// + /// 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 GetMonitoringSettingResult( + string id, + + string name, + + Outputs.MonitoringSettingPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs new file mode 100644 index 000000000000..8c7b03656200 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs new file mode 100644 index 000000000000..0fda51c6e8e5 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/ConfigServerGitPropertyArgs.cs new file mode 100644 index 000000000000..14b1eab0b341 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/ConfigServerPropertiesArgs.cs new file mode 100644 index 000000000000..089fa60b6a16 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/ConfigServerSettingsArgs.cs new file mode 100644 index 000000000000..c3f09824573d --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/ErrorArgs.cs new file mode 100644 index 000000000000..0a087ab4f6e3 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/GitPatternRepositoryArgs.cs new file mode 100644 index 000000000000..57d3de406e86 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.Inputs +{ + + /// + /// Git repository property payload for config server + /// + 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/V20220501Preview/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Inputs/MonitoringSettingPropertiesArgs.cs new file mode 100644 index 000000000000..589b3fac0e88 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220501Preview/MonitoringSetting.cs new file mode 100644 index 000000000000..63c027c68bd2 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/MonitoringSetting.cs @@ -0,0 +1,122 @@ +// *** 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.V20220501Preview +{ + /// + /// Monitoring Setting resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220501preview: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!; + + /// + /// 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 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/v20220501preview:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220501preview: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/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/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/V20220501Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs new file mode 100644 index 000000000000..0995db679aa6 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/ApplicationInsightsAgentVersionsResponse.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.V20220501Preview.Outputs +{ + + /// + /// Application Insights agent versions properties payload + /// + [OutputType] + public sealed class ApplicationInsightsAgentVersionsResponse + { + /// + /// Indicates the version of application insight java agent + /// + public readonly string Java; + + [OutputConstructor] + private ApplicationInsightsAgentVersionsResponse(string java) + { + Java = java; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs new file mode 100644 index 000000000000..36688646a2aa --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs new file mode 100644 index 000000000000..6322b40e58d7 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/ConfigServerGitPropertyResponse.cs new file mode 100644 index 000000000000..bc8bd6e4c886 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/ConfigServerPropertiesResponse.cs new file mode 100644 index 000000000000..27019f4ceeaf --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/ConfigServerSettingsResponse.cs new file mode 100644 index 000000000000..d81e171870dc --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/ErrorResponse.cs new file mode 100644 index 000000000000..3d0e51073b79 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220501Preview/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/GitPatternRepositoryResponse.cs new file mode 100644 index 000000000000..1f8c09129a04 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.Outputs +{ + + /// + /// Git repository property payload for config server + /// + [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/V20220501Preview/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220501Preview/Outputs/MonitoringSettingPropertiesResponse.cs new file mode 100644 index 000000000000..a57047ce1a5e --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220501Preview/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.V20220501Preview.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/V20220901Preview/BuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220901Preview/BuildServiceAgentPool.cs new file mode 100644 index 000000000000..f848a3129ae9 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/BuildServiceAgentPool.cs @@ -0,0 +1,130 @@ +// *** 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.V20220901Preview +{ + /// + /// The build service agent pool resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220901preview: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/v20220901preview:BuildServiceAgentPool", name, args ?? new BuildServiceAgentPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private BuildServiceAgentPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220901preview: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:BuildServiceAgentPool"}, + 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"}, + }, + }; + 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/V20220901Preview/ConfigServer.cs b/sdk/dotnet/AppPlatform/V20220901Preview/ConfigServer.cs new file mode 100644 index 000000000000..c6178b62dbbc --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/ConfigServer.cs @@ -0,0 +1,122 @@ +// *** 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.V20220901Preview +{ + /// + /// Config Server resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220901preview: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!; + + /// + /// 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 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/v20220901preview:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, "")) + { + } + + private ConfigServer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220901preview: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/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"}, + }, + }; + 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/V20220901Preview/GetBuildServiceAgentPool.cs b/sdk/dotnet/AppPlatform/V20220901Preview/GetBuildServiceAgentPool.cs new file mode 100644 index 000000000000..7cf955399e89 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/GetBuildServiceAgentPool.cs @@ -0,0 +1,136 @@ +// *** 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.V20220901Preview +{ + public static class GetBuildServiceAgentPool + { + /// + /// The build service agent pool resource + /// + public static Task InvokeAsync(GetBuildServiceAgentPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220901preview:getBuildServiceAgentPool", args ?? new GetBuildServiceAgentPoolArgs(), options.WithDefaults()); + + /// + /// The build service agent pool resource + /// + public static Output Invoke(GetBuildServiceAgentPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:appplatform/v20220901preview: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/V20220901Preview/GetConfigServer.cs b/sdk/dotnet/AppPlatform/V20220901Preview/GetConfigServer.cs new file mode 100644 index 000000000000..400765712cad --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/GetConfigServer.cs @@ -0,0 +1,112 @@ +// *** 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.V20220901Preview +{ + public static class GetConfigServer + { + /// + /// Config Server resource + /// + public static Task InvokeAsync(GetConfigServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220901preview: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/v20220901preview: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; + /// + /// 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 GetConfigServerResult( + string id, + + string name, + + Outputs.ConfigServerPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220901Preview/GetMonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220901Preview/GetMonitoringSetting.cs new file mode 100644 index 000000000000..987aaa82e289 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/GetMonitoringSetting.cs @@ -0,0 +1,112 @@ +// *** 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.V20220901Preview +{ + public static class GetMonitoringSetting + { + /// + /// Monitoring Setting resource + /// + public static Task InvokeAsync(GetMonitoringSettingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:appplatform/v20220901preview: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/v20220901preview: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; + /// + /// 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 GetMonitoringSettingResult( + string id, + + string name, + + Outputs.MonitoringSettingPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/BuildServiceAgentPoolPropertiesArgs.cs new file mode 100644 index 000000000000..49a504d8cd2b --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/BuildServiceAgentPoolSizePropertiesArgs.cs new file mode 100644 index 000000000000..c5c847235b5d --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Inputs/ConfigServerGitPropertyArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/ConfigServerGitPropertyArgs.cs new file mode 100644 index 000000000000..a1bccd1e7646 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Inputs/ConfigServerPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/ConfigServerPropertiesArgs.cs new file mode 100644 index 000000000000..1c31993d0f74 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Inputs/ConfigServerSettingsArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/ConfigServerSettingsArgs.cs new file mode 100644 index 000000000000..0a9db7d72f99 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Inputs/ErrorArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/ErrorArgs.cs new file mode 100644 index 000000000000..45e81dadde90 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Inputs/GitPatternRepositoryArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/GitPatternRepositoryArgs.cs new file mode 100644 index 000000000000..5cbfb61a2a86 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.Inputs +{ + + /// + /// Git repository property payload for config server + /// + 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/V20220901Preview/Inputs/MonitoringSettingPropertiesArgs.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Inputs/MonitoringSettingPropertiesArgs.cs new file mode 100644 index 000000000000..f3c3dd470186 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/MonitoringSetting.cs b/sdk/dotnet/AppPlatform/V20220901Preview/MonitoringSetting.cs new file mode 100644 index 000000000000..accd1fd851a8 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/MonitoringSetting.cs @@ -0,0 +1,122 @@ +// *** 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.V20220901Preview +{ + /// + /// Monitoring Setting resource + /// + [AzureNativeResourceType("azure-native:appplatform/v20220901preview: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!; + + /// + /// 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 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/v20220901preview:MonitoringSetting", name, args ?? new MonitoringSettingArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringSetting(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:appplatform/v20220901preview: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/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"}, + }, + }; + 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/V20220901Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/ApplicationInsightsAgentVersionsResponse.cs new file mode 100644 index 000000000000..794b80b4ace0 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/ApplicationInsightsAgentVersionsResponse.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.V20220901Preview.Outputs +{ + + /// + /// Application Insights agent versions properties payload + /// + [OutputType] + public sealed class ApplicationInsightsAgentVersionsResponse + { + /// + /// Indicates the version of application insight java agent + /// + public readonly string Java; + + [OutputConstructor] + private ApplicationInsightsAgentVersionsResponse(string java) + { + Java = java; + } + } +} diff --git a/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/BuildServiceAgentPoolPropertiesResponse.cs new file mode 100644 index 000000000000..b9c96f22f475 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/BuildServiceAgentPoolSizePropertiesResponse.cs new file mode 100644 index 000000000000..55a8374ef41c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Outputs/ConfigServerGitPropertyResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/ConfigServerGitPropertyResponse.cs new file mode 100644 index 000000000000..48f01e3f92f6 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Outputs/ConfigServerPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/ConfigServerPropertiesResponse.cs new file mode 100644 index 000000000000..397903ce726c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Outputs/ConfigServerSettingsResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/ConfigServerSettingsResponse.cs new file mode 100644 index 000000000000..b58e20f4d47d --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Outputs/ErrorResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/ErrorResponse.cs new file mode 100644 index 000000000000..85ff8906500c --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/V20220901Preview/Outputs/GitPatternRepositoryResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/GitPatternRepositoryResponse.cs new file mode 100644 index 000000000000..116ac0e83946 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.Outputs +{ + + /// + /// Git repository property payload for config server + /// + [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/V20220901Preview/Outputs/MonitoringSettingPropertiesResponse.cs b/sdk/dotnet/AppPlatform/V20220901Preview/Outputs/MonitoringSettingPropertiesResponse.cs new file mode 100644 index 000000000000..c861c79dcf01 --- /dev/null +++ b/sdk/dotnet/AppPlatform/V20220901Preview/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.V20220901Preview.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/DBforPostgreSQL/V20200214Preview/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20200214Preview/Configuration.cs index e7896e2deddb..8ebac30c99da 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20200214Preview/Configuration.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20200214Preview/Configuration.cs @@ -94,7 +94,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20200214Preview/FirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20200214Preview/FirewallRule.cs index 7fbed1f31476..32703d1c2182 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20200214Preview/FirewallRule.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20200214Preview/FirewallRule.cs @@ -70,7 +70,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20200214Preview/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20200214Preview/Server.cs index a68aff98d015..b735cfabc018 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20200214Preview/Server.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20200214Preview/Server.cs @@ -214,7 +214,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Configuration.cs index f5258e419165..58189a5c2558 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Configuration.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Configuration.cs @@ -94,7 +94,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/FirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/FirewallRule.cs index f8fea492e2d5..2fd939250a9a 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/FirewallRule.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/FirewallRule.cs @@ -70,7 +70,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Server.cs index ec9fd4411bbe..c24b79d57f9e 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Server.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20200214PrivatePreview/Server.cs @@ -190,7 +190,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20201105Preview/Database.cs b/sdk/dotnet/DBforPostgreSQL/V20201105Preview/Database.cs index 7a3929ffd125..a80a949e50e2 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20201105Preview/Database.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20201105Preview/Database.cs @@ -67,7 +67,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Database"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Configuration.cs index 489c59899d19..8fb7d35abe3f 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Configuration.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Configuration.cs @@ -94,7 +94,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/FirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/FirewallRule.cs index ea5eb3f57f9c..d75167f6866e 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/FirewallRule.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/FirewallRule.cs @@ -70,7 +70,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Server.cs index f5d45bae21f0..115f021cc5af 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Server.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210410PrivatePreview/Server.cs @@ -190,7 +190,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20210601/Configuration.cs index 1343950d84b4..20636ed4b576 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601/Configuration.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601/Configuration.cs @@ -130,7 +130,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601/Database.cs b/sdk/dotnet/DBforPostgreSQL/V20210601/Database.cs index 8f069439a3f8..b1fdd899751a 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601/Database.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601/Database.cs @@ -73,7 +73,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20201105preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Database"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601/FirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20210601/FirewallRule.cs index 59a67fa58871..7c09c98b2171 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601/FirewallRule.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601/FirewallRule.cs @@ -76,7 +76,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20210601/Server.cs index fa5184e60b29..88e5bb43d37e 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601/Server.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601/Server.cs @@ -148,7 +148,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Configuration.cs index bccf4d39b991..0da4b929234a 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Configuration.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Configuration.cs @@ -130,7 +130,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Database.cs b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Database.cs index 2b4b52631919..7cb8a874c24b 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Database.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Database.cs @@ -73,7 +73,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20201105preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Database"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/FirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/FirewallRule.cs index 4f3c71b2a6af..54eb19f7c087 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/FirewallRule.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/FirewallRule.cs @@ -76,7 +76,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Server.cs index 717d7f2ba08e..5128d862eb47 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Server.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210601Preview/Server.cs @@ -148,7 +148,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Configuration.cs index 2ec31bc8378b..0fcd307d8829 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Configuration.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Configuration.cs @@ -100,7 +100,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/FirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/FirewallRule.cs index 3d58ef39a22c..f7bac762458f 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/FirewallRule.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/FirewallRule.cs @@ -76,7 +76,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Server.cs index 8d4f25279fd3..fcb16b7c24e0 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Server.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20210615PrivatePreview/Server.cs @@ -154,7 +154,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Configuration.cs index a5beb01064f7..64cf11dece8b 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Configuration.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Configuration.cs @@ -130,7 +130,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Database.cs b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Database.cs index 80c915e7a260..a4fbf00628c1 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Database.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Database.cs @@ -73,7 +73,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20201105preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Database"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/FirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/FirewallRule.cs index 9e69a79a119b..12bc9e824d90 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/FirewallRule.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/FirewallRule.cs @@ -76,7 +76,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Server.cs index 91cf234ffe8a..1aa58309abd9 100644 --- a/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Server.cs +++ b/sdk/dotnet/DBforPostgreSQL/V20220120Preview/Server.cs @@ -148,7 +148,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220308preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Administrator.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Administrator.cs deleted file mode 100644 index 61a1c9f5842f..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Administrator.cs +++ /dev/null @@ -1,146 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - /// - /// Represents an Active Directory administrator. - /// - [AzureNativeResourceType("azure-native:dbforpostgresql/v20220308preview:Administrator")] - public partial class Administrator : global::Pulumi.CustomResource - { - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The objectId of the Active Directory administrator. - /// - [Output("objectId")] - public Output ObjectId { get; private set; } = null!; - - /// - /// Active Directory administrator principal name. - /// - [Output("principalName")] - public Output PrincipalName { get; private set; } = null!; - - /// - /// The principal type used to represent the type of Active Directory Administrator. - /// - [Output("principalType")] - public Output PrincipalType { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// The tenantId of the Active Directory administrator. - /// - [Output("tenantId")] - public Output TenantId { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a Administrator 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 Administrator(string name, AdministratorArgs args, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Administrator", name, args ?? new AdministratorArgs(), MakeResourceOptions(options, "")) - { - } - - private Administrator(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Administrator", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - }; - 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 Administrator 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 Administrator Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Administrator(name, id, options); - } - } - - public sealed class AdministratorArgs : global::Pulumi.ResourceArgs - { - /// - /// Guid of the objectId for the administrator. - /// - [Input("objectId")] - public Input? ObjectId { get; set; } - - /// - /// Active Directory administrator principal name. - /// - [Input("principalName")] - public Input? PrincipalName { get; set; } - - /// - /// The principal type used to represent the type of Active Directory Administrator. - /// - [Input("principalType")] - public InputUnion? PrincipalType { get; set; } - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - /// - /// The tenantId of the Active Directory administrator. - /// - [Input("tenantId")] - public Input? TenantId { get; set; } - - public AdministratorArgs() - { - } - public static new AdministratorArgs Empty => new AdministratorArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Configuration.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Configuration.cs deleted file mode 100644 index 7e7b1fb757ea..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Configuration.cs +++ /dev/null @@ -1,192 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - /// - /// Represents a Configuration. - /// - [AzureNativeResourceType("azure-native:dbforpostgresql/v20220308preview:Configuration")] - public partial class Configuration : global::Pulumi.CustomResource - { - /// - /// Allowed values of the configuration. - /// - [Output("allowedValues")] - public Output AllowedValues { get; private set; } = null!; - - /// - /// Data type of the configuration. - /// - [Output("dataType")] - public Output DataType { get; private set; } = null!; - - /// - /// Default value of the configuration. - /// - [Output("defaultValue")] - public Output DefaultValue { get; private set; } = null!; - - /// - /// Description of the configuration. - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// Configuration documentation link. - /// - [Output("documentationLink")] - public Output DocumentationLink { get; private set; } = null!; - - /// - /// Configuration is pending restart or not. - /// - [Output("isConfigPendingRestart")] - public Output IsConfigPendingRestart { get; private set; } = null!; - - /// - /// Configuration dynamic or static. - /// - [Output("isDynamicConfig")] - public Output IsDynamicConfig { get; private set; } = null!; - - /// - /// Configuration read-only or not. - /// - [Output("isReadOnly")] - public Output IsReadOnly { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Source of the configuration. - /// - [Output("source")] - public Output Source { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - /// - /// Configuration unit. - /// - [Output("unit")] - public Output Unit { get; private set; } = null!; - - /// - /// Value of the configuration. - /// - [Output("value")] - public Output Value { get; private set; } = null!; - - - /// - /// Create a Configuration 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 Configuration(string name, ConfigurationArgs args, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Configuration", name, args ?? new ConfigurationArgs(), MakeResourceOptions(options, "")) - { - } - - private Configuration(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Configuration", 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:dbforpostgresql/v20200214preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20200214privatepreview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210410privatepreview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Configuration"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Configuration"}, - }, - }; - 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 Configuration 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 Configuration Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Configuration(name, id, options); - } - } - - public sealed class ConfigurationArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the server configuration. - /// - [Input("configurationName")] - public Input? ConfigurationName { get; set; } - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - /// - /// Source of the configuration. - /// - [Input("source")] - public Input? Source { get; set; } - - /// - /// Value of the configuration. - /// - [Input("value")] - public Input? Value { get; set; } - - public ConfigurationArgs() - { - } - public static new ConfigurationArgs Empty => new ConfigurationArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Database.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Database.cs deleted file mode 100644 index fd6325df32ef..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Database.cs +++ /dev/null @@ -1,135 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - /// - /// Represents a Database. - /// - [AzureNativeResourceType("azure-native:dbforpostgresql/v20220308preview:Database")] - public partial class Database : global::Pulumi.CustomResource - { - /// - /// The charset of the database. - /// - [Output("charset")] - public Output Charset { get; private set; } = null!; - - /// - /// The collation of the database. - /// - [Output("collation")] - public Output Collation { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a Database 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 Database(string name, DatabaseArgs args, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Database", name, args ?? new DatabaseArgs(), MakeResourceOptions(options, "")) - { - } - - private Database(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Database", 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:dbforpostgresql/v20201105preview:Database"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Database"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Database"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Database"}, - }, - }; - 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 Database 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 Database Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Database(name, id, options); - } - } - - public sealed class DatabaseArgs : global::Pulumi.ResourceArgs - { - /// - /// The charset of the database. - /// - [Input("charset")] - public Input? Charset { get; set; } - - /// - /// The collation of the database. - /// - [Input("collation")] - public Input? Collation { get; set; } - - /// - /// The name of the database. - /// - [Input("databaseName")] - public Input? DatabaseName { get; set; } - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - public DatabaseArgs() - { - } - public static new DatabaseArgs Empty => new DatabaseArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Enums.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Enums.cs deleted file mode 100644 index 2ceacc50b1ef..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Enums.cs +++ /dev/null @@ -1,304 +0,0 @@ -// *** 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.ComponentModel; -using Pulumi; - -namespace Pulumi.AzureNative.DBforPostgreSQL.V20220308Preview -{ - /// - /// Data encryption type to depict if it is System assigned vs Azure Key vault. - /// - [EnumType] - public readonly struct ArmServerKeyType : IEquatable - { - private readonly string _value; - - private ArmServerKeyType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static ArmServerKeyType SystemAssigned { get; } = new ArmServerKeyType("SystemAssigned"); - public static ArmServerKeyType AzureKeyVault { get; } = new ArmServerKeyType("AzureKeyVault"); - - public static bool operator ==(ArmServerKeyType left, ArmServerKeyType right) => left.Equals(right); - public static bool operator !=(ArmServerKeyType left, ArmServerKeyType right) => !left.Equals(right); - - public static explicit operator string(ArmServerKeyType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is ArmServerKeyType other && Equals(other); - public bool Equals(ArmServerKeyType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The mode to create a new PostgreSQL server. - /// - [EnumType] - public readonly struct CreateMode : IEquatable - { - private readonly string _value; - - private CreateMode(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static CreateMode Default { get; } = new CreateMode("Default"); - public static CreateMode Create { get; } = new CreateMode("Create"); - public static CreateMode Update { get; } = new CreateMode("Update"); - public static CreateMode PointInTimeRestore { get; } = new CreateMode("PointInTimeRestore"); - public static CreateMode GeoRestore { get; } = new CreateMode("GeoRestore"); - public static CreateMode Replica { get; } = new CreateMode("Replica"); - - public static bool operator ==(CreateMode left, CreateMode right) => left.Equals(right); - public static bool operator !=(CreateMode left, CreateMode right) => !left.Equals(right); - - public static explicit operator string(CreateMode value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is CreateMode other && Equals(other); - public bool Equals(CreateMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// A value indicating whether Geo-Redundant backup is enabled on the server. - /// - [EnumType] - public readonly struct GeoRedundantBackupEnum : IEquatable - { - private readonly string _value; - - private GeoRedundantBackupEnum(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static GeoRedundantBackupEnum Enabled { get; } = new GeoRedundantBackupEnum("Enabled"); - public static GeoRedundantBackupEnum Disabled { get; } = new GeoRedundantBackupEnum("Disabled"); - - public static bool operator ==(GeoRedundantBackupEnum left, GeoRedundantBackupEnum right) => left.Equals(right); - public static bool operator !=(GeoRedundantBackupEnum left, GeoRedundantBackupEnum right) => !left.Equals(right); - - public static explicit operator string(GeoRedundantBackupEnum value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is GeoRedundantBackupEnum other && Equals(other); - public bool Equals(GeoRedundantBackupEnum other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The HA mode for the server. - /// - [EnumType] - public readonly struct HighAvailabilityMode : IEquatable - { - private readonly string _value; - - private HighAvailabilityMode(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static HighAvailabilityMode Disabled { get; } = new HighAvailabilityMode("Disabled"); - public static HighAvailabilityMode ZoneRedundant { get; } = new HighAvailabilityMode("ZoneRedundant"); - public static HighAvailabilityMode SameZone { get; } = new HighAvailabilityMode("SameZone"); - - public static bool operator ==(HighAvailabilityMode left, HighAvailabilityMode right) => left.Equals(right); - public static bool operator !=(HighAvailabilityMode left, HighAvailabilityMode right) => !left.Equals(right); - - public static explicit operator string(HighAvailabilityMode value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is HighAvailabilityMode other && Equals(other); - public bool Equals(HighAvailabilityMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - /// - [EnumType] - public readonly struct IdentityType : IEquatable - { - private readonly string _value; - - private IdentityType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static IdentityType None { get; } = new IdentityType("None"); - public static IdentityType SystemAssigned { get; } = new IdentityType("SystemAssigned"); - public static IdentityType UserAssigned { get; } = new IdentityType("UserAssigned"); - - public static bool operator ==(IdentityType left, IdentityType right) => left.Equals(right); - public static bool operator !=(IdentityType left, IdentityType right) => !left.Equals(right); - - public static explicit operator string(IdentityType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is IdentityType other && Equals(other); - public bool Equals(IdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The principal type used to represent the type of Active Directory Administrator. - /// - [EnumType] - public readonly struct PrincipalType : IEquatable - { - private readonly string _value; - - private PrincipalType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static PrincipalType Unknown { get; } = new PrincipalType("Unknown"); - public static PrincipalType User { get; } = new PrincipalType("User"); - public static PrincipalType Group { get; } = new PrincipalType("Group"); - public static PrincipalType ServicePrincipal { get; } = new PrincipalType("ServicePrincipal"); - - public static bool operator ==(PrincipalType left, PrincipalType right) => left.Equals(right); - public static bool operator !=(PrincipalType left, PrincipalType right) => !left.Equals(right); - - public static explicit operator string(PrincipalType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is PrincipalType other && Equals(other); - public bool Equals(PrincipalType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Replication role of the server - /// - [EnumType] - public readonly struct ReplicationRole : IEquatable - { - private readonly string _value; - - private ReplicationRole(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static ReplicationRole Primary { get; } = new ReplicationRole("Primary"); - public static ReplicationRole Secondary { get; } = new ReplicationRole("Secondary"); - public static ReplicationRole WalReplica { get; } = new ReplicationRole("WalReplica"); - public static ReplicationRole SyncReplica { get; } = new ReplicationRole("SyncReplica"); - public static ReplicationRole AsyncReplica { get; } = new ReplicationRole("AsyncReplica"); - public static ReplicationRole GeoSyncReplica { get; } = new ReplicationRole("GeoSyncReplica"); - public static ReplicationRole GeoAsyncReplica { get; } = new ReplicationRole("GeoAsyncReplica"); - - public static bool operator ==(ReplicationRole left, ReplicationRole right) => left.Equals(right); - public static bool operator !=(ReplicationRole left, ReplicationRole right) => !left.Equals(right); - - public static explicit operator string(ReplicationRole value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is ReplicationRole other && Equals(other); - public bool Equals(ReplicationRole other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// PostgreSQL Server version. - /// - [EnumType] - public readonly struct ServerVersion : IEquatable - { - private readonly string _value; - - private ServerVersion(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static ServerVersion ServerVersion_14 { get; } = new ServerVersion("14"); - public static ServerVersion ServerVersion_13 { get; } = new ServerVersion("13"); - public static ServerVersion ServerVersion_12 { get; } = new ServerVersion("12"); - public static ServerVersion ServerVersion_11 { get; } = new ServerVersion("11"); - - public static bool operator ==(ServerVersion left, ServerVersion right) => left.Equals(right); - public static bool operator !=(ServerVersion left, ServerVersion right) => !left.Equals(right); - - public static explicit operator string(ServerVersion value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is ServerVersion other && Equals(other); - public bool Equals(ServerVersion other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The tier of the particular SKU, e.g. Burstable. - /// - [EnumType] - public readonly struct SkuTier : IEquatable - { - private readonly string _value; - - private SkuTier(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static SkuTier Burstable { get; } = new SkuTier("Burstable"); - public static SkuTier GeneralPurpose { get; } = new SkuTier("GeneralPurpose"); - public static SkuTier MemoryOptimized { get; } = new SkuTier("MemoryOptimized"); - - public static bool operator ==(SkuTier left, SkuTier right) => left.Equals(right); - public static bool operator !=(SkuTier left, SkuTier right) => !left.Equals(right); - - public static explicit operator string(SkuTier value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is SkuTier other && Equals(other); - public bool Equals(SkuTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetAdministrator.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetAdministrator.cs deleted file mode 100644 index c4750dbea236..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetAdministrator.cs +++ /dev/null @@ -1,145 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - public static class GetAdministrator - { - /// - /// Represents an Active Directory administrator. - /// - public static Task InvokeAsync(GetAdministratorArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbforpostgresql/v20220308preview:getAdministrator", args ?? new GetAdministratorArgs(), options.WithDefaults()); - - /// - /// Represents an Active Directory administrator. - /// - public static Output Invoke(GetAdministratorInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbforpostgresql/v20220308preview:getAdministrator", args ?? new GetAdministratorInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetAdministratorArgs : global::Pulumi.InvokeArgs - { - /// - /// Guid of the objectId for the administrator. - /// - [Input("objectId", required: true)] - public string ObjectId { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public string ServerName { get; set; } = null!; - - public GetAdministratorArgs() - { - } - public static new GetAdministratorArgs Empty => new GetAdministratorArgs(); - } - - public sealed class GetAdministratorInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Guid of the objectId for the administrator. - /// - [Input("objectId", required: true)] - public Input ObjectId { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - public GetAdministratorInvokeArgs() - { - } - public static new GetAdministratorInvokeArgs Empty => new GetAdministratorInvokeArgs(); - } - - - [OutputType] - public sealed class GetAdministratorResult - { - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// The objectId of the Active Directory administrator. - /// - public readonly string? ObjectId; - /// - /// Active Directory administrator principal name. - /// - public readonly string? PrincipalName; - /// - /// The principal type used to represent the type of Active Directory Administrator. - /// - public readonly string? PrincipalType; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The tenantId of the Active Directory administrator. - /// - public readonly string? TenantId; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetAdministratorResult( - string id, - - string name, - - string? objectId, - - string? principalName, - - string? principalType, - - Outputs.SystemDataResponse systemData, - - string? tenantId, - - string type) - { - Id = id; - Name = name; - ObjectId = objectId; - PrincipalName = principalName; - PrincipalType = principalType; - SystemData = systemData; - TenantId = tenantId; - Type = type; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetConfiguration.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetConfiguration.cs deleted file mode 100644 index 3f623f932588..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetConfiguration.cs +++ /dev/null @@ -1,194 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - public static class GetConfiguration - { - /// - /// Represents a Configuration. - /// - public static Task InvokeAsync(GetConfigurationArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbforpostgresql/v20220308preview:getConfiguration", args ?? new GetConfigurationArgs(), options.WithDefaults()); - - /// - /// Represents a Configuration. - /// - public static Output Invoke(GetConfigurationInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbforpostgresql/v20220308preview:getConfiguration", args ?? new GetConfigurationInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetConfigurationArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the server configuration. - /// - [Input("configurationName", required: true)] - public string ConfigurationName { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public string ServerName { get; set; } = null!; - - public GetConfigurationArgs() - { - } - public static new GetConfigurationArgs Empty => new GetConfigurationArgs(); - } - - public sealed class GetConfigurationInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the server configuration. - /// - [Input("configurationName", required: true)] - public Input ConfigurationName { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - public GetConfigurationInvokeArgs() - { - } - public static new GetConfigurationInvokeArgs Empty => new GetConfigurationInvokeArgs(); - } - - - [OutputType] - public sealed class GetConfigurationResult - { - /// - /// Allowed values of the configuration. - /// - public readonly string AllowedValues; - /// - /// Data type of the configuration. - /// - public readonly string DataType; - /// - /// Default value of the configuration. - /// - public readonly string DefaultValue; - /// - /// Description of the configuration. - /// - public readonly string Description; - /// - /// Configuration documentation link. - /// - public readonly string DocumentationLink; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// Configuration is pending restart or not. - /// - public readonly bool IsConfigPendingRestart; - /// - /// Configuration dynamic or static. - /// - public readonly bool IsDynamicConfig; - /// - /// Configuration read-only or not. - /// - public readonly bool IsReadOnly; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Source of the configuration. - /// - public readonly string? Source; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - /// - /// Configuration unit. - /// - public readonly string Unit; - /// - /// Value of the configuration. - /// - public readonly string? Value; - - [OutputConstructor] - private GetConfigurationResult( - string allowedValues, - - string dataType, - - string defaultValue, - - string description, - - string documentationLink, - - string id, - - bool isConfigPendingRestart, - - bool isDynamicConfig, - - bool isReadOnly, - - string name, - - string? source, - - Outputs.SystemDataResponse systemData, - - string type, - - string unit, - - string? value) - { - AllowedValues = allowedValues; - DataType = dataType; - DefaultValue = defaultValue; - Description = description; - DocumentationLink = documentationLink; - Id = id; - IsConfigPendingRestart = isConfigPendingRestart; - IsDynamicConfig = isDynamicConfig; - IsReadOnly = isReadOnly; - Name = name; - Source = source; - SystemData = systemData; - Type = type; - Unit = unit; - Value = value; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetDatabase.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetDatabase.cs deleted file mode 100644 index 1f89902c3a0d..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetDatabase.cs +++ /dev/null @@ -1,131 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - public static class GetDatabase - { - /// - /// Represents a Database. - /// - public static Task InvokeAsync(GetDatabaseArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbforpostgresql/v20220308preview:getDatabase", args ?? new GetDatabaseArgs(), options.WithDefaults()); - - /// - /// Represents a Database. - /// - public static Output Invoke(GetDatabaseInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbforpostgresql/v20220308preview:getDatabase", args ?? new GetDatabaseInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetDatabaseArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the database. - /// - [Input("databaseName", required: true)] - public string DatabaseName { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public string ServerName { get; set; } = null!; - - public GetDatabaseArgs() - { - } - public static new GetDatabaseArgs Empty => new GetDatabaseArgs(); - } - - public sealed class GetDatabaseInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the database. - /// - [Input("databaseName", required: true)] - public Input DatabaseName { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - public GetDatabaseInvokeArgs() - { - } - public static new GetDatabaseInvokeArgs Empty => new GetDatabaseInvokeArgs(); - } - - - [OutputType] - public sealed class GetDatabaseResult - { - /// - /// The charset of the database. - /// - public readonly string? Charset; - /// - /// The collation of the database. - /// - public readonly string? Collation; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetDatabaseResult( - string? charset, - - string? collation, - - string id, - - string name, - - Outputs.SystemDataResponse systemData, - - string type) - { - Charset = charset; - Collation = collation; - Id = id; - Name = name; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetFirewallRule.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetFirewallRule.cs deleted file mode 100644 index 2866b74ae6ec..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetFirewallRule.cs +++ /dev/null @@ -1,131 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - public static class GetFirewallRule - { - /// - /// Represents a server firewall rule. - /// - public static Task InvokeAsync(GetFirewallRuleArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbforpostgresql/v20220308preview:getFirewallRule", args ?? new GetFirewallRuleArgs(), options.WithDefaults()); - - /// - /// Represents a server firewall rule. - /// - public static Output Invoke(GetFirewallRuleInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbforpostgresql/v20220308preview:getFirewallRule", args ?? new GetFirewallRuleInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFirewallRuleArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the server firewall rule. - /// - [Input("firewallRuleName", required: true)] - public string FirewallRuleName { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public string ServerName { get; set; } = null!; - - public GetFirewallRuleArgs() - { - } - public static new GetFirewallRuleArgs Empty => new GetFirewallRuleArgs(); - } - - public sealed class GetFirewallRuleInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the server firewall rule. - /// - [Input("firewallRuleName", required: true)] - public Input FirewallRuleName { get; set; } = null!; - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - public GetFirewallRuleInvokeArgs() - { - } - public static new GetFirewallRuleInvokeArgs Empty => new GetFirewallRuleInvokeArgs(); - } - - - [OutputType] - public sealed class GetFirewallRuleResult - { - /// - /// The end IP address of the server firewall rule. Must be IPv4 format. - /// - public readonly string EndIpAddress; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// The start IP address of the server firewall rule. Must be IPv4 format. - /// - public readonly string StartIpAddress; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetFirewallRuleResult( - string endIpAddress, - - string id, - - string name, - - string startIpAddress, - - Outputs.SystemDataResponse systemData, - - string type) - { - EndIpAddress = endIpAddress; - Id = id; - Name = name; - StartIpAddress = startIpAddress; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetServer.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetServer.cs deleted file mode 100644 index 8294fa96c120..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/GetServer.cs +++ /dev/null @@ -1,238 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - public static class GetServer - { - /// - /// Represents a server. - /// - public static Task InvokeAsync(GetServerArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbforpostgresql/v20220308preview:getServer", args ?? new GetServerArgs(), options.WithDefaults()); - - /// - /// Represents a server. - /// - public static Output Invoke(GetServerInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbforpostgresql/v20220308preview:getServer", args ?? new GetServerInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetServerArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public string ServerName { get; set; } = null!; - - public GetServerArgs() - { - } - public static new GetServerArgs Empty => new GetServerArgs(); - } - - public sealed class GetServerInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName", required: true)] - public Input ServerName { get; set; } = null!; - - public GetServerInvokeArgs() - { - } - public static new GetServerInvokeArgs Empty => new GetServerInvokeArgs(); - } - - - [OutputType] - public sealed class GetServerResult - { - /// - /// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - /// - public readonly string? AdministratorLogin; - /// - /// AuthConfig properties of a server. - /// - public readonly Outputs.AuthConfigResponse? AuthConfig; - /// - /// availability zone information of the server. - /// - public readonly string? AvailabilityZone; - /// - /// Backup properties of a server. - /// - public readonly Outputs.BackupResponse? Backup; - /// - /// Data encryption properties of a server. - /// - public readonly Outputs.DataEncryptionResponse? DataEncryption; - /// - /// The fully qualified domain name of a server. - /// - public readonly string FullyQualifiedDomainName; - /// - /// High availability properties of a server. - /// - public readonly Outputs.HighAvailabilityResponse? HighAvailability; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// Describes the identity of the application. - /// - public readonly Outputs.UserAssignedIdentityResponse? Identity; - /// - /// The geo-location where the resource lives - /// - public readonly string Location; - /// - /// Maintenance window properties of a server. - /// - public readonly Outputs.MaintenanceWindowResponse? MaintenanceWindow; - /// - /// The minor version of the server. - /// - public readonly string MinorVersion; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Network properties of a server. - /// - public readonly Outputs.NetworkResponse? Network; - /// - /// Replicas allowed for a server. - /// - public readonly int? ReplicaCapacity; - /// - /// Replication role of the server - /// - public readonly string? ReplicationRole; - /// - /// The SKU (pricing tier) of the server. - /// - public readonly Outputs.PostgreSqlSkuResponse? Sku; - /// - /// A state of a server that is visible to user. - /// - public readonly string State; - /// - /// Storage properties of a server. - /// - public readonly Outputs.StorageResponse? Storage; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// Resource tags. - /// - public readonly ImmutableDictionary? Tags; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - /// - /// PostgreSQL Server version. - /// - public readonly string? Version; - - [OutputConstructor] - private GetServerResult( - string? administratorLogin, - - Outputs.AuthConfigResponse? authConfig, - - string? availabilityZone, - - Outputs.BackupResponse? backup, - - Outputs.DataEncryptionResponse? dataEncryption, - - string fullyQualifiedDomainName, - - Outputs.HighAvailabilityResponse? highAvailability, - - string id, - - Outputs.UserAssignedIdentityResponse? identity, - - string location, - - Outputs.MaintenanceWindowResponse? maintenanceWindow, - - string minorVersion, - - string name, - - Outputs.NetworkResponse? network, - - int? replicaCapacity, - - string? replicationRole, - - Outputs.PostgreSqlSkuResponse? sku, - - string state, - - Outputs.StorageResponse? storage, - - Outputs.SystemDataResponse systemData, - - ImmutableDictionary? tags, - - string type, - - string? version) - { - AdministratorLogin = administratorLogin; - AuthConfig = authConfig; - AvailabilityZone = availabilityZone; - Backup = backup; - DataEncryption = dataEncryption; - FullyQualifiedDomainName = fullyQualifiedDomainName; - HighAvailability = highAvailability; - Id = id; - Identity = identity; - Location = location; - MaintenanceWindow = maintenanceWindow; - MinorVersion = minorVersion; - Name = name; - Network = network; - ReplicaCapacity = replicaCapacity; - ReplicationRole = replicationRole; - Sku = sku; - State = state; - Storage = storage; - SystemData = systemData; - Tags = tags; - Type = type; - Version = version; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/AuthConfigArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/AuthConfigArgs.cs deleted file mode 100644 index 4be86e4056a3..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/AuthConfigArgs.cs +++ /dev/null @@ -1,43 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Authentication configuration properties of a server - /// - public sealed class AuthConfigArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, Azure Active Directory authentication is enabled. - /// - [Input("activeDirectoryAuthEnabled")] - public Input? ActiveDirectoryAuthEnabled { get; set; } - - /// - /// If true, Password authentication is enabled. - /// - [Input("passwordAuthEnabled")] - public Input? PasswordAuthEnabled { get; set; } - - /// - /// Tenant id of the server. - /// - [Input("tenantId")] - public Input? TenantId { get; set; } - - public AuthConfigArgs() - { - PasswordAuthEnabled = true; - TenantId = ""; - } - public static new AuthConfigArgs Empty => new AuthConfigArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/BackupArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/BackupArgs.cs deleted file mode 100644 index c4d7e7546920..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/BackupArgs.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Backup properties of a server - /// - public sealed class BackupArgs : global::Pulumi.ResourceArgs - { - /// - /// Backup retention days for the server. - /// - [Input("backupRetentionDays")] - public Input? BackupRetentionDays { get; set; } - - /// - /// A value indicating whether Geo-Redundant backup is enabled on the server. - /// - [Input("geoRedundantBackup")] - public InputUnion? GeoRedundantBackup { get; set; } - - public BackupArgs() - { - BackupRetentionDays = 7; - GeoRedundantBackup = "Disabled"; - } - public static new BackupArgs Empty => new BackupArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/DataEncryptionArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/DataEncryptionArgs.cs deleted file mode 100644 index 3a59ef5bdab0..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/DataEncryptionArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Data encryption properties of a server - /// - public sealed class DataEncryptionArgs : global::Pulumi.ResourceArgs - { - /// - /// URI for the key for data encryption for primary server. - /// - [Input("primaryKeyURI")] - public Input? PrimaryKeyURI { get; set; } - - /// - /// Resource Id for the User assigned identity to be used for data encryption for primary server. - /// - [Input("primaryUserAssignedIdentityId")] - public Input? PrimaryUserAssignedIdentityId { get; set; } - - /// - /// Data encryption type to depict if it is System assigned vs Azure Key vault. - /// - [Input("type")] - public InputUnion? Type { get; set; } - - public DataEncryptionArgs() - { - } - public static new DataEncryptionArgs Empty => new DataEncryptionArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/HighAvailabilityArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/HighAvailabilityArgs.cs deleted file mode 100644 index 2466c857f1c5..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/HighAvailabilityArgs.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// High availability properties of a server - /// - public sealed class HighAvailabilityArgs : global::Pulumi.ResourceArgs - { - /// - /// The HA mode for the server. - /// - [Input("mode")] - public InputUnion? Mode { get; set; } - - /// - /// availability zone information of the standby. - /// - [Input("standbyAvailabilityZone")] - public Input? StandbyAvailabilityZone { get; set; } - - public HighAvailabilityArgs() - { - Mode = "Disabled"; - StandbyAvailabilityZone = ""; - } - public static new HighAvailabilityArgs Empty => new HighAvailabilityArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/MaintenanceWindowArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/MaintenanceWindowArgs.cs deleted file mode 100644 index 4206d3633a24..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/MaintenanceWindowArgs.cs +++ /dev/null @@ -1,51 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Maintenance window properties of a server. - /// - public sealed class MaintenanceWindowArgs : global::Pulumi.ResourceArgs - { - /// - /// indicates whether custom window is enabled or disabled - /// - [Input("customWindow")] - public Input? CustomWindow { get; set; } - - /// - /// day of week for maintenance window - /// - [Input("dayOfWeek")] - public Input? DayOfWeek { get; set; } - - /// - /// start hour for maintenance window - /// - [Input("startHour")] - public Input? StartHour { get; set; } - - /// - /// start minute for maintenance window - /// - [Input("startMinute")] - public Input? StartMinute { get; set; } - - public MaintenanceWindowArgs() - { - CustomWindow = "Disabled"; - DayOfWeek = 0; - StartHour = 0; - StartMinute = 0; - } - public static new MaintenanceWindowArgs Empty => new MaintenanceWindowArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/NetworkArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/NetworkArgs.cs deleted file mode 100644 index 5e8c41aa8b3e..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/NetworkArgs.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Network properties of a server - /// - public sealed class NetworkArgs : global::Pulumi.ResourceArgs - { - /// - /// delegated subnet arm resource id. - /// - [Input("delegatedSubnetResourceId")] - public Input? DelegatedSubnetResourceId { get; set; } - - /// - /// private dns zone arm resource id. - /// - [Input("privateDnsZoneArmResourceId")] - public Input? PrivateDnsZoneArmResourceId { get; set; } - - public NetworkArgs() - { - DelegatedSubnetResourceId = ""; - PrivateDnsZoneArmResourceId = ""; - } - public static new NetworkArgs Empty => new NetworkArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/PostgreSqlSkuArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/PostgreSqlSkuArgs.cs deleted file mode 100644 index 08483b50712f..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/PostgreSqlSkuArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Sku information related properties of a server. - /// - public sealed class PostgreSqlSkuArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - /// - /// The tier of the particular SKU, e.g. Burstable. - /// - [Input("tier", required: true)] - public InputUnion Tier { get; set; } = null!; - - public PostgreSqlSkuArgs() - { - } - public static new PostgreSqlSkuArgs Empty => new PostgreSqlSkuArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/StorageArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/StorageArgs.cs deleted file mode 100644 index a637498708a6..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/StorageArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Storage properties of a server - /// - public sealed class StorageArgs : global::Pulumi.ResourceArgs - { - /// - /// Max storage allowed for a server. - /// - [Input("storageSizeGB")] - public Input? StorageSizeGB { get; set; } - - public StorageArgs() - { - } - public static new StorageArgs Empty => new StorageArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/UserAssignedIdentityArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/UserAssignedIdentityArgs.cs deleted file mode 100644 index 308bf537ecb3..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/UserAssignedIdentityArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Information describing the identities associated with this application. - /// - public sealed class UserAssignedIdentityArgs : global::Pulumi.ResourceArgs - { - /// - /// the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - /// - [Input("type", required: true)] - public InputUnion Type { get; set; } = null!; - - [Input("userAssignedIdentities")] - private InputMap? _userAssignedIdentities; - - /// - /// represents user assigned identities map. - /// - public InputMap UserAssignedIdentities - { - get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputMap()); - set => _userAssignedIdentities = value; - } - - public UserAssignedIdentityArgs() - { - } - public static new UserAssignedIdentityArgs Empty => new UserAssignedIdentityArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/UserIdentityArgs.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/UserIdentityArgs.cs deleted file mode 100644 index 8db0b897e141..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Inputs/UserIdentityArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Inputs -{ - - /// - /// Describes a single user-assigned identity associated with the application. - /// - public sealed class UserIdentityArgs : global::Pulumi.ResourceArgs - { - /// - /// the client identifier of the Service Principal which this identity represents. - /// - [Input("clientId")] - public Input? ClientId { get; set; } - - /// - /// the object identifier of the Service Principal which this identity represents. - /// - [Input("principalId")] - public Input? PrincipalId { get; set; } - - public UserIdentityArgs() - { - } - public static new UserIdentityArgs Empty => new UserIdentityArgs(); - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/AuthConfigResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/AuthConfigResponse.cs deleted file mode 100644 index 7cbc29273e53..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/AuthConfigResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Authentication configuration properties of a server - /// - [OutputType] - public sealed class AuthConfigResponse - { - /// - /// If true, Azure Active Directory authentication is enabled. - /// - public readonly bool? ActiveDirectoryAuthEnabled; - /// - /// If true, Password authentication is enabled. - /// - public readonly bool? PasswordAuthEnabled; - /// - /// Tenant id of the server. - /// - public readonly string? TenantId; - - [OutputConstructor] - private AuthConfigResponse( - bool? activeDirectoryAuthEnabled, - - bool? passwordAuthEnabled, - - string? tenantId) - { - ActiveDirectoryAuthEnabled = activeDirectoryAuthEnabled; - PasswordAuthEnabled = passwordAuthEnabled; - TenantId = tenantId; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/BackupResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/BackupResponse.cs deleted file mode 100644 index 99012adbc62a..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/BackupResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Backup properties of a server - /// - [OutputType] - public sealed class BackupResponse - { - /// - /// Backup retention days for the server. - /// - public readonly int? BackupRetentionDays; - /// - /// The earliest restore point time (ISO8601 format) for server. - /// - public readonly string EarliestRestoreDate; - /// - /// A value indicating whether Geo-Redundant backup is enabled on the server. - /// - public readonly string? GeoRedundantBackup; - - [OutputConstructor] - private BackupResponse( - int? backupRetentionDays, - - string earliestRestoreDate, - - string? geoRedundantBackup) - { - BackupRetentionDays = backupRetentionDays; - EarliestRestoreDate = earliestRestoreDate; - GeoRedundantBackup = geoRedundantBackup; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/DataEncryptionResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/DataEncryptionResponse.cs deleted file mode 100644 index 49d278473c16..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/DataEncryptionResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Data encryption properties of a server - /// - [OutputType] - public sealed class DataEncryptionResponse - { - /// - /// URI for the key for data encryption for primary server. - /// - public readonly string? PrimaryKeyURI; - /// - /// Resource Id for the User assigned identity to be used for data encryption for primary server. - /// - public readonly string? PrimaryUserAssignedIdentityId; - /// - /// Data encryption type to depict if it is System assigned vs Azure Key vault. - /// - public readonly string? Type; - - [OutputConstructor] - private DataEncryptionResponse( - string? primaryKeyURI, - - string? primaryUserAssignedIdentityId, - - string? type) - { - PrimaryKeyURI = primaryKeyURI; - PrimaryUserAssignedIdentityId = primaryUserAssignedIdentityId; - Type = type; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/HighAvailabilityResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/HighAvailabilityResponse.cs deleted file mode 100644 index 13eedb02c37f..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/HighAvailabilityResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// High availability properties of a server - /// - [OutputType] - public sealed class HighAvailabilityResponse - { - /// - /// The HA mode for the server. - /// - public readonly string? Mode; - /// - /// availability zone information of the standby. - /// - public readonly string? StandbyAvailabilityZone; - /// - /// A state of a HA server that is visible to user. - /// - public readonly string State; - - [OutputConstructor] - private HighAvailabilityResponse( - string? mode, - - string? standbyAvailabilityZone, - - string state) - { - Mode = mode; - StandbyAvailabilityZone = standbyAvailabilityZone; - State = state; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/MaintenanceWindowResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/MaintenanceWindowResponse.cs deleted file mode 100644 index 6fd447db11e8..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/MaintenanceWindowResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Maintenance window properties of a server. - /// - [OutputType] - public sealed class MaintenanceWindowResponse - { - /// - /// indicates whether custom window is enabled or disabled - /// - public readonly string? CustomWindow; - /// - /// day of week for maintenance window - /// - public readonly int? DayOfWeek; - /// - /// start hour for maintenance window - /// - public readonly int? StartHour; - /// - /// start minute for maintenance window - /// - public readonly int? StartMinute; - - [OutputConstructor] - private MaintenanceWindowResponse( - string? customWindow, - - int? dayOfWeek, - - int? startHour, - - int? startMinute) - { - CustomWindow = customWindow; - DayOfWeek = dayOfWeek; - StartHour = startHour; - StartMinute = startMinute; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/NetworkResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/NetworkResponse.cs deleted file mode 100644 index 2a13db140e90..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/NetworkResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Network properties of a server - /// - [OutputType] - public sealed class NetworkResponse - { - /// - /// delegated subnet arm resource id. - /// - public readonly string? DelegatedSubnetResourceId; - /// - /// private dns zone arm resource id. - /// - public readonly string? PrivateDnsZoneArmResourceId; - /// - /// public network access is enabled or not - /// - public readonly string PublicNetworkAccess; - - [OutputConstructor] - private NetworkResponse( - string? delegatedSubnetResourceId, - - string? privateDnsZoneArmResourceId, - - string publicNetworkAccess) - { - DelegatedSubnetResourceId = delegatedSubnetResourceId; - PrivateDnsZoneArmResourceId = privateDnsZoneArmResourceId; - PublicNetworkAccess = publicNetworkAccess; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/PostgreSqlSkuResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/PostgreSqlSkuResponse.cs deleted file mode 100644 index 6f0bc306f19f..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/PostgreSqlSkuResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Sku information related properties of a server. - /// - [OutputType] - public sealed class PostgreSqlSkuResponse - { - /// - /// The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - /// - public readonly string Name; - /// - /// The tier of the particular SKU, e.g. Burstable. - /// - public readonly string Tier; - - [OutputConstructor] - private PostgreSqlSkuResponse( - string name, - - string tier) - { - Name = name; - Tier = tier; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/SystemDataResponse.cs deleted file mode 100644 index e8a4a5fd6348..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/SystemDataResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - [OutputType] - public sealed class SystemDataResponse - { - /// - /// The timestamp of resource creation (UTC). - /// - public readonly string? CreatedAt; - /// - /// The identity that created the resource. - /// - public readonly string? CreatedBy; - /// - /// The type of identity that created the resource. - /// - public readonly string? CreatedByType; - /// - /// The timestamp of resource last modification (UTC) - /// - public readonly string? LastModifiedAt; - /// - /// The identity that last modified the resource. - /// - public readonly string? LastModifiedBy; - /// - /// The type of identity that last modified the resource. - /// - public readonly string? LastModifiedByType; - - [OutputConstructor] - private SystemDataResponse( - string? createdAt, - - string? createdBy, - - string? createdByType, - - string? lastModifiedAt, - - string? lastModifiedBy, - - string? lastModifiedByType) - { - CreatedAt = createdAt; - CreatedBy = createdBy; - CreatedByType = createdByType; - LastModifiedAt = lastModifiedAt; - LastModifiedBy = lastModifiedBy; - LastModifiedByType = lastModifiedByType; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/UserAssignedIdentityResponse.cs deleted file mode 100644 index 9d1440947a8d..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/UserAssignedIdentityResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Information describing the identities associated with this application. - /// - [OutputType] - public sealed class UserAssignedIdentityResponse - { - /// - /// the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - /// - public readonly string Type; - /// - /// represents user assigned identities map. - /// - public readonly ImmutableDictionary? UserAssignedIdentities; - - [OutputConstructor] - private UserAssignedIdentityResponse( - string type, - - ImmutableDictionary? userAssignedIdentities) - { - Type = type; - UserAssignedIdentities = userAssignedIdentities; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/UserIdentityResponse.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/UserIdentityResponse.cs deleted file mode 100644 index 761f9f2b7dfb..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Outputs/UserIdentityResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview.Outputs -{ - - /// - /// Describes a single user-assigned identity associated with the application. - /// - [OutputType] - public sealed class UserIdentityResponse - { - /// - /// the client identifier of the Service Principal which this identity represents. - /// - public readonly string? ClientId; - /// - /// the object identifier of the Service Principal which this identity represents. - /// - public readonly string? PrincipalId; - - [OutputConstructor] - private UserIdentityResponse( - string? clientId, - - string? principalId) - { - ClientId = clientId; - PrincipalId = principalId; - } - } -} diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/README.md b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/README.md deleted file mode 100644 index b6e91921920b..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/README.md +++ /dev/null @@ -1 +0,0 @@ -A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Server.cs b/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Server.cs deleted file mode 100644 index ab104cbc5695..000000000000 --- a/sdk/dotnet/DBforPostgreSQL/V20220308Preview/Server.cs +++ /dev/null @@ -1,349 +0,0 @@ -// *** 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.DBforPostgreSQL.V20220308Preview -{ - /// - /// Represents a server. - /// - [AzureNativeResourceType("azure-native:dbforpostgresql/v20220308preview:Server")] - public partial class Server : global::Pulumi.CustomResource - { - /// - /// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - /// - [Output("administratorLogin")] - public Output AdministratorLogin { get; private set; } = null!; - - /// - /// AuthConfig properties of a server. - /// - [Output("authConfig")] - public Output AuthConfig { get; private set; } = null!; - - /// - /// availability zone information of the server. - /// - [Output("availabilityZone")] - public Output AvailabilityZone { get; private set; } = null!; - - /// - /// Backup properties of a server. - /// - [Output("backup")] - public Output Backup { get; private set; } = null!; - - /// - /// Data encryption properties of a server. - /// - [Output("dataEncryption")] - public Output DataEncryption { get; private set; } = null!; - - /// - /// The fully qualified domain name of a server. - /// - [Output("fullyQualifiedDomainName")] - public Output FullyQualifiedDomainName { get; private set; } = null!; - - /// - /// High availability properties of a server. - /// - [Output("highAvailability")] - public Output HighAvailability { get; private set; } = null!; - - /// - /// Describes the identity of the application. - /// - [Output("identity")] - public Output Identity { get; private set; } = null!; - - /// - /// The geo-location where the resource lives - /// - [Output("location")] - public Output Location { get; private set; } = null!; - - /// - /// Maintenance window properties of a server. - /// - [Output("maintenanceWindow")] - public Output MaintenanceWindow { get; private set; } = null!; - - /// - /// The minor version of the server. - /// - [Output("minorVersion")] - public Output MinorVersion { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Network properties of a server. - /// - [Output("network")] - public Output Network { get; private set; } = null!; - - /// - /// Replicas allowed for a server. - /// - [Output("replicaCapacity")] - public Output ReplicaCapacity { get; private set; } = null!; - - /// - /// Replication role of the server - /// - [Output("replicationRole")] - public Output ReplicationRole { get; private set; } = null!; - - /// - /// The SKU (pricing tier) of the server. - /// - [Output("sku")] - public Output Sku { get; private set; } = null!; - - /// - /// A state of a server that is visible to user. - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// Storage properties of a server. - /// - [Output("storage")] - public Output Storage { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// Resource tags. - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - /// - /// PostgreSQL Server version. - /// - [Output("version")] - public Output Version { get; private set; } = null!; - - - /// - /// Create a Server 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 Server(string name, ServerArgs args, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Server", name, args ?? new ServerArgs(), MakeResourceOptions(options, "")) - { - } - - private Server(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:dbforpostgresql/v20220308preview:Server", 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:dbforpostgresql/v20200214preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20200214privatepreview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210410privatepreview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210601preview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20210615privatepreview:Server"}, - new global::Pulumi.Alias { Type = "azure-native:dbforpostgresql/v20220120preview:Server"}, - }, - }; - 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 Server 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 Server Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Server(name, id, options); - } - } - - public sealed class ServerArgs : global::Pulumi.ResourceArgs - { - /// - /// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - /// - [Input("administratorLogin")] - public Input? AdministratorLogin { get; set; } - - /// - /// The administrator login password (required for server creation). - /// - [Input("administratorLoginPassword")] - public Input? AdministratorLoginPassword { get; set; } - - /// - /// AuthConfig properties of a server. - /// - [Input("authConfig")] - public Input? AuthConfig { get; set; } - - /// - /// availability zone information of the server. - /// - [Input("availabilityZone")] - public Input? AvailabilityZone { get; set; } - - /// - /// Backup properties of a server. - /// - [Input("backup")] - public Input? Backup { get; set; } - - /// - /// The mode to create a new PostgreSQL server. - /// - [Input("createMode")] - public InputUnion? CreateMode { get; set; } - - /// - /// Data encryption properties of a server. - /// - [Input("dataEncryption")] - public Input? DataEncryption { get; set; } - - /// - /// High availability properties of a server. - /// - [Input("highAvailability")] - public Input? HighAvailability { get; set; } - - /// - /// Describes the identity of the application. - /// - [Input("identity")] - public Input? Identity { get; set; } - - /// - /// The geo-location where the resource lives - /// - [Input("location")] - public Input? Location { get; set; } - - /// - /// Maintenance window properties of a server. - /// - [Input("maintenanceWindow")] - public Input? MaintenanceWindow { get; set; } - - /// - /// Network properties of a server. - /// - [Input("network")] - public Input? Network { get; set; } - - /// - /// Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'. - /// - [Input("pointInTimeUTC")] - public Input? PointInTimeUTC { get; set; } - - /// - /// Replicas allowed for a server. - /// - [Input("replicaCapacity")] - public Input? ReplicaCapacity { get; set; } - - /// - /// Replication role of the server - /// - [Input("replicationRole")] - public InputUnion? ReplicationRole { get; set; } - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the server. - /// - [Input("serverName")] - public Input? ServerName { get; set; } - - /// - /// The SKU (pricing tier) of the server. - /// - [Input("sku")] - public Input? Sku { get; set; } - - /// - /// The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. - /// - [Input("sourceServerResourceId")] - public Input? SourceServerResourceId { get; set; } - - /// - /// Storage properties of a server. - /// - [Input("storage")] - public Input? Storage { get; set; } - - [Input("tags")] - private InputMap? _tags; - - /// - /// Resource tags. - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - /// - /// PostgreSQL Server version. - /// - [Input("version")] - public InputUnion? Version { get; set; } - - public ServerArgs() - { - AvailabilityZone = ""; - } - public static new ServerArgs Empty => new ServerArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSub.cs b/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSub.cs index 0934535e3952..c6c569a4b31a 100644 --- a/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSub.cs +++ b/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSub.cs @@ -171,7 +171,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSub"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubPrivateEndpointConnection.cs b/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubPrivateEndpointConnection.cs index 60f1eea02333..cf6432f5894c 100644 --- a/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubPrivateEndpointConnection.cs +++ b/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubPrivateEndpointConnection.cs @@ -80,7 +80,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubSharedPrivateLinkResource.cs b/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubSharedPrivateLinkResource.cs index 306f46e638b8..04d5847199c1 100644 --- a/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubSharedPrivateLinkResource.cs +++ b/sdk/dotnet/WebPubSub/V20210401Preview/WebPubSubSharedPrivateLinkResource.cs @@ -92,7 +92,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSub.cs b/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSub.cs index f5b900ecc79d..312b86e77d39 100644 --- a/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSub.cs +++ b/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSub.cs @@ -182,7 +182,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSub"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubPrivateEndpointConnection.cs b/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubPrivateEndpointConnection.cs index d1d7e8d4a5a8..f2da2a90cc26 100644 --- a/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubPrivateEndpointConnection.cs +++ b/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubPrivateEndpointConnection.cs @@ -80,7 +80,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubSharedPrivateLinkResource.cs b/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubSharedPrivateLinkResource.cs index b50c5748a1b9..db1f0de3e91b 100644 --- a/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubSharedPrivateLinkResource.cs +++ b/sdk/dotnet/WebPubSub/V20210601Preview/WebPubSubSharedPrivateLinkResource.cs @@ -92,7 +92,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSub.cs b/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSub.cs index f83a2476c78e..d33e6364508e 100644 --- a/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSub.cs +++ b/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSub.cs @@ -182,7 +182,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSub"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubPrivateEndpointConnection.cs b/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubPrivateEndpointConnection.cs index ed768a2021ca..310c8c4ef785 100644 --- a/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubPrivateEndpointConnection.cs +++ b/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubPrivateEndpointConnection.cs @@ -80,7 +80,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubSharedPrivateLinkResource.cs b/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubSharedPrivateLinkResource.cs index 872b524d9d98..e6c1c391423b 100644 --- a/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubSharedPrivateLinkResource.cs +++ b/sdk/dotnet/WebPubSub/V20210901Preview/WebPubSubSharedPrivateLinkResource.cs @@ -92,7 +92,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20211001/WebPubSub.cs b/sdk/dotnet/WebPubSub/V20211001/WebPubSub.cs index f6d5b767d26b..838d92c5e7a9 100644 --- a/sdk/dotnet/WebPubSub/V20211001/WebPubSub.cs +++ b/sdk/dotnet/WebPubSub/V20211001/WebPubSub.cs @@ -188,7 +188,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSub"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20211001/WebPubSubHub.cs b/sdk/dotnet/WebPubSub/V20211001/WebPubSubHub.cs index 9ce64f903d6a..4b55dfb647d3 100644 --- a/sdk/dotnet/WebPubSub/V20211001/WebPubSubHub.cs +++ b/sdk/dotnet/WebPubSub/V20211001/WebPubSubHub.cs @@ -65,7 +65,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:webpubsub:WebPubSubHub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubHub"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20211001/WebPubSubPrivateEndpointConnection.cs b/sdk/dotnet/WebPubSub/V20211001/WebPubSubPrivateEndpointConnection.cs index 4aebead0a9cd..a09c0615380a 100644 --- a/sdk/dotnet/WebPubSub/V20211001/WebPubSubPrivateEndpointConnection.cs +++ b/sdk/dotnet/WebPubSub/V20211001/WebPubSubPrivateEndpointConnection.cs @@ -86,7 +86,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20211001/WebPubSubSharedPrivateLinkResource.cs b/sdk/dotnet/WebPubSub/V20211001/WebPubSubSharedPrivateLinkResource.cs index c50d140a7419..2102e256002b 100644 --- a/sdk/dotnet/WebPubSub/V20211001/WebPubSubSharedPrivateLinkResource.cs +++ b/sdk/dotnet/WebPubSub/V20211001/WebPubSubSharedPrivateLinkResource.cs @@ -92,7 +92,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Enums.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Enums.cs deleted file mode 100644 index 87516edf3d1b..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Enums.cs +++ /dev/null @@ -1,258 +0,0 @@ -// *** 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.ComponentModel; -using Pulumi; - -namespace Pulumi.AzureNative.WebPubSub.V20220801Preview -{ - /// - /// Azure Networking ACL Action. - /// - [EnumType] - public readonly struct ACLAction : IEquatable - { - private readonly string _value; - - private ACLAction(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static ACLAction Allow { get; } = new ACLAction("Allow"); - public static ACLAction Deny { get; } = new ACLAction("Deny"); - - public static bool operator ==(ACLAction left, ACLAction right) => left.Equals(right); - public static bool operator !=(ACLAction left, ACLAction right) => !left.Equals(right); - - public static explicit operator string(ACLAction value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is ACLAction other && Equals(other); - public bool Equals(ACLAction other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - [EnumType] - public readonly struct EventListenerEndpointDiscriminator : IEquatable - { - private readonly string _value; - - private EventListenerEndpointDiscriminator(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static EventListenerEndpointDiscriminator EventHub { get; } = new EventListenerEndpointDiscriminator("EventHub"); - - public static bool operator ==(EventListenerEndpointDiscriminator left, EventListenerEndpointDiscriminator right) => left.Equals(right); - public static bool operator !=(EventListenerEndpointDiscriminator left, EventListenerEndpointDiscriminator right) => !left.Equals(right); - - public static explicit operator string(EventListenerEndpointDiscriminator value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is EventListenerEndpointDiscriminator other && Equals(other); - public bool Equals(EventListenerEndpointDiscriminator other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - [EnumType] - public readonly struct EventListenerFilterDiscriminator : IEquatable - { - private readonly string _value; - - private EventListenerFilterDiscriminator(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static EventListenerFilterDiscriminator EventName { get; } = new EventListenerFilterDiscriminator("EventName"); - - public static bool operator ==(EventListenerFilterDiscriminator left, EventListenerFilterDiscriminator right) => left.Equals(right); - public static bool operator !=(EventListenerFilterDiscriminator left, EventListenerFilterDiscriminator right) => !left.Equals(right); - - public static explicit operator string(EventListenerFilterDiscriminator value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is EventListenerFilterDiscriminator other && Equals(other); - public bool Equals(EventListenerFilterDiscriminator other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Represents the identity type: systemAssigned, userAssigned, None - /// - [EnumType] - public readonly struct ManagedIdentityType : IEquatable - { - private readonly string _value; - - private ManagedIdentityType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static ManagedIdentityType None { get; } = new ManagedIdentityType("None"); - public static ManagedIdentityType SystemAssigned { get; } = new ManagedIdentityType("SystemAssigned"); - public static ManagedIdentityType UserAssigned { get; } = new ManagedIdentityType("UserAssigned"); - - public static bool operator ==(ManagedIdentityType left, ManagedIdentityType right) => left.Equals(right); - public static bool operator !=(ManagedIdentityType left, ManagedIdentityType right) => !left.Equals(right); - - public static explicit operator string(ManagedIdentityType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is ManagedIdentityType other && Equals(other); - public bool Equals(ManagedIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - /// - [EnumType] - public readonly struct PrivateLinkServiceConnectionStatus : IEquatable - { - private readonly string _value; - - private PrivateLinkServiceConnectionStatus(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static PrivateLinkServiceConnectionStatus Pending { get; } = new PrivateLinkServiceConnectionStatus("Pending"); - public static PrivateLinkServiceConnectionStatus Approved { get; } = new PrivateLinkServiceConnectionStatus("Approved"); - public static PrivateLinkServiceConnectionStatus Rejected { get; } = new PrivateLinkServiceConnectionStatus("Rejected"); - public static PrivateLinkServiceConnectionStatus Disconnected { get; } = new PrivateLinkServiceConnectionStatus("Disconnected"); - - public static bool operator ==(PrivateLinkServiceConnectionStatus left, PrivateLinkServiceConnectionStatus right) => left.Equals(right); - public static bool operator !=(PrivateLinkServiceConnectionStatus left, PrivateLinkServiceConnectionStatus right) => !left.Equals(right); - - public static explicit operator string(PrivateLinkServiceConnectionStatus value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is PrivateLinkServiceConnectionStatus other && Equals(other); - public bool Equals(PrivateLinkServiceConnectionStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Upstream auth type enum. - /// - [EnumType] - public readonly struct UpstreamAuthType : IEquatable - { - private readonly string _value; - - private UpstreamAuthType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static UpstreamAuthType None { get; } = new UpstreamAuthType("None"); - public static UpstreamAuthType ManagedIdentity { get; } = new UpstreamAuthType("ManagedIdentity"); - - public static bool operator ==(UpstreamAuthType left, UpstreamAuthType right) => left.Equals(right); - public static bool operator !=(UpstreamAuthType left, UpstreamAuthType right) => !left.Equals(right); - - public static explicit operator string(UpstreamAuthType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is UpstreamAuthType other && Equals(other); - public bool Equals(UpstreamAuthType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The incoming request type to the service - /// - [EnumType] - public readonly struct WebPubSubRequestType : IEquatable - { - private readonly string _value; - - private WebPubSubRequestType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static WebPubSubRequestType ClientConnection { get; } = new WebPubSubRequestType("ClientConnection"); - public static WebPubSubRequestType ServerConnection { get; } = new WebPubSubRequestType("ServerConnection"); - public static WebPubSubRequestType RESTAPI { get; } = new WebPubSubRequestType("RESTAPI"); - public static WebPubSubRequestType Trace { get; } = new WebPubSubRequestType("Trace"); - - public static bool operator ==(WebPubSubRequestType left, WebPubSubRequestType right) => left.Equals(right); - public static bool operator !=(WebPubSubRequestType left, WebPubSubRequestType right) => !left.Equals(right); - - public static explicit operator string(WebPubSubRequestType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is WebPubSubRequestType other && Equals(other); - public bool Equals(WebPubSubRequestType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Optional tier of this particular SKU. 'Standard' or 'Free'. - /// - /// `Basic` is deprecated, use `Standard` instead. - /// - [EnumType] - public readonly struct WebPubSubSkuTier : IEquatable - { - private readonly string _value; - - private WebPubSubSkuTier(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static WebPubSubSkuTier Free { get; } = new WebPubSubSkuTier("Free"); - public static WebPubSubSkuTier Basic { get; } = new WebPubSubSkuTier("Basic"); - public static WebPubSubSkuTier Standard { get; } = new WebPubSubSkuTier("Standard"); - public static WebPubSubSkuTier Premium { get; } = new WebPubSubSkuTier("Premium"); - - public static bool operator ==(WebPubSubSkuTier left, WebPubSubSkuTier right) => left.Equals(right); - public static bool operator !=(WebPubSubSkuTier left, WebPubSubSkuTier right) => !left.Equals(right); - - public static explicit operator string(WebPubSubSkuTier value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is WebPubSubSkuTier other && Equals(other); - public bool Equals(WebPubSubSkuTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSub.cs b/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSub.cs deleted file mode 100644 index 105885d697df..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSub.cs +++ /dev/null @@ -1,251 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - public static class GetWebPubSub - { - /// - /// A class represent a resource. - /// - public static Task InvokeAsync(GetWebPubSubArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:webpubsub/v20220801preview:getWebPubSub", args ?? new GetWebPubSubArgs(), options.WithDefaults()); - - /// - /// A class represent a resource. - /// - public static Output Invoke(GetWebPubSubInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSub", args ?? new GetWebPubSubInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetWebPubSubArgs : 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 resource. - /// - [Input("resourceName", required: true)] - public string ResourceName { get; set; } = null!; - - public GetWebPubSubArgs() - { - } - public static new GetWebPubSubArgs Empty => new GetWebPubSubArgs(); - } - - public sealed class GetWebPubSubInvokeArgs : 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - public GetWebPubSubInvokeArgs() - { - } - public static new GetWebPubSubInvokeArgs Empty => new GetWebPubSubInvokeArgs(); - } - - - [OutputType] - public sealed class GetWebPubSubResult - { - /// - /// DisableLocalAuth - /// Enable or disable aad auth - /// When set as true, connection with AuthType=aad won't work. - /// - public readonly bool? DisableAadAuth; - /// - /// DisableLocalAuth - /// Enable or disable local auth with AccessKey - /// When set as true, connection with AccessKey=xxx won't work. - /// - public readonly bool? DisableLocalAuth; - /// - /// The publicly accessible IP of the resource. - /// - public readonly string ExternalIP; - /// - /// FQDN of the service instance. - /// - public readonly string HostName; - /// - /// Deprecated. - /// - public readonly string HostNamePrefix; - /// - /// Fully qualified resource Id for the resource. - /// - public readonly string Id; - /// - /// A class represent managed identities used for request and response - /// - public readonly Outputs.ManagedIdentityResponse? Identity; - /// - /// Live trace configuration of a Microsoft.SignalRService resource. - /// - public readonly Outputs.LiveTraceConfigurationResponse? LiveTraceConfiguration; - /// - /// The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - /// - public readonly string? Location; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// Network ACLs for the resource - /// - public readonly Outputs.WebPubSubNetworkACLsResponse? NetworkACLs; - /// - /// Private endpoint connections to the resource. - /// - public readonly ImmutableArray PrivateEndpointConnections; - /// - /// Provisioning state of the resource. - /// - public readonly string ProvisioningState; - /// - /// Enable or disable public network access. Default to "Enabled". - /// When it's Enabled, network ACLs still apply. - /// When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - /// - public readonly string? PublicNetworkAccess; - /// - /// The publicly accessible port of the resource which is designed for browser/client side usage. - /// - public readonly int PublicPort; - /// - /// Resource log configuration of a Microsoft.SignalRService resource. - /// - public readonly Outputs.ResourceLogConfigurationResponse? ResourceLogConfiguration; - /// - /// The publicly accessible port of the resource which is designed for customer server side usage. - /// - public readonly int ServerPort; - /// - /// The list of shared private link resources. - /// - public readonly ImmutableArray SharedPrivateLinkResources; - /// - /// The billing information of the resource. - /// - public readonly Outputs.ResourceSkuResponse? Sku; - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// Tags of the service which is a list of key value pairs that describe the resource. - /// - public readonly ImmutableDictionary? Tags; - /// - /// TLS settings for the resource - /// - public readonly Outputs.WebPubSubTlsSettingsResponse? Tls; - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - public readonly string Type; - /// - /// Version of the resource. Probably you need the same or higher version of client SDKs. - /// - public readonly string Version; - - [OutputConstructor] - private GetWebPubSubResult( - bool? disableAadAuth, - - bool? disableLocalAuth, - - string externalIP, - - string hostName, - - string hostNamePrefix, - - string id, - - Outputs.ManagedIdentityResponse? identity, - - Outputs.LiveTraceConfigurationResponse? liveTraceConfiguration, - - string? location, - - string name, - - Outputs.WebPubSubNetworkACLsResponse? networkACLs, - - ImmutableArray privateEndpointConnections, - - string provisioningState, - - string? publicNetworkAccess, - - int publicPort, - - Outputs.ResourceLogConfigurationResponse? resourceLogConfiguration, - - int serverPort, - - ImmutableArray sharedPrivateLinkResources, - - Outputs.ResourceSkuResponse? sku, - - Outputs.SystemDataResponse systemData, - - ImmutableDictionary? tags, - - Outputs.WebPubSubTlsSettingsResponse? tls, - - string type, - - string version) - { - DisableAadAuth = disableAadAuth; - DisableLocalAuth = disableLocalAuth; - ExternalIP = externalIP; - HostName = hostName; - HostNamePrefix = hostNamePrefix; - Id = id; - Identity = identity; - LiveTraceConfiguration = liveTraceConfiguration; - Location = location; - Name = name; - NetworkACLs = networkACLs; - PrivateEndpointConnections = privateEndpointConnections; - ProvisioningState = provisioningState; - PublicNetworkAccess = publicNetworkAccess; - PublicPort = publicPort; - ResourceLogConfiguration = resourceLogConfiguration; - ServerPort = serverPort; - SharedPrivateLinkResources = sharedPrivateLinkResources; - Sku = sku; - SystemData = systemData; - Tags = tags; - Tls = tls; - Type = type; - Version = version; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubCustomCertificate.cs b/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubCustomCertificate.cs deleted file mode 100644 index eaffdb676438..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubCustomCertificate.cs +++ /dev/null @@ -1,145 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - public static class GetWebPubSubCustomCertificate - { - /// - /// A custom certificate. - /// - public static Task InvokeAsync(GetWebPubSubCustomCertificateArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:webpubsub/v20220801preview:getWebPubSubCustomCertificate", args ?? new GetWebPubSubCustomCertificateArgs(), options.WithDefaults()); - - /// - /// A custom certificate. - /// - public static Output Invoke(GetWebPubSubCustomCertificateInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubCustomCertificate", args ?? new GetWebPubSubCustomCertificateInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetWebPubSubCustomCertificateArgs : global::Pulumi.InvokeArgs - { - /// - /// Custom certificate name - /// - [Input("certificateName", required: true)] - public string CertificateName { 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 resource. - /// - [Input("resourceName", required: true)] - public string ResourceName { get; set; } = null!; - - public GetWebPubSubCustomCertificateArgs() - { - } - public static new GetWebPubSubCustomCertificateArgs Empty => new GetWebPubSubCustomCertificateArgs(); - } - - public sealed class GetWebPubSubCustomCertificateInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Custom certificate name - /// - [Input("certificateName", required: true)] - public Input CertificateName { 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - public GetWebPubSubCustomCertificateInvokeArgs() - { - } - public static new GetWebPubSubCustomCertificateInvokeArgs Empty => new GetWebPubSubCustomCertificateInvokeArgs(); - } - - - [OutputType] - public sealed class GetWebPubSubCustomCertificateResult - { - /// - /// Fully qualified resource Id for the resource. - /// - public readonly string Id; - /// - /// Base uri of the KeyVault that stores certificate. - /// - public readonly string KeyVaultBaseUri; - /// - /// Certificate secret name. - /// - public readonly string KeyVaultSecretName; - /// - /// Certificate secret version. - /// - public readonly string? KeyVaultSecretVersion; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// Provisioning state of the resource. - /// - public readonly string ProvisioningState; - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - public readonly string Type; - - [OutputConstructor] - private GetWebPubSubCustomCertificateResult( - string id, - - string keyVaultBaseUri, - - string keyVaultSecretName, - - string? keyVaultSecretVersion, - - string name, - - string provisioningState, - - Outputs.SystemDataResponse systemData, - - string type) - { - Id = id; - KeyVaultBaseUri = keyVaultBaseUri; - KeyVaultSecretName = keyVaultSecretName; - KeyVaultSecretVersion = keyVaultSecretVersion; - Name = name; - ProvisioningState = provisioningState; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubCustomDomain.cs b/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubCustomDomain.cs deleted file mode 100644 index 11cf3cc19099..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubCustomDomain.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - public static class GetWebPubSubCustomDomain - { - /// - /// A custom domain - /// - public static Task InvokeAsync(GetWebPubSubCustomDomainArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:webpubsub/v20220801preview:getWebPubSubCustomDomain", args ?? new GetWebPubSubCustomDomainArgs(), options.WithDefaults()); - - /// - /// A custom domain - /// - public static Output Invoke(GetWebPubSubCustomDomainInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubCustomDomain", args ?? new GetWebPubSubCustomDomainInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetWebPubSubCustomDomainArgs : global::Pulumi.InvokeArgs - { - /// - /// Custom domain name. - /// - [Input("name", required: true)] - public string Name { 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 resource. - /// - [Input("resourceName", required: true)] - public string ResourceName { get; set; } = null!; - - public GetWebPubSubCustomDomainArgs() - { - } - public static new GetWebPubSubCustomDomainArgs Empty => new GetWebPubSubCustomDomainArgs(); - } - - public sealed class GetWebPubSubCustomDomainInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Custom domain name. - /// - [Input("name", required: true)] - public Input Name { 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - public GetWebPubSubCustomDomainInvokeArgs() - { - } - public static new GetWebPubSubCustomDomainInvokeArgs Empty => new GetWebPubSubCustomDomainInvokeArgs(); - } - - - [OutputType] - public sealed class GetWebPubSubCustomDomainResult - { - /// - /// Reference to a resource. - /// - public readonly Outputs.ResourceReferenceResponse CustomCertificate; - /// - /// The custom domain name. - /// - public readonly string DomainName; - /// - /// Fully qualified resource Id for the resource. - /// - public readonly string Id; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// Provisioning state of the resource. - /// - public readonly string ProvisioningState; - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - public readonly string Type; - - [OutputConstructor] - private GetWebPubSubCustomDomainResult( - Outputs.ResourceReferenceResponse customCertificate, - - string domainName, - - string id, - - string name, - - string provisioningState, - - Outputs.SystemDataResponse systemData, - - string type) - { - CustomCertificate = customCertificate; - DomainName = domainName; - Id = id; - Name = name; - ProvisioningState = provisioningState; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubPrivateEndpointConnection.cs b/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubPrivateEndpointConnection.cs deleted file mode 100644 index d220b870c4ef..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubPrivateEndpointConnection.cs +++ /dev/null @@ -1,145 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - public static class GetWebPubSubPrivateEndpointConnection - { - /// - /// A private endpoint connection to an azure resource - /// - public static Task InvokeAsync(GetWebPubSubPrivateEndpointConnectionArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:webpubsub/v20220801preview:getWebPubSubPrivateEndpointConnection", args ?? new GetWebPubSubPrivateEndpointConnectionArgs(), options.WithDefaults()); - - /// - /// A private endpoint connection to an azure resource - /// - public static Output Invoke(GetWebPubSubPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubPrivateEndpointConnection", args ?? new GetWebPubSubPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetWebPubSubPrivateEndpointConnectionArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the private endpoint connection - /// - [Input("privateEndpointConnectionName", required: true)] - public string PrivateEndpointConnectionName { 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 resource. - /// - [Input("resourceName", required: true)] - public string ResourceName { get; set; } = null!; - - public GetWebPubSubPrivateEndpointConnectionArgs() - { - } - public static new GetWebPubSubPrivateEndpointConnectionArgs Empty => new GetWebPubSubPrivateEndpointConnectionArgs(); - } - - public sealed class GetWebPubSubPrivateEndpointConnectionInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the private endpoint connection - /// - [Input("privateEndpointConnectionName", required: true)] - public Input PrivateEndpointConnectionName { 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - public GetWebPubSubPrivateEndpointConnectionInvokeArgs() - { - } - public static new GetWebPubSubPrivateEndpointConnectionInvokeArgs Empty => new GetWebPubSubPrivateEndpointConnectionInvokeArgs(); - } - - - [OutputType] - public sealed class GetWebPubSubPrivateEndpointConnectionResult - { - /// - /// Group IDs - /// - public readonly ImmutableArray GroupIds; - /// - /// Fully qualified resource Id for the resource. - /// - public readonly string Id; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// Private endpoint - /// - public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; - /// - /// Connection state of the private endpoint connection - /// - public readonly Outputs.PrivateLinkServiceConnectionStateResponse? PrivateLinkServiceConnectionState; - /// - /// Provisioning state of the resource. - /// - public readonly string ProvisioningState; - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - public readonly string Type; - - [OutputConstructor] - private GetWebPubSubPrivateEndpointConnectionResult( - ImmutableArray groupIds, - - string id, - - string name, - - Outputs.PrivateEndpointResponse? privateEndpoint, - - Outputs.PrivateLinkServiceConnectionStateResponse? privateLinkServiceConnectionState, - - string provisioningState, - - Outputs.SystemDataResponse systemData, - - string type) - { - GroupIds = groupIds; - Id = id; - Name = name; - PrivateEndpoint = privateEndpoint; - PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; - ProvisioningState = provisioningState; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubSharedPrivateLinkResource.cs b/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubSharedPrivateLinkResource.cs deleted file mode 100644 index cb00d46e8815..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/GetWebPubSubSharedPrivateLinkResource.cs +++ /dev/null @@ -1,152 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - public static class GetWebPubSubSharedPrivateLinkResource - { - /// - /// Describes a Shared Private Link Resource - /// - public static Task InvokeAsync(GetWebPubSubSharedPrivateLinkResourceArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:webpubsub/v20220801preview:getWebPubSubSharedPrivateLinkResource", args ?? new GetWebPubSubSharedPrivateLinkResourceArgs(), options.WithDefaults()); - - /// - /// Describes a Shared Private Link Resource - /// - public static Output Invoke(GetWebPubSubSharedPrivateLinkResourceInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubSharedPrivateLinkResource", args ?? new GetWebPubSubSharedPrivateLinkResourceInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetWebPubSubSharedPrivateLinkResourceArgs : 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 resource. - /// - [Input("resourceName", required: true)] - public string ResourceName { get; set; } = null!; - - /// - /// The name of the shared private link resource - /// - [Input("sharedPrivateLinkResourceName", required: true)] - public string SharedPrivateLinkResourceName { get; set; } = null!; - - public GetWebPubSubSharedPrivateLinkResourceArgs() - { - } - public static new GetWebPubSubSharedPrivateLinkResourceArgs Empty => new GetWebPubSubSharedPrivateLinkResourceArgs(); - } - - public sealed class GetWebPubSubSharedPrivateLinkResourceInvokeArgs : 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - /// - /// The name of the shared private link resource - /// - [Input("sharedPrivateLinkResourceName", required: true)] - public Input SharedPrivateLinkResourceName { get; set; } = null!; - - public GetWebPubSubSharedPrivateLinkResourceInvokeArgs() - { - } - public static new GetWebPubSubSharedPrivateLinkResourceInvokeArgs Empty => new GetWebPubSubSharedPrivateLinkResourceInvokeArgs(); - } - - - [OutputType] - public sealed class GetWebPubSubSharedPrivateLinkResourceResult - { - /// - /// The group id from the provider of resource the shared private link resource is for - /// - public readonly string GroupId; - /// - /// Fully qualified resource Id for the resource. - /// - public readonly string Id; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// The resource id of the resource the shared private link resource is for - /// - public readonly string PrivateLinkResourceId; - /// - /// Provisioning state of the resource. - /// - public readonly string ProvisioningState; - /// - /// The request message for requesting approval of the shared private link resource - /// - public readonly string? RequestMessage; - /// - /// Status of the shared private link resource - /// - public readonly string Status; - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - public readonly string Type; - - [OutputConstructor] - private GetWebPubSubSharedPrivateLinkResourceResult( - string groupId, - - string id, - - string name, - - string privateLinkResourceId, - - string provisioningState, - - string? requestMessage, - - string status, - - Outputs.SystemDataResponse systemData, - - string type) - { - GroupId = groupId; - Id = id; - Name = name; - PrivateLinkResourceId = privateLinkResourceId; - ProvisioningState = provisioningState; - RequestMessage = requestMessage; - Status = status; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventHandlerArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventHandlerArgs.cs deleted file mode 100644 index fb406f1d1499..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventHandlerArgs.cs +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Properties of event handler. - /// - public sealed class EventHandlerArgs : global::Pulumi.ResourceArgs - { - /// - /// Upstream auth settings. If not set, no auth is used for upstream messages. - /// - [Input("auth")] - public Input? Auth { get; set; } - - [Input("systemEvents")] - private InputList? _systemEvents; - - /// - /// Gets or sets the list of system events. - /// - public InputList SystemEvents - { - get => _systemEvents ?? (_systemEvents = new InputList()); - set => _systemEvents = value; - } - - /// - /// Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - /// For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - /// - [Input("urlTemplate", required: true)] - public Input UrlTemplate { get; set; } = null!; - - /// - /// Gets or sets the matching pattern for event names. - /// There are 3 kinds of patterns supported: - /// 1. "*", it matches any event name - /// 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - /// 3. A single event name, for example, "event1", it matches "event1" - /// - [Input("userEventPattern")] - public Input? UserEventPattern { get; set; } - - public EventHandlerArgs() - { - } - public static new EventHandlerArgs Empty => new EventHandlerArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventHubEndpointArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventHubEndpointArgs.cs deleted file mode 100644 index 92df9df42990..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventHubEndpointArgs.cs +++ /dev/null @@ -1,43 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// An Event Hub endpoint. - /// The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. - /// - public sealed class EventHubEndpointArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the Event Hub. - /// - [Input("eventHubName", required: true)] - public Input EventHubName { get; set; } = null!; - - /// - /// The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - /// - [Input("fullyQualifiedNamespace", required: true)] - public Input FullyQualifiedNamespace { get; set; } = null!; - - /// - /// - /// Expected value is 'EventHub'. - /// - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - public EventHubEndpointArgs() - { - } - public static new EventHubEndpointArgs Empty => new EventHubEndpointArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventListenerArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventListenerArgs.cs deleted file mode 100644 index 1c0a0bb7f8e1..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventListenerArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// A setting defines which kinds of events should be sent to which endpoint. - /// - public sealed class EventListenerArgs : global::Pulumi.ResourceArgs - { - /// - /// An endpoint specifying where Web PubSub should send events to. - /// - [Input("endpoint", required: true)] - public Input Endpoint { get; set; } = null!; - - /// - /// A base class for event filter which determines whether an event should be sent to an event listener. - /// - [Input("filter", required: true)] - public Input Filter { get; set; } = null!; - - public EventListenerArgs() - { - } - public static new EventListenerArgs Empty => new EventListenerArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventNameFilterArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventNameFilterArgs.cs deleted file mode 100644 index 628efefd3c9f..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/EventNameFilterArgs.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Filter events by their name. - /// - public sealed class EventNameFilterArgs : global::Pulumi.ResourceArgs - { - [Input("systemEvents")] - private InputList? _systemEvents; - - /// - /// Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - /// - public InputList SystemEvents - { - get => _systemEvents ?? (_systemEvents = new InputList()); - set => _systemEvents = value; - } - - /// - /// - /// Expected value is 'EventName'. - /// - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - /// - /// Gets or sets a matching pattern for event names. - /// There are 3 kinds of patterns supported: - /// 1. "*", it matches any event name - /// 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - /// 3. A single event name, for example, "event1", it matches "event1" - /// - [Input("userEventPattern")] - public Input? UserEventPattern { get; set; } - - public EventNameFilterArgs() - { - } - public static new EventNameFilterArgs Empty => new EventNameFilterArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/LiveTraceCategoryArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/LiveTraceCategoryArgs.cs deleted file mode 100644 index 2628e2dd337e..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/LiveTraceCategoryArgs.cs +++ /dev/null @@ -1,39 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Live trace category configuration of a Microsoft.SignalRService resource. - /// - public sealed class LiveTraceCategoryArgs : global::Pulumi.ResourceArgs - { - /// - /// Indicates whether or the live trace category is enabled. - /// Available values: true, false. - /// Case insensitive. - /// - [Input("enabled")] - public Input? Enabled { get; set; } - - /// - /// Gets or sets the live trace category's name. - /// Available values: ConnectivityLogs, MessagingLogs. - /// Case insensitive. - /// - [Input("name")] - public Input? Name { get; set; } - - public LiveTraceCategoryArgs() - { - } - public static new LiveTraceCategoryArgs Empty => new LiveTraceCategoryArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/LiveTraceConfigurationArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/LiveTraceConfigurationArgs.cs deleted file mode 100644 index 192215ff5c46..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/LiveTraceConfigurationArgs.cs +++ /dev/null @@ -1,46 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Live trace configuration of a Microsoft.SignalRService resource. - /// - public sealed class LiveTraceConfigurationArgs : global::Pulumi.ResourceArgs - { - [Input("categories")] - private InputList? _categories; - - /// - /// Gets or sets the list of category configurations. - /// - public InputList Categories - { - get => _categories ?? (_categories = new InputList()); - set => _categories = value; - } - - /// - /// Indicates whether or not enable live trace. - /// When it's set to true, live trace client can connect to the service. - /// Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - /// Available values: true, false. - /// Case insensitive. - /// - [Input("enabled")] - public Input? Enabled { get; set; } - - public LiveTraceConfigurationArgs() - { - Enabled = "false"; - } - public static new LiveTraceConfigurationArgs Empty => new LiveTraceConfigurationArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ManagedIdentityArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ManagedIdentityArgs.cs deleted file mode 100644 index 0af1882d6412..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ManagedIdentityArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// A class represent managed identities used for request and response - /// - public sealed class ManagedIdentityArgs : global::Pulumi.ResourceArgs - { - /// - /// Represents the identity type: systemAssigned, userAssigned, None - /// - [Input("type")] - public InputUnion? Type { get; set; } - - [Input("userAssignedIdentities")] - private InputMap? _userAssignedIdentities; - - /// - /// Get or set the user assigned identities - /// - public InputMap UserAssignedIdentities - { - get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputMap()); - set => _userAssignedIdentities = value; - } - - public ManagedIdentityArgs() - { - } - public static new ManagedIdentityArgs Empty => new ManagedIdentityArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ManagedIdentitySettingsArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ManagedIdentitySettingsArgs.cs deleted file mode 100644 index e5b87884ad0f..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ManagedIdentitySettingsArgs.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Managed identity settings for upstream. - /// - public sealed class ManagedIdentitySettingsArgs : global::Pulumi.ResourceArgs - { - /// - /// The Resource indicating the App ID URI of the target resource. - /// It also appears in the aud (audience) claim of the issued token. - /// - [Input("resource")] - public Input? Resource { get; set; } - - public ManagedIdentitySettingsArgs() - { - } - public static new ManagedIdentitySettingsArgs Empty => new ManagedIdentitySettingsArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/NetworkACLArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/NetworkACLArgs.cs deleted file mode 100644 index c270f35e42a4..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/NetworkACLArgs.cs +++ /dev/null @@ -1,47 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Network ACL - /// - public sealed class NetworkACLArgs : global::Pulumi.ResourceArgs - { - [Input("allow")] - private InputList>? _allow; - - /// - /// Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public InputList> Allow - { - get => _allow ?? (_allow = new InputList>()); - set => _allow = value; - } - - [Input("deny")] - private InputList>? _deny; - - /// - /// Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public InputList> Deny - { - get => _deny ?? (_deny = new InputList>()); - set => _deny = value; - } - - public NetworkACLArgs() - { - } - public static new NetworkACLArgs Empty => new NetworkACLArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateEndpointACLArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateEndpointACLArgs.cs deleted file mode 100644 index 313eba3ed1b4..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateEndpointACLArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// ACL for a private endpoint - /// - public sealed class PrivateEndpointACLArgs : global::Pulumi.ResourceArgs - { - [Input("allow")] - private InputList>? _allow; - - /// - /// Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public InputList> Allow - { - get => _allow ?? (_allow = new InputList>()); - set => _allow = value; - } - - [Input("deny")] - private InputList>? _deny; - - /// - /// Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public InputList> Deny - { - get => _deny ?? (_deny = new InputList>()); - set => _deny = value; - } - - /// - /// Name of the private endpoint connection - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - public PrivateEndpointACLArgs() - { - } - public static new PrivateEndpointACLArgs Empty => new PrivateEndpointACLArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateEndpointArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateEndpointArgs.cs deleted file mode 100644 index b20362a63b1b..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateEndpointArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Private endpoint - /// - public sealed class PrivateEndpointArgs : global::Pulumi.ResourceArgs - { - /// - /// Full qualified Id of the private endpoint - /// - [Input("id")] - public Input? Id { get; set; } - - public PrivateEndpointArgs() - { - } - public static new PrivateEndpointArgs Empty => new PrivateEndpointArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateLinkServiceConnectionStateArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateLinkServiceConnectionStateArgs.cs deleted file mode 100644 index 04161540b3b1..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/PrivateLinkServiceConnectionStateArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Connection state of the private endpoint connection - /// - public sealed class PrivateLinkServiceConnectionStateArgs : global::Pulumi.ResourceArgs - { - /// - /// A message indicating if changes on the service provider require any updates on the consumer. - /// - [Input("actionsRequired")] - public Input? ActionsRequired { get; set; } - - /// - /// The reason for approval/rejection of the connection. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - /// - [Input("status")] - public InputUnion? Status { get; set; } - - public PrivateLinkServiceConnectionStateArgs() - { - } - public static new PrivateLinkServiceConnectionStateArgs Empty => new PrivateLinkServiceConnectionStateArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceLogCategoryArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceLogCategoryArgs.cs deleted file mode 100644 index 91b1ce3d5542..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceLogCategoryArgs.cs +++ /dev/null @@ -1,39 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Resource log category configuration of a Microsoft.SignalRService resource. - /// - public sealed class ResourceLogCategoryArgs : global::Pulumi.ResourceArgs - { - /// - /// Indicates whether or the resource log category is enabled. - /// Available values: true, false. - /// Case insensitive. - /// - [Input("enabled")] - public Input? Enabled { get; set; } - - /// - /// Gets or sets the resource log category's name. - /// Available values: ConnectivityLogs, MessagingLogs. - /// Case insensitive. - /// - [Input("name")] - public Input? Name { get; set; } - - public ResourceLogCategoryArgs() - { - } - public static new ResourceLogCategoryArgs Empty => new ResourceLogCategoryArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceLogConfigurationArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceLogConfigurationArgs.cs deleted file mode 100644 index 3f99e4b27cfc..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceLogConfigurationArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Resource log configuration of a Microsoft.SignalRService resource. - /// - public sealed class ResourceLogConfigurationArgs : global::Pulumi.ResourceArgs - { - [Input("categories")] - private InputList? _categories; - - /// - /// Gets or sets the list of category configurations. - /// - public InputList Categories - { - get => _categories ?? (_categories = new InputList()); - set => _categories = value; - } - - public ResourceLogConfigurationArgs() - { - } - public static new ResourceLogConfigurationArgs Empty => new ResourceLogConfigurationArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceReferenceArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceReferenceArgs.cs deleted file mode 100644 index 6ce30d8152ab..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceReferenceArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Reference to a resource. - /// - public sealed class ResourceReferenceArgs : global::Pulumi.ResourceArgs - { - /// - /// Resource ID. - /// - [Input("id")] - public Input? Id { get; set; } - - public ResourceReferenceArgs() - { - } - public static new ResourceReferenceArgs Empty => new ResourceReferenceArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceSkuArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceSkuArgs.cs deleted file mode 100644 index 3f718543ce7f..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/ResourceSkuArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// The billing information of the resource. - /// - public sealed class ResourceSkuArgs : global::Pulumi.ResourceArgs - { - /// - /// Optional, integer. The unit count of the resource. 1 by default. - /// - /// If present, following values are allowed: - /// Free: 1; - /// Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - /// Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - /// - [Input("capacity")] - public Input? Capacity { get; set; } - - /// - /// The name of the SKU. Required. - /// - /// Allowed values: Standard_S1, Free_F1, Premium_P1 - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - /// - /// Optional tier of this particular SKU. 'Standard' or 'Free'. - /// - /// `Basic` is deprecated, use `Standard` instead. - /// - [Input("tier")] - public InputUnion? Tier { get; set; } - - public ResourceSkuArgs() - { - } - public static new ResourceSkuArgs Empty => new ResourceSkuArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/UpstreamAuthSettingsArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/UpstreamAuthSettingsArgs.cs deleted file mode 100644 index 0c6e5dca7f68..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/UpstreamAuthSettingsArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Upstream auth settings. If not set, no auth is used for upstream messages. - /// - public sealed class UpstreamAuthSettingsArgs : global::Pulumi.ResourceArgs - { - /// - /// Managed identity settings for upstream. - /// - [Input("managedIdentity")] - public Input? ManagedIdentity { get; set; } - - /// - /// Upstream auth type enum. - /// - [Input("type")] - public InputUnion? Type { get; set; } - - public UpstreamAuthSettingsArgs() - { - } - public static new UpstreamAuthSettingsArgs Empty => new UpstreamAuthSettingsArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubHubPropertiesArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubHubPropertiesArgs.cs deleted file mode 100644 index 5c08596d13c5..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubHubPropertiesArgs.cs +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Properties of a hub. - /// - public sealed class WebPubSubHubPropertiesArgs : global::Pulumi.ResourceArgs - { - /// - /// The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". - /// - [Input("anonymousConnectPolicy")] - public Input? AnonymousConnectPolicy { get; set; } - - [Input("eventHandlers")] - private InputList? _eventHandlers; - - /// - /// Event handler of a hub. - /// - public InputList EventHandlers - { - get => _eventHandlers ?? (_eventHandlers = new InputList()); - set => _eventHandlers = value; - } - - [Input("eventListeners")] - private InputList? _eventListeners; - - /// - /// Event listener settings for forwarding your client events to listeners. - /// Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - /// One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - /// Maximum count of event listeners among all hubs is 10. - /// - public InputList EventListeners - { - get => _eventListeners ?? (_eventListeners = new InputList()); - set => _eventListeners = value; - } - - public WebPubSubHubPropertiesArgs() - { - AnonymousConnectPolicy = "deny"; - } - public static new WebPubSubHubPropertiesArgs Empty => new WebPubSubHubPropertiesArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubNetworkACLsArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubNetworkACLsArgs.cs deleted file mode 100644 index b1fb410a07e5..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubNetworkACLsArgs.cs +++ /dev/null @@ -1,47 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// Network ACLs for the resource - /// - public sealed class WebPubSubNetworkACLsArgs : global::Pulumi.ResourceArgs - { - /// - /// Azure Networking ACL Action. - /// - [Input("defaultAction")] - public InputUnion? DefaultAction { get; set; } - - [Input("privateEndpoints")] - private InputList? _privateEndpoints; - - /// - /// ACLs for requests from private endpoints - /// - public InputList PrivateEndpoints - { - get => _privateEndpoints ?? (_privateEndpoints = new InputList()); - set => _privateEndpoints = value; - } - - /// - /// Network ACL - /// - [Input("publicNetwork")] - public Input? PublicNetwork { get; set; } - - public WebPubSubNetworkACLsArgs() - { - } - public static new WebPubSubNetworkACLsArgs Empty => new WebPubSubNetworkACLsArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubTlsSettingsArgs.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubTlsSettingsArgs.cs deleted file mode 100644 index 7786765079b7..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Inputs/WebPubSubTlsSettingsArgs.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Inputs -{ - - /// - /// TLS settings for the resource - /// - public sealed class WebPubSubTlsSettingsArgs : global::Pulumi.ResourceArgs - { - /// - /// Request client certificate during TLS handshake if enabled - /// - [Input("clientCertEnabled")] - public Input? ClientCertEnabled { get; set; } - - public WebPubSubTlsSettingsArgs() - { - ClientCertEnabled = true; - } - public static new WebPubSubTlsSettingsArgs Empty => new WebPubSubTlsSettingsArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/ListWebPubSubKeys.cs b/sdk/dotnet/WebPubSub/V20220801Preview/ListWebPubSubKeys.cs deleted file mode 100644 index 6c7df2a79f2c..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/ListWebPubSubKeys.cs +++ /dev/null @@ -1,105 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - public static class ListWebPubSubKeys - { - /// - /// A class represents the access keys of the resource. - /// - public static Task InvokeAsync(ListWebPubSubKeysArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:webpubsub/v20220801preview:listWebPubSubKeys", args ?? new ListWebPubSubKeysArgs(), options.WithDefaults()); - - /// - /// A class represents the access keys of the resource. - /// - public static Output Invoke(ListWebPubSubKeysInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:webpubsub/v20220801preview:listWebPubSubKeys", args ?? new ListWebPubSubKeysInvokeArgs(), options.WithDefaults()); - } - - - public sealed class ListWebPubSubKeysArgs : 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 resource. - /// - [Input("resourceName", required: true)] - public string ResourceName { get; set; } = null!; - - public ListWebPubSubKeysArgs() - { - } - public static new ListWebPubSubKeysArgs Empty => new ListWebPubSubKeysArgs(); - } - - public sealed class ListWebPubSubKeysInvokeArgs : 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - public ListWebPubSubKeysInvokeArgs() - { - } - public static new ListWebPubSubKeysInvokeArgs Empty => new ListWebPubSubKeysInvokeArgs(); - } - - - [OutputType] - public sealed class ListWebPubSubKeysResult - { - /// - /// Connection string constructed via the primaryKey - /// - public readonly string? PrimaryConnectionString; - /// - /// The primary access key. - /// - public readonly string? PrimaryKey; - /// - /// Connection string constructed via the secondaryKey - /// - public readonly string? SecondaryConnectionString; - /// - /// The secondary access key. - /// - public readonly string? SecondaryKey; - - [OutputConstructor] - private ListWebPubSubKeysResult( - string? primaryConnectionString, - - string? primaryKey, - - string? secondaryConnectionString, - - string? secondaryKey) - { - PrimaryConnectionString = primaryConnectionString; - PrimaryKey = primaryKey; - SecondaryConnectionString = secondaryConnectionString; - SecondaryKey = secondaryKey; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventHandlerResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventHandlerResponse.cs deleted file mode 100644 index 57e2407d7480..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventHandlerResponse.cs +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Properties of event handler. - /// - [OutputType] - public sealed class EventHandlerResponse - { - /// - /// Upstream auth settings. If not set, no auth is used for upstream messages. - /// - public readonly Outputs.UpstreamAuthSettingsResponse? Auth; - /// - /// Gets or sets the list of system events. - /// - public readonly ImmutableArray SystemEvents; - /// - /// Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - /// For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - /// - public readonly string UrlTemplate; - /// - /// Gets or sets the matching pattern for event names. - /// There are 3 kinds of patterns supported: - /// 1. "*", it matches any event name - /// 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - /// 3. A single event name, for example, "event1", it matches "event1" - /// - public readonly string? UserEventPattern; - - [OutputConstructor] - private EventHandlerResponse( - Outputs.UpstreamAuthSettingsResponse? auth, - - ImmutableArray systemEvents, - - string urlTemplate, - - string? userEventPattern) - { - Auth = auth; - SystemEvents = systemEvents; - UrlTemplate = urlTemplate; - UserEventPattern = userEventPattern; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventHubEndpointResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventHubEndpointResponse.cs deleted file mode 100644 index 8c69e275896a..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventHubEndpointResponse.cs +++ /dev/null @@ -1,47 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// An Event Hub endpoint. - /// The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. - /// - [OutputType] - public sealed class EventHubEndpointResponse - { - /// - /// The name of the Event Hub. - /// - public readonly string EventHubName; - /// - /// The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - /// - public readonly string FullyQualifiedNamespace; - /// - /// - /// Expected value is 'EventHub'. - /// - public readonly string Type; - - [OutputConstructor] - private EventHubEndpointResponse( - string eventHubName, - - string fullyQualifiedNamespace, - - string type) - { - EventHubName = eventHubName; - FullyQualifiedNamespace = fullyQualifiedNamespace; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventListenerResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventListenerResponse.cs deleted file mode 100644 index eeebd0e2e3b8..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventListenerResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// A setting defines which kinds of events should be sent to which endpoint. - /// - [OutputType] - public sealed class EventListenerResponse - { - /// - /// An endpoint specifying where Web PubSub should send events to. - /// - public readonly Outputs.EventHubEndpointResponse Endpoint; - /// - /// A base class for event filter which determines whether an event should be sent to an event listener. - /// - public readonly Outputs.EventNameFilterResponse Filter; - - [OutputConstructor] - private EventListenerResponse( - Outputs.EventHubEndpointResponse endpoint, - - Outputs.EventNameFilterResponse filter) - { - Endpoint = endpoint; - Filter = filter; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventNameFilterResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventNameFilterResponse.cs deleted file mode 100644 index d34cb5c4374e..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/EventNameFilterResponse.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Filter events by their name. - /// - [OutputType] - public sealed class EventNameFilterResponse - { - /// - /// Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - /// - public readonly ImmutableArray SystemEvents; - /// - /// - /// Expected value is 'EventName'. - /// - public readonly string Type; - /// - /// Gets or sets a matching pattern for event names. - /// There are 3 kinds of patterns supported: - /// 1. "*", it matches any event name - /// 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - /// 3. A single event name, for example, "event1", it matches "event1" - /// - public readonly string? UserEventPattern; - - [OutputConstructor] - private EventNameFilterResponse( - ImmutableArray systemEvents, - - string type, - - string? userEventPattern) - { - SystemEvents = systemEvents; - Type = type; - UserEventPattern = userEventPattern; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/LiveTraceCategoryResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/LiveTraceCategoryResponse.cs deleted file mode 100644 index 28fd8e98dd3f..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/LiveTraceCategoryResponse.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Live trace category configuration of a Microsoft.SignalRService resource. - /// - [OutputType] - public sealed class LiveTraceCategoryResponse - { - /// - /// Indicates whether or the live trace category is enabled. - /// Available values: true, false. - /// Case insensitive. - /// - public readonly string? Enabled; - /// - /// Gets or sets the live trace category's name. - /// Available values: ConnectivityLogs, MessagingLogs. - /// Case insensitive. - /// - public readonly string? Name; - - [OutputConstructor] - private LiveTraceCategoryResponse( - string? enabled, - - string? name) - { - Enabled = enabled; - Name = name; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/LiveTraceConfigurationResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/LiveTraceConfigurationResponse.cs deleted file mode 100644 index 4b2ee9ff4352..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/LiveTraceConfigurationResponse.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Live trace configuration of a Microsoft.SignalRService resource. - /// - [OutputType] - public sealed class LiveTraceConfigurationResponse - { - /// - /// Gets or sets the list of category configurations. - /// - public readonly ImmutableArray Categories; - /// - /// Indicates whether or not enable live trace. - /// When it's set to true, live trace client can connect to the service. - /// Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - /// Available values: true, false. - /// Case insensitive. - /// - public readonly string? Enabled; - - [OutputConstructor] - private LiveTraceConfigurationResponse( - ImmutableArray categories, - - string? enabled) - { - Categories = categories; - Enabled = enabled; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ManagedIdentityResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ManagedIdentityResponse.cs deleted file mode 100644 index e86515cbb372..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ManagedIdentityResponse.cs +++ /dev/null @@ -1,54 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// A class represent managed identities used for request and response - /// - [OutputType] - public sealed class ManagedIdentityResponse - { - /// - /// Get the principal id for the system assigned identity. - /// Only be used in response. - /// - public readonly string PrincipalId; - /// - /// Get the tenant id for the system assigned identity. - /// Only be used in response - /// - public readonly string TenantId; - /// - /// Represents the identity type: systemAssigned, userAssigned, None - /// - public readonly string? Type; - /// - /// Get or set the user assigned identities - /// - public readonly ImmutableDictionary? UserAssignedIdentities; - - [OutputConstructor] - private ManagedIdentityResponse( - string principalId, - - string tenantId, - - string? type, - - ImmutableDictionary? userAssignedIdentities) - { - PrincipalId = principalId; - TenantId = tenantId; - Type = type; - UserAssignedIdentities = userAssignedIdentities; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ManagedIdentitySettingsResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ManagedIdentitySettingsResponse.cs deleted file mode 100644 index ecbc4da5c72f..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ManagedIdentitySettingsResponse.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Managed identity settings for upstream. - /// - [OutputType] - public sealed class ManagedIdentitySettingsResponse - { - /// - /// The Resource indicating the App ID URI of the target resource. - /// It also appears in the aud (audience) claim of the issued token. - /// - public readonly string? Resource; - - [OutputConstructor] - private ManagedIdentitySettingsResponse(string? resource) - { - Resource = resource; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/NetworkACLResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/NetworkACLResponse.cs deleted file mode 100644 index 779dc1f476c5..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/NetworkACLResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Network ACL - /// - [OutputType] - public sealed class NetworkACLResponse - { - /// - /// Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public readonly ImmutableArray Allow; - /// - /// Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public readonly ImmutableArray Deny; - - [OutputConstructor] - private NetworkACLResponse( - ImmutableArray allow, - - ImmutableArray deny) - { - Allow = allow; - Deny = deny; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointACLResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointACLResponse.cs deleted file mode 100644 index 5f117ff7d4cc..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointACLResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// ACL for a private endpoint - /// - [OutputType] - public sealed class PrivateEndpointACLResponse - { - /// - /// Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public readonly ImmutableArray Allow; - /// - /// Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - /// - public readonly ImmutableArray Deny; - /// - /// Name of the private endpoint connection - /// - public readonly string Name; - - [OutputConstructor] - private PrivateEndpointACLResponse( - ImmutableArray allow, - - ImmutableArray deny, - - string name) - { - Allow = allow; - Deny = deny; - Name = name; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointConnectionResponse.cs deleted file mode 100644 index bbad6d40b5e3..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateEndpointConnectionResponse.cs +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// A private endpoint connection to an azure resource - /// - [OutputType] - public sealed class PrivateEndpointConnectionResponse - { - /// - /// Group IDs - /// - public readonly ImmutableArray GroupIds; - /// - /// Fully qualified resource Id for the resource. - /// - public readonly string Id; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// Private endpoint - /// - public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; - /// - /// Connection state of the private endpoint connection - /// - public readonly Outputs.PrivateLinkServiceConnectionStateResponse? PrivateLinkServiceConnectionState; - /// - /// Provisioning state of the resource. - /// - public readonly string ProvisioningState; - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - public readonly string Type; - - [OutputConstructor] - private PrivateEndpointConnectionResponse( - ImmutableArray groupIds, - - string id, - - string name, - - Outputs.PrivateEndpointResponse? privateEndpoint, - - Outputs.PrivateLinkServiceConnectionStateResponse? privateLinkServiceConnectionState, - - string provisioningState, - - Outputs.SystemDataResponse systemData, - - string type) - { - GroupIds = groupIds; - Id = id; - Name = name; - PrivateEndpoint = privateEndpoint; - PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; - ProvisioningState = provisioningState; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateLinkServiceConnectionStateResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateLinkServiceConnectionStateResponse.cs deleted file mode 100644 index 0c0b177994ad..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/PrivateLinkServiceConnectionStateResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Connection state of the private endpoint connection - /// - [OutputType] - public sealed class PrivateLinkServiceConnectionStateResponse - { - /// - /// A message indicating if changes on the service provider require any updates on the consumer. - /// - public readonly string? ActionsRequired; - /// - /// The reason for approval/rejection of the connection. - /// - public readonly string? Description; - /// - /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - /// - public readonly string? Status; - - [OutputConstructor] - private PrivateLinkServiceConnectionStateResponse( - string? actionsRequired, - - string? description, - - string? status) - { - ActionsRequired = actionsRequired; - Description = description; - Status = status; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceLogCategoryResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceLogCategoryResponse.cs deleted file mode 100644 index a42a2932a406..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceLogCategoryResponse.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Resource log category configuration of a Microsoft.SignalRService resource. - /// - [OutputType] - public sealed class ResourceLogCategoryResponse - { - /// - /// Indicates whether or the resource log category is enabled. - /// Available values: true, false. - /// Case insensitive. - /// - public readonly string? Enabled; - /// - /// Gets or sets the resource log category's name. - /// Available values: ConnectivityLogs, MessagingLogs. - /// Case insensitive. - /// - public readonly string? Name; - - [OutputConstructor] - private ResourceLogCategoryResponse( - string? enabled, - - string? name) - { - Enabled = enabled; - Name = name; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceLogConfigurationResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceLogConfigurationResponse.cs deleted file mode 100644 index 064978f42d53..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceLogConfigurationResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Resource log configuration of a Microsoft.SignalRService resource. - /// - [OutputType] - public sealed class ResourceLogConfigurationResponse - { - /// - /// Gets or sets the list of category configurations. - /// - public readonly ImmutableArray Categories; - - [OutputConstructor] - private ResourceLogConfigurationResponse(ImmutableArray categories) - { - Categories = categories; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceSkuResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceSkuResponse.cs deleted file mode 100644 index 80bbb78fbdac..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/ResourceSkuResponse.cs +++ /dev/null @@ -1,68 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// The billing information of the resource. - /// - [OutputType] - public sealed class ResourceSkuResponse - { - /// - /// Optional, integer. The unit count of the resource. 1 by default. - /// - /// If present, following values are allowed: - /// Free: 1; - /// Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - /// Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - /// - public readonly int? Capacity; - /// - /// Not used. Retained for future use. - /// - public readonly string Family; - /// - /// The name of the SKU. Required. - /// - /// Allowed values: Standard_S1, Free_F1, Premium_P1 - /// - public readonly string Name; - /// - /// Not used. Retained for future use. - /// - public readonly string Size; - /// - /// Optional tier of this particular SKU. 'Standard' or 'Free'. - /// - /// `Basic` is deprecated, use `Standard` instead. - /// - public readonly string? Tier; - - [OutputConstructor] - private ResourceSkuResponse( - int? capacity, - - string family, - - string name, - - string size, - - string? tier) - { - Capacity = capacity; - Family = family; - Name = name; - Size = size; - Tier = tier; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/SharedPrivateLinkResourceResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/SharedPrivateLinkResourceResponse.cs deleted file mode 100644 index 5c642215920b..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/SharedPrivateLinkResourceResponse.cs +++ /dev/null @@ -1,87 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Describes a Shared Private Link Resource - /// - [OutputType] - public sealed class SharedPrivateLinkResourceResponse - { - /// - /// The group id from the provider of resource the shared private link resource is for - /// - public readonly string GroupId; - /// - /// Fully qualified resource Id for the resource. - /// - public readonly string Id; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// The resource id of the resource the shared private link resource is for - /// - public readonly string PrivateLinkResourceId; - /// - /// Provisioning state of the resource. - /// - public readonly string ProvisioningState; - /// - /// The request message for requesting approval of the shared private link resource - /// - public readonly string? RequestMessage; - /// - /// Status of the shared private link resource - /// - public readonly string Status; - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - public readonly string Type; - - [OutputConstructor] - private SharedPrivateLinkResourceResponse( - string groupId, - - string id, - - string name, - - string privateLinkResourceId, - - string provisioningState, - - string? requestMessage, - - string status, - - Outputs.SystemDataResponse systemData, - - string type) - { - GroupId = groupId; - Id = id; - Name = name; - PrivateLinkResourceId = privateLinkResourceId; - ProvisioningState = provisioningState; - RequestMessage = requestMessage; - Status = status; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/SystemDataResponse.cs deleted file mode 100644 index 75930ea92aea..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/SystemDataResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - [OutputType] - public sealed class SystemDataResponse - { - /// - /// The timestamp of resource creation (UTC). - /// - public readonly string? CreatedAt; - /// - /// The identity that created the resource. - /// - public readonly string? CreatedBy; - /// - /// The type of identity that created the resource. - /// - public readonly string? CreatedByType; - /// - /// The timestamp of resource last modification (UTC) - /// - public readonly string? LastModifiedAt; - /// - /// The identity that last modified the resource. - /// - public readonly string? LastModifiedBy; - /// - /// The type of identity that last modified the resource. - /// - public readonly string? LastModifiedByType; - - [OutputConstructor] - private SystemDataResponse( - string? createdAt, - - string? createdBy, - - string? createdByType, - - string? lastModifiedAt, - - string? lastModifiedBy, - - string? lastModifiedByType) - { - CreatedAt = createdAt; - CreatedBy = createdBy; - CreatedByType = createdByType; - LastModifiedAt = lastModifiedAt; - LastModifiedBy = lastModifiedBy; - LastModifiedByType = lastModifiedByType; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/UpstreamAuthSettingsResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/UpstreamAuthSettingsResponse.cs deleted file mode 100644 index e88bc5a1ccf9..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/UpstreamAuthSettingsResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Upstream auth settings. If not set, no auth is used for upstream messages. - /// - [OutputType] - public sealed class UpstreamAuthSettingsResponse - { - /// - /// Managed identity settings for upstream. - /// - public readonly Outputs.ManagedIdentitySettingsResponse? ManagedIdentity; - /// - /// Upstream auth type enum. - /// - public readonly string? Type; - - [OutputConstructor] - private UpstreamAuthSettingsResponse( - Outputs.ManagedIdentitySettingsResponse? managedIdentity, - - string? type) - { - ManagedIdentity = managedIdentity; - Type = type; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/UserAssignedIdentityPropertyResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/UserAssignedIdentityPropertyResponse.cs deleted file mode 100644 index 139a2c1d99b7..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/UserAssignedIdentityPropertyResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Properties of user assigned identity. - /// - [OutputType] - public sealed class UserAssignedIdentityPropertyResponse - { - /// - /// Get the client id for the user assigned identity - /// - public readonly string ClientId; - /// - /// Get the principal id for the user assigned identity - /// - public readonly string PrincipalId; - - [OutputConstructor] - private UserAssignedIdentityPropertyResponse( - string clientId, - - string principalId) - { - ClientId = clientId; - PrincipalId = principalId; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubHubPropertiesResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubHubPropertiesResponse.cs deleted file mode 100644 index 18b64bda24af..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubHubPropertiesResponse.cs +++ /dev/null @@ -1,48 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Properties of a hub. - /// - [OutputType] - public sealed class WebPubSubHubPropertiesResponse - { - /// - /// The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". - /// - public readonly string? AnonymousConnectPolicy; - /// - /// Event handler of a hub. - /// - public readonly ImmutableArray EventHandlers; - /// - /// Event listener settings for forwarding your client events to listeners. - /// Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - /// One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - /// Maximum count of event listeners among all hubs is 10. - /// - public readonly ImmutableArray EventListeners; - - [OutputConstructor] - private WebPubSubHubPropertiesResponse( - string? anonymousConnectPolicy, - - ImmutableArray eventHandlers, - - ImmutableArray eventListeners) - { - AnonymousConnectPolicy = anonymousConnectPolicy; - EventHandlers = eventHandlers; - EventListeners = eventListeners; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubNetworkACLsResponse.cs b/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubNetworkACLsResponse.cs deleted file mode 100644 index a055e22de11d..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/Outputs/WebPubSubNetworkACLsResponse.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview.Outputs -{ - - /// - /// Network ACLs for the resource - /// - [OutputType] - public sealed class WebPubSubNetworkACLsResponse - { - /// - /// Azure Networking ACL Action. - /// - public readonly string? DefaultAction; - /// - /// ACLs for requests from private endpoints - /// - public readonly ImmutableArray PrivateEndpoints; - /// - /// Network ACL - /// - public readonly Outputs.NetworkACLResponse? PublicNetwork; - - [OutputConstructor] - private WebPubSubNetworkACLsResponse( - string? defaultAction, - - ImmutableArray privateEndpoints, - - Outputs.NetworkACLResponse? publicNetwork) - { - DefaultAction = defaultAction; - PrivateEndpoints = privateEndpoints; - PublicNetwork = publicNetwork; - } - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/README.md b/sdk/dotnet/WebPubSub/V20220801Preview/README.md deleted file mode 100644 index b6e91921920b..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/README.md +++ /dev/null @@ -1 +0,0 @@ -A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSub.cs b/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSub.cs deleted file mode 100644 index 1d3c26658894..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSub.cs +++ /dev/null @@ -1,313 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - /// - /// A class represent a resource. - /// - [AzureNativeResourceType("azure-native:webpubsub/v20220801preview:WebPubSub")] - public partial class WebPubSub : global::Pulumi.CustomResource - { - /// - /// DisableLocalAuth - /// Enable or disable aad auth - /// When set as true, connection with AuthType=aad won't work. - /// - [Output("disableAadAuth")] - public Output DisableAadAuth { get; private set; } = null!; - - /// - /// DisableLocalAuth - /// Enable or disable local auth with AccessKey - /// When set as true, connection with AccessKey=xxx won't work. - /// - [Output("disableLocalAuth")] - public Output DisableLocalAuth { get; private set; } = null!; - - /// - /// The publicly accessible IP of the resource. - /// - [Output("externalIP")] - public Output ExternalIP { get; private set; } = null!; - - /// - /// FQDN of the service instance. - /// - [Output("hostName")] - public Output HostName { get; private set; } = null!; - - /// - /// Deprecated. - /// - [Output("hostNamePrefix")] - public Output HostNamePrefix { get; private set; } = null!; - - /// - /// A class represent managed identities used for request and response - /// - [Output("identity")] - public Output Identity { get; private set; } = null!; - - /// - /// Live trace configuration of a Microsoft.SignalRService resource. - /// - [Output("liveTraceConfiguration")] - public Output LiveTraceConfiguration { get; private set; } = null!; - - /// - /// The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - /// - [Output("location")] - public Output Location { get; private set; } = null!; - - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Network ACLs for the resource - /// - [Output("networkACLs")] - public Output NetworkACLs { get; private set; } = null!; - - /// - /// Private endpoint connections to the resource. - /// - [Output("privateEndpointConnections")] - public Output> PrivateEndpointConnections { get; private set; } = null!; - - /// - /// Provisioning state of the resource. - /// - [Output("provisioningState")] - public Output ProvisioningState { get; private set; } = null!; - - /// - /// Enable or disable public network access. Default to "Enabled". - /// When it's Enabled, network ACLs still apply. - /// When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - /// - [Output("publicNetworkAccess")] - public Output PublicNetworkAccess { get; private set; } = null!; - - /// - /// The publicly accessible port of the resource which is designed for browser/client side usage. - /// - [Output("publicPort")] - public Output PublicPort { get; private set; } = null!; - - /// - /// Resource log configuration of a Microsoft.SignalRService resource. - /// - [Output("resourceLogConfiguration")] - public Output ResourceLogConfiguration { get; private set; } = null!; - - /// - /// The publicly accessible port of the resource which is designed for customer server side usage. - /// - [Output("serverPort")] - public Output ServerPort { get; private set; } = null!; - - /// - /// The list of shared private link resources. - /// - [Output("sharedPrivateLinkResources")] - public Output> SharedPrivateLinkResources { get; private set; } = null!; - - /// - /// The billing information of the resource. - /// - [Output("sku")] - public Output Sku { get; private set; } = null!; - - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// Tags of the service which is a list of key value pairs that describe the resource. - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// TLS settings for the resource - /// - [Output("tls")] - public Output Tls { get; private set; } = null!; - - /// - /// The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - /// - /// Version of the resource. Probably you need the same or higher version of client SDKs. - /// - [Output("version")] - public Output Version { get; private set; } = null!; - - - /// - /// Create a WebPubSub 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 WebPubSub(string name, WebPubSubArgs args, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSub", name, args ?? new WebPubSubArgs(), MakeResourceOptions(options, "")) - { - } - - private WebPubSub(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSub", 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:webpubsub:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSub"}, - }, - }; - 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 WebPubSub 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 WebPubSub Get(string name, Input id, CustomResourceOptions? options = null) - { - return new WebPubSub(name, id, options); - } - } - - public sealed class WebPubSubArgs : global::Pulumi.ResourceArgs - { - /// - /// DisableLocalAuth - /// Enable or disable aad auth - /// When set as true, connection with AuthType=aad won't work. - /// - [Input("disableAadAuth")] - public Input? DisableAadAuth { get; set; } - - /// - /// DisableLocalAuth - /// Enable or disable local auth with AccessKey - /// When set as true, connection with AccessKey=xxx won't work. - /// - [Input("disableLocalAuth")] - public Input? DisableLocalAuth { get; set; } - - /// - /// A class represent managed identities used for request and response - /// - [Input("identity")] - public Input? Identity { get; set; } - - /// - /// Live trace configuration of a Microsoft.SignalRService resource. - /// - [Input("liveTraceConfiguration")] - public Input? LiveTraceConfiguration { get; set; } - - /// - /// The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - /// - [Input("location")] - public Input? Location { get; set; } - - /// - /// Network ACLs for the resource - /// - [Input("networkACLs")] - public Input? NetworkACLs { get; set; } - - /// - /// Enable or disable public network access. Default to "Enabled". - /// When it's Enabled, network ACLs still apply. - /// When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - /// - [Input("publicNetworkAccess")] - public Input? PublicNetworkAccess { 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!; - - /// - /// Resource log configuration of a Microsoft.SignalRService resource. - /// - [Input("resourceLogConfiguration")] - public Input? ResourceLogConfiguration { get; set; } - - /// - /// The name of the resource. - /// - [Input("resourceName")] - public Input? ResourceName { get; set; } - - /// - /// The billing information of the resource. - /// - [Input("sku")] - public Input? Sku { get; set; } - - [Input("tags")] - private InputMap? _tags; - - /// - /// Tags of the service which is a list of key value pairs that describe the resource. - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - /// - /// TLS settings for the resource - /// - [Input("tls")] - public Input? Tls { get; set; } - - public WebPubSubArgs() - { - DisableAadAuth = false; - DisableLocalAuth = false; - PublicNetworkAccess = "Enabled"; - } - public static new WebPubSubArgs Empty => new WebPubSubArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubCustomCertificate.cs b/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubCustomCertificate.cs deleted file mode 100644 index 7feed10987d6..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubCustomCertificate.cs +++ /dev/null @@ -1,146 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - /// - /// A custom certificate. - /// - [AzureNativeResourceType("azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate")] - public partial class WebPubSubCustomCertificate : global::Pulumi.CustomResource - { - /// - /// Base uri of the KeyVault that stores certificate. - /// - [Output("keyVaultBaseUri")] - public Output KeyVaultBaseUri { get; private set; } = null!; - - /// - /// Certificate secret name. - /// - [Output("keyVaultSecretName")] - public Output KeyVaultSecretName { get; private set; } = null!; - - /// - /// Certificate secret version. - /// - [Output("keyVaultSecretVersion")] - public Output KeyVaultSecretVersion { get; private set; } = null!; - - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Provisioning state of the resource. - /// - [Output("provisioningState")] - public Output ProvisioningState { 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 - e.g. "Microsoft.SignalRService/SignalR" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a WebPubSubCustomCertificate 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 WebPubSubCustomCertificate(string name, WebPubSubCustomCertificateArgs args, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate", name, args ?? new WebPubSubCustomCertificateArgs(), MakeResourceOptions(options, "")) - { - } - - private WebPubSubCustomCertificate(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - }; - 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 WebPubSubCustomCertificate 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 WebPubSubCustomCertificate Get(string name, Input id, CustomResourceOptions? options = null) - { - return new WebPubSubCustomCertificate(name, id, options); - } - } - - public sealed class WebPubSubCustomCertificateArgs : global::Pulumi.ResourceArgs - { - /// - /// Custom certificate name - /// - [Input("certificateName")] - public Input? CertificateName { get; set; } - - /// - /// Base uri of the KeyVault that stores certificate. - /// - [Input("keyVaultBaseUri", required: true)] - public Input KeyVaultBaseUri { get; set; } = null!; - - /// - /// Certificate secret name. - /// - [Input("keyVaultSecretName", required: true)] - public Input KeyVaultSecretName { get; set; } = null!; - - /// - /// Certificate secret version. - /// - [Input("keyVaultSecretVersion")] - public Input? KeyVaultSecretVersion { 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - public WebPubSubCustomCertificateArgs() - { - } - public static new WebPubSubCustomCertificateArgs Empty => new WebPubSubCustomCertificateArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubPrivateEndpointConnection.cs b/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubPrivateEndpointConnection.cs deleted file mode 100644 index 0b8f72b0e374..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubPrivateEndpointConnection.cs +++ /dev/null @@ -1,148 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - /// - /// A private endpoint connection to an azure resource - /// - [AzureNativeResourceType("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection")] - public partial class WebPubSubPrivateEndpointConnection : global::Pulumi.CustomResource - { - /// - /// Group IDs - /// - [Output("groupIds")] - public Output> GroupIds { get; private set; } = null!; - - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Private endpoint - /// - [Output("privateEndpoint")] - public Output PrivateEndpoint { get; private set; } = null!; - - /// - /// Connection state of the private endpoint connection - /// - [Output("privateLinkServiceConnectionState")] - public Output PrivateLinkServiceConnectionState { get; private set; } = null!; - - /// - /// Provisioning state of the resource. - /// - [Output("provisioningState")] - public Output ProvisioningState { 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 - e.g. "Microsoft.SignalRService/SignalR" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a WebPubSubPrivateEndpointConnection 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 WebPubSubPrivateEndpointConnection(string name, WebPubSubPrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection", name, args ?? new WebPubSubPrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) - { - } - - private WebPubSubPrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection", 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:webpubsub:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"}, - }, - }; - 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 WebPubSubPrivateEndpointConnection 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 WebPubSubPrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) - { - return new WebPubSubPrivateEndpointConnection(name, id, options); - } - } - - public sealed class WebPubSubPrivateEndpointConnectionArgs : global::Pulumi.ResourceArgs - { - /// - /// Private endpoint - /// - [Input("privateEndpoint")] - public Input? PrivateEndpoint { get; set; } - - /// - /// The name of the private endpoint connection - /// - [Input("privateEndpointConnectionName")] - public Input? PrivateEndpointConnectionName { get; set; } - - /// - /// Connection state of the private endpoint connection - /// - [Input("privateLinkServiceConnectionState")] - public Input? PrivateLinkServiceConnectionState { 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - public WebPubSubPrivateEndpointConnectionArgs() - { - } - public static new WebPubSubPrivateEndpointConnectionArgs Empty => new WebPubSubPrivateEndpointConnectionArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubSharedPrivateLinkResource.cs b/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubSharedPrivateLinkResource.cs deleted file mode 100644 index 4ca27d1172d2..000000000000 --- a/sdk/dotnet/WebPubSub/V20220801Preview/WebPubSubSharedPrivateLinkResource.cs +++ /dev/null @@ -1,160 +0,0 @@ -// *** 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.WebPubSub.V20220801Preview -{ - /// - /// Describes a Shared Private Link Resource - /// - [AzureNativeResourceType("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource")] - public partial class WebPubSubSharedPrivateLinkResource : global::Pulumi.CustomResource - { - /// - /// The group id from the provider of resource the shared private link resource is for - /// - [Output("groupId")] - public Output GroupId { get; private set; } = null!; - - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The resource id of the resource the shared private link resource is for - /// - [Output("privateLinkResourceId")] - public Output PrivateLinkResourceId { get; private set; } = null!; - - /// - /// Provisioning state of the resource. - /// - [Output("provisioningState")] - public Output ProvisioningState { get; private set; } = null!; - - /// - /// The request message for requesting approval of the shared private link resource - /// - [Output("requestMessage")] - public Output RequestMessage { get; private set; } = null!; - - /// - /// Status of the shared private link resource - /// - [Output("status")] - public Output Status { 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 - e.g. "Microsoft.SignalRService/SignalR" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a WebPubSubSharedPrivateLinkResource 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 WebPubSubSharedPrivateLinkResource(string name, WebPubSubSharedPrivateLinkResourceArgs args, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource", name, args ?? new WebPubSubSharedPrivateLinkResourceArgs(), MakeResourceOptions(options, "")) - { - } - - private WebPubSubSharedPrivateLinkResource(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource", 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:webpubsub:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"}, - }, - }; - 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 WebPubSubSharedPrivateLinkResource 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 WebPubSubSharedPrivateLinkResource Get(string name, Input id, CustomResourceOptions? options = null) - { - return new WebPubSubSharedPrivateLinkResource(name, id, options); - } - } - - public sealed class WebPubSubSharedPrivateLinkResourceArgs : global::Pulumi.ResourceArgs - { - /// - /// The group id from the provider of resource the shared private link resource is for - /// - [Input("groupId", required: true)] - public Input GroupId { get; set; } = null!; - - /// - /// The resource id of the resource the shared private link resource is for - /// - [Input("privateLinkResourceId", required: true)] - public Input PrivateLinkResourceId { get; set; } = null!; - - /// - /// The request message for requesting approval of the shared private link resource - /// - [Input("requestMessage")] - public Input? RequestMessage { 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 resource. - /// - [Input("resourceName", required: true)] - public Input ResourceName { get; set; } = null!; - - /// - /// The name of the shared private link resource - /// - [Input("sharedPrivateLinkResourceName")] - public Input? SharedPrivateLinkResourceName { get; set; } - - public WebPubSubSharedPrivateLinkResourceArgs() - { - } - public static new WebPubSubSharedPrivateLinkResourceArgs Empty => new WebPubSubSharedPrivateLinkResourceArgs(); - } -} diff --git a/sdk/dotnet/WebPubSub/WebPubSub.cs b/sdk/dotnet/WebPubSub/WebPubSub.cs index 42e4ce0cfcb3..899086091153 100644 --- a/sdk/dotnet/WebPubSub/WebPubSub.cs +++ b/sdk/dotnet/WebPubSub/WebPubSub.cs @@ -172,7 +172,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSub"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSub"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/WebPubSubHub.cs b/sdk/dotnet/WebPubSub/WebPubSubHub.cs index 6b31a4c8a20a..a8a12e967534 100644 --- a/sdk/dotnet/WebPubSub/WebPubSubHub.cs +++ b/sdk/dotnet/WebPubSub/WebPubSubHub.cs @@ -66,7 +66,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubHub"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubHub"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/WebPubSubPrivateEndpointConnection.cs b/sdk/dotnet/WebPubSub/WebPubSubPrivateEndpointConnection.cs index 6a31a76399ac..75b822a6be41 100644 --- a/sdk/dotnet/WebPubSub/WebPubSubPrivateEndpointConnection.cs +++ b/sdk/dotnet/WebPubSub/WebPubSubPrivateEndpointConnection.cs @@ -81,7 +81,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/WebPubSub/WebPubSubSharedPrivateLinkResource.cs b/sdk/dotnet/WebPubSub/WebPubSubSharedPrivateLinkResource.cs index 47660aaa0d54..b1e6996b4a95 100644 --- a/sdk/dotnet/WebPubSub/WebPubSubSharedPrivateLinkResource.cs +++ b/sdk/dotnet/WebPubSub/WebPubSubSharedPrivateLinkResource.cs @@ -93,7 +93,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"}, new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"}, - new global::Pulumi.Alias { Type = "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/go/azure/appplatform/buildServiceAgentPool.go b/sdk/go/azure/appplatform/buildServiceAgentPool.go new file mode 100644 index 000000000000..9fb8018b2ee6 --- /dev/null +++ b/sdk/go/azure/appplatform/buildServiceAgentPool.go @@ -0,0 +1,160 @@ + + + +package appplatform + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type BuildServiceAgentPool struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewBuildServiceAgentPool(ctx *pulumi.Context, + name string, args *BuildServiceAgentPoolArgs, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.BuildServiceName == nil { + return nil, errors.New("invalid value for required argument 'BuildServiceName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:BuildServiceAgentPool"), + }, + }) + opts = append(opts, aliases) + var resource BuildServiceAgentPool + err := ctx.RegisterResource("azure-native:appplatform:BuildServiceAgentPool", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetBuildServiceAgentPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BuildServiceAgentPoolState, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + var resource BuildServiceAgentPool + err := ctx.ReadResource("azure-native:appplatform:BuildServiceAgentPool", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type buildServiceAgentPoolState struct { +} + +type BuildServiceAgentPoolState struct { +} + +func (BuildServiceAgentPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolState)(nil)).Elem() +} + +type buildServiceAgentPoolArgs struct { + AgentPoolName *string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + Properties *BuildServiceAgentPoolProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type BuildServiceAgentPoolArgs struct { + AgentPoolName pulumi.StringPtrInput + BuildServiceName pulumi.StringInput + Properties BuildServiceAgentPoolPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (BuildServiceAgentPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolArgs)(nil)).Elem() +} + +type BuildServiceAgentPoolInput interface { + pulumi.Input + + ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput + ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput +} + +func (*BuildServiceAgentPool) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return i.ToBuildServiceAgentPoolOutputWithContext(context.Background()) +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolOutput) +} + +type BuildServiceAgentPoolOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) BuildServiceAgentPoolPropertiesResponseOutput { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(BuildServiceAgentPoolOutput{}) +} diff --git a/sdk/go/azure/appplatform/configServer.go b/sdk/go/azure/appplatform/configServer.go new file mode 100644 index 000000000000..9ad005979cc3 --- /dev/null +++ b/sdk/go/azure/appplatform/configServer.go @@ -0,0 +1,160 @@ + + + +package appplatform + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/getBuildServiceAgentPool.go b/sdk/go/azure/appplatform/getBuildServiceAgentPool.go new file mode 100644 index 000000000000..7a6f4ee1b709 --- /dev/null +++ b/sdk/go/azure/appplatform/getBuildServiceAgentPool.go @@ -0,0 +1,99 @@ + + + +package appplatform + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupBuildServiceAgentPool(ctx *pulumi.Context, args *LookupBuildServiceAgentPoolArgs, opts ...pulumi.InvokeOption) (*LookupBuildServiceAgentPoolResult, error) { + var rv LookupBuildServiceAgentPoolResult + err := ctx.Invoke("azure-native:appplatform:getBuildServiceAgentPool", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupBuildServiceAgentPoolArgs struct { + AgentPoolName string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupBuildServiceAgentPoolResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupBuildServiceAgentPoolOutput(ctx *pulumi.Context, args LookupBuildServiceAgentPoolOutputArgs, opts ...pulumi.InvokeOption) LookupBuildServiceAgentPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupBuildServiceAgentPoolResult, error) { + args := v.(LookupBuildServiceAgentPoolArgs) + r, err := LookupBuildServiceAgentPool(ctx, &args, opts...) + var s LookupBuildServiceAgentPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupBuildServiceAgentPoolResultOutput) +} + +type LookupBuildServiceAgentPoolOutputArgs struct { + AgentPoolName pulumi.StringInput `pulumi:"agentPoolName"` + BuildServiceName pulumi.StringInput `pulumi:"buildServiceName"` + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupBuildServiceAgentPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolArgs)(nil)).Elem() +} + + +type LookupBuildServiceAgentPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupBuildServiceAgentPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolResult)(nil)).Elem() +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutput() LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutputWithContext(ctx context.Context) LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) BuildServiceAgentPoolPropertiesResponse { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupBuildServiceAgentPoolResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/getConfigServer.go b/sdk/go/azure/appplatform/getConfigServer.go new file mode 100644 index 000000000000..e42f5d6f84b3 --- /dev/null +++ b/sdk/go/azure/appplatform/getConfigServer.go @@ -0,0 +1,90 @@ + + + +package appplatform + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/getMonitoringSetting.go b/sdk/go/azure/appplatform/getMonitoringSetting.go new file mode 100644 index 000000000000..20f12909b8d8 --- /dev/null +++ b/sdk/go/azure/appplatform/getMonitoringSetting.go @@ -0,0 +1,90 @@ + + + +package appplatform + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/init.go b/sdk/go/azure/appplatform/init.go index f718c1f03098..4a3bad113f24 100644 --- a/sdk/go/azure/appplatform/init.go +++ b/sdk/go/azure/appplatform/init.go @@ -29,12 +29,16 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &App{} case "azure-native:appplatform:Binding": r = &Binding{} + case "azure-native:appplatform:BuildServiceAgentPool": + r = &BuildServiceAgentPool{} case "azure-native:appplatform:BuildServiceBuilder": r = &BuildServiceBuilder{} case "azure-native:appplatform:BuildpackBinding": r = &BuildpackBinding{} case "azure-native:appplatform:Certificate": r = &Certificate{} + case "azure-native:appplatform:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform:ConfigurationService": r = &ConfigurationService{} case "azure-native:appplatform:CustomDomain": @@ -47,6 +51,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GatewayCustomDomain{} case "azure-native:appplatform:GatewayRouteConfig": r = &GatewayRouteConfig{} + case "azure-native:appplatform:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform:Service": r = &Service{} case "azure-native:appplatform:ServiceRegistry": diff --git a/sdk/go/azure/appplatform/monitoringSetting.go b/sdk/go/azure/appplatform/monitoringSetting.go new file mode 100644 index 000000000000..8bd354dbfb6b --- /dev/null +++ b/sdk/go/azure/appplatform/monitoringSetting.go @@ -0,0 +1,160 @@ + + + +package appplatform + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/pulumiTypes.go b/sdk/go/azure/appplatform/pulumiTypes.go index 4dbba1a1514f..b0c5929140b0 100644 --- a/sdk/go/azure/appplatform/pulumiTypes.go +++ b/sdk/go/azure/appplatform/pulumiTypes.go @@ -1074,6 +1074,384 @@ func (o BindingResourcePropertiesResponseOutput) UpdatedAt() pulumi.StringOutput return o.ApplyT(func(v BindingResourcePropertiesResponse) string { return v.UpdatedAt }).(pulumi.StringOutput) } +type BuildServiceAgentPoolProperties struct { + PoolSize *BuildServiceAgentPoolSizeProperties `pulumi:"poolSize"` +} + + + + + +type BuildServiceAgentPoolPropertiesInput interface { + pulumi.Input + + ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesOutput +} + +type BuildServiceAgentPoolPropertiesArgs struct { + PoolSize BuildServiceAgentPoolSizePropertiesPtrInput `pulumi:"poolSize"` +} + +func (BuildServiceAgentPoolPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() +} + +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { + return i.ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Background()) +} + +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput) +} + +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput).ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildServiceAgentPoolPropertiesPtrInput interface { + pulumi.Input + + ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesPtrOutput +} + +type buildServiceAgentPoolPropertiesPtrType BuildServiceAgentPoolPropertiesArgs + +func BuildServiceAgentPoolPropertiesPtr(v *BuildServiceAgentPoolPropertiesArgs) BuildServiceAgentPoolPropertiesPtrInput { + return (*buildServiceAgentPoolPropertiesPtrType)(v) +} + +func (*buildServiceAgentPoolPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() +} + +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesPtrOutput) +} + +type BuildServiceAgentPoolPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() +} + +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { + return o +} + +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { + return o +} + +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return o.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolProperties { + return &v + }).(BuildServiceAgentPoolPropertiesPtrOutput) +} + +func (o BuildServiceAgentPoolPropertiesOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { return v.PoolSize }).(BuildServiceAgentPoolSizePropertiesPtrOutput) +} + +type BuildServiceAgentPoolPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() +} + +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return o +} + +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return o +} + +func (o BuildServiceAgentPoolPropertiesPtrOutput) Elem() BuildServiceAgentPoolPropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) BuildServiceAgentPoolProperties { + if v != nil { + return *v + } + var ret BuildServiceAgentPoolProperties + return ret + }).(BuildServiceAgentPoolPropertiesOutput) +} + +func (o BuildServiceAgentPoolPropertiesPtrOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { + if v == nil { + return nil + } + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) +} + +type BuildServiceAgentPoolPropertiesResponse struct { + PoolSize *BuildServiceAgentPoolSizePropertiesResponse `pulumi:"poolSize"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type BuildServiceAgentPoolPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolPropertiesResponse)(nil)).Elem() +} + +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutput() BuildServiceAgentPoolPropertiesResponseOutput { + return o +} + +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesResponseOutput { + return o +} + +func (o BuildServiceAgentPoolPropertiesResponseOutput) PoolSize() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) *BuildServiceAgentPoolSizePropertiesResponse { + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesResponsePtrOutput) +} + +func (o BuildServiceAgentPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type BuildServiceAgentPoolSizeProperties struct { + Name *string `pulumi:"name"` +} + + + + + +type BuildServiceAgentPoolSizePropertiesInput interface { + pulumi.Input + + ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesOutput +} + +type BuildServiceAgentPoolSizePropertiesArgs struct { + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (BuildServiceAgentPoolSizePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() +} + +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { + return i.ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Background()) +} + +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput) +} + +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput).ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildServiceAgentPoolSizePropertiesPtrInput interface { + pulumi.Input + + ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput +} + +type buildServiceAgentPoolSizePropertiesPtrType BuildServiceAgentPoolSizePropertiesArgs + +func BuildServiceAgentPoolSizePropertiesPtr(v *BuildServiceAgentPoolSizePropertiesArgs) BuildServiceAgentPoolSizePropertiesPtrInput { + return (*buildServiceAgentPoolSizePropertiesPtrType)(v) +} + +func (*buildServiceAgentPoolSizePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() +} + +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesPtrOutput) +} + +type BuildServiceAgentPoolSizePropertiesOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() +} + +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolSizeProperties) *BuildServiceAgentPoolSizeProperties { + return &v + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) +} + +func (o BuildServiceAgentPoolSizePropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizeProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildServiceAgentPoolSizePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() +} + +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Elem() BuildServiceAgentPoolSizePropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) BuildServiceAgentPoolSizeProperties { + if v != nil { + return *v + } + var ret BuildServiceAgentPoolSizeProperties + return ret + }).(BuildServiceAgentPoolSizePropertiesOutput) +} + +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +type BuildServiceAgentPoolSizePropertiesResponse struct { + Cpu string `pulumi:"cpu"` + Memory string `pulumi:"memory"` + Name *string `pulumi:"name"` +} + +type BuildServiceAgentPoolSizePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() +} + +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutput() BuildServiceAgentPoolSizePropertiesResponseOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponseOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Cpu }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Memory }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildServiceAgentPoolSizePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() +} + +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutput() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o +} + +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Elem() BuildServiceAgentPoolSizePropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) BuildServiceAgentPoolSizePropertiesResponse { + if v != nil { + return *v + } + var ret BuildServiceAgentPoolSizePropertiesResponse + return ret + }).(BuildServiceAgentPoolSizePropertiesResponseOutput) +} + +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Cpu + }).(pulumi.StringPtrOutput) +} + +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return &v.Memory + }).(pulumi.StringPtrOutput) +} + +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + type BuilderProperties struct { BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` Stack *StackProperties `pulumi:"stack"` @@ -2336,43 +2714,61 @@ func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) } -type ConfigurationServiceGitProperty struct { - Repositories []ConfigurationServiceGitRepository `pulumi:"repositories"` +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type ConfigurationServiceGitPropertyInput interface { +type ConfigServerGitPropertyInput interface { pulumi.Input - ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput - ToConfigurationServiceGitPropertyOutputWithContext(context.Context) ConfigurationServiceGitPropertyOutput + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput } -type ConfigurationServiceGitPropertyArgs struct { - Repositories ConfigurationServiceGitRepositoryArrayInput `pulumi:"repositories"` +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (ConfigurationServiceGitPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceGitProperty)(nil)).Elem() +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput { - return i.ToConfigurationServiceGitPropertyOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { - return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput).ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) } @@ -2383,29 +2779,828 @@ func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPt -type ConfigurationServiceGitPropertyPtrInput interface { +type ConfigServerGitPropertyPtrInput interface { pulumi.Input - ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput - ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Context) ConfigurationServiceGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput } -type configurationServiceGitPropertyPtrType ConfigurationServiceGitPropertyArgs +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs -func ConfigurationServiceGitPropertyPtr(v *ConfigurationServiceGitPropertyArgs) ConfigurationServiceGitPropertyPtrInput { - return (*configurationServiceGitPropertyPtrType)(v) +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) } -func (*configurationServiceGitPropertyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceGitProperty)(nil)).Elem() +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() } -func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { - return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyPtrOutput) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { + return &v + }).(ConfigServerGitPropertyPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { + if v != nil { + return *v + } + var ret ConfigServerGitProperty + return ret + }).(ConfigServerGitPropertyOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { + return o +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { + return o +} + +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { + return o +} + +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { + return o +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` +} + + + + + +type ConfigServerPropertiesInput interface { + pulumi.Input + + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput +} + +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` +} + +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerPropertiesPtrInput interface { + pulumi.Input + + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput +} + +type configServerPropertiesPtrType ConfigServerPropertiesArgs + +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) +} + +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) +} + +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return o +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return o +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { + return &v + }).(ConfigServerPropertiesPtrOutput) +} + +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) +} + +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o +} + +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o +} + +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { + if v != nil { + return *v + } + var ret ConfigServerProperties + return ret + }).(ConfigServerPropertiesOutput) +} + +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { + if v == nil { + return nil + } + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) +} + +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() +} + +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { + return o +} + +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { + return o +} + +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) +} + +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` +} + + + + + +type ConfigServerSettingsInput interface { + pulumi.Input + + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput +} + +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` +} + +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() +} + +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) +} + +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) +} + +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerSettingsPtrInput interface { + pulumi.Input + + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput +} + +type configServerSettingsPtrType ConfigServerSettingsArgs + +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) +} + +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() +} + +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) +} + +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) +} + +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() +} + +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return o +} + +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return o +} + +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { + return &v + }).(ConfigServerSettingsPtrOutput) +} + +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() +} + +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o +} + +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o +} + +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { + if v != nil { + return *v + } + var ret ConfigServerSettings + return ret + }).(ConfigServerSettingsOutput) +} + +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` +} + +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() +} + +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { + return o +} + +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { + return o +} + +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) +} + +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) +} + +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) +} + +type ConfigurationServiceGitProperty struct { + Repositories []ConfigurationServiceGitRepository `pulumi:"repositories"` +} + + + + + +type ConfigurationServiceGitPropertyInput interface { + pulumi.Input + + ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput + ToConfigurationServiceGitPropertyOutputWithContext(context.Context) ConfigurationServiceGitPropertyOutput +} + +type ConfigurationServiceGitPropertyArgs struct { + Repositories ConfigurationServiceGitRepositoryArrayInput `pulumi:"repositories"` +} + +func (ConfigurationServiceGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceGitProperty)(nil)).Elem() +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput { + return i.ToConfigurationServiceGitPropertyOutputWithContext(context.Background()) +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput) +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { + return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput).ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigurationServiceGitPropertyPtrInput interface { + pulumi.Input + + ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput + ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Context) ConfigurationServiceGitPropertyPtrOutput +} + +type configurationServiceGitPropertyPtrType ConfigurationServiceGitPropertyArgs + +func ConfigurationServiceGitPropertyPtr(v *ConfigurationServiceGitPropertyArgs) ConfigurationServiceGitPropertyPtrInput { + return (*configurationServiceGitPropertyPtrType)(v) +} + +func (*configurationServiceGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceGitProperty)(nil)).Elem() +} + +func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { + return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyPtrOutput) } type ConfigurationServiceGitPropertyOutput struct{ *pulumi.OutputState } @@ -4042,48 +5237,265 @@ func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.JvmOptions + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { + if v == nil { + return nil + } + return v.MemoryInGB + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { + pulumi.Input + + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput +} + +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) +} + +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) +} + + + + + + + + + +type ErrorPtrInput interface { + pulumi.Input + + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput +} + +type errorPtrType ErrorArgs + +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) +} + +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) +} + +type ErrorOutput struct{ *pulumi.OutputState } + +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) +} + +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) +} + +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) +} + +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { + return o } -func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.JvmOptions - }).(pulumi.StringPtrOutput) +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { + return o } -func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { + if v != nil { + return *v } - return v.MemoryInGB - }).(pulumi.IntPtrOutput) + var ret ErrorResponse + return ret + }).(ErrorResponseOutput) } -func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.NetCoreMainEntryPath + return v.Code }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.RuntimeVersion + return v.Message }).(pulumi.StringPtrOutput) } @@ -5788,202 +7200,448 @@ func (o GatewayResourceRequestsResponsePtrOutput) Elem() GatewayResourceRequests }).(GatewayResourceRequestsResponseOutput) } -func (o GatewayResourceRequestsResponsePtrOutput) Cpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { - if v == nil { - return nil - } - return v.Cpu - }).(pulumi.StringPtrOutput) +func (o GatewayResourceRequestsResponsePtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.StringPtrOutput) +} + +func (o GatewayResourceRequestsResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { + if v == nil { + return nil + } + return v.Memory + }).(pulumi.StringPtrOutput) +} + +type GatewayRouteConfigProperties struct { + AppResourceId *string `pulumi:"appResourceId"` + Routes []GatewayApiRoute `pulumi:"routes"` +} + + + + + +type GatewayRouteConfigPropertiesInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput + ToGatewayRouteConfigPropertiesOutputWithContext(context.Context) GatewayRouteConfigPropertiesOutput +} + +type GatewayRouteConfigPropertiesArgs struct { + AppResourceId pulumi.StringPtrInput `pulumi:"appResourceId"` + Routes GatewayApiRouteArrayInput `pulumi:"routes"` +} + +func (GatewayRouteConfigPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return i.ToGatewayRouteConfigPropertiesOutputWithContext(context.Background()) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type GatewayRouteConfigPropertiesPtrInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput + ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +} + +type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs + +func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { + return (*gatewayRouteConfigPropertiesPtrType)(v) +} + +func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +} + +type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { + return &v + }).(GatewayRouteConfigPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { + if v != nil { + return *v + } + var ret GatewayRouteConfigProperties + return ret + }).(GatewayRouteConfigPropertiesOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { + if v == nil { + return nil + } + return v.AppResourceId + }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { + if v == nil { + return nil + } + return v.Routes + }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesResponse struct { + AppResourceId *string `pulumi:"appResourceId"` + ProvisioningState string `pulumi:"provisioningState"` + Routes []GatewayApiRouteResponse `pulumi:"routes"` +} + +type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() } -func (o GatewayResourceRequestsResponsePtrOutput) Memory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { - if v == nil { - return nil - } - return v.Memory - }).(pulumi.StringPtrOutput) +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) } -type GatewayRouteConfigProperties struct { - AppResourceId *string `pulumi:"appResourceId"` - Routes []GatewayApiRoute `pulumi:"routes"` +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) } -type GatewayRouteConfigPropertiesInput interface { +type GitPatternRepositoryArrayInput interface { pulumi.Input - ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput - ToGatewayRouteConfigPropertiesOutputWithContext(context.Context) GatewayRouteConfigPropertiesOutput + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput } -type GatewayRouteConfigPropertiesArgs struct { - AppResourceId pulumi.StringPtrInput `pulumi:"appResourceId"` - Routes GatewayApiRouteArrayInput `pulumi:"routes"` +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (GatewayRouteConfigPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { - return i.ToGatewayRouteConfigPropertiesOutputWithContext(context.Background()) +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) } +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) +} +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) +} +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} -type GatewayRouteConfigPropertiesPtrInput interface { - pulumi.Input +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) +} - ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput - ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } -func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { - return (*gatewayRouteConfigPropertiesPtrType)(v) +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return o } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return o } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} -func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { - return &v - }).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } - -func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { - if v != nil { - return *v - } - var ret GatewayRouteConfigProperties - return ret - }).(GatewayRouteConfigPropertiesOutput) +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { - if v == nil { - return nil - } - return v.AppResourceId - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { - if v == nil { - return nil - } - return v.Routes - }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -type GatewayRouteConfigPropertiesResponse struct { - AppResourceId *string `pulumi:"appResourceId"` - ProvisioningState string `pulumi:"provisioningState"` - Routes []GatewayApiRouteResponse `pulumi:"routes"` +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } -func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { return o } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { return o } -func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) -} - -func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type ManagedIdentityProperties struct { @@ -6232,6 +7890,206 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) Type() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetworkProfile struct { AppNetworkResourceGroup *string `pulumi:"appNetworkResourceGroup"` AppSubnetId *string `pulumi:"appSubnetId"` @@ -8545,6 +10403,13 @@ func init() { pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponsePtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesOutput{}) pulumi.RegisterOutputType(BuilderPropertiesPtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesResponseOutput{}) @@ -8569,6 +10434,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyPtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyResponseOutput{}) @@ -8599,6 +10475,10 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesResponseOutput{}) @@ -8628,10 +10508,17 @@ func init() { pulumi.RegisterOutputType(GatewayRouteConfigPropertiesOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20200701/configServer.go b/sdk/go/azure/appplatform/v20200701/configServer.go new file mode 100644 index 000000000000..2e2ed85c5bf6 --- /dev/null +++ b/sdk/go/azure/appplatform/v20200701/configServer.go @@ -0,0 +1,160 @@ + + + +package v20200701 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20200701:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20200701:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20200701/getConfigServer.go b/sdk/go/azure/appplatform/v20200701/getConfigServer.go new file mode 100644 index 000000000000..4ed570d01ac8 --- /dev/null +++ b/sdk/go/azure/appplatform/v20200701/getConfigServer.go @@ -0,0 +1,90 @@ + + + +package v20200701 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20200701:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20200701/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20200701/getMonitoringSetting.go new file mode 100644 index 000000000000..a7d8e7b70d51 --- /dev/null +++ b/sdk/go/azure/appplatform/v20200701/getMonitoringSetting.go @@ -0,0 +1,90 @@ + + + +package v20200701 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20200701:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20200701/init.go b/sdk/go/azure/appplatform/v20200701/init.go index 470cdeb7e31b..df48a87108b3 100644 --- a/sdk/go/azure/appplatform/v20200701/init.go +++ b/sdk/go/azure/appplatform/v20200701/init.go @@ -27,10 +27,14 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Binding{} case "azure-native:appplatform/v20200701:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20200701:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20200701:CustomDomain": r = &CustomDomain{} case "azure-native:appplatform/v20200701:Deployment": r = &Deployment{} + case "azure-native:appplatform/v20200701:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20200701:Service": r = &Service{} default: diff --git a/sdk/go/azure/appplatform/v20200701/monitoringSetting.go b/sdk/go/azure/appplatform/v20200701/monitoringSetting.go new file mode 100644 index 000000000000..d9f7c4b92883 --- /dev/null +++ b/sdk/go/azure/appplatform/v20200701/monitoringSetting.go @@ -0,0 +1,160 @@ + + + +package v20200701 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20200701:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20200701:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20200701/pulumiTypes.go b/sdk/go/azure/appplatform/v20200701/pulumiTypes.go index f06fd2fd4d13..934ffd98f103 100644 --- a/sdk/go/azure/appplatform/v20200701/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20200701/pulumiTypes.go @@ -942,45 +942,61 @@ func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) } -type CustomDomainProperties struct { - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type CustomDomainPropertiesInput interface { +type ConfigServerGitPropertyInput interface { pulumi.Input - ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput - ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput } -type CustomDomainPropertiesArgs struct { - CertName pulumi.StringPtrInput `pulumi:"certName"` - Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (CustomDomainPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { - return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) } @@ -991,258 +1007,429 @@ func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext -type CustomDomainPropertiesPtrInput interface { +type ConfigServerGitPropertyPtrInput interface { pulumi.Input - ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput - ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput } -type customDomainPropertiesPtrType CustomDomainPropertiesArgs +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs -func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { - return (*customDomainPropertiesPtrType)(v) +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) } -func (*customDomainPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) } -type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { return &v - }).(CustomDomainPropertiesPtrOutput) + }).(ConfigServerGitPropertyPtrOutput) } -func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { - return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { if v != nil { return *v } - var ret CustomDomainProperties + var ret ConfigServerGitProperty return ret - }).(CustomDomainPropertiesOutput) + }).(ConfigServerGitPropertyOutput) } -func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.CertName + return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Thumbprint + return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -type CustomDomainPropertiesResponse struct { - AppName string `pulumi:"appName"` - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} -func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) } -func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type DeploymentInstanceResponse struct { - DiscoveryStatus string `pulumi:"discoveryStatus"` - Name string `pulumi:"name"` - Reason string `pulumi:"reason"` - StartTime string `pulumi:"startTime"` - Status string `pulumi:"status"` +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } -func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { return o } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { return o } -func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} -func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { return o } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { return o } -func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { - return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] - }).(DeploymentInstanceResponseOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) } -type DeploymentResourceProperties struct { - DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` - Source *UserSourceInfo `pulumi:"source"` +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) } +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} -func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { - if val == nil { - return nil - } - tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} - return &tmp +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} -type DeploymentResourcePropertiesInput interface { - pulumi.Input +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} - ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput - ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type DeploymentResourcePropertiesArgs struct { - DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` - Source UserSourceInfoPtrInput `pulumi:"source"` +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` } -func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - return &tmp + + +type ConfigServerPropertiesInput interface { + pulumi.Input + + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() + +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { - return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) } @@ -1253,258 +1440,174 @@ func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutpu -type DeploymentResourcePropertiesPtrInput interface { +type ConfigServerPropertiesPtrInput interface { pulumi.Input - ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput - ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs +type configServerPropertiesPtrType ConfigServerPropertiesArgs -func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { - return (*deploymentResourcePropertiesPtrType)(v) +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) } -func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) } -type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { return &v - }).(DeploymentResourcePropertiesPtrOutput) + }).(ConfigServerPropertiesPtrOutput) } -func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) } -func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { if v != nil { return *v } - var ret DeploymentResourceProperties + var ret ConfigServerProperties return ret - }).(DeploymentResourcePropertiesOutput) + }).(ConfigServerPropertiesOutput) } -func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { if v == nil { return nil } - return v.DeploymentSettings - }).(DeploymentSettingsPtrOutput) + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { if v == nil { return nil } - return v.Source - }).(UserSourceInfoPtrOutput) -} - -type DeploymentResourcePropertiesResponse struct { - Active bool `pulumi:"active"` - AppName string `pulumi:"appName"` - CreatedTime string `pulumi:"createdTime"` - DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` - Instances []DeploymentInstanceResponse `pulumi:"instances"` - ProvisioningState string `pulumi:"provisioningState"` - Source *UserSourceInfoResponse `pulumi:"source"` - Status string `pulumi:"status"` + return v.Error + }).(ErrorPtrOutput) } - -func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() - - return &tmp +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } -func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) } -type DeploymentSettings struct { - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - RuntimeVersion *string `pulumi:"runtimeVersion"` +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } - -func (val *DeploymentSettings) Defaults() *DeploymentSettings { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - cpu_ := 1 - tmp.Cpu = &cpu_ - } - if isZero(tmp.MemoryInGB) { - memoryInGB_ := 1 - tmp.MemoryInGB = &memoryInGB_ - } - if isZero(tmp.RuntimeVersion) { - runtimeVersion_ := "Java_8" - tmp.RuntimeVersion = &runtimeVersion_ - } - return &tmp +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type DeploymentSettingsInput interface { +type ConfigServerSettingsInput interface { pulumi.Input - ToDeploymentSettingsOutput() DeploymentSettingsOutput - ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type DeploymentSettingsArgs struct { - Cpu pulumi.IntPtrInput `pulumi:"cpu"` - EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` - JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` - MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` - NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` - RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } - -func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - tmp.Cpu = pulumi.IntPtr(1) - } - if isZero(tmp.MemoryInGB) { - tmp.MemoryInGB = pulumi.IntPtr(1) - } - if isZero(tmp.RuntimeVersion) { - tmp.RuntimeVersion = pulumi.StringPtr("Java_8") - } - return &tmp -} -func (DeploymentSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { - return i.ToDeploymentSettingsOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } @@ -1515,301 +1618,1478 @@ func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx con -type DeploymentSettingsPtrInput interface { +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput - ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -type deploymentSettingsPtrType DeploymentSettingsArgs +type configServerSettingsPtrType ConfigServerSettingsArgs -func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { - return (*deploymentSettingsPtrType)(v) +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (*deploymentSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } -type DeploymentSettingsOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { return &v - }).(DeploymentSettingsPtrOutput) + }).(ConfigServerSettingsPtrOutput) } -func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) } -func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o } -func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o } -func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { + if v != nil { + return *v + } + var ret ConfigServerSettings + return ret + }).(ConfigServerSettingsOutput) } -func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) } -type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` +} -func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { return o } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { return o } -func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { - return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) +} + +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { if v != nil { return *v } - var ret DeploymentSettings + var ret ConfigServerSettingsResponse return ret - }).(DeploymentSettingsOutput) + }).(ConfigServerSettingsResponseOutput) } -func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { if v == nil { return nil } - return v.Cpu - }).(pulumi.IntPtrOutput) + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) } -func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettings) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +type CustomDomainProperties struct { + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + + + + + +type CustomDomainPropertiesInput interface { + pulumi.Input + + ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput + ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput +} + +type CustomDomainPropertiesArgs struct { + CertName pulumi.StringPtrInput `pulumi:"certName"` + Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +} + +func (CustomDomainPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type CustomDomainPropertiesPtrInput interface { + pulumi.Input + + ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput + ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput +} + +type customDomainPropertiesPtrType CustomDomainPropertiesArgs + +func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { + return (*customDomainPropertiesPtrType)(v) +} + +func (*customDomainPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +} + +type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { + return &v + }).(CustomDomainPropertiesPtrOutput) +} + +func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { + return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { + if v != nil { + return *v + } + var ret CustomDomainProperties + return ret + }).(CustomDomainPropertiesOutput) +} + +func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.CertName + }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.Thumbprint + }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesResponse struct { + AppName string `pulumi:"appName"` + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + +type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type DeploymentInstanceResponse struct { + DiscoveryStatus string `pulumi:"discoveryStatus"` + Name string `pulumi:"name"` + Reason string `pulumi:"reason"` + StartTime string `pulumi:"startTime"` + Status string `pulumi:"status"` +} + +type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { + return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] + }).(DeploymentInstanceResponseOutput) +} + +type DeploymentResourceProperties struct { + DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` + Source *UserSourceInfo `pulumi:"source"` +} + + +func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + + + + + +type DeploymentResourcePropertiesInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput + ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput +} + +type DeploymentResourcePropertiesArgs struct { + DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` + Source UserSourceInfoPtrInput `pulumi:"source"` +} + + +func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + + return &tmp +} +func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentResourcePropertiesPtrInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput + ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput +} + +type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs + +func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { + return (*deploymentResourcePropertiesPtrType)(v) +} + +func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +} + +type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { + return &v + }).(DeploymentResourcePropertiesPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { + if v != nil { + return *v + } + var ret DeploymentResourceProperties + return ret + }).(DeploymentResourcePropertiesOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { + if v == nil { + return nil + } + return v.DeploymentSettings + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { + if v == nil { + return nil + } + return v.Source + }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesResponse struct { + Active bool `pulumi:"active"` + AppName string `pulumi:"appName"` + CreatedTime string `pulumi:"createdTime"` + DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` + Instances []DeploymentInstanceResponse `pulumi:"instances"` + ProvisioningState string `pulumi:"provisioningState"` + Source *UserSourceInfoResponse `pulumi:"source"` + Status string `pulumi:"status"` +} + + +func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + +type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentSettings struct { + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + RuntimeVersion *string `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettings) Defaults() *DeploymentSettings { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + cpu_ := 1 + tmp.Cpu = &cpu_ + } + if isZero(tmp.MemoryInGB) { + memoryInGB_ := 1 + tmp.MemoryInGB = &memoryInGB_ + } + if isZero(tmp.RuntimeVersion) { + runtimeVersion_ := "Java_8" + tmp.RuntimeVersion = &runtimeVersion_ + } + return &tmp +} + + + + + +type DeploymentSettingsInput interface { + pulumi.Input + + ToDeploymentSettingsOutput() DeploymentSettingsOutput + ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput +} + +type DeploymentSettingsArgs struct { + Cpu pulumi.IntPtrInput `pulumi:"cpu"` + EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` + JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` + MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` + NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` + RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + tmp.Cpu = pulumi.IntPtr(1) + } + if isZero(tmp.MemoryInGB) { + tmp.MemoryInGB = pulumi.IntPtr(1) + } + if isZero(tmp.RuntimeVersion) { + tmp.RuntimeVersion = pulumi.StringPtr("Java_8") + } + return &tmp +} +func (DeploymentSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return i.ToDeploymentSettingsOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentSettingsPtrInput interface { + pulumi.Input + + ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput + ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput +} + +type deploymentSettingsPtrType DeploymentSettingsArgs + +func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { + return (*deploymentSettingsPtrType)(v) +} + +func (*deploymentSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +} + +type DeploymentSettingsOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { + return &v + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { + return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { + if v != nil { + return *v + } + var ret DeploymentSettings + return ret + }).(DeploymentSettingsOutput) +} + +func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettings) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.JvmOptions + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.MemoryInGB + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsResponse struct { + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + RuntimeVersion *string `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + cpu_ := 1 + tmp.Cpu = &cpu_ + } + if isZero(tmp.MemoryInGB) { + memoryInGB_ := 1 + tmp.MemoryInGB = &memoryInGB_ + } + if isZero(tmp.RuntimeVersion) { + runtimeVersion_ := "Java_8" + tmp.RuntimeVersion = &runtimeVersion_ + } + return &tmp +} + +type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +} + +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { + return o +} + +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { + return o +} + +func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { + if v != nil { + return *v + } + var ret DeploymentSettingsResponse + return ret + }).(DeploymentSettingsResponseOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.JvmOptions + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { + if v == nil { + return nil + } + return v.MemoryInGB + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { + pulumi.Input + + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput +} + +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) +} + +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) +} + + + + + + + + + +type ErrorPtrInput interface { + pulumi.Input + + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput +} + +type errorPtrType ErrorArgs + +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) +} + +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) +} + +type ErrorOutput struct{ *pulumi.OutputState } + +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) +} + +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) +} + +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) +} + +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { + if v != nil { + return *v + } + var ret ErrorResponse + return ret + }).(ErrorResponseOutput) +} + +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) +} + + + + + +type GitPatternRepositoryArrayInput interface { + pulumi.Input + + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput +} + +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) +} + +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) } -func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.JvmOptions - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { - if v == nil { - return nil - } - return v.MemoryInGB - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.NetCoreMainEntryPath - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.RuntimeVersion - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -type DeploymentSettingsResponse struct { - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - RuntimeVersion *string `pulumi:"runtimeVersion"` +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) +} -func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - cpu_ := 1 - tmp.Cpu = &cpu_ - } - if isZero(tmp.MemoryInGB) { - memoryInGB_ := 1 - tmp.MemoryInGB = &memoryInGB_ - } - if isZero(tmp.RuntimeVersion) { - runtimeVersion_ := "Java_8" - tmp.RuntimeVersion = &runtimeVersion_ - } - return &tmp +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} -func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { - if v != nil { - return *v - } - var ret DeploymentSettingsResponse - return ret - }).(DeploymentSettingsResponseOutput) +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.Cpu - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.JvmOptions - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.MemoryInGB - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.NetCoreMainEntryPath - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.RuntimeVersion - }).(pulumi.StringPtrOutput) +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() +} + +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { + return o +} + +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { + return o +} + +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type ManagedIdentityProperties struct { @@ -2058,6 +3338,206 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) Type() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetworkProfile struct { AppNetworkResourceGroup *string `pulumi:"appNetworkResourceGroup"` AppSubnetId *string `pulumi:"appSubnetId"` @@ -3526,6 +5006,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(CustomDomainPropertiesOutput{}) pulumi.RegisterOutputType(CustomDomainPropertiesPtrOutput{}) pulumi.RegisterOutputType(CustomDomainPropertiesResponseOutput{}) @@ -3538,10 +5029,21 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20201101preview/configServer.go b/sdk/go/azure/appplatform/v20201101preview/configServer.go new file mode 100644 index 000000000000..fd59ddb2bbc5 --- /dev/null +++ b/sdk/go/azure/appplatform/v20201101preview/configServer.go @@ -0,0 +1,160 @@ + + + +package v20201101preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20201101preview:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20201101preview:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20201101preview/getConfigServer.go b/sdk/go/azure/appplatform/v20201101preview/getConfigServer.go new file mode 100644 index 000000000000..fb3a6651c0f8 --- /dev/null +++ b/sdk/go/azure/appplatform/v20201101preview/getConfigServer.go @@ -0,0 +1,90 @@ + + + +package v20201101preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20201101preview:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20201101preview/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20201101preview/getMonitoringSetting.go new file mode 100644 index 000000000000..51858f983ca8 --- /dev/null +++ b/sdk/go/azure/appplatform/v20201101preview/getMonitoringSetting.go @@ -0,0 +1,90 @@ + + + +package v20201101preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20201101preview:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20201101preview/init.go b/sdk/go/azure/appplatform/v20201101preview/init.go index a77c87f4d066..3bd41d7387e8 100644 --- a/sdk/go/azure/appplatform/v20201101preview/init.go +++ b/sdk/go/azure/appplatform/v20201101preview/init.go @@ -27,10 +27,14 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Binding{} case "azure-native:appplatform/v20201101preview:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20201101preview:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20201101preview:CustomDomain": r = &CustomDomain{} case "azure-native:appplatform/v20201101preview:Deployment": r = &Deployment{} + case "azure-native:appplatform/v20201101preview:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20201101preview:Service": r = &Service{} default: diff --git a/sdk/go/azure/appplatform/v20201101preview/monitoringSetting.go b/sdk/go/azure/appplatform/v20201101preview/monitoringSetting.go new file mode 100644 index 000000000000..92d8751a711d --- /dev/null +++ b/sdk/go/azure/appplatform/v20201101preview/monitoringSetting.go @@ -0,0 +1,160 @@ + + + +package v20201101preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20201101preview:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20201101preview:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20201101preview/pulumiTypes.go b/sdk/go/azure/appplatform/v20201101preview/pulumiTypes.go index 25da81c5524a..32feb60ea5f1 100644 --- a/sdk/go/azure/appplatform/v20201101preview/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20201101preview/pulumiTypes.go @@ -353,6 +353,61 @@ func (o AppResourcePropertiesResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v AppResourcePropertiesResponse) string { return v.Url }).(pulumi.StringOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type BindingResourceProperties struct { BindingParameters map[string]interface{} `pulumi:"bindingParameters"` Key *string `pulumi:"key"` @@ -973,45 +1028,61 @@ func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) } -type CustomDomainProperties struct { - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type CustomDomainPropertiesInput interface { +type ConfigServerGitPropertyInput interface { pulumi.Input - ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput - ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput } -type CustomDomainPropertiesArgs struct { - CertName pulumi.StringPtrInput `pulumi:"certName"` - Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (CustomDomainPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { - return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) } @@ -1022,520 +1093,607 @@ func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext -type CustomDomainPropertiesPtrInput interface { +type ConfigServerGitPropertyPtrInput interface { pulumi.Input - ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput - ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput } -type customDomainPropertiesPtrType CustomDomainPropertiesArgs +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs -func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { - return (*customDomainPropertiesPtrType)(v) +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) } -func (*customDomainPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) } -type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { return &v - }).(CustomDomainPropertiesPtrOutput) + }).(ConfigServerGitPropertyPtrOutput) } -func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { - return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { if v != nil { return *v } - var ret CustomDomainProperties + var ret ConfigServerGitProperty return ret - }).(CustomDomainPropertiesOutput) + }).(ConfigServerGitPropertyOutput) } -func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.CertName + return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Thumbprint + return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -type CustomDomainPropertiesResponse struct { - AppName string `pulumi:"appName"` - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} -func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) } -func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type DeploymentInstanceResponse struct { - DiscoveryStatus string `pulumi:"discoveryStatus"` - Name string `pulumi:"name"` - Reason string `pulumi:"reason"` - StartTime string `pulumi:"startTime"` - Status string `pulumi:"status"` +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } -func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { return o } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { return o } -func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } - -func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { - return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] - }).(DeploymentInstanceResponseOutput) +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) } -type DeploymentResourceProperties struct { - DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` - Source *UserSourceInfo `pulumi:"source"` +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } -func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { - if val == nil { - return nil - } - tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() - - return &tmp +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() } - - - - -type DeploymentResourcePropertiesInput interface { - pulumi.Input - - ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput - ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { + return o } -type DeploymentResourcePropertiesArgs struct { - DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` - Source UserSourceInfoPtrInput `pulumi:"source"` +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { + return o } - -func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - - return &tmp -} -func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { - return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` +} -type DeploymentResourcePropertiesPtrInput interface { + + +type ConfigServerPropertiesInput interface { pulumi.Input - ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput - ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` +} -func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { - return (*deploymentResourcePropertiesPtrType)(v) +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} -func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() + + + + + + + + +type ConfigServerPropertiesPtrInput interface { + pulumi.Input + + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { +type configServerPropertiesPtrType ConfigServerPropertiesArgs + +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) +} + +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) +} + +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { return &v - }).(DeploymentResourcePropertiesPtrOutput) + }).(ConfigServerPropertiesPtrOutput) } -func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) } -func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { if v != nil { return *v } - var ret DeploymentResourceProperties + var ret ConfigServerProperties return ret - }).(DeploymentResourcePropertiesOutput) + }).(ConfigServerPropertiesOutput) } -func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { if v == nil { return nil } - return v.DeploymentSettings - }).(DeploymentSettingsPtrOutput) + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { if v == nil { return nil } - return v.Source - }).(UserSourceInfoPtrOutput) -} - -type DeploymentResourcePropertiesResponse struct { - Active bool `pulumi:"active"` - AppName string `pulumi:"appName"` - CreatedTime string `pulumi:"createdTime"` - DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` - Instances []DeploymentInstanceResponse `pulumi:"instances"` - ProvisioningState string `pulumi:"provisioningState"` - Source *UserSourceInfoResponse `pulumi:"source"` - Status string `pulumi:"status"` + return v.Error + }).(ErrorPtrOutput) } - -func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() - - return &tmp +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } -func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) } -type DeploymentSettings struct { - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - RuntimeVersion *string `pulumi:"runtimeVersion"` +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } - -func (val *DeploymentSettings) Defaults() *DeploymentSettings { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - cpu_ := 1 - tmp.Cpu = &cpu_ - } - if isZero(tmp.MemoryInGB) { - memoryInGB_ := 1 - tmp.MemoryInGB = &memoryInGB_ - } - if isZero(tmp.RuntimeVersion) { - runtimeVersion_ := "Java_8" - tmp.RuntimeVersion = &runtimeVersion_ - } - return &tmp +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type DeploymentSettingsInput interface { +type ConfigServerSettingsInput interface { pulumi.Input - ToDeploymentSettingsOutput() DeploymentSettingsOutput - ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type DeploymentSettingsArgs struct { - Cpu pulumi.IntPtrInput `pulumi:"cpu"` - EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` - JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` - MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` - NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` - RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } - -func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - tmp.Cpu = pulumi.IntPtr(1) - } - if isZero(tmp.MemoryInGB) { - tmp.MemoryInGB = pulumi.IntPtr(1) - } - if isZero(tmp.RuntimeVersion) { - tmp.RuntimeVersion = pulumi.StringPtr("Java_8") - } - return &tmp -} -func (DeploymentSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { - return i.ToDeploymentSettingsOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } @@ -1546,105 +1704,965 @@ func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx con -type DeploymentSettingsPtrInput interface { +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput - ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -type deploymentSettingsPtrType DeploymentSettingsArgs +type configServerSettingsPtrType ConfigServerSettingsArgs -func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { - return (*deploymentSettingsPtrType)(v) +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (*deploymentSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } -type DeploymentSettingsOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { return &v - }).(DeploymentSettingsPtrOutput) + }).(ConfigServerSettingsPtrOutput) } -func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) } -func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o } -func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o } -func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { + if v != nil { + return *v + } + var ret ConfigServerSettings + return ret + }).(ConfigServerSettingsOutput) } -func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` +} + +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() +} + +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { + return o +} + +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { + return o +} + +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) +} + +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) +} + +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) +} + +type CustomDomainProperties struct { + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + + + + + +type CustomDomainPropertiesInput interface { + pulumi.Input + + ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput + ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput +} + +type CustomDomainPropertiesArgs struct { + CertName pulumi.StringPtrInput `pulumi:"certName"` + Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +} + +func (CustomDomainPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type CustomDomainPropertiesPtrInput interface { + pulumi.Input + + ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput + ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput +} + +type customDomainPropertiesPtrType CustomDomainPropertiesArgs + +func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { + return (*customDomainPropertiesPtrType)(v) +} + +func (*customDomainPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +} + +type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { + return &v + }).(CustomDomainPropertiesPtrOutput) +} + +func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { + return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { + if v != nil { + return *v + } + var ret CustomDomainProperties + return ret + }).(CustomDomainPropertiesOutput) +} + +func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.CertName + }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.Thumbprint + }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesResponse struct { + AppName string `pulumi:"appName"` + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + +type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type DeploymentInstanceResponse struct { + DiscoveryStatus string `pulumi:"discoveryStatus"` + Name string `pulumi:"name"` + Reason string `pulumi:"reason"` + StartTime string `pulumi:"startTime"` + Status string `pulumi:"status"` +} + +type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { + return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] + }).(DeploymentInstanceResponseOutput) +} + +type DeploymentResourceProperties struct { + DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` + Source *UserSourceInfo `pulumi:"source"` +} + + +func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + + + + + +type DeploymentResourcePropertiesInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput + ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput +} + +type DeploymentResourcePropertiesArgs struct { + DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` + Source UserSourceInfoPtrInput `pulumi:"source"` +} + + +func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + + return &tmp +} +func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentResourcePropertiesPtrInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput + ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput +} + +type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs + +func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { + return (*deploymentResourcePropertiesPtrType)(v) +} + +func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +} + +type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { + return &v + }).(DeploymentResourcePropertiesPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { + if v != nil { + return *v + } + var ret DeploymentResourceProperties + return ret + }).(DeploymentResourcePropertiesOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { + if v == nil { + return nil + } + return v.DeploymentSettings + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { + if v == nil { + return nil + } + return v.Source + }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesResponse struct { + Active bool `pulumi:"active"` + AppName string `pulumi:"appName"` + CreatedTime string `pulumi:"createdTime"` + DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` + Instances []DeploymentInstanceResponse `pulumi:"instances"` + ProvisioningState string `pulumi:"provisioningState"` + Source *UserSourceInfoResponse `pulumi:"source"` + Status string `pulumi:"status"` +} + + +func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + +type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentSettings struct { + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + RuntimeVersion *string `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettings) Defaults() *DeploymentSettings { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + cpu_ := 1 + tmp.Cpu = &cpu_ + } + if isZero(tmp.MemoryInGB) { + memoryInGB_ := 1 + tmp.MemoryInGB = &memoryInGB_ + } + if isZero(tmp.RuntimeVersion) { + runtimeVersion_ := "Java_8" + tmp.RuntimeVersion = &runtimeVersion_ + } + return &tmp +} + + + + + +type DeploymentSettingsInput interface { + pulumi.Input + + ToDeploymentSettingsOutput() DeploymentSettingsOutput + ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput +} + +type DeploymentSettingsArgs struct { + Cpu pulumi.IntPtrInput `pulumi:"cpu"` + EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` + JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` + MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` + NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` + RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + tmp.Cpu = pulumi.IntPtr(1) + } + if isZero(tmp.MemoryInGB) { + tmp.MemoryInGB = pulumi.IntPtr(1) + } + if isZero(tmp.RuntimeVersion) { + tmp.RuntimeVersion = pulumi.StringPtr("Java_8") + } + return &tmp +} +func (DeploymentSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return i.ToDeploymentSettingsOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentSettingsPtrInput interface { + pulumi.Input + + ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput + ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput +} + +type deploymentSettingsPtrType DeploymentSettingsArgs + +func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { + return (*deploymentSettingsPtrType)(v) +} + +func (*deploymentSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +} + +type DeploymentSettingsOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { + return &v + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentSettings) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) } -type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } +type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { + return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { + if v != nil { + return *v + } + var ret DeploymentSettings + return ret + }).(DeploymentSettingsOutput) +} + +func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettings) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.JvmOptions + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.MemoryInGB + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsResponse struct { + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + RuntimeVersion *string `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + cpu_ := 1 + tmp.Cpu = &cpu_ + } + if isZero(tmp.MemoryInGB) { + memoryInGB_ := 1 + tmp.MemoryInGB = &memoryInGB_ + } + if isZero(tmp.RuntimeVersion) { + runtimeVersion_ := "Java_8" + tmp.RuntimeVersion = &runtimeVersion_ + } + return &tmp +} + +type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +} + +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { + return o +} + +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { + return o +} + +func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} -func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { +func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { return o } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { return o } -func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { - return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { +func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { if v != nil { return *v } - var ret DeploymentSettings + var ret DeploymentSettingsResponse return ret - }).(DeploymentSettingsOutput) + }).(DeploymentSettingsResponseOutput) } -func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { +func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { if v == nil { return nil } @@ -1652,8 +2670,8 @@ func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettings) map[string]string { +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { if v == nil { return nil } @@ -1661,8 +2679,8 @@ func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutp }).(pulumi.StringMapOutput) } -func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { +func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { if v == nil { return nil } @@ -1670,8 +2688,8 @@ func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { +func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { if v == nil { return nil } @@ -1679,168 +2697,485 @@ func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.NetCoreMainEntryPath - }).(pulumi.StringPtrOutput) +func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { + pulumi.Input + + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput +} + +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) +} + +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) +} + + + + + + + + + +type ErrorPtrInput interface { + pulumi.Input + + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput +} + +type errorPtrType ErrorArgs + +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) +} + +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) +} + +type ErrorOutput struct{ *pulumi.OutputState } + +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) +} + +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) +} + +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) +} + +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { + if v != nil { + return *v + } + var ret ErrorResponse + return ret + }).(ErrorResponseOutput) +} + +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) +} + + + + + +type GitPatternRepositoryArrayInput interface { + pulumi.Input + + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput +} + +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) +} + +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.RuntimeVersion - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -type DeploymentSettingsResponse struct { - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - RuntimeVersion *string `pulumi:"runtimeVersion"` +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} -func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - cpu_ := 1 - tmp.Cpu = &cpu_ - } - if isZero(tmp.MemoryInGB) { - memoryInGB_ := 1 - tmp.MemoryInGB = &memoryInGB_ - } - if isZero(tmp.RuntimeVersion) { - runtimeVersion_ := "Java_8" - tmp.RuntimeVersion = &runtimeVersion_ - } - return &tmp +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) +} -func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} -func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { - if v != nil { - return *v - } - var ret DeploymentSettingsResponse - return ret - }).(DeploymentSettingsResponseOutput) +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.Cpu - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.JvmOptions - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.MemoryInGB - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.NetCoreMainEntryPath - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.RuntimeVersion - }).(pulumi.StringPtrOutput) +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() +} + +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { + return o +} + +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { + return o +} + +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type ManagedIdentityProperties struct { @@ -2089,6 +3424,233 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) Type() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetworkProfile struct { AppNetworkResourceGroup *string `pulumi:"appNetworkResourceGroup"` AppSubnetId *string `pulumi:"appSubnetId"` @@ -3596,6 +5158,8 @@ func init() { pulumi.RegisterOutputType(AppResourcePropertiesOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) @@ -3605,6 +5169,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(CustomDomainPropertiesOutput{}) pulumi.RegisterOutputType(CustomDomainPropertiesPtrOutput{}) pulumi.RegisterOutputType(CustomDomainPropertiesResponseOutput{}) @@ -3617,10 +5192,21 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20210601preview/configServer.go b/sdk/go/azure/appplatform/v20210601preview/configServer.go new file mode 100644 index 000000000000..f5e1ce7246ad --- /dev/null +++ b/sdk/go/azure/appplatform/v20210601preview/configServer.go @@ -0,0 +1,160 @@ + + + +package v20210601preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20210601preview:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20210601preview:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210601preview/getConfigServer.go b/sdk/go/azure/appplatform/v20210601preview/getConfigServer.go new file mode 100644 index 000000000000..dfb1986d5643 --- /dev/null +++ b/sdk/go/azure/appplatform/v20210601preview/getConfigServer.go @@ -0,0 +1,90 @@ + + + +package v20210601preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20210601preview:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210601preview/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20210601preview/getMonitoringSetting.go new file mode 100644 index 000000000000..fe82b2d1dcbb --- /dev/null +++ b/sdk/go/azure/appplatform/v20210601preview/getMonitoringSetting.go @@ -0,0 +1,90 @@ + + + +package v20210601preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20210601preview:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210601preview/init.go b/sdk/go/azure/appplatform/v20210601preview/init.go index cb1f8e6b84c7..62ad18ba0511 100644 --- a/sdk/go/azure/appplatform/v20210601preview/init.go +++ b/sdk/go/azure/appplatform/v20210601preview/init.go @@ -27,10 +27,14 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Binding{} case "azure-native:appplatform/v20210601preview:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20210601preview:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20210601preview:CustomDomain": r = &CustomDomain{} case "azure-native:appplatform/v20210601preview:Deployment": r = &Deployment{} + case "azure-native:appplatform/v20210601preview:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20210601preview:Service": r = &Service{} default: diff --git a/sdk/go/azure/appplatform/v20210601preview/monitoringSetting.go b/sdk/go/azure/appplatform/v20210601preview/monitoringSetting.go new file mode 100644 index 000000000000..ff029ecb31f4 --- /dev/null +++ b/sdk/go/azure/appplatform/v20210601preview/monitoringSetting.go @@ -0,0 +1,160 @@ + + + +package v20210601preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20210601preview:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20210601preview:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210601preview/pulumiTypes.go b/sdk/go/azure/appplatform/v20210601preview/pulumiTypes.go index 98c5203a721f..0c9a7e25f356 100644 --- a/sdk/go/azure/appplatform/v20210601preview/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20210601preview/pulumiTypes.go @@ -353,6 +353,61 @@ func (o AppResourcePropertiesResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v AppResourcePropertiesResponse) string { return v.Url }).(pulumi.StringOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type BindingResourceProperties struct { BindingParameters map[string]interface{} `pulumi:"bindingParameters"` Key *string `pulumi:"key"` @@ -973,51 +1028,61 @@ func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) } -type CustomContainer struct { - Args []string `pulumi:"args"` - Command []string `pulumi:"command"` - ContainerImage *string `pulumi:"containerImage"` - ImageRegistryCredential *ImageRegistryCredential `pulumi:"imageRegistryCredential"` - Server *string `pulumi:"server"` +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type CustomContainerInput interface { +type ConfigServerGitPropertyInput interface { pulumi.Input - ToCustomContainerOutput() CustomContainerOutput - ToCustomContainerOutputWithContext(context.Context) CustomContainerOutput + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput } -type CustomContainerArgs struct { - Args pulumi.StringArrayInput `pulumi:"args"` - Command pulumi.StringArrayInput `pulumi:"command"` - ContainerImage pulumi.StringPtrInput `pulumi:"containerImage"` - ImageRegistryCredential ImageRegistryCredentialPtrInput `pulumi:"imageRegistryCredential"` - Server pulumi.StringPtrInput `pulumi:"server"` +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (CustomContainerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomContainer)(nil)).Elem() +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (i CustomContainerArgs) ToCustomContainerOutput() CustomContainerOutput { - return i.ToCustomContainerOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) } -func (i CustomContainerArgs) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) } -func (i CustomContainerArgs) ToCustomContainerPtrOutput() CustomContainerPtrOutput { - return i.ToCustomContainerPtrOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i CustomContainerArgs) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput).ToCustomContainerPtrOutputWithContext(ctx) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) } @@ -1028,297 +1093,430 @@ func (i CustomContainerArgs) ToCustomContainerPtrOutputWithContext(ctx context.C -type CustomContainerPtrInput interface { +type ConfigServerGitPropertyPtrInput interface { pulumi.Input - ToCustomContainerPtrOutput() CustomContainerPtrOutput - ToCustomContainerPtrOutputWithContext(context.Context) CustomContainerPtrOutput + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput } -type customContainerPtrType CustomContainerArgs +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs -func CustomContainerPtr(v *CustomContainerArgs) CustomContainerPtrInput { - return (*customContainerPtrType)(v) +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) } -func (*customContainerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomContainer)(nil)).Elem() +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() } -func (i *customContainerPtrType) ToCustomContainerPtrOutput() CustomContainerPtrOutput { - return i.ToCustomContainerPtrOutputWithContext(context.Background()) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i *customContainerPtrType) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomContainerPtrOutput) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) } -type CustomContainerOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } -func (CustomContainerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomContainer)(nil)).Elem() +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (o CustomContainerOutput) ToCustomContainerOutput() CustomContainerOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { return o } -func (o CustomContainerOutput) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { return o } -func (o CustomContainerOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { - return o.ToCustomContainerPtrOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (o CustomContainerOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomContainer) *CustomContainer { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { return &v - }).(CustomContainerPtrOutput) + }).(ConfigServerGitPropertyPtrOutput) } -func (o CustomContainerOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainer) []string { return v.Args }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainer) []string { return v.Command }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainer) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { - return o.ApplyT(func(v CustomContainer) *ImageRegistryCredential { return v.ImageRegistryCredential }).(ImageRegistryCredentialPtrOutput) +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainer) *string { return v.Server }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomContainerPtrOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} -func (CustomContainerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomContainer)(nil)).Elem() +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o CustomContainerPtrOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { return o } -func (o CustomContainerPtrOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { return o } -func (o CustomContainerPtrOutput) Elem() CustomContainerOutput { - return o.ApplyT(func(v *CustomContainer) CustomContainer { +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { if v != nil { return *v } - var ret CustomContainer + var ret ConfigServerGitProperty return ret - }).(CustomContainerOutput) + }).(ConfigServerGitPropertyOutput) } -func (o CustomContainerPtrOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainer) []string { +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Args - }).(pulumi.StringArrayOutput) + return v.HostKey + }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainer) []string { +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Command - }).(pulumi.StringArrayOutput) + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainer) *string { +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.ContainerImage + return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { - return o.ApplyT(func(v *CustomContainer) *ImageRegistryCredential { +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.ImageRegistryCredential - }).(ImageRegistryCredentialPtrOutput) + return v.Password + }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainer) *string { +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Server + return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomContainerResponse struct { - Args []string `pulumi:"args"` - Command []string `pulumi:"command"` - ContainerImage *string `pulumi:"containerImage"` - ImageRegistryCredential *ImageRegistryCredentialResponse `pulumi:"imageRegistryCredential"` - Server *string `pulumi:"server"` +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) } -type CustomContainerResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} -func (CustomContainerResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomContainerResponse)(nil)).Elem() +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o CustomContainerResponseOutput) ToCustomContainerResponseOutput() CustomContainerResponseOutput { +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { return o } -func (o CustomContainerResponseOutput) ToCustomContainerResponseOutputWithContext(ctx context.Context) CustomContainerResponseOutput { +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { return o } -func (o CustomContainerResponseOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainerResponse) []string { return v.Args }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainerResponse) []string { return v.Command }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainerResponse) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { - return o.ApplyT(func(v CustomContainerResponse) *ImageRegistryCredentialResponse { return v.ImageRegistryCredential }).(ImageRegistryCredentialResponsePtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainerResponse) *string { return v.Server }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomContainerResponsePtrOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} -func (CustomContainerResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomContainerResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutput() CustomContainerResponsePtrOutput { +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { return o } -func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutputWithContext(ctx context.Context) CustomContainerResponsePtrOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { return o } -func (o CustomContainerResponsePtrOutput) Elem() CustomContainerResponseOutput { - return o.ApplyT(func(v *CustomContainerResponse) CustomContainerResponse { +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { if v != nil { return *v } - var ret CustomContainerResponse + var ret ConfigServerGitPropertyResponse return ret - }).(CustomContainerResponseOutput) + }).(ConfigServerGitPropertyResponseOutput) } -func (o CustomContainerResponsePtrOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainerResponse) []string { +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.Args - }).(pulumi.StringArrayOutput) + return v.HostKey + }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainerResponse) []string { +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.Command - }).(pulumi.StringArrayOutput) + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainerResponse) *string { +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.ContainerImage + return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { - return o.ApplyT(func(v *CustomContainerResponse) *ImageRegistryCredentialResponse { +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.ImageRegistryCredential - }).(ImageRegistryCredentialResponsePtrOutput) + return v.Password + }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainerResponse) *string { +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.Server + return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomDomainProperties struct { - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) } - - - - -type CustomDomainPropertiesInput interface { - pulumi.Input - - ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput - ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) } -type CustomDomainPropertiesArgs struct { - CertName pulumi.StringPtrInput `pulumi:"certName"` - Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (CustomDomainPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { - return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) + + + + +type ConfigServerPropertiesInput interface { + pulumi.Input + + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` +} + +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} @@ -1326,854 +1524,1991 @@ func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext -type CustomDomainPropertiesPtrInput interface { + + +type ConfigServerPropertiesPtrInput interface { pulumi.Input - ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput - ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -type customDomainPropertiesPtrType CustomDomainPropertiesArgs +type configServerPropertiesPtrType ConfigServerPropertiesArgs -func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { - return (*customDomainPropertiesPtrType)(v) +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) } -func (*customDomainPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) } -type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { return &v - }).(CustomDomainPropertiesPtrOutput) + }).(ConfigServerPropertiesPtrOutput) } -func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) } -func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { - return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { if v != nil { return *v } - var ret CustomDomainProperties + var ret ConfigServerProperties return ret - }).(CustomDomainPropertiesOutput) + }).(ConfigServerPropertiesOutput) } -func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { if v == nil { return nil } - return v.CertName - }).(pulumi.StringPtrOutput) + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { if v == nil { return nil } - return v.Thumbprint - }).(pulumi.StringPtrOutput) + return v.Error + }).(ErrorPtrOutput) } -type CustomDomainPropertiesResponse struct { - AppName string `pulumi:"appName"` - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { return o } -func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } -func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) } -func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type DeploymentInstanceResponse struct { - DiscoveryStatus string `pulumi:"discoveryStatus"` - Name string `pulumi:"name"` - Reason string `pulumi:"reason"` - StartTime string `pulumi:"startTime"` - Status string `pulumi:"status"` +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } - -func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() -} -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { - return o -} -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { - return o -} -func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) -} -func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) -} +type ConfigServerSettingsInput interface { + pulumi.Input -func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } -func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } - -func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { - return o +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { - return o +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { - return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] - }).(DeploymentInstanceResponseOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } -type DeploymentResourceProperties struct { - DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` - Source *UserSourceInfo `pulumi:"source"` -} -func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { - if val == nil { - return nil - } - tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() - return &tmp -} -type DeploymentResourcePropertiesInput interface { +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput - ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput -} - -type DeploymentResourcePropertiesArgs struct { - DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` - Source UserSourceInfoPtrInput `pulumi:"source"` + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } +type configServerSettingsPtrType ConfigServerSettingsArgs -func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - - return &tmp -} -func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() -} - -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { - return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() +} +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return o +} +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return o +} +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) +} +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { + return &v + }).(ConfigServerSettingsPtrOutput) +} - - -type DeploymentResourcePropertiesPtrInput interface { - pulumi.Input - - ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput - ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) } -type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } -func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { - return (*deploymentResourcePropertiesPtrType)(v) +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { + if v != nil { + return *v + } + var ret ConfigServerSettings + return ret + }).(ConfigServerSettingsOutput) } -type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } - -func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { - return o +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { - return o -} +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { - return &v - }).(DeploymentResourcePropertiesPtrOutput) +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { + return o } -func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { + return o } -func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) } -type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { if v != nil { return *v } - var ret DeploymentResourceProperties + var ret ConfigServerSettingsResponse return ret - }).(DeploymentResourcePropertiesOutput) + }).(ConfigServerSettingsResponseOutput) } -func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { if v == nil { return nil } - return v.DeploymentSettings - }).(DeploymentSettingsPtrOutput) + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) } -func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { - if v == nil { - return nil - } - return v.Source - }).(UserSourceInfoPtrOutput) +type CustomContainer struct { + Args []string `pulumi:"args"` + Command []string `pulumi:"command"` + ContainerImage *string `pulumi:"containerImage"` + ImageRegistryCredential *ImageRegistryCredential `pulumi:"imageRegistryCredential"` + Server *string `pulumi:"server"` } -type DeploymentResourcePropertiesResponse struct { - Active bool `pulumi:"active"` - AppName string `pulumi:"appName"` - CreatedTime string `pulumi:"createdTime"` - DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` - Instances []DeploymentInstanceResponse `pulumi:"instances"` - ProvisioningState string `pulumi:"provisioningState"` + + + + +type CustomContainerInput interface { + pulumi.Input + + ToCustomContainerOutput() CustomContainerOutput + ToCustomContainerOutputWithContext(context.Context) CustomContainerOutput +} + +type CustomContainerArgs struct { + Args pulumi.StringArrayInput `pulumi:"args"` + Command pulumi.StringArrayInput `pulumi:"command"` + ContainerImage pulumi.StringPtrInput `pulumi:"containerImage"` + ImageRegistryCredential ImageRegistryCredentialPtrInput `pulumi:"imageRegistryCredential"` + Server pulumi.StringPtrInput `pulumi:"server"` +} + +func (CustomContainerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomContainer)(nil)).Elem() +} + +func (i CustomContainerArgs) ToCustomContainerOutput() CustomContainerOutput { + return i.ToCustomContainerOutputWithContext(context.Background()) +} + +func (i CustomContainerArgs) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput) +} + +func (i CustomContainerArgs) ToCustomContainerPtrOutput() CustomContainerPtrOutput { + return i.ToCustomContainerPtrOutputWithContext(context.Background()) +} + +func (i CustomContainerArgs) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput).ToCustomContainerPtrOutputWithContext(ctx) +} + + + + + + + + + +type CustomContainerPtrInput interface { + pulumi.Input + + ToCustomContainerPtrOutput() CustomContainerPtrOutput + ToCustomContainerPtrOutputWithContext(context.Context) CustomContainerPtrOutput +} + +type customContainerPtrType CustomContainerArgs + +func CustomContainerPtr(v *CustomContainerArgs) CustomContainerPtrInput { + return (*customContainerPtrType)(v) +} + +func (*customContainerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomContainer)(nil)).Elem() +} + +func (i *customContainerPtrType) ToCustomContainerPtrOutput() CustomContainerPtrOutput { + return i.ToCustomContainerPtrOutputWithContext(context.Background()) +} + +func (i *customContainerPtrType) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomContainerPtrOutput) +} + +type CustomContainerOutput struct{ *pulumi.OutputState } + +func (CustomContainerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomContainer)(nil)).Elem() +} + +func (o CustomContainerOutput) ToCustomContainerOutput() CustomContainerOutput { + return o +} + +func (o CustomContainerOutput) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { + return o +} + +func (o CustomContainerOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { + return o.ToCustomContainerPtrOutputWithContext(context.Background()) +} + +func (o CustomContainerOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomContainer) *CustomContainer { + return &v + }).(CustomContainerPtrOutput) +} + +func (o CustomContainerOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainer) []string { return v.Args }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainer) []string { return v.Command }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainer) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) +} + +func (o CustomContainerOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { + return o.ApplyT(func(v CustomContainer) *ImageRegistryCredential { return v.ImageRegistryCredential }).(ImageRegistryCredentialPtrOutput) +} + +func (o CustomContainerOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainer) *string { return v.Server }).(pulumi.StringPtrOutput) +} + +type CustomContainerPtrOutput struct{ *pulumi.OutputState } + +func (CustomContainerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomContainer)(nil)).Elem() +} + +func (o CustomContainerPtrOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { + return o +} + +func (o CustomContainerPtrOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { + return o +} + +func (o CustomContainerPtrOutput) Elem() CustomContainerOutput { + return o.ApplyT(func(v *CustomContainer) CustomContainer { + if v != nil { + return *v + } + var ret CustomContainer + return ret + }).(CustomContainerOutput) +} + +func (o CustomContainerPtrOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainer) []string { + if v == nil { + return nil + } + return v.Args + }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerPtrOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainer) []string { + if v == nil { + return nil + } + return v.Command + }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerPtrOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainer) *string { + if v == nil { + return nil + } + return v.ContainerImage + }).(pulumi.StringPtrOutput) +} + +func (o CustomContainerPtrOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { + return o.ApplyT(func(v *CustomContainer) *ImageRegistryCredential { + if v == nil { + return nil + } + return v.ImageRegistryCredential + }).(ImageRegistryCredentialPtrOutput) +} + +func (o CustomContainerPtrOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainer) *string { + if v == nil { + return nil + } + return v.Server + }).(pulumi.StringPtrOutput) +} + +type CustomContainerResponse struct { + Args []string `pulumi:"args"` + Command []string `pulumi:"command"` + ContainerImage *string `pulumi:"containerImage"` + ImageRegistryCredential *ImageRegistryCredentialResponse `pulumi:"imageRegistryCredential"` + Server *string `pulumi:"server"` +} + +type CustomContainerResponseOutput struct{ *pulumi.OutputState } + +func (CustomContainerResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomContainerResponse)(nil)).Elem() +} + +func (o CustomContainerResponseOutput) ToCustomContainerResponseOutput() CustomContainerResponseOutput { + return o +} + +func (o CustomContainerResponseOutput) ToCustomContainerResponseOutputWithContext(ctx context.Context) CustomContainerResponseOutput { + return o +} + +func (o CustomContainerResponseOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainerResponse) []string { return v.Args }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerResponseOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainerResponse) []string { return v.Command }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerResponseOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainerResponse) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) +} + +func (o CustomContainerResponseOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { + return o.ApplyT(func(v CustomContainerResponse) *ImageRegistryCredentialResponse { return v.ImageRegistryCredential }).(ImageRegistryCredentialResponsePtrOutput) +} + +func (o CustomContainerResponseOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainerResponse) *string { return v.Server }).(pulumi.StringPtrOutput) +} + +type CustomContainerResponsePtrOutput struct{ *pulumi.OutputState } + +func (CustomContainerResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomContainerResponse)(nil)).Elem() +} + +func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutput() CustomContainerResponsePtrOutput { + return o +} + +func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutputWithContext(ctx context.Context) CustomContainerResponsePtrOutput { + return o +} + +func (o CustomContainerResponsePtrOutput) Elem() CustomContainerResponseOutput { + return o.ApplyT(func(v *CustomContainerResponse) CustomContainerResponse { + if v != nil { + return *v + } + var ret CustomContainerResponse + return ret + }).(CustomContainerResponseOutput) +} + +func (o CustomContainerResponsePtrOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainerResponse) []string { + if v == nil { + return nil + } + return v.Args + }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerResponsePtrOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainerResponse) []string { + if v == nil { + return nil + } + return v.Command + }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerResponsePtrOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainerResponse) *string { + if v == nil { + return nil + } + return v.ContainerImage + }).(pulumi.StringPtrOutput) +} + +func (o CustomContainerResponsePtrOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { + return o.ApplyT(func(v *CustomContainerResponse) *ImageRegistryCredentialResponse { + if v == nil { + return nil + } + return v.ImageRegistryCredential + }).(ImageRegistryCredentialResponsePtrOutput) +} + +func (o CustomContainerResponsePtrOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainerResponse) *string { + if v == nil { + return nil + } + return v.Server + }).(pulumi.StringPtrOutput) +} + +type CustomDomainProperties struct { + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + + + + + +type CustomDomainPropertiesInput interface { + pulumi.Input + + ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput + ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput +} + +type CustomDomainPropertiesArgs struct { + CertName pulumi.StringPtrInput `pulumi:"certName"` + Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +} + +func (CustomDomainPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type CustomDomainPropertiesPtrInput interface { + pulumi.Input + + ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput + ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput +} + +type customDomainPropertiesPtrType CustomDomainPropertiesArgs + +func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { + return (*customDomainPropertiesPtrType)(v) +} + +func (*customDomainPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +} + +type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { + return &v + }).(CustomDomainPropertiesPtrOutput) +} + +func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { + return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { + if v != nil { + return *v + } + var ret CustomDomainProperties + return ret + }).(CustomDomainPropertiesOutput) +} + +func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.CertName + }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.Thumbprint + }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesResponse struct { + AppName string `pulumi:"appName"` + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + +type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type DeploymentInstanceResponse struct { + DiscoveryStatus string `pulumi:"discoveryStatus"` + Name string `pulumi:"name"` + Reason string `pulumi:"reason"` + StartTime string `pulumi:"startTime"` + Status string `pulumi:"status"` +} + +type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { + return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] + }).(DeploymentInstanceResponseOutput) +} + +type DeploymentResourceProperties struct { + DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` + Source *UserSourceInfo `pulumi:"source"` +} + + +func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + + + + + +type DeploymentResourcePropertiesInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput + ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput +} + +type DeploymentResourcePropertiesArgs struct { + DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` + Source UserSourceInfoPtrInput `pulumi:"source"` +} + + +func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + + return &tmp +} +func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentResourcePropertiesPtrInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput + ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput +} + +type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs + +func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { + return (*deploymentResourcePropertiesPtrType)(v) +} + +func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +} + +type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { + return &v + }).(DeploymentResourcePropertiesPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { + if v != nil { + return *v + } + var ret DeploymentResourceProperties + return ret + }).(DeploymentResourcePropertiesOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { + if v == nil { + return nil + } + return v.DeploymentSettings + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { + if v == nil { + return nil + } + return v.Source + }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesResponse struct { + Active bool `pulumi:"active"` + AppName string `pulumi:"appName"` + CreatedTime string `pulumi:"createdTime"` + DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` + Instances []DeploymentInstanceResponse `pulumi:"instances"` + ProvisioningState string `pulumi:"provisioningState"` Source *UserSourceInfoResponse `pulumi:"source"` Status string `pulumi:"status"` } -func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { +func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + +type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentSettings struct { + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + ResourceRequests *ResourceRequests `pulumi:"resourceRequests"` + RuntimeVersion *string `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettings) Defaults() *DeploymentSettings { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + cpu_ := 1 + tmp.Cpu = &cpu_ + } + if isZero(tmp.MemoryInGB) { + memoryInGB_ := 1 + tmp.MemoryInGB = &memoryInGB_ + } + if isZero(tmp.RuntimeVersion) { + runtimeVersion_ := "Java_8" + tmp.RuntimeVersion = &runtimeVersion_ + } + return &tmp +} + + + + + +type DeploymentSettingsInput interface { + pulumi.Input + + ToDeploymentSettingsOutput() DeploymentSettingsOutput + ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput +} + +type DeploymentSettingsArgs struct { + Cpu pulumi.IntPtrInput `pulumi:"cpu"` + EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` + JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` + MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` + NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` + ResourceRequests ResourceRequestsPtrInput `pulumi:"resourceRequests"` + RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + tmp.Cpu = pulumi.IntPtr(1) + } + if isZero(tmp.MemoryInGB) { + tmp.MemoryInGB = pulumi.IntPtr(1) + } + if isZero(tmp.RuntimeVersion) { + tmp.RuntimeVersion = pulumi.StringPtr("Java_8") + } + return &tmp +} +func (DeploymentSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return i.ToDeploymentSettingsOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentSettingsPtrInput interface { + pulumi.Input + + ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput + ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput +} + +type deploymentSettingsPtrType DeploymentSettingsArgs + +func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { + return (*deploymentSettingsPtrType)(v) +} + +func (*deploymentSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +} + +type DeploymentSettingsOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { + return &v + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) ResourceRequests() ResourceRequestsPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *ResourceRequests { return v.ResourceRequests }).(ResourceRequestsPtrOutput) +} + +func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { + return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { + if v != nil { + return *v + } + var ret DeploymentSettings + return ret + }).(DeploymentSettingsOutput) +} + +func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettings) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.JvmOptions + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.MemoryInGB + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) ResourceRequests() ResourceRequestsPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *ResourceRequests { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsResponse struct { + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + ResourceRequests *ResourceRequestsResponse `pulumi:"resourceRequests"` + RuntimeVersion *string `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { if val == nil { return nil } tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + if isZero(tmp.Cpu) { + cpu_ := 1 + tmp.Cpu = &cpu_ + } + if isZero(tmp.MemoryInGB) { + memoryInGB_ := 1 + tmp.MemoryInGB = &memoryInGB_ + } + if isZero(tmp.RuntimeVersion) { + runtimeVersion_ := "Java_8" + tmp.RuntimeVersion = &runtimeVersion_ + } + return &tmp +} + +type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +} + +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { + return o +} + +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { + return o +} + +func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *ResourceRequestsResponse { return v.ResourceRequests }).(ResourceRequestsResponsePtrOutput) +} + +func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { + if v != nil { + return *v + } + var ret DeploymentSettingsResponse + return ret + }).(DeploymentSettingsResponseOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.JvmOptions + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { + if v == nil { + return nil + } + return v.MemoryInGB + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} - return &tmp +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` } -type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() -} -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { - return o -} -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { - return o -} -func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) -} +type ErrorInput interface { + pulumi.Input -func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput } -func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` } -func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() } -func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) } -func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) } -func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) } -func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) } -type DeploymentSettings struct { - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - ResourceRequests *ResourceRequests `pulumi:"resourceRequests"` - RuntimeVersion *string `pulumi:"runtimeVersion"` -} -func (val *DeploymentSettings) Defaults() *DeploymentSettings { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - cpu_ := 1 - tmp.Cpu = &cpu_ - } - if isZero(tmp.MemoryInGB) { - memoryInGB_ := 1 - tmp.MemoryInGB = &memoryInGB_ - } - if isZero(tmp.RuntimeVersion) { - runtimeVersion_ := "Java_8" - tmp.RuntimeVersion = &runtimeVersion_ - } - return &tmp -} -type DeploymentSettingsInput interface { - pulumi.Input - ToDeploymentSettingsOutput() DeploymentSettingsOutput - ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput -} +type ErrorPtrInput interface { + pulumi.Input -type DeploymentSettingsArgs struct { - Cpu pulumi.IntPtrInput `pulumi:"cpu"` - EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` - JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` - MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` - NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` - ResourceRequests ResourceRequestsPtrInput `pulumi:"resourceRequests"` - RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput } +type errorPtrType ErrorArgs -func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - tmp.Cpu = pulumi.IntPtr(1) - } - if isZero(tmp.MemoryInGB) { - tmp.MemoryInGB = pulumi.IntPtr(1) - } - if isZero(tmp.RuntimeVersion) { - tmp.RuntimeVersion = pulumi.StringPtr("Java_8") - } - return &tmp -} -func (DeploymentSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() -} - -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { - return i.ToDeploymentSettingsOutputWithContext(context.Background()) +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) } +type ErrorOutput struct{ *pulumi.OutputState } +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} - - - - - - -type DeploymentSettingsPtrInput interface { - pulumi.Input - - ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput - ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o } -type deploymentSettingsPtrType DeploymentSettingsArgs +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} -func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { - return (*deploymentSettingsPtrType)(v) +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) } -func (*deploymentSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) } -type DeploymentSettingsOutput struct{ *pulumi.OutputState } +type ErrorPtrOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { - return &v - }).(DeploymentSettingsPtrOutput) +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` } -func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() } -func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o } -func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o } -func (o DeploymentSettingsOutput) ResourceRequests() ResourceRequestsPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *ResourceRequests { return v.ResourceRequests }).(ResourceRequestsPtrOutput) +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) } -type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { return o } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { return o } -func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { - return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { if v != nil { return *v } - var ret DeploymentSettings + var ret ErrorResponse return ret - }).(DeploymentSettingsOutput) + }).(ErrorResponseOutput) } -func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.Cpu - }).(pulumi.IntPtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettings) map[string]string { +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) + return v.Message + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.JvmOptions - }).(pulumi.StringPtrOutput) +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { - if v == nil { - return nil - } - return v.MemoryInGB - }).(pulumi.IntPtrOutput) + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput } -func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.NetCoreMainEntryPath - }).(pulumi.StringPtrOutput) +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (o DeploymentSettingsPtrOutput) ResourceRequests() ResourceRequestsPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *ResourceRequests { - if v == nil { - return nil - } - return v.ResourceRequests - }).(ResourceRequestsPtrOutput) +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) +} + + + + + +type GitPatternRepositoryArrayInput interface { + pulumi.Input + + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput +} + +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) +} + +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { - if v == nil { - return nil - } - return v.RuntimeVersion - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -type DeploymentSettingsResponse struct { - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - ResourceRequests *ResourceRequestsResponse `pulumi:"resourceRequests"` - RuntimeVersion *string `pulumi:"runtimeVersion"` +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} -func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - cpu_ := 1 - tmp.Cpu = &cpu_ - } - if isZero(tmp.MemoryInGB) { - memoryInGB_ := 1 - tmp.MemoryInGB = &memoryInGB_ - } - if isZero(tmp.RuntimeVersion) { - runtimeVersion_ := "Java_8" - tmp.RuntimeVersion = &runtimeVersion_ - } - return &tmp +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) +} -func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponseOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *ResourceRequestsResponse { return v.ResourceRequests }).(ResourceRequestsResponsePtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { - if v != nil { - return *v - } - var ret DeploymentSettingsResponse - return ret - }).(DeploymentSettingsResponseOutput) +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.Cpu - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.JvmOptions - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.MemoryInGB - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.NetCoreMainEntryPath - }).(pulumi.StringPtrOutput) +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { - if v == nil { - return nil - } - return v.ResourceRequests - }).(ResourceRequestsResponsePtrOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { + return o } -func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.RuntimeVersion - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { + return o +} + +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type ImageRegistryCredential struct { @@ -2639,6 +3974,233 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) Type() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetworkProfile struct { AppNetworkResourceGroup *string `pulumi:"appNetworkResourceGroup"` AppSubnetId *string `pulumi:"appSubnetId"` @@ -4392,6 +5954,8 @@ func init() { pulumi.RegisterOutputType(AppResourcePropertiesOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) @@ -4401,6 +5965,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(CustomContainerOutput{}) pulumi.RegisterOutputType(CustomContainerPtrOutput{}) pulumi.RegisterOutputType(CustomContainerResponseOutput{}) @@ -4417,6 +5992,14 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(ImageRegistryCredentialOutput{}) pulumi.RegisterOutputType(ImageRegistryCredentialPtrOutput{}) pulumi.RegisterOutputType(ImageRegistryCredentialResponseOutput{}) @@ -4425,6 +6008,9 @@ func init() { pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20210901preview/configServer.go b/sdk/go/azure/appplatform/v20210901preview/configServer.go new file mode 100644 index 000000000000..894b4aa03628 --- /dev/null +++ b/sdk/go/azure/appplatform/v20210901preview/configServer.go @@ -0,0 +1,160 @@ + + + +package v20210901preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20210901preview:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20210901preview:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210901preview/getConfigServer.go b/sdk/go/azure/appplatform/v20210901preview/getConfigServer.go new file mode 100644 index 000000000000..ecf15cafb7ec --- /dev/null +++ b/sdk/go/azure/appplatform/v20210901preview/getConfigServer.go @@ -0,0 +1,90 @@ + + + +package v20210901preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20210901preview:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210901preview/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20210901preview/getMonitoringSetting.go new file mode 100644 index 000000000000..4cd904de80f3 --- /dev/null +++ b/sdk/go/azure/appplatform/v20210901preview/getMonitoringSetting.go @@ -0,0 +1,90 @@ + + + +package v20210901preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20210901preview:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210901preview/init.go b/sdk/go/azure/appplatform/v20210901preview/init.go index c410b1eb6ad4..f43847abc7a9 100644 --- a/sdk/go/azure/appplatform/v20210901preview/init.go +++ b/sdk/go/azure/appplatform/v20210901preview/init.go @@ -27,10 +27,14 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Binding{} case "azure-native:appplatform/v20210901preview:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20210901preview:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20210901preview:CustomDomain": r = &CustomDomain{} case "azure-native:appplatform/v20210901preview:Deployment": r = &Deployment{} + case "azure-native:appplatform/v20210901preview:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20210901preview:Service": r = &Service{} case "azure-native:appplatform/v20210901preview:Storage": diff --git a/sdk/go/azure/appplatform/v20210901preview/monitoringSetting.go b/sdk/go/azure/appplatform/v20210901preview/monitoringSetting.go new file mode 100644 index 000000000000..bcdda73cfa5b --- /dev/null +++ b/sdk/go/azure/appplatform/v20210901preview/monitoringSetting.go @@ -0,0 +1,160 @@ + + + +package v20210901preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20210901preview:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20210901preview:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20210901preview/pulumiTypes.go b/sdk/go/azure/appplatform/v20210901preview/pulumiTypes.go index 419b3972b8e9..d661301242d8 100644 --- a/sdk/go/azure/appplatform/v20210901preview/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20210901preview/pulumiTypes.go @@ -395,6 +395,61 @@ func (o AppResourcePropertiesResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v AppResourcePropertiesResponse) string { return v.Url }).(pulumi.StringOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type AzureFileVolume struct { MountOptions []string `pulumi:"mountOptions"` MountPath string `pulumi:"mountPath"` @@ -1094,67 +1149,61 @@ func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) } -type ContentCertificateProperties struct { - Content *string `pulumi:"content"` - Type string `pulumi:"type"` -} - -type ContentCertificatePropertiesResponse struct { - ActivateDate string `pulumi:"activateDate"` - DnsNames []string `pulumi:"dnsNames"` - ExpirationDate string `pulumi:"expirationDate"` - IssuedDate string `pulumi:"issuedDate"` - Issuer string `pulumi:"issuer"` - SubjectName string `pulumi:"subjectName"` - Thumbprint string `pulumi:"thumbprint"` - Type string `pulumi:"type"` -} - -type CustomContainer struct { - Args []string `pulumi:"args"` - Command []string `pulumi:"command"` - ContainerImage *string `pulumi:"containerImage"` - ImageRegistryCredential *ImageRegistryCredential `pulumi:"imageRegistryCredential"` - Server *string `pulumi:"server"` +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type CustomContainerInput interface { +type ConfigServerGitPropertyInput interface { pulumi.Input - ToCustomContainerOutput() CustomContainerOutput - ToCustomContainerOutputWithContext(context.Context) CustomContainerOutput + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput } -type CustomContainerArgs struct { - Args pulumi.StringArrayInput `pulumi:"args"` - Command pulumi.StringArrayInput `pulumi:"command"` - ContainerImage pulumi.StringPtrInput `pulumi:"containerImage"` - ImageRegistryCredential ImageRegistryCredentialPtrInput `pulumi:"imageRegistryCredential"` - Server pulumi.StringPtrInput `pulumi:"server"` +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (CustomContainerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomContainer)(nil)).Elem() +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (i CustomContainerArgs) ToCustomContainerOutput() CustomContainerOutput { - return i.ToCustomContainerOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) } -func (i CustomContainerArgs) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) } -func (i CustomContainerArgs) ToCustomContainerPtrOutput() CustomContainerPtrOutput { - return i.ToCustomContainerPtrOutputWithContext(context.Background()) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i CustomContainerArgs) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput).ToCustomContainerPtrOutputWithContext(ctx) +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) } @@ -1165,294 +1214,429 @@ func (i CustomContainerArgs) ToCustomContainerPtrOutputWithContext(ctx context.C -type CustomContainerPtrInput interface { +type ConfigServerGitPropertyPtrInput interface { pulumi.Input - ToCustomContainerPtrOutput() CustomContainerPtrOutput - ToCustomContainerPtrOutputWithContext(context.Context) CustomContainerPtrOutput + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput } -type customContainerPtrType CustomContainerArgs +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs -func CustomContainerPtr(v *CustomContainerArgs) CustomContainerPtrInput { - return (*customContainerPtrType)(v) +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) } -func (*customContainerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomContainer)(nil)).Elem() +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() } -func (i *customContainerPtrType) ToCustomContainerPtrOutput() CustomContainerPtrOutput { - return i.ToCustomContainerPtrOutputWithContext(context.Background()) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (i *customContainerPtrType) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomContainerPtrOutput) +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) } -type CustomContainerOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } -func (CustomContainerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomContainer)(nil)).Elem() +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() } -func (o CustomContainerOutput) ToCustomContainerOutput() CustomContainerOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { return o } -func (o CustomContainerOutput) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { return o } -func (o CustomContainerOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { - return o.ToCustomContainerPtrOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) } -func (o CustomContainerOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomContainer) *CustomContainer { +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { return &v - }).(CustomContainerPtrOutput) + }).(ConfigServerGitPropertyPtrOutput) } -func (o CustomContainerOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainer) []string { return v.Args }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainer) []string { return v.Command }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainer) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { - return o.ApplyT(func(v CustomContainer) *ImageRegistryCredential { return v.ImageRegistryCredential }).(ImageRegistryCredentialPtrOutput) +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o CustomContainerOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainer) *string { return v.Server }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomContainerPtrOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} -func (CustomContainerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomContainer)(nil)).Elem() +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o CustomContainerPtrOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { return o } -func (o CustomContainerPtrOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { return o } -func (o CustomContainerPtrOutput) Elem() CustomContainerOutput { - return o.ApplyT(func(v *CustomContainer) CustomContainer { +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { if v != nil { return *v } - var ret CustomContainer + var ret ConfigServerGitProperty return ret - }).(CustomContainerOutput) + }).(ConfigServerGitPropertyOutput) } -func (o CustomContainerPtrOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainer) []string { +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Args - }).(pulumi.StringArrayOutput) + return v.HostKey + }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainer) []string { +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Command - }).(pulumi.StringArrayOutput) + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainer) *string { +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.ContainerImage + return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { - return o.ApplyT(func(v *CustomContainer) *ImageRegistryCredential { +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.ImageRegistryCredential - }).(ImageRegistryCredentialPtrOutput) + return v.Password + }).(pulumi.StringPtrOutput) } -func (o CustomContainerPtrOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainer) *string { +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { if v == nil { return nil } - return v.Server + return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomContainerResponse struct { - Args []string `pulumi:"args"` - Command []string `pulumi:"command"` - ContainerImage *string `pulumi:"containerImage"` - ImageRegistryCredential *ImageRegistryCredentialResponse `pulumi:"imageRegistryCredential"` - Server *string `pulumi:"server"` +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) } -type CustomContainerResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} -func (CustomContainerResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomContainerResponse)(nil)).Elem() +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o CustomContainerResponseOutput) ToCustomContainerResponseOutput() CustomContainerResponseOutput { +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { return o } -func (o CustomContainerResponseOutput) ToCustomContainerResponseOutputWithContext(ctx context.Context) CustomContainerResponseOutput { +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { return o } -func (o CustomContainerResponseOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainerResponse) []string { return v.Args }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomContainerResponse) []string { return v.Command }).(pulumi.StringArrayOutput) +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainerResponse) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { - return o.ApplyT(func(v CustomContainerResponse) *ImageRegistryCredentialResponse { return v.ImageRegistryCredential }).(ImageRegistryCredentialResponsePtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponseOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomContainerResponse) *string { return v.Server }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomContainerResponsePtrOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} -func (CustomContainerResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomContainerResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutput() CustomContainerResponsePtrOutput { +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { return o } -func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutputWithContext(ctx context.Context) CustomContainerResponsePtrOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { return o } -func (o CustomContainerResponsePtrOutput) Elem() CustomContainerResponseOutput { - return o.ApplyT(func(v *CustomContainerResponse) CustomContainerResponse { +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { if v != nil { return *v } - var ret CustomContainerResponse + var ret ConfigServerGitPropertyResponse return ret - }).(CustomContainerResponseOutput) + }).(ConfigServerGitPropertyResponseOutput) } -func (o CustomContainerResponsePtrOutput) Args() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainerResponse) []string { +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.Args - }).(pulumi.StringArrayOutput) + return v.HostKey + }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) Command() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomContainerResponse) []string { +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.Command - }).(pulumi.StringArrayOutput) + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) ContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainerResponse) *string { +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.ContainerImage + return v.Label }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { - return o.ApplyT(func(v *CustomContainerResponse) *ImageRegistryCredentialResponse { +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.ImageRegistryCredential - }).(ImageRegistryCredentialResponsePtrOutput) + return v.Password + }).(pulumi.StringPtrOutput) } -func (o CustomContainerResponsePtrOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomContainerResponse) *string { +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { if v == nil { return nil } - return v.Server + return v.PrivateKey }).(pulumi.StringPtrOutput) } -type CustomDomainProperties struct { - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) } +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` +} -type CustomDomainPropertiesInput interface { + + + + +type ConfigServerPropertiesInput interface { pulumi.Input - ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput - ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -type CustomDomainPropertiesArgs struct { - CertName pulumi.StringPtrInput `pulumi:"certName"` - Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` } -func (CustomDomainPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { - return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) } @@ -1463,407 +1647,386 @@ func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext -type CustomDomainPropertiesPtrInput interface { +type ConfigServerPropertiesPtrInput interface { pulumi.Input - ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput - ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -type customDomainPropertiesPtrType CustomDomainPropertiesArgs +type configServerPropertiesPtrType ConfigServerPropertiesArgs -func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { - return (*customDomainPropertiesPtrType)(v) +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) } -func (*customDomainPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) } -type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { return &v - }).(CustomDomainPropertiesPtrOutput) + }).(ConfigServerPropertiesPtrOutput) } -func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) } -func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { - return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { if v != nil { return *v } - var ret CustomDomainProperties + var ret ConfigServerProperties return ret - }).(CustomDomainPropertiesOutput) + }).(ConfigServerPropertiesOutput) } -func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { if v == nil { return nil } - return v.CertName - }).(pulumi.StringPtrOutput) + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { if v == nil { return nil } - return v.Thumbprint - }).(pulumi.StringPtrOutput) + return v.Error + }).(ErrorPtrOutput) } -type CustomDomainPropertiesResponse struct { - AppName string `pulumi:"appName"` - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { return o } -func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } -func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) } -func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type CustomPersistentDiskResource struct { - CustomPersistentDiskProperties *AzureFileVolume `pulumi:"customPersistentDiskProperties"` - StorageId string `pulumi:"storageId"` +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type CustomPersistentDiskResourceInput interface { +type ConfigServerSettingsInput interface { pulumi.Input - ToCustomPersistentDiskResourceOutput() CustomPersistentDiskResourceOutput - ToCustomPersistentDiskResourceOutputWithContext(context.Context) CustomPersistentDiskResourceOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type CustomPersistentDiskResourceArgs struct { - CustomPersistentDiskProperties AzureFileVolumePtrInput `pulumi:"customPersistentDiskProperties"` - StorageId pulumi.StringInput `pulumi:"storageId"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } -func (CustomPersistentDiskResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomPersistentDiskResource)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i CustomPersistentDiskResourceArgs) ToCustomPersistentDiskResourceOutput() CustomPersistentDiskResourceOutput { - return i.ToCustomPersistentDiskResourceOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i CustomPersistentDiskResourceArgs) ToCustomPersistentDiskResourceOutputWithContext(ctx context.Context) CustomPersistentDiskResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomPersistentDiskResourceOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) +} +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) +} -type CustomPersistentDiskResourceArrayInput interface { - pulumi.Input - ToCustomPersistentDiskResourceArrayOutput() CustomPersistentDiskResourceArrayOutput - ToCustomPersistentDiskResourceArrayOutputWithContext(context.Context) CustomPersistentDiskResourceArrayOutput -} -type CustomPersistentDiskResourceArray []CustomPersistentDiskResourceInput -func (CustomPersistentDiskResourceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CustomPersistentDiskResource)(nil)).Elem() -} -func (i CustomPersistentDiskResourceArray) ToCustomPersistentDiskResourceArrayOutput() CustomPersistentDiskResourceArrayOutput { - return i.ToCustomPersistentDiskResourceArrayOutputWithContext(context.Background()) -} -func (i CustomPersistentDiskResourceArray) ToCustomPersistentDiskResourceArrayOutputWithContext(ctx context.Context) CustomPersistentDiskResourceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomPersistentDiskResourceArrayOutput) -} -type CustomPersistentDiskResourceOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsPtrInput interface { + pulumi.Input -func (CustomPersistentDiskResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomPersistentDiskResource)(nil)).Elem() + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -func (o CustomPersistentDiskResourceOutput) ToCustomPersistentDiskResourceOutput() CustomPersistentDiskResourceOutput { - return o +type configServerSettingsPtrType ConfigServerSettingsArgs + +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (o CustomPersistentDiskResourceOutput) ToCustomPersistentDiskResourceOutputWithContext(ctx context.Context) CustomPersistentDiskResourceOutput { - return o +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o CustomPersistentDiskResourceOutput) CustomPersistentDiskProperties() AzureFileVolumePtrOutput { - return o.ApplyT(func(v CustomPersistentDiskResource) *AzureFileVolume { return v.CustomPersistentDiskProperties }).(AzureFileVolumePtrOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o CustomPersistentDiskResourceOutput) StorageId() pulumi.StringOutput { - return o.ApplyT(func(v CustomPersistentDiskResource) string { return v.StorageId }).(pulumi.StringOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } -type CustomPersistentDiskResourceArrayOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } -func (CustomPersistentDiskResourceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CustomPersistentDiskResource)(nil)).Elem() +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o CustomPersistentDiskResourceArrayOutput) ToCustomPersistentDiskResourceArrayOutput() CustomPersistentDiskResourceArrayOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { return o } -func (o CustomPersistentDiskResourceArrayOutput) ToCustomPersistentDiskResourceArrayOutputWithContext(ctx context.Context) CustomPersistentDiskResourceArrayOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { return o } -func (o CustomPersistentDiskResourceArrayOutput) Index(i pulumi.IntInput) CustomPersistentDiskResourceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomPersistentDiskResource { - return vs[0].([]CustomPersistentDiskResource)[vs[1].(int)] - }).(CustomPersistentDiskResourceOutput) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -type CustomPersistentDiskResourceResponse struct { - CustomPersistentDiskProperties *AzureFileVolumeResponse `pulumi:"customPersistentDiskProperties"` - StorageId string `pulumi:"storageId"` +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { + return &v + }).(ConfigServerSettingsPtrOutput) } -type CustomPersistentDiskResourceResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) +} -func (CustomPersistentDiskResourceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomPersistentDiskResourceResponse)(nil)).Elem() +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o CustomPersistentDiskResourceResponseOutput) ToCustomPersistentDiskResourceResponseOutput() CustomPersistentDiskResourceResponseOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { return o } -func (o CustomPersistentDiskResourceResponseOutput) ToCustomPersistentDiskResourceResponseOutputWithContext(ctx context.Context) CustomPersistentDiskResourceResponseOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { return o } -func (o CustomPersistentDiskResourceResponseOutput) CustomPersistentDiskProperties() AzureFileVolumeResponsePtrOutput { - return o.ApplyT(func(v CustomPersistentDiskResourceResponse) *AzureFileVolumeResponse { - return v.CustomPersistentDiskProperties - }).(AzureFileVolumeResponsePtrOutput) +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { + if v != nil { + return *v + } + var ret ConfigServerSettings + return ret + }).(ConfigServerSettingsOutput) } -func (o CustomPersistentDiskResourceResponseOutput) StorageId() pulumi.StringOutput { - return o.ApplyT(func(v CustomPersistentDiskResourceResponse) string { return v.StorageId }).(pulumi.StringOutput) +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) } -type CustomPersistentDiskResourceResponseArrayOutput struct{ *pulumi.OutputState } - -func (CustomPersistentDiskResourceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CustomPersistentDiskResourceResponse)(nil)).Elem() +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` } -func (o CustomPersistentDiskResourceResponseArrayOutput) ToCustomPersistentDiskResourceResponseArrayOutput() CustomPersistentDiskResourceResponseArrayOutput { - return o +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() } -func (o CustomPersistentDiskResourceResponseArrayOutput) ToCustomPersistentDiskResourceResponseArrayOutputWithContext(ctx context.Context) CustomPersistentDiskResourceResponseArrayOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { return o } -func (o CustomPersistentDiskResourceResponseArrayOutput) Index(i pulumi.IntInput) CustomPersistentDiskResourceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomPersistentDiskResourceResponse { - return vs[0].([]CustomPersistentDiskResourceResponse)[vs[1].(int)] - }).(CustomPersistentDiskResourceResponseOutput) +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { + return o } -type DeploymentInstanceResponse struct { - DiscoveryStatus string `pulumi:"discoveryStatus"` - Name string `pulumi:"name"` - Reason string `pulumi:"reason"` - StartTime string `pulumi:"startTime"` - Status string `pulumi:"status"` +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) } -type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { return o } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { return o } -func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) } -func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) } -func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +type ContentCertificateProperties struct { + Content *string `pulumi:"content"` + Type string `pulumi:"type"` } -func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +type ContentCertificatePropertiesResponse struct { + ActivateDate string `pulumi:"activateDate"` + DnsNames []string `pulumi:"dnsNames"` + ExpirationDate string `pulumi:"expirationDate"` + IssuedDate string `pulumi:"issuedDate"` + Issuer string `pulumi:"issuer"` + SubjectName string `pulumi:"subjectName"` + Thumbprint string `pulumi:"thumbprint"` + Type string `pulumi:"type"` } -func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +type CustomContainer struct { + Args []string `pulumi:"args"` + Command []string `pulumi:"command"` + ContainerImage *string `pulumi:"containerImage"` + ImageRegistryCredential *ImageRegistryCredential `pulumi:"imageRegistryCredential"` + Server *string `pulumi:"server"` } -type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } -func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() -} -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { - return o -} -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { - return o -} -func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { - return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] - }).(DeploymentInstanceResponseOutput) +type CustomContainerInput interface { + pulumi.Input + + ToCustomContainerOutput() CustomContainerOutput + ToCustomContainerOutputWithContext(context.Context) CustomContainerOutput } -type DeploymentResourceProperties struct { - DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` - Source *UserSourceInfo `pulumi:"source"` +type CustomContainerArgs struct { + Args pulumi.StringArrayInput `pulumi:"args"` + Command pulumi.StringArrayInput `pulumi:"command"` + ContainerImage pulumi.StringPtrInput `pulumi:"containerImage"` + ImageRegistryCredential ImageRegistryCredentialPtrInput `pulumi:"imageRegistryCredential"` + Server pulumi.StringPtrInput `pulumi:"server"` } - -func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { - if val == nil { - return nil - } - tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() - - return &tmp -} - - - - - -type DeploymentResourcePropertiesInput interface { - pulumi.Input - - ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput - ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput -} - -type DeploymentResourcePropertiesArgs struct { - DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` - Source UserSourceInfoPtrInput `pulumi:"source"` -} - - -func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - - return &tmp -} -func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +func (CustomContainerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomContainer)(nil)).Elem() } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { - return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +func (i CustomContainerArgs) ToCustomContainerOutput() CustomContainerOutput { + return i.ToCustomContainerOutputWithContext(context.Background()) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +func (i CustomContainerArgs) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i CustomContainerArgs) ToCustomContainerPtrOutput() CustomContainerPtrOutput { + return i.ToCustomContainerPtrOutputWithContext(context.Background()) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +func (i CustomContainerArgs) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomContainerOutput).ToCustomContainerPtrOutputWithContext(ctx) } @@ -1874,188 +2037,897 @@ func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutpu -type DeploymentResourcePropertiesPtrInput interface { +type CustomContainerPtrInput interface { pulumi.Input - ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput - ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput + ToCustomContainerPtrOutput() CustomContainerPtrOutput + ToCustomContainerPtrOutputWithContext(context.Context) CustomContainerPtrOutput } -type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs +type customContainerPtrType CustomContainerArgs -func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { - return (*deploymentResourcePropertiesPtrType)(v) +func CustomContainerPtr(v *CustomContainerArgs) CustomContainerPtrInput { + return (*customContainerPtrType)(v) } -func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (*customContainerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomContainer)(nil)).Elem() } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i *customContainerPtrType) ToCustomContainerPtrOutput() CustomContainerPtrOutput { + return i.ToCustomContainerPtrOutputWithContext(context.Background()) } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +func (i *customContainerPtrType) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomContainerPtrOutput) } -type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } +type CustomContainerOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +func (CustomContainerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomContainer)(nil)).Elem() } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { +func (o CustomContainerOutput) ToCustomContainerOutput() CustomContainerOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { +func (o CustomContainerOutput) ToCustomContainerOutputWithContext(ctx context.Context) CustomContainerOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (o CustomContainerOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { + return o.ToCustomContainerPtrOutputWithContext(context.Background()) } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { +func (o CustomContainerOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomContainer) *CustomContainer { return &v - }).(DeploymentResourcePropertiesPtrOutput) + }).(CustomContainerPtrOutput) } -func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +func (o CustomContainerOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainer) []string { return v.Args }).(pulumi.StringArrayOutput) } -func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +func (o CustomContainerOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainer) []string { return v.Command }).(pulumi.StringArrayOutput) } -type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +func (o CustomContainerOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainer) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) +} -func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (o CustomContainerOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { + return o.ApplyT(func(v CustomContainer) *ImageRegistryCredential { return v.ImageRegistryCredential }).(ImageRegistryCredentialPtrOutput) } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { +func (o CustomContainerOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainer) *string { return v.Server }).(pulumi.StringPtrOutput) +} + +type CustomContainerPtrOutput struct{ *pulumi.OutputState } + +func (CustomContainerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomContainer)(nil)).Elem() +} + +func (o CustomContainerPtrOutput) ToCustomContainerPtrOutput() CustomContainerPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { +func (o CustomContainerPtrOutput) ToCustomContainerPtrOutputWithContext(ctx context.Context) CustomContainerPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { +func (o CustomContainerPtrOutput) Elem() CustomContainerOutput { + return o.ApplyT(func(v *CustomContainer) CustomContainer { if v != nil { return *v } - var ret DeploymentResourceProperties + var ret CustomContainer return ret - }).(DeploymentResourcePropertiesOutput) + }).(CustomContainerOutput) } -func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { +func (o CustomContainerPtrOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainer) []string { if v == nil { return nil } - return v.DeploymentSettings - }).(DeploymentSettingsPtrOutput) + return v.Args + }).(pulumi.StringArrayOutput) } -func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { +func (o CustomContainerPtrOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainer) []string { if v == nil { return nil } - return v.Source - }).(UserSourceInfoPtrOutput) + return v.Command + }).(pulumi.StringArrayOutput) } -type DeploymentResourcePropertiesResponse struct { - Active bool `pulumi:"active"` - AppName string `pulumi:"appName"` - CreatedTime string `pulumi:"createdTime"` - DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` - Instances []DeploymentInstanceResponse `pulumi:"instances"` - ProvisioningState string `pulumi:"provisioningState"` - Source *UserSourceInfoResponse `pulumi:"source"` - Status string `pulumi:"status"` +func (o CustomContainerPtrOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainer) *string { + if v == nil { + return nil + } + return v.ContainerImage + }).(pulumi.StringPtrOutput) } +func (o CustomContainerPtrOutput) ImageRegistryCredential() ImageRegistryCredentialPtrOutput { + return o.ApplyT(func(v *CustomContainer) *ImageRegistryCredential { + if v == nil { + return nil + } + return v.ImageRegistryCredential + }).(ImageRegistryCredentialPtrOutput) +} -func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() +func (o CustomContainerPtrOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainer) *string { + if v == nil { + return nil + } + return v.Server + }).(pulumi.StringPtrOutput) +} - return &tmp +type CustomContainerResponse struct { + Args []string `pulumi:"args"` + Command []string `pulumi:"command"` + ContainerImage *string `pulumi:"containerImage"` + ImageRegistryCredential *ImageRegistryCredentialResponse `pulumi:"imageRegistryCredential"` + Server *string `pulumi:"server"` } -type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type CustomContainerResponseOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +func (CustomContainerResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomContainerResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { +func (o CustomContainerResponseOutput) ToCustomContainerResponseOutput() CustomContainerResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { +func (o CustomContainerResponseOutput) ToCustomContainerResponseOutputWithContext(ctx context.Context) CustomContainerResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) +func (o CustomContainerResponseOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainerResponse) []string { return v.Args }).(pulumi.StringArrayOutput) } -func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +func (o CustomContainerResponseOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomContainerResponse) []string { return v.Command }).(pulumi.StringArrayOutput) } -func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) +func (o CustomContainerResponseOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainerResponse) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) } -func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) +func (o CustomContainerResponseOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { + return o.ApplyT(func(v CustomContainerResponse) *ImageRegistryCredentialResponse { return v.ImageRegistryCredential }).(ImageRegistryCredentialResponsePtrOutput) } -func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) +func (o CustomContainerResponseOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomContainerResponse) *string { return v.Server }).(pulumi.StringPtrOutput) } -func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} +type CustomContainerResponsePtrOutput struct{ *pulumi.OutputState } -func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +func (CustomContainerResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomContainerResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutput() CustomContainerResponsePtrOutput { + return o } -type DeploymentSettings struct { - ContainerProbeSettings *DeploymentSettingsContainerProbeSettings `pulumi:"containerProbeSettings"` - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - ResourceRequests *ResourceRequests `pulumi:"resourceRequests"` - RuntimeVersion *string `pulumi:"runtimeVersion"` +func (o CustomContainerResponsePtrOutput) ToCustomContainerResponsePtrOutputWithContext(ctx context.Context) CustomContainerResponsePtrOutput { + return o } - -func (val *DeploymentSettings) Defaults() *DeploymentSettings { - if val == nil { - return nil +func (o CustomContainerResponsePtrOutput) Elem() CustomContainerResponseOutput { + return o.ApplyT(func(v *CustomContainerResponse) CustomContainerResponse { + if v != nil { + return *v + } + var ret CustomContainerResponse + return ret + }).(CustomContainerResponseOutput) +} + +func (o CustomContainerResponsePtrOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainerResponse) []string { + if v == nil { + return nil + } + return v.Args + }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerResponsePtrOutput) Command() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomContainerResponse) []string { + if v == nil { + return nil + } + return v.Command + }).(pulumi.StringArrayOutput) +} + +func (o CustomContainerResponsePtrOutput) ContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainerResponse) *string { + if v == nil { + return nil + } + return v.ContainerImage + }).(pulumi.StringPtrOutput) +} + +func (o CustomContainerResponsePtrOutput) ImageRegistryCredential() ImageRegistryCredentialResponsePtrOutput { + return o.ApplyT(func(v *CustomContainerResponse) *ImageRegistryCredentialResponse { + if v == nil { + return nil + } + return v.ImageRegistryCredential + }).(ImageRegistryCredentialResponsePtrOutput) +} + +func (o CustomContainerResponsePtrOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomContainerResponse) *string { + if v == nil { + return nil + } + return v.Server + }).(pulumi.StringPtrOutput) +} + +type CustomDomainProperties struct { + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + + + + + +type CustomDomainPropertiesInput interface { + pulumi.Input + + ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput + ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput +} + +type CustomDomainPropertiesArgs struct { + CertName pulumi.StringPtrInput `pulumi:"certName"` + Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +} + +func (CustomDomainPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type CustomDomainPropertiesPtrInput interface { + pulumi.Input + + ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput + ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput +} + +type customDomainPropertiesPtrType CustomDomainPropertiesArgs + +func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { + return (*customDomainPropertiesPtrType)(v) +} + +func (*customDomainPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +} + +type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return o +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +} + +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { + return &v + }).(CustomDomainPropertiesPtrOutput) +} + +func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { + return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { + if v != nil { + return *v + } + var ret CustomDomainProperties + return ret + }).(CustomDomainPropertiesOutput) +} + +func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.CertName + }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.Thumbprint + }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesResponse struct { + AppName string `pulumi:"appName"` + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` +} + +type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { + return o +} + +func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type CustomPersistentDiskResource struct { + CustomPersistentDiskProperties *AzureFileVolume `pulumi:"customPersistentDiskProperties"` + StorageId string `pulumi:"storageId"` +} + + + + + +type CustomPersistentDiskResourceInput interface { + pulumi.Input + + ToCustomPersistentDiskResourceOutput() CustomPersistentDiskResourceOutput + ToCustomPersistentDiskResourceOutputWithContext(context.Context) CustomPersistentDiskResourceOutput +} + +type CustomPersistentDiskResourceArgs struct { + CustomPersistentDiskProperties AzureFileVolumePtrInput `pulumi:"customPersistentDiskProperties"` + StorageId pulumi.StringInput `pulumi:"storageId"` +} + +func (CustomPersistentDiskResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomPersistentDiskResource)(nil)).Elem() +} + +func (i CustomPersistentDiskResourceArgs) ToCustomPersistentDiskResourceOutput() CustomPersistentDiskResourceOutput { + return i.ToCustomPersistentDiskResourceOutputWithContext(context.Background()) +} + +func (i CustomPersistentDiskResourceArgs) ToCustomPersistentDiskResourceOutputWithContext(ctx context.Context) CustomPersistentDiskResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomPersistentDiskResourceOutput) +} + + + + + +type CustomPersistentDiskResourceArrayInput interface { + pulumi.Input + + ToCustomPersistentDiskResourceArrayOutput() CustomPersistentDiskResourceArrayOutput + ToCustomPersistentDiskResourceArrayOutputWithContext(context.Context) CustomPersistentDiskResourceArrayOutput +} + +type CustomPersistentDiskResourceArray []CustomPersistentDiskResourceInput + +func (CustomPersistentDiskResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CustomPersistentDiskResource)(nil)).Elem() +} + +func (i CustomPersistentDiskResourceArray) ToCustomPersistentDiskResourceArrayOutput() CustomPersistentDiskResourceArrayOutput { + return i.ToCustomPersistentDiskResourceArrayOutputWithContext(context.Background()) +} + +func (i CustomPersistentDiskResourceArray) ToCustomPersistentDiskResourceArrayOutputWithContext(ctx context.Context) CustomPersistentDiskResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomPersistentDiskResourceArrayOutput) +} + +type CustomPersistentDiskResourceOutput struct{ *pulumi.OutputState } + +func (CustomPersistentDiskResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomPersistentDiskResource)(nil)).Elem() +} + +func (o CustomPersistentDiskResourceOutput) ToCustomPersistentDiskResourceOutput() CustomPersistentDiskResourceOutput { + return o +} + +func (o CustomPersistentDiskResourceOutput) ToCustomPersistentDiskResourceOutputWithContext(ctx context.Context) CustomPersistentDiskResourceOutput { + return o +} + +func (o CustomPersistentDiskResourceOutput) CustomPersistentDiskProperties() AzureFileVolumePtrOutput { + return o.ApplyT(func(v CustomPersistentDiskResource) *AzureFileVolume { return v.CustomPersistentDiskProperties }).(AzureFileVolumePtrOutput) +} + +func (o CustomPersistentDiskResourceOutput) StorageId() pulumi.StringOutput { + return o.ApplyT(func(v CustomPersistentDiskResource) string { return v.StorageId }).(pulumi.StringOutput) +} + +type CustomPersistentDiskResourceArrayOutput struct{ *pulumi.OutputState } + +func (CustomPersistentDiskResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CustomPersistentDiskResource)(nil)).Elem() +} + +func (o CustomPersistentDiskResourceArrayOutput) ToCustomPersistentDiskResourceArrayOutput() CustomPersistentDiskResourceArrayOutput { + return o +} + +func (o CustomPersistentDiskResourceArrayOutput) ToCustomPersistentDiskResourceArrayOutputWithContext(ctx context.Context) CustomPersistentDiskResourceArrayOutput { + return o +} + +func (o CustomPersistentDiskResourceArrayOutput) Index(i pulumi.IntInput) CustomPersistentDiskResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomPersistentDiskResource { + return vs[0].([]CustomPersistentDiskResource)[vs[1].(int)] + }).(CustomPersistentDiskResourceOutput) +} + +type CustomPersistentDiskResourceResponse struct { + CustomPersistentDiskProperties *AzureFileVolumeResponse `pulumi:"customPersistentDiskProperties"` + StorageId string `pulumi:"storageId"` +} + +type CustomPersistentDiskResourceResponseOutput struct{ *pulumi.OutputState } + +func (CustomPersistentDiskResourceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomPersistentDiskResourceResponse)(nil)).Elem() +} + +func (o CustomPersistentDiskResourceResponseOutput) ToCustomPersistentDiskResourceResponseOutput() CustomPersistentDiskResourceResponseOutput { + return o +} + +func (o CustomPersistentDiskResourceResponseOutput) ToCustomPersistentDiskResourceResponseOutputWithContext(ctx context.Context) CustomPersistentDiskResourceResponseOutput { + return o +} + +func (o CustomPersistentDiskResourceResponseOutput) CustomPersistentDiskProperties() AzureFileVolumeResponsePtrOutput { + return o.ApplyT(func(v CustomPersistentDiskResourceResponse) *AzureFileVolumeResponse { + return v.CustomPersistentDiskProperties + }).(AzureFileVolumeResponsePtrOutput) +} + +func (o CustomPersistentDiskResourceResponseOutput) StorageId() pulumi.StringOutput { + return o.ApplyT(func(v CustomPersistentDiskResourceResponse) string { return v.StorageId }).(pulumi.StringOutput) +} + +type CustomPersistentDiskResourceResponseArrayOutput struct{ *pulumi.OutputState } + +func (CustomPersistentDiskResourceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CustomPersistentDiskResourceResponse)(nil)).Elem() +} + +func (o CustomPersistentDiskResourceResponseArrayOutput) ToCustomPersistentDiskResourceResponseArrayOutput() CustomPersistentDiskResourceResponseArrayOutput { + return o +} + +func (o CustomPersistentDiskResourceResponseArrayOutput) ToCustomPersistentDiskResourceResponseArrayOutputWithContext(ctx context.Context) CustomPersistentDiskResourceResponseArrayOutput { + return o +} + +func (o CustomPersistentDiskResourceResponseArrayOutput) Index(i pulumi.IntInput) CustomPersistentDiskResourceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomPersistentDiskResourceResponse { + return vs[0].([]CustomPersistentDiskResourceResponse)[vs[1].(int)] + }).(CustomPersistentDiskResourceResponseOutput) +} + +type DeploymentInstanceResponse struct { + DiscoveryStatus string `pulumi:"discoveryStatus"` + Name string `pulumi:"name"` + Reason string `pulumi:"reason"` + StartTime string `pulumi:"startTime"` + Status string `pulumi:"status"` +} + +type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { + return o +} + +func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) +} + +func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { + return o +} + +func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { + return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] + }).(DeploymentInstanceResponseOutput) +} + +type DeploymentResourceProperties struct { + DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` + Source *UserSourceInfo `pulumi:"source"` +} + + +func (val *DeploymentResourceProperties) Defaults() *DeploymentResourceProperties { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + + + + + +type DeploymentResourcePropertiesInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput + ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput +} + +type DeploymentResourcePropertiesArgs struct { + DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` + Source UserSourceInfoPtrInput `pulumi:"source"` +} + + +func (val *DeploymentResourcePropertiesArgs) Defaults() *DeploymentResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + + return &tmp +} +func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentResourcePropertiesPtrInput interface { + pulumi.Input + + ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput + ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput +} + +type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs + +func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { + return (*deploymentResourcePropertiesPtrType)(v) +} + +func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +} + +type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return o +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { + return &v + }).(DeploymentResourcePropertiesPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *UserSourceInfo { return v.Source }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o +} + +func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { + if v != nil { + return *v + } + var ret DeploymentResourceProperties + return ret + }).(DeploymentResourcePropertiesOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { + if v == nil { + return nil + } + return v.DeploymentSettings + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) Source() UserSourceInfoPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *UserSourceInfo { + if v == nil { + return nil + } + return v.Source + }).(UserSourceInfoPtrOutput) +} + +type DeploymentResourcePropertiesResponse struct { + Active bool `pulumi:"active"` + AppName string `pulumi:"appName"` + CreatedTime string `pulumi:"createdTime"` + DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` + Instances []DeploymentInstanceResponse `pulumi:"instances"` + ProvisioningState string `pulumi:"provisioningState"` + Source *UserSourceInfoResponse `pulumi:"source"` + Status string `pulumi:"status"` +} + + +func (val *DeploymentResourcePropertiesResponse) Defaults() *DeploymentResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + tmp.DeploymentSettings = tmp.DeploymentSettings.Defaults() + + return &tmp +} + +type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { + return o +} + +func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) bool { return v.Active }).(pulumi.BoolOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) CreatedTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.CreatedTime }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Source() UserSourceInfoResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *UserSourceInfoResponse { return v.Source }).(UserSourceInfoResponsePtrOutput) +} + +func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +} + +type DeploymentSettings struct { + ContainerProbeSettings *DeploymentSettingsContainerProbeSettings `pulumi:"containerProbeSettings"` + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + ResourceRequests *ResourceRequests `pulumi:"resourceRequests"` + RuntimeVersion *string `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettings) Defaults() *DeploymentSettings { + if val == nil { + return nil } tmp := *val if isZero(tmp.Cpu) { @@ -2077,59 +2949,283 @@ func (val *DeploymentSettings) Defaults() *DeploymentSettings { -type DeploymentSettingsInput interface { +type DeploymentSettingsInput interface { + pulumi.Input + + ToDeploymentSettingsOutput() DeploymentSettingsOutput + ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput +} + +type DeploymentSettingsArgs struct { + ContainerProbeSettings DeploymentSettingsContainerProbeSettingsPtrInput `pulumi:"containerProbeSettings"` + Cpu pulumi.IntPtrInput `pulumi:"cpu"` + EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` + JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` + MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` + NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` + ResourceRequests ResourceRequestsPtrInput `pulumi:"resourceRequests"` + RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` +} + + +func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + tmp.Cpu = pulumi.IntPtr(1) + } + if isZero(tmp.MemoryInGB) { + tmp.MemoryInGB = pulumi.IntPtr(1) + } + if isZero(tmp.RuntimeVersion) { + tmp.RuntimeVersion = pulumi.StringPtr("Java_8") + } + return &tmp +} +func (DeploymentSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return i.ToDeploymentSettingsOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +} + + + + + + + + + +type DeploymentSettingsPtrInput interface { + pulumi.Input + + ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput + ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput +} + +type deploymentSettingsPtrType DeploymentSettingsArgs + +func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { + return (*deploymentSettingsPtrType)(v) +} + +func (*deploymentSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +} + +type DeploymentSettingsOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return o +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +} + +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { + return &v + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentSettingsOutput) ContainerProbeSettings() DeploymentSettingsContainerProbeSettingsPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *DeploymentSettingsContainerProbeSettings { return v.ContainerProbeSettings }).(DeploymentSettingsContainerProbeSettingsPtrOutput) +} + +func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsOutput) ResourceRequests() ResourceRequestsPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *ResourceRequests { return v.ResourceRequests }).(ResourceRequestsPtrOutput) +} + +func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { + return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { + if v != nil { + return *v + } + var ret DeploymentSettings + return ret + }).(DeploymentSettingsOutput) +} + +func (o DeploymentSettingsPtrOutput) ContainerProbeSettings() DeploymentSettingsContainerProbeSettingsPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *DeploymentSettingsContainerProbeSettings { + if v == nil { + return nil + } + return v.ContainerProbeSettings + }).(DeploymentSettingsContainerProbeSettingsPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettings) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.JvmOptions + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *int { + if v == nil { + return nil + } + return v.MemoryInGB + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.NetCoreMainEntryPath + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) ResourceRequests() ResourceRequestsPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *ResourceRequests { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsPtrOutput) +} + +func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *string { + if v == nil { + return nil + } + return v.RuntimeVersion + }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsContainerProbeSettings struct { + DisableProbe *bool `pulumi:"disableProbe"` +} + + + + + +type DeploymentSettingsContainerProbeSettingsInput interface { pulumi.Input - ToDeploymentSettingsOutput() DeploymentSettingsOutput - ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput + ToDeploymentSettingsContainerProbeSettingsOutput() DeploymentSettingsContainerProbeSettingsOutput + ToDeploymentSettingsContainerProbeSettingsOutputWithContext(context.Context) DeploymentSettingsContainerProbeSettingsOutput } -type DeploymentSettingsArgs struct { - ContainerProbeSettings DeploymentSettingsContainerProbeSettingsPtrInput `pulumi:"containerProbeSettings"` - Cpu pulumi.IntPtrInput `pulumi:"cpu"` - EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` - JvmOptions pulumi.StringPtrInput `pulumi:"jvmOptions"` - MemoryInGB pulumi.IntPtrInput `pulumi:"memoryInGB"` - NetCoreMainEntryPath pulumi.StringPtrInput `pulumi:"netCoreMainEntryPath"` - ResourceRequests ResourceRequestsPtrInput `pulumi:"resourceRequests"` - RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` +type DeploymentSettingsContainerProbeSettingsArgs struct { + DisableProbe pulumi.BoolPtrInput `pulumi:"disableProbe"` } - -func (val *DeploymentSettingsArgs) Defaults() *DeploymentSettingsArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - tmp.Cpu = pulumi.IntPtr(1) - } - if isZero(tmp.MemoryInGB) { - tmp.MemoryInGB = pulumi.IntPtr(1) - } - if isZero(tmp.RuntimeVersion) { - tmp.RuntimeVersion = pulumi.StringPtr("Java_8") - } - return &tmp -} -func (DeploymentSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (DeploymentSettingsContainerProbeSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsContainerProbeSettings)(nil)).Elem() } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { - return i.ToDeploymentSettingsOutputWithContext(context.Background()) +func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsOutput() DeploymentSettingsContainerProbeSettingsOutput { + return i.ToDeploymentSettingsContainerProbeSettingsOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsContainerProbeSettingsOutput) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { + return i.ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsContainerProbeSettingsOutput).ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx) } @@ -2140,122 +3236,207 @@ func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx con -type DeploymentSettingsPtrInput interface { +type DeploymentSettingsContainerProbeSettingsPtrInput interface { pulumi.Input - ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput - ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput + ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput + ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput } -type deploymentSettingsPtrType DeploymentSettingsArgs +type deploymentSettingsContainerProbeSettingsPtrType DeploymentSettingsContainerProbeSettingsArgs -func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { - return (*deploymentSettingsPtrType)(v) +func DeploymentSettingsContainerProbeSettingsPtr(v *DeploymentSettingsContainerProbeSettingsArgs) DeploymentSettingsContainerProbeSettingsPtrInput { + return (*deploymentSettingsContainerProbeSettingsPtrType)(v) } -func (*deploymentSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (*deploymentSettingsContainerProbeSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsContainerProbeSettings)(nil)).Elem() } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i *deploymentSettingsContainerProbeSettingsPtrType) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { + return i.ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Background()) } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +func (i *deploymentSettingsContainerProbeSettingsPtrType) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsContainerProbeSettingsPtrOutput) } -type DeploymentSettingsOutput struct{ *pulumi.OutputState } +type DeploymentSettingsContainerProbeSettingsOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (DeploymentSettingsContainerProbeSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsContainerProbeSettings)(nil)).Elem() } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { +func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsOutput() DeploymentSettingsContainerProbeSettingsOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { +func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsOutput { return o } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { + return o.ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Background()) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { +func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettingsContainerProbeSettings) *DeploymentSettingsContainerProbeSettings { return &v - }).(DeploymentSettingsPtrOutput) + }).(DeploymentSettingsContainerProbeSettingsPtrOutput) } -func (o DeploymentSettingsOutput) ContainerProbeSettings() DeploymentSettingsContainerProbeSettingsPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *DeploymentSettingsContainerProbeSettings { return v.ContainerProbeSettings }).(DeploymentSettingsContainerProbeSettingsPtrOutput) +func (o DeploymentSettingsContainerProbeSettingsOutput) DisableProbe() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentSettingsContainerProbeSettings) *bool { return v.DisableProbe }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.Cpu }).(pulumi.IntPtrOutput) +type DeploymentSettingsContainerProbeSettingsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsContainerProbeSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsContainerProbeSettings)(nil)).Elem() } -func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +func (o DeploymentSettingsContainerProbeSettingsPtrOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { + return o } -func (o DeploymentSettingsOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +func (o DeploymentSettingsContainerProbeSettingsPtrOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { + return o } -func (o DeploymentSettingsOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o DeploymentSettingsContainerProbeSettingsPtrOutput) Elem() DeploymentSettingsContainerProbeSettingsOutput { + return o.ApplyT(func(v *DeploymentSettingsContainerProbeSettings) DeploymentSettingsContainerProbeSettings { + if v != nil { + return *v + } + var ret DeploymentSettingsContainerProbeSettings + return ret + }).(DeploymentSettingsContainerProbeSettingsOutput) } -func (o DeploymentSettingsOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o DeploymentSettingsContainerProbeSettingsPtrOutput) DisableProbe() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsContainerProbeSettings) *bool { + if v == nil { + return nil + } + return v.DisableProbe + }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsOutput) ResourceRequests() ResourceRequestsPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *ResourceRequests { return v.ResourceRequests }).(ResourceRequestsPtrOutput) +type DeploymentSettingsResponse struct { + ContainerProbeSettings *DeploymentSettingsResponseContainerProbeSettings `pulumi:"containerProbeSettings"` + Cpu *int `pulumi:"cpu"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + JvmOptions *string `pulumi:"jvmOptions"` + MemoryInGB *int `pulumi:"memoryInGB"` + NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` + ResourceRequests *ResourceRequestsResponse `pulumi:"resourceRequests"` + RuntimeVersion *string `pulumi:"runtimeVersion"` } -func (o DeploymentSettingsOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) + +func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Cpu) { + cpu_ := 1 + tmp.Cpu = &cpu_ + } + if isZero(tmp.MemoryInGB) { + memoryInGB_ := 1 + tmp.MemoryInGB = &memoryInGB_ + } + if isZero(tmp.RuntimeVersion) { + runtimeVersion_ := "Java_8" + tmp.RuntimeVersion = &runtimeVersion_ + } + return &tmp } -type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } +type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { return o } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { return o } -func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { - return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { +func (o DeploymentSettingsResponseOutput) ContainerProbeSettings() DeploymentSettingsResponseContainerProbeSettingsPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *DeploymentSettingsResponseContainerProbeSettings { + return v.ContainerProbeSettings + }).(DeploymentSettingsResponseContainerProbeSettingsPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +} + +func (o DeploymentSettingsResponseOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *ResourceRequestsResponse { return v.ResourceRequests }).(ResourceRequestsResponsePtrOutput) +} + +func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +} + +type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { if v != nil { return *v } - var ret DeploymentSettings + var ret DeploymentSettingsResponse return ret - }).(DeploymentSettingsOutput) + }).(DeploymentSettingsResponseOutput) } -func (o DeploymentSettingsPtrOutput) ContainerProbeSettings() DeploymentSettingsContainerProbeSettingsPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *DeploymentSettingsContainerProbeSettings { +func (o DeploymentSettingsResponsePtrOutput) ContainerProbeSettings() DeploymentSettingsResponseContainerProbeSettingsPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *DeploymentSettingsResponseContainerProbeSettings { if v == nil { return nil } return v.ContainerProbeSettings - }).(DeploymentSettingsContainerProbeSettingsPtrOutput) + }).(DeploymentSettingsResponseContainerProbeSettingsPtrOutput) } -func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { +func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { if v == nil { return nil } @@ -2263,8 +3444,8 @@ func (o DeploymentSettingsPtrOutput) Cpu() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettings) map[string]string { +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { if v == nil { return nil } @@ -2272,8 +3453,8 @@ func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutp }).(pulumi.StringMapOutput) } -func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { +func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { if v == nil { return nil } @@ -2281,8 +3462,8 @@ func (o DeploymentSettingsPtrOutput) JvmOptions() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *int { +func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { if v == nil { return nil } @@ -2290,8 +3471,8 @@ func (o DeploymentSettingsPtrOutput) MemoryInGB() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { +func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { if v == nil { return nil } @@ -2299,17 +3480,17 @@ func (o DeploymentSettingsPtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsPtrOutput) ResourceRequests() ResourceRequestsPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *ResourceRequests { +func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { if v == nil { return nil } return v.ResourceRequests - }).(ResourceRequestsPtrOutput) + }).(ResourceRequestsResponsePtrOutput) } -func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *string { +func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *string { if v == nil { return nil } @@ -2317,43 +3498,100 @@ func (o DeploymentSettingsPtrOutput) RuntimeVersion() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type DeploymentSettingsContainerProbeSettings struct { +type DeploymentSettingsResponseContainerProbeSettings struct { DisableProbe *bool `pulumi:"disableProbe"` } +type DeploymentSettingsResponseContainerProbeSettingsOutput struct{ *pulumi.OutputState } +func (DeploymentSettingsResponseContainerProbeSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsResponseContainerProbeSettings)(nil)).Elem() +} +func (o DeploymentSettingsResponseContainerProbeSettingsOutput) ToDeploymentSettingsResponseContainerProbeSettingsOutput() DeploymentSettingsResponseContainerProbeSettingsOutput { + return o +} +func (o DeploymentSettingsResponseContainerProbeSettingsOutput) ToDeploymentSettingsResponseContainerProbeSettingsOutputWithContext(ctx context.Context) DeploymentSettingsResponseContainerProbeSettingsOutput { + return o +} -type DeploymentSettingsContainerProbeSettingsInput interface { +func (o DeploymentSettingsResponseContainerProbeSettingsOutput) DisableProbe() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponseContainerProbeSettings) *bool { return v.DisableProbe }).(pulumi.BoolPtrOutput) +} + +type DeploymentSettingsResponseContainerProbeSettingsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsResponseContainerProbeSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsResponseContainerProbeSettings)(nil)).Elem() +} + +func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) ToDeploymentSettingsResponseContainerProbeSettingsPtrOutput() DeploymentSettingsResponseContainerProbeSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) ToDeploymentSettingsResponseContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsResponseContainerProbeSettingsPtrOutput { + return o +} + +func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) Elem() DeploymentSettingsResponseContainerProbeSettingsOutput { + return o.ApplyT(func(v *DeploymentSettingsResponseContainerProbeSettings) DeploymentSettingsResponseContainerProbeSettings { + if v != nil { + return *v + } + var ret DeploymentSettingsResponseContainerProbeSettings + return ret + }).(DeploymentSettingsResponseContainerProbeSettingsOutput) +} + +func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) DisableProbe() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponseContainerProbeSettings) *bool { + if v == nil { + return nil + } + return v.DisableProbe + }).(pulumi.BoolPtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { pulumi.Input - ToDeploymentSettingsContainerProbeSettingsOutput() DeploymentSettingsContainerProbeSettingsOutput - ToDeploymentSettingsContainerProbeSettingsOutputWithContext(context.Context) DeploymentSettingsContainerProbeSettingsOutput + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput } -type DeploymentSettingsContainerProbeSettingsArgs struct { - DisableProbe pulumi.BoolPtrInput `pulumi:"disableProbe"` +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` } -func (DeploymentSettingsContainerProbeSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsContainerProbeSettings)(nil)).Elem() +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() } -func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsOutput() DeploymentSettingsContainerProbeSettingsOutput { - return i.ToDeploymentSettingsContainerProbeSettingsOutputWithContext(context.Background()) +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) } -func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsContainerProbeSettingsOutput) +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) } -func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { - return i.ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Background()) +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) } -func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsContainerProbeSettingsOutput).ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx) +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) } @@ -2364,321 +3602,418 @@ func (i DeploymentSettingsContainerProbeSettingsArgs) ToDeploymentSettingsContai -type DeploymentSettingsContainerProbeSettingsPtrInput interface { +type ErrorPtrInput interface { pulumi.Input - ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput - ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput } -type deploymentSettingsContainerProbeSettingsPtrType DeploymentSettingsContainerProbeSettingsArgs +type errorPtrType ErrorArgs -func DeploymentSettingsContainerProbeSettingsPtr(v *DeploymentSettingsContainerProbeSettingsArgs) DeploymentSettingsContainerProbeSettingsPtrInput { - return (*deploymentSettingsContainerProbeSettingsPtrType)(v) +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) } -func (*deploymentSettingsContainerProbeSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsContainerProbeSettings)(nil)).Elem() +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() } -func (i *deploymentSettingsContainerProbeSettingsPtrType) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { - return i.ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Background()) +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) } -func (i *deploymentSettingsContainerProbeSettingsPtrType) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsContainerProbeSettingsPtrOutput) +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) } -type DeploymentSettingsContainerProbeSettingsOutput struct{ *pulumi.OutputState } +type ErrorOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsContainerProbeSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsContainerProbeSettings)(nil)).Elem() +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() } -func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsOutput() DeploymentSettingsContainerProbeSettingsOutput { +func (o ErrorOutput) ToErrorOutput() ErrorOutput { return o } -func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsOutput { +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { return o } -func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { - return o.ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(context.Background()) +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) } -func (o DeploymentSettingsContainerProbeSettingsOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettingsContainerProbeSettings) *DeploymentSettingsContainerProbeSettings { +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { return &v - }).(DeploymentSettingsContainerProbeSettingsPtrOutput) + }).(ErrorPtrOutput) } -func (o DeploymentSettingsContainerProbeSettingsOutput) DisableProbe() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DeploymentSettingsContainerProbeSettings) *bool { return v.DisableProbe }).(pulumi.BoolPtrOutput) +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) } -type DeploymentSettingsContainerProbeSettingsPtrOutput struct{ *pulumi.OutputState } +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} -func (DeploymentSettingsContainerProbeSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsContainerProbeSettings)(nil)).Elem() +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() } -func (o DeploymentSettingsContainerProbeSettingsPtrOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutput() DeploymentSettingsContainerProbeSettingsPtrOutput { +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { return o } -func (o DeploymentSettingsContainerProbeSettingsPtrOutput) ToDeploymentSettingsContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsContainerProbeSettingsPtrOutput { +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { return o } -func (o DeploymentSettingsContainerProbeSettingsPtrOutput) Elem() DeploymentSettingsContainerProbeSettingsOutput { - return o.ApplyT(func(v *DeploymentSettingsContainerProbeSettings) DeploymentSettingsContainerProbeSettings { +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { if v != nil { return *v } - var ret DeploymentSettingsContainerProbeSettings + var ret Error return ret - }).(DeploymentSettingsContainerProbeSettingsOutput) + }).(ErrorOutput) } -func (o DeploymentSettingsContainerProbeSettingsPtrOutput) DisableProbe() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsContainerProbeSettings) *bool { +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { if v == nil { return nil } - return v.DisableProbe - }).(pulumi.BoolPtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponse struct { - ContainerProbeSettings *DeploymentSettingsResponseContainerProbeSettings `pulumi:"containerProbeSettings"` - Cpu *int `pulumi:"cpu"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - JvmOptions *string `pulumi:"jvmOptions"` - MemoryInGB *int `pulumi:"memoryInGB"` - NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` - ResourceRequests *ResourceRequestsResponse `pulumi:"resourceRequests"` - RuntimeVersion *string `pulumi:"runtimeVersion"` +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) } +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} -func (val *DeploymentSettingsResponse) Defaults() *DeploymentSettingsResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Cpu) { - cpu_ := 1 - tmp.Cpu = &cpu_ - } - if isZero(tmp.MemoryInGB) { - memoryInGB_ := 1 - tmp.MemoryInGB = &memoryInGB_ - } - if isZero(tmp.RuntimeVersion) { - runtimeVersion_ := "Java_8" - tmp.RuntimeVersion = &runtimeVersion_ - } - return &tmp +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() } -type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} -func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { + if v != nil { + return *v + } + var ret ErrorResponse + return ret + }).(ErrorResponseOutput) +} + +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) +} + + + + + +type GitPatternRepositoryArrayInput interface { + pulumi.Input + + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput +} + +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) +} + +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { - return o +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { - return o +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) ContainerProbeSettings() DeploymentSettingsResponseContainerProbeSettingsPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *DeploymentSettingsResponseContainerProbeSettings { - return v.ContainerProbeSettings - }).(DeploymentSettingsResponseContainerProbeSettingsPtrOutput) +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponseOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.Cpu }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponseOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.JvmOptions }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *int { return v.MemoryInGB }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponseOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.NetCoreMainEntryPath }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsResponseOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *ResourceRequestsResponse { return v.ResourceRequests }).(ResourceRequestsResponsePtrOutput) +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponseOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *string { return v.RuntimeVersion }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { - if v != nil { - return *v - } - var ret DeploymentSettingsResponse - return ret - }).(DeploymentSettingsResponseOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -func (o DeploymentSettingsResponsePtrOutput) ContainerProbeSettings() DeploymentSettingsResponseContainerProbeSettingsPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *DeploymentSettingsResponseContainerProbeSettings { - if v == nil { - return nil - } - return v.ContainerProbeSettings - }).(DeploymentSettingsResponseContainerProbeSettingsPtrOutput) +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -func (o DeploymentSettingsResponsePtrOutput) Cpu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.Cpu - }).(pulumi.IntPtrOutput) -} +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsResponsePtrOutput) JvmOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.JvmOptions - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponsePtrOutput) MemoryInGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { - if v == nil { - return nil - } - return v.MemoryInGB - }).(pulumi.IntPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { + return o } -func (o DeploymentSettingsResponsePtrOutput) NetCoreMainEntryPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.NetCoreMainEntryPath - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { - if v == nil { - return nil - } - return v.ResourceRequests - }).(ResourceRequestsResponsePtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) RuntimeVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *string { - if v == nil { - return nil - } - return v.RuntimeVersion - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponseContainerProbeSettings struct { - DisableProbe *bool `pulumi:"disableProbe"` +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -type DeploymentSettingsResponseContainerProbeSettingsOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) +} -func (DeploymentSettingsResponseContainerProbeSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsResponseContainerProbeSettings)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponseContainerProbeSettingsOutput) ToDeploymentSettingsResponseContainerProbeSettingsOutput() DeploymentSettingsResponseContainerProbeSettingsOutput { - return o +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseContainerProbeSettingsOutput) ToDeploymentSettingsResponseContainerProbeSettingsOutputWithContext(ctx context.Context) DeploymentSettingsResponseContainerProbeSettingsOutput { - return o +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponseContainerProbeSettingsOutput) DisableProbe() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponseContainerProbeSettings) *bool { return v.DisableProbe }).(pulumi.BoolPtrOutput) +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -type DeploymentSettingsResponseContainerProbeSettingsPtrOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) +} -func (DeploymentSettingsResponseContainerProbeSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsResponseContainerProbeSettings)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) ToDeploymentSettingsResponseContainerProbeSettingsPtrOutput() DeploymentSettingsResponseContainerProbeSettingsPtrOutput { - return o +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) ToDeploymentSettingsResponseContainerProbeSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsResponseContainerProbeSettingsPtrOutput { +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { return o } -func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) Elem() DeploymentSettingsResponseContainerProbeSettingsOutput { - return o.ApplyT(func(v *DeploymentSettingsResponseContainerProbeSettings) DeploymentSettingsResponseContainerProbeSettings { - if v != nil { - return *v - } - var ret DeploymentSettingsResponseContainerProbeSettings - return ret - }).(DeploymentSettingsResponseContainerProbeSettingsOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { + return o } -func (o DeploymentSettingsResponseContainerProbeSettingsPtrOutput) DisableProbe() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponseContainerProbeSettings) *bool { - if v == nil { - return nil - } - return v.DisableProbe - }).(pulumi.BoolPtrOutput) +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type ImageRegistryCredential struct { @@ -3377,6 +4712,233 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) Type() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetworkProfile struct { AppNetworkResourceGroup *string `pulumi:"appNetworkResourceGroup"` AppSubnetId *string `pulumi:"appSubnetId"` @@ -5367,6 +6929,8 @@ func init() { pulumi.RegisterOutputType(AppResourcePropertiesOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeOutput{}) pulumi.RegisterOutputType(AzureFileVolumePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeResponseOutput{}) @@ -5377,6 +6941,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(CustomContainerOutput{}) pulumi.RegisterOutputType(CustomContainerPtrOutput{}) pulumi.RegisterOutputType(CustomContainerResponseOutput{}) @@ -5401,6 +6976,14 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseContainerProbeSettingsOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseContainerProbeSettingsPtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(ImageRegistryCredentialOutput{}) pulumi.RegisterOutputType(ImageRegistryCredentialPtrOutput{}) pulumi.RegisterOutputType(ImageRegistryCredentialResponseOutput{}) @@ -5413,6 +6996,9 @@ func init() { pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20220101preview/buildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220101preview/buildServiceAgentPool.go new file mode 100644 index 000000000000..e0459761a20b --- /dev/null +++ b/sdk/go/azure/appplatform/v20220101preview/buildServiceAgentPool.go @@ -0,0 +1,160 @@ + + + +package v20220101preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type BuildServiceAgentPool struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewBuildServiceAgentPool(ctx *pulumi.Context, + name string, args *BuildServiceAgentPoolArgs, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.BuildServiceName == nil { + return nil, errors.New("invalid value for required argument 'BuildServiceName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:BuildServiceAgentPool"), + }, + }) + opts = append(opts, aliases) + var resource BuildServiceAgentPool + err := ctx.RegisterResource("azure-native:appplatform/v20220101preview:BuildServiceAgentPool", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetBuildServiceAgentPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BuildServiceAgentPoolState, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + var resource BuildServiceAgentPool + err := ctx.ReadResource("azure-native:appplatform/v20220101preview:BuildServiceAgentPool", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type buildServiceAgentPoolState struct { +} + +type BuildServiceAgentPoolState struct { +} + +func (BuildServiceAgentPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolState)(nil)).Elem() +} + +type buildServiceAgentPoolArgs struct { + AgentPoolName *string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + Properties *BuildServiceAgentPoolProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type BuildServiceAgentPoolArgs struct { + AgentPoolName pulumi.StringPtrInput + BuildServiceName pulumi.StringInput + Properties BuildServiceAgentPoolPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (BuildServiceAgentPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolArgs)(nil)).Elem() +} + +type BuildServiceAgentPoolInput interface { + pulumi.Input + + ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput + ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput +} + +func (*BuildServiceAgentPool) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return i.ToBuildServiceAgentPoolOutputWithContext(context.Background()) +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolOutput) +} + +type BuildServiceAgentPoolOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) BuildServiceAgentPoolPropertiesResponseOutput { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(BuildServiceAgentPoolOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220101preview/configServer.go b/sdk/go/azure/appplatform/v20220101preview/configServer.go new file mode 100644 index 000000000000..fcb25bb95021 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220101preview/configServer.go @@ -0,0 +1,165 @@ + + + +package v20220101preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20220101preview:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20220101preview:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *ConfigServer) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220101preview/getBuildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220101preview/getBuildServiceAgentPool.go new file mode 100644 index 000000000000..b27545fe8e1b --- /dev/null +++ b/sdk/go/azure/appplatform/v20220101preview/getBuildServiceAgentPool.go @@ -0,0 +1,99 @@ + + + +package v20220101preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupBuildServiceAgentPool(ctx *pulumi.Context, args *LookupBuildServiceAgentPoolArgs, opts ...pulumi.InvokeOption) (*LookupBuildServiceAgentPoolResult, error) { + var rv LookupBuildServiceAgentPoolResult + err := ctx.Invoke("azure-native:appplatform/v20220101preview:getBuildServiceAgentPool", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupBuildServiceAgentPoolArgs struct { + AgentPoolName string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupBuildServiceAgentPoolResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupBuildServiceAgentPoolOutput(ctx *pulumi.Context, args LookupBuildServiceAgentPoolOutputArgs, opts ...pulumi.InvokeOption) LookupBuildServiceAgentPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupBuildServiceAgentPoolResult, error) { + args := v.(LookupBuildServiceAgentPoolArgs) + r, err := LookupBuildServiceAgentPool(ctx, &args, opts...) + var s LookupBuildServiceAgentPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupBuildServiceAgentPoolResultOutput) +} + +type LookupBuildServiceAgentPoolOutputArgs struct { + AgentPoolName pulumi.StringInput `pulumi:"agentPoolName"` + BuildServiceName pulumi.StringInput `pulumi:"buildServiceName"` + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupBuildServiceAgentPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolArgs)(nil)).Elem() +} + + +type LookupBuildServiceAgentPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupBuildServiceAgentPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolResult)(nil)).Elem() +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutput() LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutputWithContext(ctx context.Context) LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) BuildServiceAgentPoolPropertiesResponse { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupBuildServiceAgentPoolResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220101preview/getConfigServer.go b/sdk/go/azure/appplatform/v20220101preview/getConfigServer.go new file mode 100644 index 000000000000..2782b2b33044 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220101preview/getConfigServer.go @@ -0,0 +1,95 @@ + + + +package v20220101preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20220101preview:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220101preview/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20220101preview/getMonitoringSetting.go new file mode 100644 index 000000000000..a851690b5d6a --- /dev/null +++ b/sdk/go/azure/appplatform/v20220101preview/getMonitoringSetting.go @@ -0,0 +1,95 @@ + + + +package v20220101preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20220101preview:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220101preview/init.go b/sdk/go/azure/appplatform/v20220101preview/init.go index 6c7bfb07567c..dd907e373dc0 100644 --- a/sdk/go/azure/appplatform/v20220101preview/init.go +++ b/sdk/go/azure/appplatform/v20220101preview/init.go @@ -29,12 +29,16 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &App{} case "azure-native:appplatform/v20220101preview:Binding": r = &Binding{} + case "azure-native:appplatform/v20220101preview:BuildServiceAgentPool": + r = &BuildServiceAgentPool{} case "azure-native:appplatform/v20220101preview:BuildServiceBuilder": r = &BuildServiceBuilder{} case "azure-native:appplatform/v20220101preview:BuildpackBinding": r = &BuildpackBinding{} case "azure-native:appplatform/v20220101preview:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20220101preview:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20220101preview:ConfigurationService": r = &ConfigurationService{} case "azure-native:appplatform/v20220101preview:CustomDomain": @@ -47,6 +51,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GatewayCustomDomain{} case "azure-native:appplatform/v20220101preview:GatewayRouteConfig": r = &GatewayRouteConfig{} + case "azure-native:appplatform/v20220101preview:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20220101preview:Service": r = &Service{} case "azure-native:appplatform/v20220101preview:ServiceRegistry": diff --git a/sdk/go/azure/appplatform/v20220101preview/monitoringSetting.go b/sdk/go/azure/appplatform/v20220101preview/monitoringSetting.go new file mode 100644 index 000000000000..2c8403ebeb12 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220101preview/monitoringSetting.go @@ -0,0 +1,165 @@ + + + +package v20220101preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20220101preview:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20220101preview:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220101preview/pulumiTypes.go b/sdk/go/azure/appplatform/v20220101preview/pulumiTypes.go index 1d3d94f10e4c..17f22716def0 100644 --- a/sdk/go/azure/appplatform/v20220101preview/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20220101preview/pulumiTypes.go @@ -922,6 +922,61 @@ func (o AppResourcePropertiesResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v AppResourcePropertiesResponse) string { return v.Url }).(pulumi.StringOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type AzureFileVolume struct { MountOptions []string `pulumi:"mountOptions"` MountPath string `pulumi:"mountPath"` @@ -1458,45 +1513,43 @@ type BuildResultUserSourceInfoResponse struct { Version *string `pulumi:"version"` } -type BuilderProperties struct { - BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` - Stack *StackProperties `pulumi:"stack"` +type BuildServiceAgentPoolProperties struct { + PoolSize *BuildServiceAgentPoolSizeProperties `pulumi:"poolSize"` } -type BuilderPropertiesInput interface { +type BuildServiceAgentPoolPropertiesInput interface { pulumi.Input - ToBuilderPropertiesOutput() BuilderPropertiesOutput - ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesOutput } -type BuilderPropertiesArgs struct { - BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` - Stack StackPropertiesPtrInput `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesArgs struct { + PoolSize BuildServiceAgentPoolSizePropertiesPtrInput `pulumi:"poolSize"` } -func (BuilderPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { - return i.ToBuilderPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { + return i.ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput).ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx) } @@ -1507,176 +1560,158 @@ func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx conte -type BuilderPropertiesPtrInput interface { +type BuildServiceAgentPoolPropertiesPtrInput interface { pulumi.Input - ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput - ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesPtrOutput } -type builderPropertiesPtrType BuilderPropertiesArgs +type buildServiceAgentPoolPropertiesPtrType BuildServiceAgentPoolPropertiesArgs -func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { - return (*builderPropertiesPtrType)(v) +func BuildServiceAgentPoolPropertiesPtr(v *BuildServiceAgentPoolPropertiesArgs) BuildServiceAgentPoolPropertiesPtrInput { + return (*buildServiceAgentPoolPropertiesPtrType)(v) } -func (*builderPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (*buildServiceAgentPoolPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesPtrOutput) } -type BuilderPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return o.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolProperties { return &v - }).(BuilderPropertiesPtrOutput) -} - -func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesPtrOutput) } -func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) +func (o BuildServiceAgentPoolPropertiesOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { return v.PoolSize }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { - return o.ApplyT(func(v *BuilderProperties) BuilderProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) Elem() BuildServiceAgentPoolPropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) BuildServiceAgentPoolProperties { if v != nil { return *v } - var ret BuilderProperties + var ret BuildServiceAgentPoolProperties return ret - }).(BuilderPropertiesOutput) -} - -func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { - if v == nil { - return nil - } - return v.BuildpackGroups - }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesOutput) } -func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v *BuilderProperties) *StackProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { if v == nil { return nil } - return v.Stack - }).(StackPropertiesPtrOutput) + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesResponse struct { - BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` - ProvisioningState string `pulumi:"provisioningState"` - Stack *StackPropertiesResponse `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesResponse struct { + PoolSize *BuildServiceAgentPoolSizePropertiesResponse `pulumi:"poolSize"` + ProvisioningState string `pulumi:"provisioningState"` } -type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolPropertiesResponse)(nil)).Elem() } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutput() BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) -} - -func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) PoolSize() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) *BuildServiceAgentPoolSizePropertiesResponse { + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesResponsePtrOutput) } -func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type BuildpackBindingLaunchProperties struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizeProperties struct { + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesInput interface { +type BuildServiceAgentPoolSizePropertiesInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput - ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesOutput } -type BuildpackBindingLaunchPropertiesArgs struct { - Properties pulumi.StringMapInput `pulumi:"properties"` - Secrets pulumi.StringMapInput `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesArgs struct { + Name pulumi.StringPtrInput `pulumi:"name"` } -func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { - return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { + return i.ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput).ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx) } @@ -1687,213 +1722,214 @@ func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchProperties -type BuildpackBindingLaunchPropertiesPtrInput interface { +type BuildServiceAgentPoolSizePropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput - ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput } -type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs +type buildServiceAgentPoolSizePropertiesPtrType BuildServiceAgentPoolSizePropertiesArgs -func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { - return (*buildpackBindingLaunchPropertiesPtrType)(v) +func BuildServiceAgentPoolSizePropertiesPtr(v *BuildServiceAgentPoolSizePropertiesArgs) BuildServiceAgentPoolSizePropertiesPtrInput { + return (*buildServiceAgentPoolSizePropertiesPtrType)(v) } -func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (*buildServiceAgentPoolSizePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolSizeProperties) *BuildServiceAgentPoolSizeProperties { return &v - }).(BuildpackBindingLaunchPropertiesPtrOutput) -} - -func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizeProperties) *string { return v.Name }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Elem() BuildServiceAgentPoolSizePropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) BuildServiceAgentPoolSizeProperties { if v != nil { return *v } - var ret BuildpackBindingLaunchProperties + var ret BuildServiceAgentPoolSizeProperties return ret - }).(BuildpackBindingLaunchPropertiesOutput) -} - -func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesOutput) } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesResponse struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesResponse struct { + Cpu string `pulumi:"cpu"` + Memory string `pulumi:"memory"` + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutput() BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Cpu }).(pulumi.StringOutput) } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Memory }).(pulumi.StringOutput) } -type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} -func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +type BuildServiceAgentPoolSizePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutput() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Elem() BuildServiceAgentPoolSizePropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) BuildServiceAgentPoolSizePropertiesResponse { if v != nil { return *v } - var ret BuildpackBindingLaunchPropertiesResponse + var ret BuildServiceAgentPoolSizePropertiesResponse return ret - }).(BuildpackBindingLaunchPropertiesResponseOutput) + }).(BuildServiceAgentPoolSizePropertiesResponseOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Properties - }).(pulumi.StringMapOutput) + return &v.Cpu + }).(pulumi.StringPtrOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return &v.Memory + }).(pulumi.StringPtrOutput) } -type BuildpackBindingProperties struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +type BuilderProperties struct { + BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` + Stack *StackProperties `pulumi:"stack"` } -type BuildpackBindingPropertiesInput interface { +type BuilderPropertiesInput interface { pulumi.Input - ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput - ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput + ToBuilderPropertiesOutput() BuilderPropertiesOutput + ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput } -type BuildpackBindingPropertiesArgs struct { - BindingType pulumi.StringPtrInput `pulumi:"bindingType"` - LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +type BuilderPropertiesArgs struct { + BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` + Stack StackPropertiesPtrInput `pulumi:"stack"` } -func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { - return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { + return i.ToBuilderPropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) } @@ -1904,485 +1940,1722 @@ func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWit -type BuildpackBindingPropertiesPtrInput interface { +type BuilderPropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput - ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput + ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput + ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput } -type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs +type builderPropertiesPtrType BuilderPropertiesArgs -func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { - return (*buildpackBindingPropertiesPtrType)(v) +func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { + return (*builderPropertiesPtrType)(v) } -func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (*builderPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) } -type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } +type BuilderPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { return &v - }).(BuildpackBindingPropertiesPtrOutput) + }).(BuilderPropertiesPtrOutput) } -func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { +func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { + return o.ApplyT(func(v *BuilderProperties) BuilderProperties { if v != nil { return *v } - var ret BuildpackBindingProperties + var ret BuilderProperties return ret - }).(BuildpackBindingPropertiesOutput) + }).(BuilderPropertiesOutput) } -func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *string { +func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { if v == nil { return nil } - return v.BindingType - }).(pulumi.StringPtrOutput) + return v.BuildpackGroups + }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { +func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v *BuilderProperties) *StackProperties { if v == nil { return nil } - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesPtrOutput) + return v.Stack + }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesResponse struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` - ProvisioningState string `pulumi:"provisioningState"` +type BuilderPropertiesResponse struct { + BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` + ProvisioningState string `pulumi:"provisioningState"` + Stack *StackPropertiesResponse `pulumi:"stack"` } -type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) } -func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) } -type BuildpackProperties struct { - Id *string `pulumi:"id"` +type BuildpackBindingLaunchProperties struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` } -type BuildpackPropertiesInput interface { +type BuildpackBindingLaunchPropertiesInput interface { pulumi.Input - ToBuildpackPropertiesOutput() BuildpackPropertiesOutput - ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput } -type BuildpackPropertiesArgs struct { - Id pulumi.StringPtrInput `pulumi:"id"` +type BuildpackBindingLaunchPropertiesArgs struct { + Properties pulumi.StringMapInput `pulumi:"properties"` + Secrets pulumi.StringMapInput `pulumi:"secrets"` } -func (BuildpackPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingLaunchPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput + ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput +} + +type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs + +func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { + return (*buildpackBindingLaunchPropertiesPtrType)(v) +} + +func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { + return &v + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchProperties + return ret + }).(BuildpackBindingLaunchPropertiesOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponse struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` +} + +type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchPropertiesResponse + return ret + }).(BuildpackBindingLaunchPropertiesResponseOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingProperties struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +} + + + + + +type BuildpackBindingPropertiesInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput + ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput +} + +type BuildpackBindingPropertiesArgs struct { + BindingType pulumi.StringPtrInput `pulumi:"bindingType"` + LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +} + +func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput + ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput +} + +type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs + +func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { + return (*buildpackBindingPropertiesPtrType)(v) +} + +func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { + return &v + }).(BuildpackBindingPropertiesPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { + if v != nil { + return *v + } + var ret BuildpackBindingProperties + return ret + }).(BuildpackBindingPropertiesOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *string { + if v == nil { + return nil + } + return v.BindingType + }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { + if v == nil { + return nil + } + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesResponse struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type BuildpackProperties struct { + Id *string `pulumi:"id"` +} + + + + + +type BuildpackPropertiesInput interface { + pulumi.Input + + ToBuildpackPropertiesOutput() BuildpackPropertiesOutput + ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput +} + +type BuildpackPropertiesArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (BuildpackPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +} + + + + + +type BuildpackPropertiesArrayInput interface { + pulumi.Input + + ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput + ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +} + +type BuildpackPropertiesArray []BuildpackPropertiesInput + +func (BuildpackPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +} + +type BuildpackPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { + return vs[0].([]BuildpackProperties)[vs[1].(int)] + }).(BuildpackPropertiesOutput) +} + +type BuildpackPropertiesResponse struct { + Id *string `pulumi:"id"` +} + +type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { + return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] + }).(BuildpackPropertiesResponseOutput) +} + +type BuildpacksGroupProperties struct { + Buildpacks []BuildpackProperties `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + + + + + +type BuildpacksGroupPropertiesInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput + ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput +} + +type BuildpacksGroupPropertiesArgs struct { + Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +} + + + + + +type BuildpacksGroupPropertiesArrayInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput + ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput +} + +type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput + +func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) +} + +type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +} + +func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { + return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] + }).(BuildpacksGroupPropertiesOutput) +} + +type BuildpacksGroupPropertiesResponse struct { + Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + +type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +} + +func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { + return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] + }).(BuildpacksGroupPropertiesResponseOutput) +} + +type ClusterResourceProperties struct { + NetworkProfile *NetworkProfile `pulumi:"networkProfile"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + + + + + +type ClusterResourcePropertiesInput interface { + pulumi.Input + + ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput + ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput +} + +type ClusterResourcePropertiesArgs struct { + NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` + ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + tmp.ZoneRedundant = pulumi.BoolPtr(false) + } + return &tmp +} +func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type ClusterResourcePropertiesPtrInput interface { + pulumi.Input + + ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput + ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput +} + +type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs + +func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { + return (*clusterResourcePropertiesPtrType)(v) +} + +func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +} + +type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { + return &v + }).(ClusterResourcePropertiesPtrOutput) +} + +func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { + return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { + if v != nil { + return *v + } + var ret ClusterResourceProperties + return ret + }).(ClusterResourcePropertiesOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { + if v == nil { + return nil + } + return v.NetworkProfile + }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *bool { + if v == nil { + return nil + } + return v.ZoneRedundant + }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesResponse struct { + Fqdn string `pulumi:"fqdn"` + NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` + PowerState string `pulumi:"powerState"` + ProvisioningState string `pulumi:"provisioningState"` + ServiceId string `pulumi:"serviceId"` + Version int `pulumi:"version"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + +type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type ConfigServerGitPropertyInput interface { + pulumi.Input + + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput +} + +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerGitPropertyPtrInput interface { + pulumi.Input + + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput +} + +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs + +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) +} + +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { + return &v + }).(ConfigServerGitPropertyPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { + if v != nil { + return *v + } + var ret ConfigServerGitProperty + return ret + }).(ConfigServerGitPropertyOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { + return o +} +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { + return o +} -type BuildpackPropertiesArrayInput interface { - pulumi.Input - - ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput - ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesArray []BuildpackPropertiesInput +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} -func (BuildpackPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { - return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } -func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { - return vs[0].([]BuildpackProperties)[vs[1].(int)] - }).(BuildpackPropertiesOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) } -type BuildpackPropertiesResponse struct { - Id *string `pulumi:"id"` +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { - return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] - }).(BuildpackPropertiesResponseOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type BuildpacksGroupProperties struct { - Buildpacks []BuildpackProperties `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` } -type BuildpacksGroupPropertiesInput interface { +type ConfigServerPropertiesInput interface { pulumi.Input - ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput - ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -type BuildpacksGroupPropertiesArgs struct { - Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` - Name pulumi.StringPtrInput `pulumi:"name"` +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` } -func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} -type BuildpacksGroupPropertiesArrayInput interface { - pulumi.Input - ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput - ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput -} -type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput -func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { - return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) -} -type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrInput interface { + pulumi.Input -func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return o +type configServerPropertiesPtrType ConfigServerPropertiesArgs + +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return o +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { - return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] - }).(BuildpacksGroupPropertiesOutput) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -type BuildpacksGroupPropertiesResponse struct { - Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { + return &v + }).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) +} -func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { + if v != nil { + return *v + } + var ret ConfigServerProperties + return ret + }).(ConfigServerPropertiesOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { + if v == nil { + return nil + } + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} -func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() +} + +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { - return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] - }).(BuildpacksGroupPropertiesResponseOutput) +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } -type ClusterResourceProperties struct { - NetworkProfile *NetworkProfile `pulumi:"networkProfile"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) } +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} -func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type ClusterResourcePropertiesInput interface { +type ConfigServerSettingsInput interface { pulumi.Input - ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput - ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type ClusterResourcePropertiesArgs struct { - NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` - ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } - -func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - tmp.ZoneRedundant = pulumi.BoolPtr(false) - } - return &tmp -} -func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { - return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } @@ -2393,168 +3666,145 @@ func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithC -type ClusterResourcePropertiesPtrInput interface { +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput - ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs - -func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { - return (*clusterResourcePropertiesPtrType)(v) +type configServerSettingsPtrType ConfigServerSettingsArgs + +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } -type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { return &v - }).(ClusterResourcePropertiesPtrOutput) -} - -func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) + }).(ConfigServerSettingsPtrOutput) } -func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) } -type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { - return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { if v != nil { return *v } - var ret ClusterResourceProperties + var ret ConfigServerSettings return ret - }).(ClusterResourcePropertiesOutput) + }).(ConfigServerSettingsOutput) } -func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { - if v == nil { - return nil - } - return v.NetworkProfile - }).(NetworkProfilePtrOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *bool { +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { if v == nil { return nil } - return v.ZoneRedundant - }).(pulumi.BoolPtrOutput) -} - -type ClusterResourcePropertiesResponse struct { - Fqdn string `pulumi:"fqdn"` - NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` - PowerState string `pulumi:"powerState"` - ProvisioningState string `pulumi:"provisioningState"` - ServiceId string `pulumi:"serviceId"` - Version int `pulumi:"version"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) } - -func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` } -type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) } -func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) -} +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) } -func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) } type ConfigurationServiceGitProperty struct { @@ -4497,58 +5747,275 @@ func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { + if v != nil { + return *v + } + var ret DeploymentSettingsResponse + return ret + }).(DeploymentSettingsResponseOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) AddonConfigs() pulumi.MapMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]map[string]interface{} { + if v == nil { + return nil + } + return v.AddonConfigs + }).(pulumi.MapMapOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) ContainerProbeSettings() ContainerProbeSettingsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ContainerProbeSettingsResponse { + if v == nil { + return nil + } + return v.ContainerProbeSettings + }).(ContainerProbeSettingsResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsResponsePtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { + pulumi.Input + + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput +} + +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) +} + +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) +} + + + + + + + + + +type ErrorPtrInput interface { + pulumi.Input + + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput +} + +type errorPtrType ErrorArgs + +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) +} + +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) +} + +type ErrorOutput struct{ *pulumi.OutputState } + +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) +} + +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) +} + +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) +} + +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { return o } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { return o } -func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { if v != nil { return *v } - var ret DeploymentSettingsResponse + var ret ErrorResponse return ret - }).(DeploymentSettingsResponseOutput) -} - -func (o DeploymentSettingsResponsePtrOutput) AddonConfigs() pulumi.MapMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]map[string]interface{} { - if v == nil { - return nil - } - return v.AddonConfigs - }).(pulumi.MapMapOutput) + }).(ErrorResponseOutput) } -func (o DeploymentSettingsResponsePtrOutput) ContainerProbeSettings() ContainerProbeSettingsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ContainerProbeSettingsResponse { - if v == nil { - return nil - } - return v.ContainerProbeSettings - }).(ContainerProbeSettingsResponsePtrOutput) -} - -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.ResourceRequests - }).(ResourceRequestsResponsePtrOutput) + return v.Message + }).(pulumi.StringPtrOutput) } type GatewayApiMetadataProperties struct { @@ -6261,193 +7728,439 @@ func (o GatewayResourceRequestsResponsePtrOutput) Cpu() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o GatewayResourceRequestsResponsePtrOutput) Memory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { - if v == nil { - return nil - } - return v.Memory - }).(pulumi.StringPtrOutput) +func (o GatewayResourceRequestsResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { + if v == nil { + return nil + } + return v.Memory + }).(pulumi.StringPtrOutput) +} + +type GatewayRouteConfigProperties struct { + AppResourceId *string `pulumi:"appResourceId"` + Routes []GatewayApiRoute `pulumi:"routes"` +} + + + + + +type GatewayRouteConfigPropertiesInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput + ToGatewayRouteConfigPropertiesOutputWithContext(context.Context) GatewayRouteConfigPropertiesOutput +} + +type GatewayRouteConfigPropertiesArgs struct { + AppResourceId pulumi.StringPtrInput `pulumi:"appResourceId"` + Routes GatewayApiRouteArrayInput `pulumi:"routes"` +} + +func (GatewayRouteConfigPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return i.ToGatewayRouteConfigPropertiesOutputWithContext(context.Background()) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type GatewayRouteConfigPropertiesPtrInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput + ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +} + +type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs + +func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { + return (*gatewayRouteConfigPropertiesPtrType)(v) +} + +func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +} + +type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { + return &v + }).(GatewayRouteConfigPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { + if v != nil { + return *v + } + var ret GatewayRouteConfigProperties + return ret + }).(GatewayRouteConfigPropertiesOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { + if v == nil { + return nil + } + return v.AppResourceId + }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { + if v == nil { + return nil + } + return v.Routes + }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesResponse struct { + AppResourceId *string `pulumi:"appResourceId"` + ProvisioningState string `pulumi:"provisioningState"` + Routes []GatewayApiRouteResponse `pulumi:"routes"` +} + +type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) } -type GatewayRouteConfigProperties struct { - AppResourceId *string `pulumi:"appResourceId"` - Routes []GatewayApiRoute `pulumi:"routes"` +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) } -type GatewayRouteConfigPropertiesInput interface { +type GitPatternRepositoryArrayInput interface { pulumi.Input - ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput - ToGatewayRouteConfigPropertiesOutputWithContext(context.Context) GatewayRouteConfigPropertiesOutput + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput } -type GatewayRouteConfigPropertiesArgs struct { - AppResourceId pulumi.StringPtrInput `pulumi:"appResourceId"` - Routes GatewayApiRouteArrayInput `pulumi:"routes"` +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (GatewayRouteConfigPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { - return i.ToGatewayRouteConfigPropertiesOutputWithContext(context.Background()) +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) } +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) +} +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) +} +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} -type GatewayRouteConfigPropertiesPtrInput interface { - pulumi.Input +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) +} - ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput - ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } -func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { - return (*gatewayRouteConfigPropertiesPtrType)(v) +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return o } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return o } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} -func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { - return &v - }).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } - -func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { - if v != nil { - return *v - } - var ret GatewayRouteConfigProperties - return ret - }).(GatewayRouteConfigPropertiesOutput) +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { - if v == nil { - return nil - } - return v.AppResourceId - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { - if v == nil { - return nil - } - return v.Routes - }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -type GatewayRouteConfigPropertiesResponse struct { - AppResourceId *string `pulumi:"appResourceId"` - ProvisioningState string `pulumi:"provisioningState"` - Routes []GatewayApiRouteResponse `pulumi:"routes"` +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } -func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { return o } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { return o } -func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) -} - -func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type ImageRegistryCredential struct { @@ -6955,6 +8668,233 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) Type() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetCoreZipUploadedUserSourceInfo struct { NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` RelativePath *string `pulumi:"relativePath"` @@ -9299,6 +11239,8 @@ func init() { pulumi.RegisterOutputType(AppResourcePropertiesOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeOutput{}) pulumi.RegisterOutputType(AzureFileVolumePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeResponseOutput{}) @@ -9306,6 +11248,13 @@ func init() { pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponsePtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesOutput{}) pulumi.RegisterOutputType(BuilderPropertiesPtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesResponseOutput{}) @@ -9327,6 +11276,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyPtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyResponseOutput{}) @@ -9365,6 +11325,10 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesResponseOutput{}) @@ -9394,6 +11358,10 @@ func init() { pulumi.RegisterOutputType(GatewayRouteConfigPropertiesOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(LoadedCertificateOutput{}) pulumi.RegisterOutputType(LoadedCertificateArrayOutput{}) pulumi.RegisterOutputType(LoadedCertificateResponseOutput{}) @@ -9402,6 +11370,9 @@ func init() { pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20220301preview/buildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220301preview/buildServiceAgentPool.go new file mode 100644 index 000000000000..ef5fc2d4b0c6 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220301preview/buildServiceAgentPool.go @@ -0,0 +1,160 @@ + + + +package v20220301preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type BuildServiceAgentPool struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewBuildServiceAgentPool(ctx *pulumi.Context, + name string, args *BuildServiceAgentPoolArgs, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.BuildServiceName == nil { + return nil, errors.New("invalid value for required argument 'BuildServiceName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:BuildServiceAgentPool"), + }, + }) + opts = append(opts, aliases) + var resource BuildServiceAgentPool + err := ctx.RegisterResource("azure-native:appplatform/v20220301preview:BuildServiceAgentPool", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetBuildServiceAgentPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BuildServiceAgentPoolState, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + var resource BuildServiceAgentPool + err := ctx.ReadResource("azure-native:appplatform/v20220301preview:BuildServiceAgentPool", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type buildServiceAgentPoolState struct { +} + +type BuildServiceAgentPoolState struct { +} + +func (BuildServiceAgentPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolState)(nil)).Elem() +} + +type buildServiceAgentPoolArgs struct { + AgentPoolName *string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + Properties *BuildServiceAgentPoolProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type BuildServiceAgentPoolArgs struct { + AgentPoolName pulumi.StringPtrInput + BuildServiceName pulumi.StringInput + Properties BuildServiceAgentPoolPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (BuildServiceAgentPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolArgs)(nil)).Elem() +} + +type BuildServiceAgentPoolInput interface { + pulumi.Input + + ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput + ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput +} + +func (*BuildServiceAgentPool) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return i.ToBuildServiceAgentPoolOutputWithContext(context.Background()) +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolOutput) +} + +type BuildServiceAgentPoolOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) BuildServiceAgentPoolPropertiesResponseOutput { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(BuildServiceAgentPoolOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220301preview/configServer.go b/sdk/go/azure/appplatform/v20220301preview/configServer.go new file mode 100644 index 000000000000..f0bf2c21b43f --- /dev/null +++ b/sdk/go/azure/appplatform/v20220301preview/configServer.go @@ -0,0 +1,165 @@ + + + +package v20220301preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20220301preview:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20220301preview:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *ConfigServer) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220301preview/getBuildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220301preview/getBuildServiceAgentPool.go new file mode 100644 index 000000000000..1824416a10ac --- /dev/null +++ b/sdk/go/azure/appplatform/v20220301preview/getBuildServiceAgentPool.go @@ -0,0 +1,99 @@ + + + +package v20220301preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupBuildServiceAgentPool(ctx *pulumi.Context, args *LookupBuildServiceAgentPoolArgs, opts ...pulumi.InvokeOption) (*LookupBuildServiceAgentPoolResult, error) { + var rv LookupBuildServiceAgentPoolResult + err := ctx.Invoke("azure-native:appplatform/v20220301preview:getBuildServiceAgentPool", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupBuildServiceAgentPoolArgs struct { + AgentPoolName string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupBuildServiceAgentPoolResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupBuildServiceAgentPoolOutput(ctx *pulumi.Context, args LookupBuildServiceAgentPoolOutputArgs, opts ...pulumi.InvokeOption) LookupBuildServiceAgentPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupBuildServiceAgentPoolResult, error) { + args := v.(LookupBuildServiceAgentPoolArgs) + r, err := LookupBuildServiceAgentPool(ctx, &args, opts...) + var s LookupBuildServiceAgentPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupBuildServiceAgentPoolResultOutput) +} + +type LookupBuildServiceAgentPoolOutputArgs struct { + AgentPoolName pulumi.StringInput `pulumi:"agentPoolName"` + BuildServiceName pulumi.StringInput `pulumi:"buildServiceName"` + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupBuildServiceAgentPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolArgs)(nil)).Elem() +} + + +type LookupBuildServiceAgentPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupBuildServiceAgentPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolResult)(nil)).Elem() +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutput() LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutputWithContext(ctx context.Context) LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) BuildServiceAgentPoolPropertiesResponse { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupBuildServiceAgentPoolResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220301preview/getConfigServer.go b/sdk/go/azure/appplatform/v20220301preview/getConfigServer.go new file mode 100644 index 000000000000..39252b1b3e42 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220301preview/getConfigServer.go @@ -0,0 +1,95 @@ + + + +package v20220301preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20220301preview:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220301preview/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20220301preview/getMonitoringSetting.go new file mode 100644 index 000000000000..17b000fccce3 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220301preview/getMonitoringSetting.go @@ -0,0 +1,95 @@ + + + +package v20220301preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20220301preview:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220301preview/init.go b/sdk/go/azure/appplatform/v20220301preview/init.go index 314d530f49c4..2f6bb2e5f9ed 100644 --- a/sdk/go/azure/appplatform/v20220301preview/init.go +++ b/sdk/go/azure/appplatform/v20220301preview/init.go @@ -29,12 +29,16 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &App{} case "azure-native:appplatform/v20220301preview:Binding": r = &Binding{} + case "azure-native:appplatform/v20220301preview:BuildServiceAgentPool": + r = &BuildServiceAgentPool{} case "azure-native:appplatform/v20220301preview:BuildServiceBuilder": r = &BuildServiceBuilder{} case "azure-native:appplatform/v20220301preview:BuildpackBinding": r = &BuildpackBinding{} case "azure-native:appplatform/v20220301preview:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20220301preview:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20220301preview:ConfigurationService": r = &ConfigurationService{} case "azure-native:appplatform/v20220301preview:CustomDomain": @@ -47,6 +51,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GatewayCustomDomain{} case "azure-native:appplatform/v20220301preview:GatewayRouteConfig": r = &GatewayRouteConfig{} + case "azure-native:appplatform/v20220301preview:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20220301preview:Service": r = &Service{} case "azure-native:appplatform/v20220301preview:ServiceRegistry": diff --git a/sdk/go/azure/appplatform/v20220301preview/monitoringSetting.go b/sdk/go/azure/appplatform/v20220301preview/monitoringSetting.go new file mode 100644 index 000000000000..2025d33147b5 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220301preview/monitoringSetting.go @@ -0,0 +1,165 @@ + + + +package v20220301preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20220301preview:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20220301preview:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220301preview/pulumiTypes.go b/sdk/go/azure/appplatform/v20220301preview/pulumiTypes.go index 2d2401cb01fd..7add0f46fd65 100644 --- a/sdk/go/azure/appplatform/v20220301preview/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20220301preview/pulumiTypes.go @@ -922,6 +922,61 @@ func (o AppResourcePropertiesResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v AppResourcePropertiesResponse) string { return v.Url }).(pulumi.StringOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type AzureFileVolume struct { MountOptions []string `pulumi:"mountOptions"` MountPath string `pulumi:"mountPath"` @@ -1458,45 +1513,43 @@ type BuildResultUserSourceInfoResponse struct { Version *string `pulumi:"version"` } -type BuilderProperties struct { - BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` - Stack *StackProperties `pulumi:"stack"` +type BuildServiceAgentPoolProperties struct { + PoolSize *BuildServiceAgentPoolSizeProperties `pulumi:"poolSize"` } -type BuilderPropertiesInput interface { +type BuildServiceAgentPoolPropertiesInput interface { pulumi.Input - ToBuilderPropertiesOutput() BuilderPropertiesOutput - ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesOutput } -type BuilderPropertiesArgs struct { - BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` - Stack StackPropertiesPtrInput `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesArgs struct { + PoolSize BuildServiceAgentPoolSizePropertiesPtrInput `pulumi:"poolSize"` } -func (BuilderPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { - return i.ToBuilderPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { + return i.ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput).ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx) } @@ -1507,176 +1560,158 @@ func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx conte -type BuilderPropertiesPtrInput interface { +type BuildServiceAgentPoolPropertiesPtrInput interface { pulumi.Input - ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput - ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesPtrOutput } -type builderPropertiesPtrType BuilderPropertiesArgs +type buildServiceAgentPoolPropertiesPtrType BuildServiceAgentPoolPropertiesArgs -func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { - return (*builderPropertiesPtrType)(v) +func BuildServiceAgentPoolPropertiesPtr(v *BuildServiceAgentPoolPropertiesArgs) BuildServiceAgentPoolPropertiesPtrInput { + return (*buildServiceAgentPoolPropertiesPtrType)(v) } -func (*builderPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (*buildServiceAgentPoolPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesPtrOutput) } -type BuilderPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return o.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolProperties { return &v - }).(BuilderPropertiesPtrOutput) -} - -func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesPtrOutput) } -func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) +func (o BuildServiceAgentPoolPropertiesOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { return v.PoolSize }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { - return o.ApplyT(func(v *BuilderProperties) BuilderProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) Elem() BuildServiceAgentPoolPropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) BuildServiceAgentPoolProperties { if v != nil { return *v } - var ret BuilderProperties + var ret BuildServiceAgentPoolProperties return ret - }).(BuilderPropertiesOutput) -} - -func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { - if v == nil { - return nil - } - return v.BuildpackGroups - }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesOutput) } -func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v *BuilderProperties) *StackProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { if v == nil { return nil } - return v.Stack - }).(StackPropertiesPtrOutput) + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesResponse struct { - BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` - ProvisioningState string `pulumi:"provisioningState"` - Stack *StackPropertiesResponse `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesResponse struct { + PoolSize *BuildServiceAgentPoolSizePropertiesResponse `pulumi:"poolSize"` + ProvisioningState string `pulumi:"provisioningState"` } -type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolPropertiesResponse)(nil)).Elem() } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutput() BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) -} - -func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) PoolSize() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) *BuildServiceAgentPoolSizePropertiesResponse { + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesResponsePtrOutput) } -func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type BuildpackBindingLaunchProperties struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizeProperties struct { + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesInput interface { +type BuildServiceAgentPoolSizePropertiesInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput - ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesOutput } -type BuildpackBindingLaunchPropertiesArgs struct { - Properties pulumi.StringMapInput `pulumi:"properties"` - Secrets pulumi.StringMapInput `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesArgs struct { + Name pulumi.StringPtrInput `pulumi:"name"` } -func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { - return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { + return i.ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput).ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx) } @@ -1687,213 +1722,214 @@ func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchProperties -type BuildpackBindingLaunchPropertiesPtrInput interface { +type BuildServiceAgentPoolSizePropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput - ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput } -type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs +type buildServiceAgentPoolSizePropertiesPtrType BuildServiceAgentPoolSizePropertiesArgs -func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { - return (*buildpackBindingLaunchPropertiesPtrType)(v) +func BuildServiceAgentPoolSizePropertiesPtr(v *BuildServiceAgentPoolSizePropertiesArgs) BuildServiceAgentPoolSizePropertiesPtrInput { + return (*buildServiceAgentPoolSizePropertiesPtrType)(v) } -func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (*buildServiceAgentPoolSizePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolSizeProperties) *BuildServiceAgentPoolSizeProperties { return &v - }).(BuildpackBindingLaunchPropertiesPtrOutput) -} - -func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizeProperties) *string { return v.Name }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Elem() BuildServiceAgentPoolSizePropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) BuildServiceAgentPoolSizeProperties { if v != nil { return *v } - var ret BuildpackBindingLaunchProperties + var ret BuildServiceAgentPoolSizeProperties return ret - }).(BuildpackBindingLaunchPropertiesOutput) -} - -func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesOutput) } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesResponse struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesResponse struct { + Cpu string `pulumi:"cpu"` + Memory string `pulumi:"memory"` + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutput() BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Cpu }).(pulumi.StringOutput) } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Memory }).(pulumi.StringOutput) } -type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} -func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +type BuildServiceAgentPoolSizePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutput() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Elem() BuildServiceAgentPoolSizePropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) BuildServiceAgentPoolSizePropertiesResponse { if v != nil { return *v } - var ret BuildpackBindingLaunchPropertiesResponse + var ret BuildServiceAgentPoolSizePropertiesResponse return ret - }).(BuildpackBindingLaunchPropertiesResponseOutput) + }).(BuildServiceAgentPoolSizePropertiesResponseOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Properties - }).(pulumi.StringMapOutput) + return &v.Cpu + }).(pulumi.StringPtrOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return &v.Memory + }).(pulumi.StringPtrOutput) } -type BuildpackBindingProperties struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +type BuilderProperties struct { + BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` + Stack *StackProperties `pulumi:"stack"` } -type BuildpackBindingPropertiesInput interface { +type BuilderPropertiesInput interface { pulumi.Input - ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput - ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput + ToBuilderPropertiesOutput() BuilderPropertiesOutput + ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput } -type BuildpackBindingPropertiesArgs struct { - BindingType pulumi.StringPtrInput `pulumi:"bindingType"` - LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +type BuilderPropertiesArgs struct { + BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` + Stack StackPropertiesPtrInput `pulumi:"stack"` } -func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { - return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { + return i.ToBuilderPropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) } @@ -1904,485 +1940,1722 @@ func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWit -type BuildpackBindingPropertiesPtrInput interface { +type BuilderPropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput - ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput + ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput + ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput } -type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs +type builderPropertiesPtrType BuilderPropertiesArgs -func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { - return (*buildpackBindingPropertiesPtrType)(v) +func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { + return (*builderPropertiesPtrType)(v) } -func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (*builderPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) } -type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } +type BuilderPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { return &v - }).(BuildpackBindingPropertiesPtrOutput) + }).(BuilderPropertiesPtrOutput) } -func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { +func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { + return o.ApplyT(func(v *BuilderProperties) BuilderProperties { if v != nil { return *v } - var ret BuildpackBindingProperties + var ret BuilderProperties return ret - }).(BuildpackBindingPropertiesOutput) + }).(BuilderPropertiesOutput) } -func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *string { +func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { if v == nil { return nil } - return v.BindingType - }).(pulumi.StringPtrOutput) + return v.BuildpackGroups + }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { +func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v *BuilderProperties) *StackProperties { if v == nil { return nil } - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesPtrOutput) + return v.Stack + }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesResponse struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` - ProvisioningState string `pulumi:"provisioningState"` +type BuilderPropertiesResponse struct { + BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` + ProvisioningState string `pulumi:"provisioningState"` + Stack *StackPropertiesResponse `pulumi:"stack"` } -type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) } -func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) } -type BuildpackProperties struct { - Id *string `pulumi:"id"` +type BuildpackBindingLaunchProperties struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` } -type BuildpackPropertiesInput interface { +type BuildpackBindingLaunchPropertiesInput interface { pulumi.Input - ToBuildpackPropertiesOutput() BuildpackPropertiesOutput - ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput } -type BuildpackPropertiesArgs struct { - Id pulumi.StringPtrInput `pulumi:"id"` +type BuildpackBindingLaunchPropertiesArgs struct { + Properties pulumi.StringMapInput `pulumi:"properties"` + Secrets pulumi.StringMapInput `pulumi:"secrets"` } -func (BuildpackPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingLaunchPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput + ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput +} + +type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs + +func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { + return (*buildpackBindingLaunchPropertiesPtrType)(v) +} + +func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { + return &v + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchProperties + return ret + }).(BuildpackBindingLaunchPropertiesOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponse struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` +} + +type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchPropertiesResponse + return ret + }).(BuildpackBindingLaunchPropertiesResponseOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingProperties struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +} + + + + + +type BuildpackBindingPropertiesInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput + ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput +} + +type BuildpackBindingPropertiesArgs struct { + BindingType pulumi.StringPtrInput `pulumi:"bindingType"` + LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +} + +func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput + ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput +} + +type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs + +func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { + return (*buildpackBindingPropertiesPtrType)(v) +} + +func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { + return &v + }).(BuildpackBindingPropertiesPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { + if v != nil { + return *v + } + var ret BuildpackBindingProperties + return ret + }).(BuildpackBindingPropertiesOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *string { + if v == nil { + return nil + } + return v.BindingType + }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { + if v == nil { + return nil + } + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesResponse struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type BuildpackProperties struct { + Id *string `pulumi:"id"` +} + + + + + +type BuildpackPropertiesInput interface { + pulumi.Input + + ToBuildpackPropertiesOutput() BuildpackPropertiesOutput + ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput +} + +type BuildpackPropertiesArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (BuildpackPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +} + + + + + +type BuildpackPropertiesArrayInput interface { + pulumi.Input + + ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput + ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +} + +type BuildpackPropertiesArray []BuildpackPropertiesInput + +func (BuildpackPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +} + +type BuildpackPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { + return vs[0].([]BuildpackProperties)[vs[1].(int)] + }).(BuildpackPropertiesOutput) +} + +type BuildpackPropertiesResponse struct { + Id *string `pulumi:"id"` +} + +type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { + return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] + }).(BuildpackPropertiesResponseOutput) +} + +type BuildpacksGroupProperties struct { + Buildpacks []BuildpackProperties `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + + + + + +type BuildpacksGroupPropertiesInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput + ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput +} + +type BuildpacksGroupPropertiesArgs struct { + Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +} + + + + + +type BuildpacksGroupPropertiesArrayInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput + ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput +} + +type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput + +func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) +} + +type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +} + +func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { + return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] + }).(BuildpacksGroupPropertiesOutput) +} + +type BuildpacksGroupPropertiesResponse struct { + Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + +type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +} + +func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { + return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] + }).(BuildpacksGroupPropertiesResponseOutput) +} + +type ClusterResourceProperties struct { + NetworkProfile *NetworkProfile `pulumi:"networkProfile"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + + + + + +type ClusterResourcePropertiesInput interface { + pulumi.Input + + ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput + ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput +} + +type ClusterResourcePropertiesArgs struct { + NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` + ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + tmp.ZoneRedundant = pulumi.BoolPtr(false) + } + return &tmp +} +func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type ClusterResourcePropertiesPtrInput interface { + pulumi.Input + + ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput + ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput +} + +type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs + +func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { + return (*clusterResourcePropertiesPtrType)(v) +} + +func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +} + +type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { + return &v + }).(ClusterResourcePropertiesPtrOutput) +} + +func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { + return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { + if v != nil { + return *v + } + var ret ClusterResourceProperties + return ret + }).(ClusterResourcePropertiesOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { + if v == nil { + return nil + } + return v.NetworkProfile + }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *bool { + if v == nil { + return nil + } + return v.ZoneRedundant + }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesResponse struct { + Fqdn string `pulumi:"fqdn"` + NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` + PowerState string `pulumi:"powerState"` + ProvisioningState string `pulumi:"provisioningState"` + ServiceId string `pulumi:"serviceId"` + Version int `pulumi:"version"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + +type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type ConfigServerGitPropertyInput interface { + pulumi.Input + + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput +} + +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerGitPropertyPtrInput interface { + pulumi.Input + + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput +} + +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs + +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) +} + +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { + return &v + }).(ConfigServerGitPropertyPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { + if v != nil { + return *v + } + var ret ConfigServerGitProperty + return ret + }).(ConfigServerGitPropertyOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { + return o +} +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { + return o +} -type BuildpackPropertiesArrayInput interface { - pulumi.Input - - ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput - ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesArray []BuildpackPropertiesInput +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} -func (BuildpackPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { - return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } -func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { - return vs[0].([]BuildpackProperties)[vs[1].(int)] - }).(BuildpackPropertiesOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) } -type BuildpackPropertiesResponse struct { - Id *string `pulumi:"id"` +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { - return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] - }).(BuildpackPropertiesResponseOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type BuildpacksGroupProperties struct { - Buildpacks []BuildpackProperties `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` } -type BuildpacksGroupPropertiesInput interface { +type ConfigServerPropertiesInput interface { pulumi.Input - ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput - ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -type BuildpacksGroupPropertiesArgs struct { - Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` - Name pulumi.StringPtrInput `pulumi:"name"` +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` } -func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} -type BuildpacksGroupPropertiesArrayInput interface { - pulumi.Input - ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput - ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput -} -type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput -func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { - return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) -} -type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrInput interface { + pulumi.Input -func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return o +type configServerPropertiesPtrType ConfigServerPropertiesArgs + +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return o +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { - return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] - }).(BuildpacksGroupPropertiesOutput) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -type BuildpacksGroupPropertiesResponse struct { - Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { + return &v + }).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) +} -func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { + if v != nil { + return *v + } + var ret ConfigServerProperties + return ret + }).(ConfigServerPropertiesOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { + if v == nil { + return nil + } + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} -func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() +} + +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { - return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] - }).(BuildpacksGroupPropertiesResponseOutput) +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } -type ClusterResourceProperties struct { - NetworkProfile *NetworkProfile `pulumi:"networkProfile"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) } +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} -func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type ClusterResourcePropertiesInput interface { +type ConfigServerSettingsInput interface { pulumi.Input - ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput - ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type ClusterResourcePropertiesArgs struct { - NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` - ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } - -func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - tmp.ZoneRedundant = pulumi.BoolPtr(false) - } - return &tmp -} -func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { - return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } @@ -2393,168 +3666,145 @@ func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithC -type ClusterResourcePropertiesPtrInput interface { +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput - ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs - -func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { - return (*clusterResourcePropertiesPtrType)(v) +type configServerSettingsPtrType ConfigServerSettingsArgs + +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } -type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { return &v - }).(ClusterResourcePropertiesPtrOutput) -} - -func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) + }).(ConfigServerSettingsPtrOutput) } -func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) } -type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { - return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { if v != nil { return *v } - var ret ClusterResourceProperties + var ret ConfigServerSettings return ret - }).(ClusterResourcePropertiesOutput) + }).(ConfigServerSettingsOutput) } -func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { - if v == nil { - return nil - } - return v.NetworkProfile - }).(NetworkProfilePtrOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *bool { +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { if v == nil { return nil } - return v.ZoneRedundant - }).(pulumi.BoolPtrOutput) -} - -type ClusterResourcePropertiesResponse struct { - Fqdn string `pulumi:"fqdn"` - NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` - PowerState string `pulumi:"powerState"` - ProvisioningState string `pulumi:"provisioningState"` - ServiceId string `pulumi:"serviceId"` - Version int `pulumi:"version"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) } - -func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` } -type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) } -func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) -} +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) } -func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) } type ConfigurationServiceGitProperty struct { @@ -4499,58 +5749,275 @@ func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { + return o +} + +func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { + if v != nil { + return *v + } + var ret DeploymentSettingsResponse + return ret + }).(DeploymentSettingsResponseOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) AddonConfigs() pulumi.MapMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]map[string]interface{} { + if v == nil { + return nil + } + return v.AddonConfigs + }).(pulumi.MapMapOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) ContainerProbeSettings() ContainerProbeSettingsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ContainerProbeSettingsResponse { + if v == nil { + return nil + } + return v.ContainerProbeSettings + }).(ContainerProbeSettingsResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsResponsePtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { + pulumi.Input + + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput +} + +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) +} + +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) +} + + + + + + + + + +type ErrorPtrInput interface { + pulumi.Input + + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput +} + +type errorPtrType ErrorArgs + +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) +} + +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) +} + +type ErrorOutput struct{ *pulumi.OutputState } + +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) +} + +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) +} + +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) +} + +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { return o } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { return o } -func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { if v != nil { return *v } - var ret DeploymentSettingsResponse + var ret ErrorResponse return ret - }).(DeploymentSettingsResponseOutput) -} - -func (o DeploymentSettingsResponsePtrOutput) AddonConfigs() pulumi.MapMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]map[string]interface{} { - if v == nil { - return nil - } - return v.AddonConfigs - }).(pulumi.MapMapOutput) + }).(ErrorResponseOutput) } -func (o DeploymentSettingsResponsePtrOutput) ContainerProbeSettings() ContainerProbeSettingsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ContainerProbeSettingsResponse { - if v == nil { - return nil - } - return v.ContainerProbeSettings - }).(ContainerProbeSettingsResponsePtrOutput) -} - -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.ResourceRequests - }).(ResourceRequestsResponsePtrOutput) + return v.Message + }).(pulumi.StringPtrOutput) } type GatewayApiMetadataProperties struct { @@ -6263,193 +7730,439 @@ func (o GatewayResourceRequestsResponsePtrOutput) Cpu() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o GatewayResourceRequestsResponsePtrOutput) Memory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { - if v == nil { - return nil - } - return v.Memory - }).(pulumi.StringPtrOutput) +func (o GatewayResourceRequestsResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayResourceRequestsResponse) *string { + if v == nil { + return nil + } + return v.Memory + }).(pulumi.StringPtrOutput) +} + +type GatewayRouteConfigProperties struct { + AppResourceId *string `pulumi:"appResourceId"` + Routes []GatewayApiRoute `pulumi:"routes"` +} + + + + + +type GatewayRouteConfigPropertiesInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput + ToGatewayRouteConfigPropertiesOutputWithContext(context.Context) GatewayRouteConfigPropertiesOutput +} + +type GatewayRouteConfigPropertiesArgs struct { + AppResourceId pulumi.StringPtrInput `pulumi:"appResourceId"` + Routes GatewayApiRouteArrayInput `pulumi:"routes"` +} + +func (GatewayRouteConfigPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return i.ToGatewayRouteConfigPropertiesOutputWithContext(context.Background()) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type GatewayRouteConfigPropertiesPtrInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput + ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +} + +type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs + +func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { + return (*gatewayRouteConfigPropertiesPtrType)(v) +} + +func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +} + +type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { + return &v + }).(GatewayRouteConfigPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { + if v != nil { + return *v + } + var ret GatewayRouteConfigProperties + return ret + }).(GatewayRouteConfigPropertiesOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { + if v == nil { + return nil + } + return v.AppResourceId + }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { + if v == nil { + return nil + } + return v.Routes + }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesResponse struct { + AppResourceId *string `pulumi:"appResourceId"` + ProvisioningState string `pulumi:"provisioningState"` + Routes []GatewayApiRouteResponse `pulumi:"routes"` +} + +type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) } -type GatewayRouteConfigProperties struct { - AppResourceId *string `pulumi:"appResourceId"` - Routes []GatewayApiRoute `pulumi:"routes"` +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) } -type GatewayRouteConfigPropertiesInput interface { +type GitPatternRepositoryArrayInput interface { pulumi.Input - ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput - ToGatewayRouteConfigPropertiesOutputWithContext(context.Context) GatewayRouteConfigPropertiesOutput + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput } -type GatewayRouteConfigPropertiesArgs struct { - AppResourceId pulumi.StringPtrInput `pulumi:"appResourceId"` - Routes GatewayApiRouteArrayInput `pulumi:"routes"` +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (GatewayRouteConfigPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { - return i.ToGatewayRouteConfigPropertiesOutputWithContext(context.Background()) +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) } +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) +} +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) +} +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} -type GatewayRouteConfigPropertiesPtrInput interface { - pulumi.Input +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) +} - ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput - ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } -func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { - return (*gatewayRouteConfigPropertiesPtrType)(v) +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return o } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return o } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} -func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { - return &v - }).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } - -func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { - if v != nil { - return *v - } - var ret GatewayRouteConfigProperties - return ret - }).(GatewayRouteConfigPropertiesOutput) +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { - if v == nil { - return nil - } - return v.AppResourceId - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { - if v == nil { - return nil - } - return v.Routes - }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -type GatewayRouteConfigPropertiesResponse struct { - AppResourceId *string `pulumi:"appResourceId"` - ProvisioningState string `pulumi:"provisioningState"` - Routes []GatewayApiRouteResponse `pulumi:"routes"` +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } -func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { return o } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { return o } -func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) -} - -func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type ImageRegistryCredential struct { @@ -6988,6 +8701,233 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) UserAssignedIdentities() Use }).(UserAssignedManagedIdentityResponseMapOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetCoreZipUploadedUserSourceInfo struct { NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` RelativePath *string `pulumi:"relativePath"` @@ -9379,6 +11319,8 @@ func init() { pulumi.RegisterOutputType(AppResourcePropertiesOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeOutput{}) pulumi.RegisterOutputType(AzureFileVolumePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeResponseOutput{}) @@ -9386,6 +11328,13 @@ func init() { pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponsePtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesOutput{}) pulumi.RegisterOutputType(BuilderPropertiesPtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesResponseOutput{}) @@ -9407,6 +11356,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyPtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyResponseOutput{}) @@ -9445,6 +11405,10 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesResponseOutput{}) @@ -9474,6 +11438,10 @@ func init() { pulumi.RegisterOutputType(GatewayRouteConfigPropertiesOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(LoadedCertificateOutput{}) pulumi.RegisterOutputType(LoadedCertificateArrayOutput{}) pulumi.RegisterOutputType(LoadedCertificateResponseOutput{}) @@ -9482,6 +11450,9 @@ func init() { pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20220401/buildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220401/buildServiceAgentPool.go new file mode 100644 index 000000000000..7e0db9f81148 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220401/buildServiceAgentPool.go @@ -0,0 +1,160 @@ + + + +package v20220401 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type BuildServiceAgentPool struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewBuildServiceAgentPool(ctx *pulumi.Context, + name string, args *BuildServiceAgentPoolArgs, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.BuildServiceName == nil { + return nil, errors.New("invalid value for required argument 'BuildServiceName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:BuildServiceAgentPool"), + }, + }) + opts = append(opts, aliases) + var resource BuildServiceAgentPool + err := ctx.RegisterResource("azure-native:appplatform/v20220401:BuildServiceAgentPool", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetBuildServiceAgentPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BuildServiceAgentPoolState, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + var resource BuildServiceAgentPool + err := ctx.ReadResource("azure-native:appplatform/v20220401:BuildServiceAgentPool", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type buildServiceAgentPoolState struct { +} + +type BuildServiceAgentPoolState struct { +} + +func (BuildServiceAgentPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolState)(nil)).Elem() +} + +type buildServiceAgentPoolArgs struct { + AgentPoolName *string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + Properties *BuildServiceAgentPoolProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type BuildServiceAgentPoolArgs struct { + AgentPoolName pulumi.StringPtrInput + BuildServiceName pulumi.StringInput + Properties BuildServiceAgentPoolPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (BuildServiceAgentPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolArgs)(nil)).Elem() +} + +type BuildServiceAgentPoolInput interface { + pulumi.Input + + ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput + ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput +} + +func (*BuildServiceAgentPool) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return i.ToBuildServiceAgentPoolOutputWithContext(context.Background()) +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolOutput) +} + +type BuildServiceAgentPoolOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) BuildServiceAgentPoolPropertiesResponseOutput { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(BuildServiceAgentPoolOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220401/configServer.go b/sdk/go/azure/appplatform/v20220401/configServer.go new file mode 100644 index 000000000000..52c4f5b145dc --- /dev/null +++ b/sdk/go/azure/appplatform/v20220401/configServer.go @@ -0,0 +1,165 @@ + + + +package v20220401 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20220401:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20220401:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *ConfigServer) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220401/getBuildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220401/getBuildServiceAgentPool.go new file mode 100644 index 000000000000..fe0d29801ee2 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220401/getBuildServiceAgentPool.go @@ -0,0 +1,99 @@ + + + +package v20220401 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupBuildServiceAgentPool(ctx *pulumi.Context, args *LookupBuildServiceAgentPoolArgs, opts ...pulumi.InvokeOption) (*LookupBuildServiceAgentPoolResult, error) { + var rv LookupBuildServiceAgentPoolResult + err := ctx.Invoke("azure-native:appplatform/v20220401:getBuildServiceAgentPool", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupBuildServiceAgentPoolArgs struct { + AgentPoolName string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupBuildServiceAgentPoolResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupBuildServiceAgentPoolOutput(ctx *pulumi.Context, args LookupBuildServiceAgentPoolOutputArgs, opts ...pulumi.InvokeOption) LookupBuildServiceAgentPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupBuildServiceAgentPoolResult, error) { + args := v.(LookupBuildServiceAgentPoolArgs) + r, err := LookupBuildServiceAgentPool(ctx, &args, opts...) + var s LookupBuildServiceAgentPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupBuildServiceAgentPoolResultOutput) +} + +type LookupBuildServiceAgentPoolOutputArgs struct { + AgentPoolName pulumi.StringInput `pulumi:"agentPoolName"` + BuildServiceName pulumi.StringInput `pulumi:"buildServiceName"` + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupBuildServiceAgentPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolArgs)(nil)).Elem() +} + + +type LookupBuildServiceAgentPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupBuildServiceAgentPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolResult)(nil)).Elem() +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutput() LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutputWithContext(ctx context.Context) LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) BuildServiceAgentPoolPropertiesResponse { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupBuildServiceAgentPoolResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220401/getConfigServer.go b/sdk/go/azure/appplatform/v20220401/getConfigServer.go new file mode 100644 index 000000000000..67d50039aa6b --- /dev/null +++ b/sdk/go/azure/appplatform/v20220401/getConfigServer.go @@ -0,0 +1,95 @@ + + + +package v20220401 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20220401:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220401/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20220401/getMonitoringSetting.go new file mode 100644 index 000000000000..294801e19e65 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220401/getMonitoringSetting.go @@ -0,0 +1,95 @@ + + + +package v20220401 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20220401:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220401/init.go b/sdk/go/azure/appplatform/v20220401/init.go index aa0a16f3c061..9e9aecf1a154 100644 --- a/sdk/go/azure/appplatform/v20220401/init.go +++ b/sdk/go/azure/appplatform/v20220401/init.go @@ -25,18 +25,24 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &App{} case "azure-native:appplatform/v20220401:Binding": r = &Binding{} + case "azure-native:appplatform/v20220401:BuildServiceAgentPool": + r = &BuildServiceAgentPool{} case "azure-native:appplatform/v20220401:BuildServiceBuilder": r = &BuildServiceBuilder{} case "azure-native:appplatform/v20220401:BuildpackBinding": r = &BuildpackBinding{} case "azure-native:appplatform/v20220401:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20220401:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20220401:ConfigurationService": r = &ConfigurationService{} case "azure-native:appplatform/v20220401:CustomDomain": r = &CustomDomain{} case "azure-native:appplatform/v20220401:Deployment": r = &Deployment{} + case "azure-native:appplatform/v20220401:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20220401:Service": r = &Service{} case "azure-native:appplatform/v20220401:ServiceRegistry": diff --git a/sdk/go/azure/appplatform/v20220401/monitoringSetting.go b/sdk/go/azure/appplatform/v20220401/monitoringSetting.go new file mode 100644 index 000000000000..fb6b540fe2c7 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220401/monitoringSetting.go @@ -0,0 +1,165 @@ + + + +package v20220401 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20220401:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20220401:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220401/pulumiTypes.go b/sdk/go/azure/appplatform/v20220401/pulumiTypes.go index 3939cad739d6..bcaa12a619c7 100644 --- a/sdk/go/azure/appplatform/v20220401/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20220401/pulumiTypes.go @@ -368,6 +368,61 @@ func (o AppResourcePropertiesResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v AppResourcePropertiesResponse) string { return v.Url }).(pulumi.StringOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type BindingResourceProperties struct { BindingParameters map[string]interface{} `pulumi:"bindingParameters"` Key *string `pulumi:"key"` @@ -600,45 +655,43 @@ type BuildResultUserSourceInfoResponse struct { Version *string `pulumi:"version"` } -type BuilderProperties struct { - BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` - Stack *StackProperties `pulumi:"stack"` +type BuildServiceAgentPoolProperties struct { + PoolSize *BuildServiceAgentPoolSizeProperties `pulumi:"poolSize"` } -type BuilderPropertiesInput interface { +type BuildServiceAgentPoolPropertiesInput interface { pulumi.Input - ToBuilderPropertiesOutput() BuilderPropertiesOutput - ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesOutput } -type BuilderPropertiesArgs struct { - BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` - Stack StackPropertiesPtrInput `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesArgs struct { + PoolSize BuildServiceAgentPoolSizePropertiesPtrInput `pulumi:"poolSize"` } -func (BuilderPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { - return i.ToBuilderPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { + return i.ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput).ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx) } @@ -649,176 +702,158 @@ func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx conte -type BuilderPropertiesPtrInput interface { +type BuildServiceAgentPoolPropertiesPtrInput interface { pulumi.Input - ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput - ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesPtrOutput } -type builderPropertiesPtrType BuilderPropertiesArgs +type buildServiceAgentPoolPropertiesPtrType BuildServiceAgentPoolPropertiesArgs -func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { - return (*builderPropertiesPtrType)(v) +func BuildServiceAgentPoolPropertiesPtr(v *BuildServiceAgentPoolPropertiesArgs) BuildServiceAgentPoolPropertiesPtrInput { + return (*buildServiceAgentPoolPropertiesPtrType)(v) } -func (*builderPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (*buildServiceAgentPoolPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesPtrOutput) } -type BuilderPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return o.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolProperties { return &v - }).(BuilderPropertiesPtrOutput) -} - -func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesPtrOutput) } -func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) +func (o BuildServiceAgentPoolPropertiesOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { return v.PoolSize }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { - return o.ApplyT(func(v *BuilderProperties) BuilderProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) Elem() BuildServiceAgentPoolPropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) BuildServiceAgentPoolProperties { if v != nil { return *v } - var ret BuilderProperties + var ret BuildServiceAgentPoolProperties return ret - }).(BuilderPropertiesOutput) -} - -func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { - if v == nil { - return nil - } - return v.BuildpackGroups - }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesOutput) } -func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v *BuilderProperties) *StackProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { if v == nil { return nil } - return v.Stack - }).(StackPropertiesPtrOutput) + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesResponse struct { - BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` - ProvisioningState string `pulumi:"provisioningState"` - Stack *StackPropertiesResponse `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesResponse struct { + PoolSize *BuildServiceAgentPoolSizePropertiesResponse `pulumi:"poolSize"` + ProvisioningState string `pulumi:"provisioningState"` } -type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolPropertiesResponse)(nil)).Elem() } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutput() BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) -} - -func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) PoolSize() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) *BuildServiceAgentPoolSizePropertiesResponse { + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesResponsePtrOutput) } -func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type BuildpackBindingLaunchProperties struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizeProperties struct { + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesInput interface { +type BuildServiceAgentPoolSizePropertiesInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput - ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesOutput } -type BuildpackBindingLaunchPropertiesArgs struct { - Properties pulumi.StringMapInput `pulumi:"properties"` - Secrets pulumi.StringMapInput `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesArgs struct { + Name pulumi.StringPtrInput `pulumi:"name"` } -func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { - return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { + return i.ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput).ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx) } @@ -829,213 +864,214 @@ func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchProperties -type BuildpackBindingLaunchPropertiesPtrInput interface { +type BuildServiceAgentPoolSizePropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput - ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput } -type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs +type buildServiceAgentPoolSizePropertiesPtrType BuildServiceAgentPoolSizePropertiesArgs -func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { - return (*buildpackBindingLaunchPropertiesPtrType)(v) +func BuildServiceAgentPoolSizePropertiesPtr(v *BuildServiceAgentPoolSizePropertiesArgs) BuildServiceAgentPoolSizePropertiesPtrInput { + return (*buildServiceAgentPoolSizePropertiesPtrType)(v) } -func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (*buildServiceAgentPoolSizePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolSizeProperties) *BuildServiceAgentPoolSizeProperties { return &v - }).(BuildpackBindingLaunchPropertiesPtrOutput) -} - -func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizeProperties) *string { return v.Name }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Elem() BuildServiceAgentPoolSizePropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) BuildServiceAgentPoolSizeProperties { if v != nil { return *v } - var ret BuildpackBindingLaunchProperties + var ret BuildServiceAgentPoolSizeProperties return ret - }).(BuildpackBindingLaunchPropertiesOutput) -} - -func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesOutput) } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesResponse struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesResponse struct { + Cpu string `pulumi:"cpu"` + Memory string `pulumi:"memory"` + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutput() BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Cpu }).(pulumi.StringOutput) } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Memory }).(pulumi.StringOutput) } -type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} -func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +type BuildServiceAgentPoolSizePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutput() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Elem() BuildServiceAgentPoolSizePropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) BuildServiceAgentPoolSizePropertiesResponse { if v != nil { return *v } - var ret BuildpackBindingLaunchPropertiesResponse + var ret BuildServiceAgentPoolSizePropertiesResponse return ret - }).(BuildpackBindingLaunchPropertiesResponseOutput) + }).(BuildServiceAgentPoolSizePropertiesResponseOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Properties - }).(pulumi.StringMapOutput) + return &v.Cpu + }).(pulumi.StringPtrOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return &v.Memory + }).(pulumi.StringPtrOutput) } -type BuildpackBindingProperties struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +type BuilderProperties struct { + BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` + Stack *StackProperties `pulumi:"stack"` } -type BuildpackBindingPropertiesInput interface { +type BuilderPropertiesInput interface { pulumi.Input - ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput - ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput + ToBuilderPropertiesOutput() BuilderPropertiesOutput + ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput } -type BuildpackBindingPropertiesArgs struct { - BindingType pulumi.StringPtrInput `pulumi:"bindingType"` - LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +type BuilderPropertiesArgs struct { + BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` + Stack StackPropertiesPtrInput `pulumi:"stack"` } -func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { - return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { + return i.ToBuilderPropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) } @@ -1046,1174 +1082,2804 @@ func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWit -type BuildpackBindingPropertiesPtrInput interface { +type BuilderPropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput - ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput + ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput + ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput } -type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs +type builderPropertiesPtrType BuilderPropertiesArgs -func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { - return (*buildpackBindingPropertiesPtrType)(v) +func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { + return (*builderPropertiesPtrType)(v) } -func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (*builderPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) } -type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } +type BuilderPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { return &v - }).(BuildpackBindingPropertiesPtrOutput) + }).(BuilderPropertiesPtrOutput) } -func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { +func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { + return o.ApplyT(func(v *BuilderProperties) BuilderProperties { if v != nil { return *v } - var ret BuildpackBindingProperties + var ret BuilderProperties return ret - }).(BuildpackBindingPropertiesOutput) + }).(BuilderPropertiesOutput) } -func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *string { +func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { if v == nil { return nil } - return v.BindingType - }).(pulumi.StringPtrOutput) + return v.BuildpackGroups + }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { +func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v *BuilderProperties) *StackProperties { if v == nil { return nil } - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesPtrOutput) + return v.Stack + }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesResponse struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` - ProvisioningState string `pulumi:"provisioningState"` +type BuilderPropertiesResponse struct { + BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` + ProvisioningState string `pulumi:"provisioningState"` + Stack *StackPropertiesResponse `pulumi:"stack"` } -type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) } -func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) } -type BuildpackProperties struct { - Id *string `pulumi:"id"` +type BuildpackBindingLaunchProperties struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` } -type BuildpackPropertiesInput interface { +type BuildpackBindingLaunchPropertiesInput interface { pulumi.Input - ToBuildpackPropertiesOutput() BuildpackPropertiesOutput - ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput } -type BuildpackPropertiesArgs struct { - Id pulumi.StringPtrInput `pulumi:"id"` +type BuildpackBindingLaunchPropertiesArgs struct { + Properties pulumi.StringMapInput `pulumi:"properties"` + Secrets pulumi.StringMapInput `pulumi:"secrets"` } -func (BuildpackPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) } +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +} -type BuildpackPropertiesArrayInput interface { - pulumi.Input - ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput - ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput -} -type BuildpackPropertiesArray []BuildpackPropertiesInput -func (BuildpackPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() -} -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { - return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) -} -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) + +type BuildpackBindingLaunchPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput + ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput } -type BuildpackPropertiesOutput struct{ *pulumi.OutputState } +type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs -func (BuildpackPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { + return (*buildpackBindingLaunchPropertiesPtrType)(v) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return o +func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return o +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) } -type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } +type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { return o } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { return o } -func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { - return vs[0].([]BuildpackProperties)[vs[1].(int)] - }).(BuildpackPropertiesOutput) -} - -type BuildpackPropertiesResponse struct { - Id *string `pulumi:"id"` -} - -type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { - return o +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { + return &v + }).(BuildpackBindingLaunchPropertiesPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { - return o +func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) } -func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) } -type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { return o } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { return o } -func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { +func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchProperties + return ret + }).(BuildpackBindingLaunchPropertiesOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponse struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` +} + +type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchPropertiesResponse + return ret + }).(BuildpackBindingLaunchPropertiesResponseOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingProperties struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +} + + + + + +type BuildpackBindingPropertiesInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput + ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput +} + +type BuildpackBindingPropertiesArgs struct { + BindingType pulumi.StringPtrInput `pulumi:"bindingType"` + LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +} + +func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput + ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput +} + +type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs + +func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { + return (*buildpackBindingPropertiesPtrType)(v) +} + +func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { + return &v + }).(BuildpackBindingPropertiesPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { + if v != nil { + return *v + } + var ret BuildpackBindingProperties + return ret + }).(BuildpackBindingPropertiesOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *string { + if v == nil { + return nil + } + return v.BindingType + }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { + if v == nil { + return nil + } + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesResponse struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type BuildpackProperties struct { + Id *string `pulumi:"id"` +} + + + + + +type BuildpackPropertiesInput interface { + pulumi.Input + + ToBuildpackPropertiesOutput() BuildpackPropertiesOutput + ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput +} + +type BuildpackPropertiesArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (BuildpackPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +} + + + + + +type BuildpackPropertiesArrayInput interface { + pulumi.Input + + ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput + ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +} + +type BuildpackPropertiesArray []BuildpackPropertiesInput + +func (BuildpackPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +} + +type BuildpackPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { + return vs[0].([]BuildpackProperties)[vs[1].(int)] + }).(BuildpackPropertiesOutput) +} + +type BuildpackPropertiesResponse struct { + Id *string `pulumi:"id"` +} + +type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] }).(BuildpackPropertiesResponseOutput) } -type BuildpacksGroupProperties struct { - Buildpacks []BuildpackProperties `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +type BuildpacksGroupProperties struct { + Buildpacks []BuildpackProperties `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + + + + + +type BuildpacksGroupPropertiesInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput + ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput +} + +type BuildpacksGroupPropertiesArgs struct { + Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +} + + + + + +type BuildpacksGroupPropertiesArrayInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput + ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput +} + +type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput + +func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) +} + +type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +} + +func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { + return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] + }).(BuildpacksGroupPropertiesOutput) +} + +type BuildpacksGroupPropertiesResponse struct { + Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + +type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +} + +func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { + return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] + }).(BuildpacksGroupPropertiesResponseOutput) +} + +type ClusterResourceProperties struct { + NetworkProfile *NetworkProfile `pulumi:"networkProfile"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + + + + + +type ClusterResourcePropertiesInput interface { + pulumi.Input + + ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput + ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput +} + +type ClusterResourcePropertiesArgs struct { + NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` + ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + tmp.ZoneRedundant = pulumi.BoolPtr(false) + } + return &tmp +} +func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type ClusterResourcePropertiesPtrInput interface { + pulumi.Input + + ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput + ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput +} + +type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs + +func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { + return (*clusterResourcePropertiesPtrType)(v) +} + +func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +} + +type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { + return &v + }).(ClusterResourcePropertiesPtrOutput) +} + +func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { + return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { + if v != nil { + return *v + } + var ret ClusterResourceProperties + return ret + }).(ClusterResourcePropertiesOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { + if v == nil { + return nil + } + return v.NetworkProfile + }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *bool { + if v == nil { + return nil + } + return v.ZoneRedundant + }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesResponse struct { + Fqdn string `pulumi:"fqdn"` + NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` + ProvisioningState string `pulumi:"provisioningState"` + ServiceId string `pulumi:"serviceId"` + Version int `pulumi:"version"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + +type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type ConfigServerGitPropertyInput interface { + pulumi.Input + + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput +} + +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerGitPropertyPtrInput interface { + pulumi.Input + + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput +} + +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs + +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) +} + +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { + return &v + }).(ConfigServerGitPropertyPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { + if v != nil { + return *v + } + var ret ConfigServerGitProperty + return ret + }).(ConfigServerGitPropertyOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { + return o +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { + return o +} + +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { + return o +} + +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { + return o +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` +} + + + + + +type ConfigServerPropertiesInput interface { + pulumi.Input + + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput +} + +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` +} + +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerPropertiesPtrInput interface { + pulumi.Input + + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput +} + +type configServerPropertiesPtrType ConfigServerPropertiesArgs + +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) +} + +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) +} + +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return o +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return o +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { + return &v + }).(ConfigServerPropertiesPtrOutput) +} + +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) +} + +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o +} +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o +} +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { + if v != nil { + return *v + } + var ret ConfigServerProperties + return ret + }).(ConfigServerPropertiesOutput) +} -type BuildpacksGroupPropertiesInput interface { +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { + if v == nil { + return nil + } + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) +} + +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() +} + +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { + return o +} + +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { + return o +} + +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) +} + +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` +} + + + + + +type ConfigServerSettingsInput interface { pulumi.Input - ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput - ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type BuildpacksGroupPropertiesArgs struct { - Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` - Name pulumi.StringPtrInput `pulumi:"name"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } -func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) +} + +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } -type BuildpacksGroupPropertiesArrayInput interface { + + + + +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput - ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput +type configServerSettingsPtrType ConfigServerSettingsArgs -func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { - return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) +} -func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { return o } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { return o } -func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { + return &v + }).(ConfigServerSettingsPtrOutput) } -type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) +} -func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() +} + +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o +} + +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o +} + +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { + if v != nil { + return *v + } + var ret ConfigServerSettings + return ret + }).(ConfigServerSettingsOutput) +} + +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` +} + +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() +} + +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { + return o +} + +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { + return o +} + +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) +} + +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o +} + +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) +} + +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) +} + +type ConfigurationServiceGitProperty struct { + Repositories []ConfigurationServiceGitRepository `pulumi:"repositories"` +} + + + + + +type ConfigurationServiceGitPropertyInput interface { + pulumi.Input + + ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput + ToConfigurationServiceGitPropertyOutputWithContext(context.Context) ConfigurationServiceGitPropertyOutput +} + +type ConfigurationServiceGitPropertyArgs struct { + Repositories ConfigurationServiceGitRepositoryArrayInput `pulumi:"repositories"` +} + +func (ConfigurationServiceGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceGitProperty)(nil)).Elem() +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput { + return i.ToConfigurationServiceGitPropertyOutputWithContext(context.Background()) +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput) +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { + return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput).ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigurationServiceGitPropertyPtrInput interface { + pulumi.Input + + ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput + ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Context) ConfigurationServiceGitPropertyPtrOutput +} + +type configurationServiceGitPropertyPtrType ConfigurationServiceGitPropertyArgs + +func ConfigurationServiceGitPropertyPtr(v *ConfigurationServiceGitPropertyArgs) ConfigurationServiceGitPropertyPtrInput { + return (*configurationServiceGitPropertyPtrType)(v) +} + +func (*configurationServiceGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceGitProperty)(nil)).Elem() +} + +func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { + return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyPtrOutput) +} + +type ConfigurationServiceGitPropertyOutput struct{ *pulumi.OutputState } + +func (ConfigurationServiceGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceGitProperty)(nil)).Elem() +} + +func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput { + return o +} + +func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyOutput { + return o +} + +func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { + return o.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +} + +func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigurationServiceGitProperty) *ConfigurationServiceGitProperty { + return &v + }).(ConfigurationServiceGitPropertyPtrOutput) +} + +func (o ConfigurationServiceGitPropertyOutput) Repositories() ConfigurationServiceGitRepositoryArrayOutput { + return o.ApplyT(func(v ConfigurationServiceGitProperty) []ConfigurationServiceGitRepository { return v.Repositories }).(ConfigurationServiceGitRepositoryArrayOutput) +} + +type ConfigurationServiceGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigurationServiceGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceGitProperty)(nil)).Elem() +} + +func (o ConfigurationServiceGitPropertyPtrOutput) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { + return o } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { +func (o ConfigurationServiceGitPropertyPtrOutput) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { - return o +func (o ConfigurationServiceGitPropertyPtrOutput) Elem() ConfigurationServiceGitPropertyOutput { + return o.ApplyT(func(v *ConfigurationServiceGitProperty) ConfigurationServiceGitProperty { + if v != nil { + return *v + } + var ret ConfigurationServiceGitProperty + return ret + }).(ConfigurationServiceGitPropertyOutput) } -func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { - return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] - }).(BuildpacksGroupPropertiesOutput) +func (o ConfigurationServiceGitPropertyPtrOutput) Repositories() ConfigurationServiceGitRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigurationServiceGitProperty) []ConfigurationServiceGitRepository { + if v == nil { + return nil + } + return v.Repositories + }).(ConfigurationServiceGitRepositoryArrayOutput) } -type BuildpacksGroupPropertiesResponse struct { - Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +type ConfigurationServiceGitPropertyResponse struct { + Repositories []ConfigurationServiceGitRepositoryResponse `pulumi:"repositories"` } -type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigurationServiceGitPropertyResponseOutput struct{ *pulumi.OutputState } -func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +func (ConfigurationServiceGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceGitPropertyResponse)(nil)).Elem() } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { +func (o ConfigurationServiceGitPropertyResponseOutput) ToConfigurationServiceGitPropertyResponseOutput() ConfigurationServiceGitPropertyResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { +func (o ConfigurationServiceGitPropertyResponseOutput) ToConfigurationServiceGitPropertyResponseOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) -} - -func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ConfigurationServiceGitPropertyResponseOutput) Repositories() ConfigurationServiceGitRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigurationServiceGitPropertyResponse) []ConfigurationServiceGitRepositoryResponse { + return v.Repositories + }).(ConfigurationServiceGitRepositoryResponseArrayOutput) } -type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +type ConfigurationServiceGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } -func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +func (ConfigurationServiceGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceGitPropertyResponse)(nil)).Elem() } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { +func (o ConfigurationServiceGitPropertyResponsePtrOutput) ToConfigurationServiceGitPropertyResponsePtrOutput() ConfigurationServiceGitPropertyResponsePtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { +func (o ConfigurationServiceGitPropertyResponsePtrOutput) ToConfigurationServiceGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyResponsePtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { - return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] - }).(BuildpacksGroupPropertiesResponseOutput) +func (o ConfigurationServiceGitPropertyResponsePtrOutput) Elem() ConfigurationServiceGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigurationServiceGitPropertyResponse) ConfigurationServiceGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigurationServiceGitPropertyResponse + return ret + }).(ConfigurationServiceGitPropertyResponseOutput) } -type ClusterResourceProperties struct { - NetworkProfile *NetworkProfile `pulumi:"networkProfile"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` +func (o ConfigurationServiceGitPropertyResponsePtrOutput) Repositories() ConfigurationServiceGitRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigurationServiceGitPropertyResponse) []ConfigurationServiceGitRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(ConfigurationServiceGitRepositoryResponseArrayOutput) } - -func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigurationServiceGitRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Patterns []string `pulumi:"patterns"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type ClusterResourcePropertiesInput interface { +type ConfigurationServiceGitRepositoryInput interface { pulumi.Input - ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput - ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput + ToConfigurationServiceGitRepositoryOutput() ConfigurationServiceGitRepositoryOutput + ToConfigurationServiceGitRepositoryOutputWithContext(context.Context) ConfigurationServiceGitRepositoryOutput } -type ClusterResourcePropertiesArgs struct { - NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` - ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +type ConfigurationServiceGitRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Patterns pulumi.StringArrayInput `pulumi:"patterns"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } +func (ConfigurationServiceGitRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceGitRepository)(nil)).Elem() +} -func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - tmp.ZoneRedundant = pulumi.BoolPtr(false) - } - return &tmp +func (i ConfigurationServiceGitRepositoryArgs) ToConfigurationServiceGitRepositoryOutput() ConfigurationServiceGitRepositoryOutput { + return i.ToConfigurationServiceGitRepositoryOutputWithContext(context.Background()) } -func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() + +func (i ConfigurationServiceGitRepositoryArgs) ToConfigurationServiceGitRepositoryOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitRepositoryOutput) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { - return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) + + + + +type ConfigurationServiceGitRepositoryArrayInput interface { + pulumi.Input + + ToConfigurationServiceGitRepositoryArrayOutput() ConfigurationServiceGitRepositoryArrayOutput + ToConfigurationServiceGitRepositoryArrayOutputWithContext(context.Context) ConfigurationServiceGitRepositoryArrayOutput } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +type ConfigurationServiceGitRepositoryArray []ConfigurationServiceGitRepositoryInput + +func (ConfigurationServiceGitRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationServiceGitRepository)(nil)).Elem() } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ConfigurationServiceGitRepositoryArray) ToConfigurationServiceGitRepositoryArrayOutput() ConfigurationServiceGitRepositoryArrayOutput { + return i.ToConfigurationServiceGitRepositoryArrayOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +func (i ConfigurationServiceGitRepositoryArray) ToConfigurationServiceGitRepositoryArrayOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitRepositoryArrayOutput) } +type ConfigurationServiceGitRepositoryOutput struct{ *pulumi.OutputState } +func (ConfigurationServiceGitRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceGitRepository)(nil)).Elem() +} +func (o ConfigurationServiceGitRepositoryOutput) ToConfigurationServiceGitRepositoryOutput() ConfigurationServiceGitRepositoryOutput { + return o +} +func (o ConfigurationServiceGitRepositoryOutput) ToConfigurationServiceGitRepositoryOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryOutput { + return o +} +func (o ConfigurationServiceGitRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} +func (o ConfigurationServiceGitRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} +func (o ConfigurationServiceGitRepositoryOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) string { return v.Label }).(pulumi.StringOutput) +} +func (o ConfigurationServiceGitRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) string { return v.Name }).(pulumi.StringOutput) +} -type ClusterResourcePropertiesPtrInput interface { - pulumi.Input +func (o ConfigurationServiceGitRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.Password }).(pulumi.StringPtrOutput) +} - ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput - ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput +func (o ConfigurationServiceGitRepositoryOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) []string { return v.Patterns }).(pulumi.StringArrayOutput) } -type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs +func (o ConfigurationServiceGitRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} -func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { - return (*clusterResourcePropertiesPtrType)(v) +func (o ConfigurationServiceGitRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (o ConfigurationServiceGitRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigurationServiceGitRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) string { return v.Uri }).(pulumi.StringOutput) } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +func (o ConfigurationServiceGitRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } +type ConfigurationServiceGitRepositoryArrayOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigurationServiceGitRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationServiceGitRepository)(nil)).Elem() } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { +func (o ConfigurationServiceGitRepositoryArrayOutput) ToConfigurationServiceGitRepositoryArrayOutput() ConfigurationServiceGitRepositoryArrayOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { +func (o ConfigurationServiceGitRepositoryArrayOutput) ToConfigurationServiceGitRepositoryArrayOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryArrayOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) -} - -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { - return &v - }).(ClusterResourcePropertiesPtrOutput) -} - -func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) +func (o ConfigurationServiceGitRepositoryArrayOutput) Index(i pulumi.IntInput) ConfigurationServiceGitRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationServiceGitRepository { + return vs[0].([]ConfigurationServiceGitRepository)[vs[1].(int)] + }).(ConfigurationServiceGitRepositoryOutput) } -func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +type ConfigurationServiceGitRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Patterns []string `pulumi:"patterns"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigurationServiceGitRepositoryResponseOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (ConfigurationServiceGitRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceGitRepositoryResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { +func (o ConfigurationServiceGitRepositoryResponseOutput) ToConfigurationServiceGitRepositoryResponseOutput() ConfigurationServiceGitRepositoryResponseOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { +func (o ConfigurationServiceGitRepositoryResponseOutput) ToConfigurationServiceGitRepositoryResponseOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryResponseOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { - return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { - if v != nil { - return *v - } - var ret ClusterResourceProperties - return ret - }).(ClusterResourcePropertiesOutput) +func (o ConfigurationServiceGitRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { - if v == nil { - return nil - } - return v.NetworkProfile - }).(NetworkProfilePtrOutput) +func (o ConfigurationServiceGitRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *bool { - if v == nil { - return nil - } - return v.ZoneRedundant - }).(pulumi.BoolPtrOutput) +func (o ConfigurationServiceGitRepositoryResponseOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) string { return v.Label }).(pulumi.StringOutput) } -type ClusterResourcePropertiesResponse struct { - Fqdn string `pulumi:"fqdn"` - NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` - ProvisioningState string `pulumi:"provisioningState"` - ServiceId string `pulumi:"serviceId"` - Version int `pulumi:"version"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` +func (o ConfigurationServiceGitRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } - -func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +func (o ConfigurationServiceGitRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } - -func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +func (o ConfigurationServiceGitRepositoryResponseOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) []string { return v.Patterns }).(pulumi.StringArrayOutput) } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { - return o +func (o ConfigurationServiceGitRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { - return o +func (o ConfigurationServiceGitRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +func (o ConfigurationServiceGitRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +func (o ConfigurationServiceGitRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o ConfigurationServiceGitRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) -} +type ConfigurationServiceGitRepositoryResponseArrayOutput struct{ *pulumi.OutputState } -func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +func (ConfigurationServiceGitRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationServiceGitRepositoryResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigurationServiceGitRepositoryResponseArrayOutput) ToConfigurationServiceGitRepositoryResponseArrayOutput() ConfigurationServiceGitRepositoryResponseArrayOutput { + return o } -type ConfigurationServiceGitProperty struct { - Repositories []ConfigurationServiceGitRepository `pulumi:"repositories"` +func (o ConfigurationServiceGitRepositoryResponseArrayOutput) ToConfigurationServiceGitRepositoryResponseArrayOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryResponseArrayOutput { + return o } +func (o ConfigurationServiceGitRepositoryResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationServiceGitRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationServiceGitRepositoryResponse { + return vs[0].([]ConfigurationServiceGitRepositoryResponse)[vs[1].(int)] + }).(ConfigurationServiceGitRepositoryResponseOutput) +} +type ConfigurationServiceInstanceResponse struct { + Name string `pulumi:"name"` + Status string `pulumi:"status"` +} +type ConfigurationServiceInstanceResponseOutput struct{ *pulumi.OutputState } - -type ConfigurationServiceGitPropertyInput interface { - pulumi.Input - - ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput - ToConfigurationServiceGitPropertyOutputWithContext(context.Context) ConfigurationServiceGitPropertyOutput +func (ConfigurationServiceInstanceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceInstanceResponse)(nil)).Elem() } -type ConfigurationServiceGitPropertyArgs struct { - Repositories ConfigurationServiceGitRepositoryArrayInput `pulumi:"repositories"` +func (o ConfigurationServiceInstanceResponseOutput) ToConfigurationServiceInstanceResponseOutput() ConfigurationServiceInstanceResponseOutput { + return o } -func (ConfigurationServiceGitPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceGitProperty)(nil)).Elem() +func (o ConfigurationServiceInstanceResponseOutput) ToConfigurationServiceInstanceResponseOutputWithContext(ctx context.Context) ConfigurationServiceInstanceResponseOutput { + return o } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput { - return i.ToConfigurationServiceGitPropertyOutputWithContext(context.Background()) +func (o ConfigurationServiceInstanceResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceInstanceResponse) string { return v.Name }).(pulumi.StringOutput) } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput) +func (o ConfigurationServiceInstanceResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceInstanceResponse) string { return v.Status }).(pulumi.StringOutput) } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { - return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) -} +type ConfigurationServiceInstanceResponseArrayOutput struct{ *pulumi.OutputState } -func (i ConfigurationServiceGitPropertyArgs) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyOutput).ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx) +func (ConfigurationServiceInstanceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationServiceInstanceResponse)(nil)).Elem() } +func (o ConfigurationServiceInstanceResponseArrayOutput) ToConfigurationServiceInstanceResponseArrayOutput() ConfigurationServiceInstanceResponseArrayOutput { + return o +} +func (o ConfigurationServiceInstanceResponseArrayOutput) ToConfigurationServiceInstanceResponseArrayOutputWithContext(ctx context.Context) ConfigurationServiceInstanceResponseArrayOutput { + return o +} +func (o ConfigurationServiceInstanceResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationServiceInstanceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationServiceInstanceResponse { + return vs[0].([]ConfigurationServiceInstanceResponse)[vs[1].(int)] + }).(ConfigurationServiceInstanceResponseOutput) +} +type ConfigurationServiceProperties struct { + Settings *ConfigurationServiceSettings `pulumi:"settings"` +} -type ConfigurationServiceGitPropertyPtrInput interface { +type ConfigurationServicePropertiesInput interface { pulumi.Input - ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput - ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Context) ConfigurationServiceGitPropertyPtrOutput + ToConfigurationServicePropertiesOutput() ConfigurationServicePropertiesOutput + ToConfigurationServicePropertiesOutputWithContext(context.Context) ConfigurationServicePropertiesOutput } -type configurationServiceGitPropertyPtrType ConfigurationServiceGitPropertyArgs - -func ConfigurationServiceGitPropertyPtr(v *ConfigurationServiceGitPropertyArgs) ConfigurationServiceGitPropertyPtrInput { - return (*configurationServiceGitPropertyPtrType)(v) +type ConfigurationServicePropertiesArgs struct { + Settings ConfigurationServiceSettingsPtrInput `pulumi:"settings"` } -func (*configurationServiceGitPropertyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceGitProperty)(nil)).Elem() +func (ConfigurationServicePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceProperties)(nil)).Elem() } -func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { - return i.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) +func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesOutput() ConfigurationServicePropertiesOutput { + return i.ToConfigurationServicePropertiesOutputWithContext(context.Background()) } -func (i *configurationServiceGitPropertyPtrType) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitPropertyPtrOutput) +func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesOutputWithContext(ctx context.Context) ConfigurationServicePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServicePropertiesOutput) } -type ConfigurationServiceGitPropertyOutput struct{ *pulumi.OutputState } - -func (ConfigurationServiceGitPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceGitProperty)(nil)).Elem() +func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { + return i.ToConfigurationServicePropertiesPtrOutputWithContext(context.Background()) } -func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyOutput() ConfigurationServiceGitPropertyOutput { - return o +func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServicePropertiesOutput).ToConfigurationServicePropertiesPtrOutputWithContext(ctx) } -func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyOutput { - return o -} -func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { - return o.ToConfigurationServiceGitPropertyPtrOutputWithContext(context.Background()) -} -func (o ConfigurationServiceGitPropertyOutput) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigurationServiceGitProperty) *ConfigurationServiceGitProperty { - return &v - }).(ConfigurationServiceGitPropertyPtrOutput) -} -func (o ConfigurationServiceGitPropertyOutput) Repositories() ConfigurationServiceGitRepositoryArrayOutput { - return o.ApplyT(func(v ConfigurationServiceGitProperty) []ConfigurationServiceGitRepository { return v.Repositories }).(ConfigurationServiceGitRepositoryArrayOutput) -} -type ConfigurationServiceGitPropertyPtrOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceGitPropertyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceGitProperty)(nil)).Elem() -} -func (o ConfigurationServiceGitPropertyPtrOutput) ToConfigurationServiceGitPropertyPtrOutput() ConfigurationServiceGitPropertyPtrOutput { - return o -} -func (o ConfigurationServiceGitPropertyPtrOutput) ToConfigurationServiceGitPropertyPtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyPtrOutput { - return o + +type ConfigurationServicePropertiesPtrInput interface { + pulumi.Input + + ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput + ToConfigurationServicePropertiesPtrOutputWithContext(context.Context) ConfigurationServicePropertiesPtrOutput } -func (o ConfigurationServiceGitPropertyPtrOutput) Elem() ConfigurationServiceGitPropertyOutput { - return o.ApplyT(func(v *ConfigurationServiceGitProperty) ConfigurationServiceGitProperty { - if v != nil { - return *v - } - var ret ConfigurationServiceGitProperty - return ret - }).(ConfigurationServiceGitPropertyOutput) +type configurationServicePropertiesPtrType ConfigurationServicePropertiesArgs + +func ConfigurationServicePropertiesPtr(v *ConfigurationServicePropertiesArgs) ConfigurationServicePropertiesPtrInput { + return (*configurationServicePropertiesPtrType)(v) } -func (o ConfigurationServiceGitPropertyPtrOutput) Repositories() ConfigurationServiceGitRepositoryArrayOutput { - return o.ApplyT(func(v *ConfigurationServiceGitProperty) []ConfigurationServiceGitRepository { - if v == nil { - return nil - } - return v.Repositories - }).(ConfigurationServiceGitRepositoryArrayOutput) +func (*configurationServicePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceProperties)(nil)).Elem() } -type ConfigurationServiceGitPropertyResponse struct { - Repositories []ConfigurationServiceGitRepositoryResponse `pulumi:"repositories"` +func (i *configurationServicePropertiesPtrType) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { + return i.ToConfigurationServicePropertiesPtrOutputWithContext(context.Background()) } -type ConfigurationServiceGitPropertyResponseOutput struct{ *pulumi.OutputState } +func (i *configurationServicePropertiesPtrType) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServicePropertiesPtrOutput) +} -func (ConfigurationServiceGitPropertyResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceGitPropertyResponse)(nil)).Elem() +type ConfigurationServicePropertiesOutput struct{ *pulumi.OutputState } + +func (ConfigurationServicePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceProperties)(nil)).Elem() } -func (o ConfigurationServiceGitPropertyResponseOutput) ToConfigurationServiceGitPropertyResponseOutput() ConfigurationServiceGitPropertyResponseOutput { +func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesOutput() ConfigurationServicePropertiesOutput { return o } -func (o ConfigurationServiceGitPropertyResponseOutput) ToConfigurationServiceGitPropertyResponseOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyResponseOutput { +func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesOutputWithContext(ctx context.Context) ConfigurationServicePropertiesOutput { return o } -func (o ConfigurationServiceGitPropertyResponseOutput) Repositories() ConfigurationServiceGitRepositoryResponseArrayOutput { - return o.ApplyT(func(v ConfigurationServiceGitPropertyResponse) []ConfigurationServiceGitRepositoryResponse { - return v.Repositories - }).(ConfigurationServiceGitRepositoryResponseArrayOutput) +func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { + return o.ToConfigurationServicePropertiesPtrOutputWithContext(context.Background()) } -type ConfigurationServiceGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } +func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigurationServiceProperties) *ConfigurationServiceProperties { + return &v + }).(ConfigurationServicePropertiesPtrOutput) +} -func (ConfigurationServiceGitPropertyResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceGitPropertyResponse)(nil)).Elem() +func (o ConfigurationServicePropertiesOutput) Settings() ConfigurationServiceSettingsPtrOutput { + return o.ApplyT(func(v ConfigurationServiceProperties) *ConfigurationServiceSettings { return v.Settings }).(ConfigurationServiceSettingsPtrOutput) } -func (o ConfigurationServiceGitPropertyResponsePtrOutput) ToConfigurationServiceGitPropertyResponsePtrOutput() ConfigurationServiceGitPropertyResponsePtrOutput { +type ConfigurationServicePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ConfigurationServicePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceProperties)(nil)).Elem() +} + +func (o ConfigurationServicePropertiesPtrOutput) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { return o } -func (o ConfigurationServiceGitPropertyResponsePtrOutput) ToConfigurationServiceGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigurationServiceGitPropertyResponsePtrOutput { +func (o ConfigurationServicePropertiesPtrOutput) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { return o } -func (o ConfigurationServiceGitPropertyResponsePtrOutput) Elem() ConfigurationServiceGitPropertyResponseOutput { - return o.ApplyT(func(v *ConfigurationServiceGitPropertyResponse) ConfigurationServiceGitPropertyResponse { +func (o ConfigurationServicePropertiesPtrOutput) Elem() ConfigurationServicePropertiesOutput { + return o.ApplyT(func(v *ConfigurationServiceProperties) ConfigurationServiceProperties { if v != nil { return *v } - var ret ConfigurationServiceGitPropertyResponse + var ret ConfigurationServiceProperties return ret - }).(ConfigurationServiceGitPropertyResponseOutput) + }).(ConfigurationServicePropertiesOutput) } -func (o ConfigurationServiceGitPropertyResponsePtrOutput) Repositories() ConfigurationServiceGitRepositoryResponseArrayOutput { - return o.ApplyT(func(v *ConfigurationServiceGitPropertyResponse) []ConfigurationServiceGitRepositoryResponse { +func (o ConfigurationServicePropertiesPtrOutput) Settings() ConfigurationServiceSettingsPtrOutput { + return o.ApplyT(func(v *ConfigurationServiceProperties) *ConfigurationServiceSettings { if v == nil { return nil } - return v.Repositories - }).(ConfigurationServiceGitRepositoryResponseArrayOutput) + return v.Settings + }).(ConfigurationServiceSettingsPtrOutput) } -type ConfigurationServiceGitRepository struct { - HostKey *string `pulumi:"hostKey"` - HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` - Label string `pulumi:"label"` - Name string `pulumi:"name"` - Password *string `pulumi:"password"` - Patterns []string `pulumi:"patterns"` - PrivateKey *string `pulumi:"privateKey"` - SearchPaths []string `pulumi:"searchPaths"` - StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` - Uri string `pulumi:"uri"` - Username *string `pulumi:"username"` +type ConfigurationServicePropertiesResponse struct { + Instances []ConfigurationServiceInstanceResponse `pulumi:"instances"` + ProvisioningState string `pulumi:"provisioningState"` + ResourceRequests ConfigurationServiceResourceRequestsResponse `pulumi:"resourceRequests"` + Settings *ConfigurationServiceSettingsResponse `pulumi:"settings"` } +type ConfigurationServicePropertiesResponseOutput struct{ *pulumi.OutputState } - - - -type ConfigurationServiceGitRepositoryInput interface { - pulumi.Input - - ToConfigurationServiceGitRepositoryOutput() ConfigurationServiceGitRepositoryOutput - ToConfigurationServiceGitRepositoryOutputWithContext(context.Context) ConfigurationServiceGitRepositoryOutput -} - -type ConfigurationServiceGitRepositoryArgs struct { - HostKey pulumi.StringPtrInput `pulumi:"hostKey"` - HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` - Label pulumi.StringInput `pulumi:"label"` - Name pulumi.StringInput `pulumi:"name"` - Password pulumi.StringPtrInput `pulumi:"password"` - Patterns pulumi.StringArrayInput `pulumi:"patterns"` - PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` - SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` - StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` - Uri pulumi.StringInput `pulumi:"uri"` - Username pulumi.StringPtrInput `pulumi:"username"` +func (ConfigurationServicePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServicePropertiesResponse)(nil)).Elem() } -func (ConfigurationServiceGitRepositoryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceGitRepository)(nil)).Elem() +func (o ConfigurationServicePropertiesResponseOutput) ToConfigurationServicePropertiesResponseOutput() ConfigurationServicePropertiesResponseOutput { + return o } -func (i ConfigurationServiceGitRepositoryArgs) ToConfigurationServiceGitRepositoryOutput() ConfigurationServiceGitRepositoryOutput { - return i.ToConfigurationServiceGitRepositoryOutputWithContext(context.Background()) +func (o ConfigurationServicePropertiesResponseOutput) ToConfigurationServicePropertiesResponseOutputWithContext(ctx context.Context) ConfigurationServicePropertiesResponseOutput { + return o } -func (i ConfigurationServiceGitRepositoryArgs) ToConfigurationServiceGitRepositoryOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitRepositoryOutput) +func (o ConfigurationServicePropertiesResponseOutput) Instances() ConfigurationServiceInstanceResponseArrayOutput { + return o.ApplyT(func(v ConfigurationServicePropertiesResponse) []ConfigurationServiceInstanceResponse { + return v.Instances + }).(ConfigurationServiceInstanceResponseArrayOutput) } - - - - -type ConfigurationServiceGitRepositoryArrayInput interface { - pulumi.Input - - ToConfigurationServiceGitRepositoryArrayOutput() ConfigurationServiceGitRepositoryArrayOutput - ToConfigurationServiceGitRepositoryArrayOutputWithContext(context.Context) ConfigurationServiceGitRepositoryArrayOutput +func (o ConfigurationServicePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServicePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type ConfigurationServiceGitRepositoryArray []ConfigurationServiceGitRepositoryInput - -func (ConfigurationServiceGitRepositoryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConfigurationServiceGitRepository)(nil)).Elem() +func (o ConfigurationServicePropertiesResponseOutput) ResourceRequests() ConfigurationServiceResourceRequestsResponseOutput { + return o.ApplyT(func(v ConfigurationServicePropertiesResponse) ConfigurationServiceResourceRequestsResponse { + return v.ResourceRequests + }).(ConfigurationServiceResourceRequestsResponseOutput) } -func (i ConfigurationServiceGitRepositoryArray) ToConfigurationServiceGitRepositoryArrayOutput() ConfigurationServiceGitRepositoryArrayOutput { - return i.ToConfigurationServiceGitRepositoryArrayOutputWithContext(context.Background()) +func (o ConfigurationServicePropertiesResponseOutput) Settings() ConfigurationServiceSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigurationServicePropertiesResponse) *ConfigurationServiceSettingsResponse { + return v.Settings + }).(ConfigurationServiceSettingsResponsePtrOutput) } -func (i ConfigurationServiceGitRepositoryArray) ToConfigurationServiceGitRepositoryArrayOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceGitRepositoryArrayOutput) +type ConfigurationServiceResourceRequestsResponse struct { + Cpu string `pulumi:"cpu"` + InstanceCount int `pulumi:"instanceCount"` + Memory string `pulumi:"memory"` } -type ConfigurationServiceGitRepositoryOutput struct{ *pulumi.OutputState } +type ConfigurationServiceResourceRequestsResponseOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceGitRepositoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceGitRepository)(nil)).Elem() +func (ConfigurationServiceResourceRequestsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceResourceRequestsResponse)(nil)).Elem() } -func (o ConfigurationServiceGitRepositoryOutput) ToConfigurationServiceGitRepositoryOutput() ConfigurationServiceGitRepositoryOutput { +func (o ConfigurationServiceResourceRequestsResponseOutput) ToConfigurationServiceResourceRequestsResponseOutput() ConfigurationServiceResourceRequestsResponseOutput { return o } -func (o ConfigurationServiceGitRepositoryOutput) ToConfigurationServiceGitRepositoryOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryOutput { +func (o ConfigurationServiceResourceRequestsResponseOutput) ToConfigurationServiceResourceRequestsResponseOutputWithContext(ctx context.Context) ConfigurationServiceResourceRequestsResponseOutput { return o } -func (o ConfigurationServiceGitRepositoryOutput) HostKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) +func (o ConfigurationServiceResourceRequestsResponseOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceResourceRequestsResponse) string { return v.Cpu }).(pulumi.StringOutput) } -func (o ConfigurationServiceGitRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +func (o ConfigurationServiceResourceRequestsResponseOutput) InstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v ConfigurationServiceResourceRequestsResponse) int { return v.InstanceCount }).(pulumi.IntOutput) } -func (o ConfigurationServiceGitRepositoryOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) string { return v.Label }).(pulumi.StringOutput) +func (o ConfigurationServiceResourceRequestsResponseOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationServiceResourceRequestsResponse) string { return v.Memory }).(pulumi.StringOutput) } -func (o ConfigurationServiceGitRepositoryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) string { return v.Name }).(pulumi.StringOutput) +type ConfigurationServiceSettings struct { + GitProperty *ConfigurationServiceGitProperty `pulumi:"gitProperty"` } -func (o ConfigurationServiceGitRepositoryOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.Password }).(pulumi.StringPtrOutput) + + + + +type ConfigurationServiceSettingsInput interface { + pulumi.Input + + ToConfigurationServiceSettingsOutput() ConfigurationServiceSettingsOutput + ToConfigurationServiceSettingsOutputWithContext(context.Context) ConfigurationServiceSettingsOutput } -func (o ConfigurationServiceGitRepositoryOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) []string { return v.Patterns }).(pulumi.StringArrayOutput) +type ConfigurationServiceSettingsArgs struct { + GitProperty ConfigurationServiceGitPropertyPtrInput `pulumi:"gitProperty"` } -func (o ConfigurationServiceGitRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +func (ConfigurationServiceSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceSettings)(nil)).Elem() } -func (o ConfigurationServiceGitRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsOutput() ConfigurationServiceSettingsOutput { + return i.ToConfigurationServiceSettingsOutputWithContext(context.Background()) } -func (o ConfigurationServiceGitRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsOutputWithContext(ctx context.Context) ConfigurationServiceSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceSettingsOutput) } -func (o ConfigurationServiceGitRepositoryOutput) Uri() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) string { return v.Uri }).(pulumi.StringOutput) +func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { + return i.ToConfigurationServiceSettingsPtrOutputWithContext(context.Background()) } -func (o ConfigurationServiceGitRepositoryOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepository) *string { return v.Username }).(pulumi.StringPtrOutput) +func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceSettingsOutput).ToConfigurationServiceSettingsPtrOutputWithContext(ctx) } -type ConfigurationServiceGitRepositoryArrayOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceGitRepositoryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConfigurationServiceGitRepository)(nil)).Elem() -} -func (o ConfigurationServiceGitRepositoryArrayOutput) ToConfigurationServiceGitRepositoryArrayOutput() ConfigurationServiceGitRepositoryArrayOutput { - return o -} -func (o ConfigurationServiceGitRepositoryArrayOutput) ToConfigurationServiceGitRepositoryArrayOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryArrayOutput { - return o -} -func (o ConfigurationServiceGitRepositoryArrayOutput) Index(i pulumi.IntInput) ConfigurationServiceGitRepositoryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationServiceGitRepository { - return vs[0].([]ConfigurationServiceGitRepository)[vs[1].(int)] - }).(ConfigurationServiceGitRepositoryOutput) -} -type ConfigurationServiceGitRepositoryResponse struct { - HostKey *string `pulumi:"hostKey"` - HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` - Label string `pulumi:"label"` - Name string `pulumi:"name"` - Password *string `pulumi:"password"` - Patterns []string `pulumi:"patterns"` - PrivateKey *string `pulumi:"privateKey"` - SearchPaths []string `pulumi:"searchPaths"` - StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` - Uri string `pulumi:"uri"` - Username *string `pulumi:"username"` -} -type ConfigurationServiceGitRepositoryResponseOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceGitRepositoryResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceGitRepositoryResponse)(nil)).Elem() -} -func (o ConfigurationServiceGitRepositoryResponseOutput) ToConfigurationServiceGitRepositoryResponseOutput() ConfigurationServiceGitRepositoryResponseOutput { - return o -} +type ConfigurationServiceSettingsPtrInput interface { + pulumi.Input -func (o ConfigurationServiceGitRepositoryResponseOutput) ToConfigurationServiceGitRepositoryResponseOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryResponseOutput { - return o + ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput + ToConfigurationServiceSettingsPtrOutputWithContext(context.Context) ConfigurationServiceSettingsPtrOutput } -func (o ConfigurationServiceGitRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) +type configurationServiceSettingsPtrType ConfigurationServiceSettingsArgs + +func ConfigurationServiceSettingsPtr(v *ConfigurationServiceSettingsArgs) ConfigurationServiceSettingsPtrInput { + return (*configurationServiceSettingsPtrType)(v) } -func (o ConfigurationServiceGitRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +func (*configurationServiceSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceSettings)(nil)).Elem() } -func (o ConfigurationServiceGitRepositoryResponseOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) string { return v.Label }).(pulumi.StringOutput) +func (i *configurationServiceSettingsPtrType) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { + return i.ToConfigurationServiceSettingsPtrOutputWithContext(context.Background()) } -func (o ConfigurationServiceGitRepositoryResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) +func (i *configurationServiceSettingsPtrType) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceSettingsPtrOutput) } -func (o ConfigurationServiceGitRepositoryResponseOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) -} +type ConfigurationServiceSettingsOutput struct{ *pulumi.OutputState } -func (o ConfigurationServiceGitRepositoryResponseOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) []string { return v.Patterns }).(pulumi.StringArrayOutput) +func (ConfigurationServiceSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceSettings)(nil)).Elem() } -func (o ConfigurationServiceGitRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsOutput() ConfigurationServiceSettingsOutput { + return o } -func (o ConfigurationServiceGitRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsOutputWithContext(ctx context.Context) ConfigurationServiceSettingsOutput { + return o } -func (o ConfigurationServiceGitRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { + return o.ToConfigurationServiceSettingsPtrOutputWithContext(context.Background()) } -func (o ConfigurationServiceGitRepositoryResponseOutput) Uri() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) +func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigurationServiceSettings) *ConfigurationServiceSettings { + return &v + }).(ConfigurationServiceSettingsPtrOutput) } -func (o ConfigurationServiceGitRepositoryResponseOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConfigurationServiceGitRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) +func (o ConfigurationServiceSettingsOutput) GitProperty() ConfigurationServiceGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigurationServiceSettings) *ConfigurationServiceGitProperty { return v.GitProperty }).(ConfigurationServiceGitPropertyPtrOutput) } -type ConfigurationServiceGitRepositoryResponseArrayOutput struct{ *pulumi.OutputState } +type ConfigurationServiceSettingsPtrOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceGitRepositoryResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConfigurationServiceGitRepositoryResponse)(nil)).Elem() +func (ConfigurationServiceSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceSettings)(nil)).Elem() } -func (o ConfigurationServiceGitRepositoryResponseArrayOutput) ToConfigurationServiceGitRepositoryResponseArrayOutput() ConfigurationServiceGitRepositoryResponseArrayOutput { +func (o ConfigurationServiceSettingsPtrOutput) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { return o } -func (o ConfigurationServiceGitRepositoryResponseArrayOutput) ToConfigurationServiceGitRepositoryResponseArrayOutputWithContext(ctx context.Context) ConfigurationServiceGitRepositoryResponseArrayOutput { +func (o ConfigurationServiceSettingsPtrOutput) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { return o } -func (o ConfigurationServiceGitRepositoryResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationServiceGitRepositoryResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationServiceGitRepositoryResponse { - return vs[0].([]ConfigurationServiceGitRepositoryResponse)[vs[1].(int)] - }).(ConfigurationServiceGitRepositoryResponseOutput) +func (o ConfigurationServiceSettingsPtrOutput) Elem() ConfigurationServiceSettingsOutput { + return o.ApplyT(func(v *ConfigurationServiceSettings) ConfigurationServiceSettings { + if v != nil { + return *v + } + var ret ConfigurationServiceSettings + return ret + }).(ConfigurationServiceSettingsOutput) } -type ConfigurationServiceInstanceResponse struct { - Name string `pulumi:"name"` - Status string `pulumi:"status"` +func (o ConfigurationServiceSettingsPtrOutput) GitProperty() ConfigurationServiceGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigurationServiceSettings) *ConfigurationServiceGitProperty { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigurationServiceGitPropertyPtrOutput) } -type ConfigurationServiceInstanceResponseOutput struct{ *pulumi.OutputState } - -func (ConfigurationServiceInstanceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceInstanceResponse)(nil)).Elem() +type ConfigurationServiceSettingsResponse struct { + GitProperty *ConfigurationServiceGitPropertyResponse `pulumi:"gitProperty"` } -func (o ConfigurationServiceInstanceResponseOutput) ToConfigurationServiceInstanceResponseOutput() ConfigurationServiceInstanceResponseOutput { - return o +type ConfigurationServiceSettingsResponseOutput struct{ *pulumi.OutputState } + +func (ConfigurationServiceSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationServiceSettingsResponse)(nil)).Elem() } -func (o ConfigurationServiceInstanceResponseOutput) ToConfigurationServiceInstanceResponseOutputWithContext(ctx context.Context) ConfigurationServiceInstanceResponseOutput { +func (o ConfigurationServiceSettingsResponseOutput) ToConfigurationServiceSettingsResponseOutput() ConfigurationServiceSettingsResponseOutput { return o } -func (o ConfigurationServiceInstanceResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +func (o ConfigurationServiceSettingsResponseOutput) ToConfigurationServiceSettingsResponseOutputWithContext(ctx context.Context) ConfigurationServiceSettingsResponseOutput { + return o } -func (o ConfigurationServiceInstanceResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +func (o ConfigurationServiceSettingsResponseOutput) GitProperty() ConfigurationServiceGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigurationServiceSettingsResponse) *ConfigurationServiceGitPropertyResponse { + return v.GitProperty + }).(ConfigurationServiceGitPropertyResponsePtrOutput) } -type ConfigurationServiceInstanceResponseArrayOutput struct{ *pulumi.OutputState } +type ConfigurationServiceSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceInstanceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConfigurationServiceInstanceResponse)(nil)).Elem() +func (ConfigurationServiceSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigurationServiceSettingsResponse)(nil)).Elem() } -func (o ConfigurationServiceInstanceResponseArrayOutput) ToConfigurationServiceInstanceResponseArrayOutput() ConfigurationServiceInstanceResponseArrayOutput { +func (o ConfigurationServiceSettingsResponsePtrOutput) ToConfigurationServiceSettingsResponsePtrOutput() ConfigurationServiceSettingsResponsePtrOutput { return o } -func (o ConfigurationServiceInstanceResponseArrayOutput) ToConfigurationServiceInstanceResponseArrayOutputWithContext(ctx context.Context) ConfigurationServiceInstanceResponseArrayOutput { +func (o ConfigurationServiceSettingsResponsePtrOutput) ToConfigurationServiceSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsResponsePtrOutput { return o } -func (o ConfigurationServiceInstanceResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationServiceInstanceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationServiceInstanceResponse { - return vs[0].([]ConfigurationServiceInstanceResponse)[vs[1].(int)] - }).(ConfigurationServiceInstanceResponseOutput) +func (o ConfigurationServiceSettingsResponsePtrOutput) Elem() ConfigurationServiceSettingsResponseOutput { + return o.ApplyT(func(v *ConfigurationServiceSettingsResponse) ConfigurationServiceSettingsResponse { + if v != nil { + return *v + } + var ret ConfigurationServiceSettingsResponse + return ret + }).(ConfigurationServiceSettingsResponseOutput) } -type ConfigurationServiceProperties struct { - Settings *ConfigurationServiceSettings `pulumi:"settings"` +func (o ConfigurationServiceSettingsResponsePtrOutput) GitProperty() ConfigurationServiceGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigurationServiceSettingsResponse) *ConfigurationServiceGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigurationServiceGitPropertyResponsePtrOutput) +} + +type ContentCertificateProperties struct { + Content *string `pulumi:"content"` + Type string `pulumi:"type"` +} + +type ContentCertificatePropertiesResponse struct { + ActivateDate string `pulumi:"activateDate"` + DnsNames []string `pulumi:"dnsNames"` + ExpirationDate string `pulumi:"expirationDate"` + IssuedDate string `pulumi:"issuedDate"` + Issuer string `pulumi:"issuer"` + SubjectName string `pulumi:"subjectName"` + Thumbprint string `pulumi:"thumbprint"` + Type string `pulumi:"type"` +} + +type CustomDomainProperties struct { + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` } -type ConfigurationServicePropertiesInput interface { +type CustomDomainPropertiesInput interface { pulumi.Input - ToConfigurationServicePropertiesOutput() ConfigurationServicePropertiesOutput - ToConfigurationServicePropertiesOutputWithContext(context.Context) ConfigurationServicePropertiesOutput + ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput + ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput } -type ConfigurationServicePropertiesArgs struct { - Settings ConfigurationServiceSettingsPtrInput `pulumi:"settings"` +type CustomDomainPropertiesArgs struct { + CertName pulumi.StringPtrInput `pulumi:"certName"` + Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` } -func (ConfigurationServicePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceProperties)(nil)).Elem() +func (CustomDomainPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() } -func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesOutput() ConfigurationServicePropertiesOutput { - return i.ToConfigurationServicePropertiesOutputWithContext(context.Background()) +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { + return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) } -func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesOutputWithContext(ctx context.Context) ConfigurationServicePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServicePropertiesOutput) +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) } -func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { - return i.ToConfigurationServicePropertiesPtrOutputWithContext(context.Background()) +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) } -func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServicePropertiesOutput).ToConfigurationServicePropertiesPtrOutputWithContext(ctx) +func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) } @@ -2224,204 +3890,245 @@ func (i ConfigurationServicePropertiesArgs) ToConfigurationServicePropertiesPtrO -type ConfigurationServicePropertiesPtrInput interface { +type CustomDomainPropertiesPtrInput interface { pulumi.Input - ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput - ToConfigurationServicePropertiesPtrOutputWithContext(context.Context) ConfigurationServicePropertiesPtrOutput + ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput + ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput } -type configurationServicePropertiesPtrType ConfigurationServicePropertiesArgs +type customDomainPropertiesPtrType CustomDomainPropertiesArgs -func ConfigurationServicePropertiesPtr(v *ConfigurationServicePropertiesArgs) ConfigurationServicePropertiesPtrInput { - return (*configurationServicePropertiesPtrType)(v) +func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { + return (*customDomainPropertiesPtrType)(v) } -func (*configurationServicePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceProperties)(nil)).Elem() +func (*customDomainPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() } -func (i *configurationServicePropertiesPtrType) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { - return i.ToConfigurationServicePropertiesPtrOutputWithContext(context.Background()) +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) } -func (i *configurationServicePropertiesPtrType) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServicePropertiesPtrOutput) +func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) } -type ConfigurationServicePropertiesOutput struct{ *pulumi.OutputState } +type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } -func (ConfigurationServicePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceProperties)(nil)).Elem() +func (CustomDomainPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() } -func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesOutput() ConfigurationServicePropertiesOutput { +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { return o } -func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesOutputWithContext(ctx context.Context) ConfigurationServicePropertiesOutput { +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { return o } -func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { - return o.ToConfigurationServicePropertiesPtrOutputWithContext(context.Background()) +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) } -func (o ConfigurationServicePropertiesOutput) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigurationServiceProperties) *ConfigurationServiceProperties { +func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { return &v - }).(ConfigurationServicePropertiesPtrOutput) + }).(CustomDomainPropertiesPtrOutput) +} + +func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +} + +type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { + return o +} + +func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { + return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { + if v != nil { + return *v + } + var ret CustomDomainProperties + return ret + }).(CustomDomainPropertiesOutput) +} + +func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.CertName + }).(pulumi.StringPtrOutput) +} + +func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomDomainProperties) *string { + if v == nil { + return nil + } + return v.Thumbprint + }).(pulumi.StringPtrOutput) } -func (o ConfigurationServicePropertiesOutput) Settings() ConfigurationServiceSettingsPtrOutput { - return o.ApplyT(func(v ConfigurationServiceProperties) *ConfigurationServiceSettings { return v.Settings }).(ConfigurationServiceSettingsPtrOutput) +type CustomDomainPropertiesResponse struct { + AppName string `pulumi:"appName"` + CertName *string `pulumi:"certName"` + Thumbprint *string `pulumi:"thumbprint"` } -type ConfigurationServicePropertiesPtrOutput struct{ *pulumi.OutputState } +type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } -func (ConfigurationServicePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceProperties)(nil)).Elem() +func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() } -func (o ConfigurationServicePropertiesPtrOutput) ToConfigurationServicePropertiesPtrOutput() ConfigurationServicePropertiesPtrOutput { +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { return o } -func (o ConfigurationServicePropertiesPtrOutput) ToConfigurationServicePropertiesPtrOutputWithContext(ctx context.Context) ConfigurationServicePropertiesPtrOutput { +func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { return o } -func (o ConfigurationServicePropertiesPtrOutput) Elem() ConfigurationServicePropertiesOutput { - return o.ApplyT(func(v *ConfigurationServiceProperties) ConfigurationServiceProperties { - if v != nil { - return *v - } - var ret ConfigurationServiceProperties - return ret - }).(ConfigurationServicePropertiesOutput) +func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) } -func (o ConfigurationServicePropertiesPtrOutput) Settings() ConfigurationServiceSettingsPtrOutput { - return o.ApplyT(func(v *ConfigurationServiceProperties) *ConfigurationServiceSettings { - if v == nil { - return nil - } - return v.Settings - }).(ConfigurationServiceSettingsPtrOutput) +func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) } -type ConfigurationServicePropertiesResponse struct { - Instances []ConfigurationServiceInstanceResponse `pulumi:"instances"` - ProvisioningState string `pulumi:"provisioningState"` - ResourceRequests ConfigurationServiceResourceRequestsResponse `pulumi:"resourceRequests"` - Settings *ConfigurationServiceSettingsResponse `pulumi:"settings"` +func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) } -type ConfigurationServicePropertiesResponseOutput struct{ *pulumi.OutputState } +type DeploymentInstanceResponse struct { + DiscoveryStatus string `pulumi:"discoveryStatus"` + Name string `pulumi:"name"` + Reason string `pulumi:"reason"` + StartTime string `pulumi:"startTime"` + Status string `pulumi:"status"` + Zone string `pulumi:"zone"` +} -func (ConfigurationServicePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServicePropertiesResponse)(nil)).Elem() +type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } + +func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() } -func (o ConfigurationServicePropertiesResponseOutput) ToConfigurationServicePropertiesResponseOutput() ConfigurationServicePropertiesResponseOutput { +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { return o } -func (o ConfigurationServicePropertiesResponseOutput) ToConfigurationServicePropertiesResponseOutputWithContext(ctx context.Context) ConfigurationServicePropertiesResponseOutput { +func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { return o } -func (o ConfigurationServicePropertiesResponseOutput) Instances() ConfigurationServiceInstanceResponseArrayOutput { - return o.ApplyT(func(v ConfigurationServicePropertiesResponse) []ConfigurationServiceInstanceResponse { - return v.Instances - }).(ConfigurationServiceInstanceResponseArrayOutput) +func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) } -func (o ConfigurationServicePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServicePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) } -func (o ConfigurationServicePropertiesResponseOutput) ResourceRequests() ConfigurationServiceResourceRequestsResponseOutput { - return o.ApplyT(func(v ConfigurationServicePropertiesResponse) ConfigurationServiceResourceRequestsResponse { - return v.ResourceRequests - }).(ConfigurationServiceResourceRequestsResponseOutput) +func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) } -func (o ConfigurationServicePropertiesResponseOutput) Settings() ConfigurationServiceSettingsResponsePtrOutput { - return o.ApplyT(func(v ConfigurationServicePropertiesResponse) *ConfigurationServiceSettingsResponse { - return v.Settings - }).(ConfigurationServiceSettingsResponsePtrOutput) +func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) } -type ConfigurationServiceResourceRequestsResponse struct { - Cpu string `pulumi:"cpu"` - InstanceCount int `pulumi:"instanceCount"` - Memory string `pulumi:"memory"` +func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) } -type ConfigurationServiceResourceRequestsResponseOutput struct{ *pulumi.OutputState } - -func (ConfigurationServiceResourceRequestsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceResourceRequestsResponse)(nil)).Elem() +func (o DeploymentInstanceResponseOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Zone }).(pulumi.StringOutput) } -func (o ConfigurationServiceResourceRequestsResponseOutput) ToConfigurationServiceResourceRequestsResponseOutput() ConfigurationServiceResourceRequestsResponseOutput { - return o -} +type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } -func (o ConfigurationServiceResourceRequestsResponseOutput) ToConfigurationServiceResourceRequestsResponseOutputWithContext(ctx context.Context) ConfigurationServiceResourceRequestsResponseOutput { - return o +func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() } -func (o ConfigurationServiceResourceRequestsResponseOutput) Cpu() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceResourceRequestsResponse) string { return v.Cpu }).(pulumi.StringOutput) +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { + return o } -func (o ConfigurationServiceResourceRequestsResponseOutput) InstanceCount() pulumi.IntOutput { - return o.ApplyT(func(v ConfigurationServiceResourceRequestsResponse) int { return v.InstanceCount }).(pulumi.IntOutput) +func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { + return o } -func (o ConfigurationServiceResourceRequestsResponseOutput) Memory() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationServiceResourceRequestsResponse) string { return v.Memory }).(pulumi.StringOutput) +func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { + return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] + }).(DeploymentInstanceResponseOutput) } -type ConfigurationServiceSettings struct { - GitProperty *ConfigurationServiceGitProperty `pulumi:"gitProperty"` +type DeploymentResourceProperties struct { + Active *bool `pulumi:"active"` + DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` + Source interface{} `pulumi:"source"` } -type ConfigurationServiceSettingsInput interface { +type DeploymentResourcePropertiesInput interface { pulumi.Input - ToConfigurationServiceSettingsOutput() ConfigurationServiceSettingsOutput - ToConfigurationServiceSettingsOutputWithContext(context.Context) ConfigurationServiceSettingsOutput + ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput + ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput } -type ConfigurationServiceSettingsArgs struct { - GitProperty ConfigurationServiceGitPropertyPtrInput `pulumi:"gitProperty"` +type DeploymentResourcePropertiesArgs struct { + Active pulumi.BoolPtrInput `pulumi:"active"` + DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` + Source pulumi.Input `pulumi:"source"` } -func (ConfigurationServiceSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceSettings)(nil)).Elem() +func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() } -func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsOutput() ConfigurationServiceSettingsOutput { - return i.ToConfigurationServiceSettingsOutputWithContext(context.Background()) +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { + return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) } -func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsOutputWithContext(ctx context.Context) ConfigurationServiceSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceSettingsOutput) +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) } -func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { - return i.ToConfigurationServiceSettingsPtrOutputWithContext(context.Background()) +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) } -func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceSettingsOutput).ToConfigurationServiceSettingsPtrOutputWithContext(ctx) +func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) } @@ -2432,204 +4139,206 @@ func (i ConfigurationServiceSettingsArgs) ToConfigurationServiceSettingsPtrOutpu -type ConfigurationServiceSettingsPtrInput interface { +type DeploymentResourcePropertiesPtrInput interface { pulumi.Input - ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput - ToConfigurationServiceSettingsPtrOutputWithContext(context.Context) ConfigurationServiceSettingsPtrOutput + ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput + ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput } -type configurationServiceSettingsPtrType ConfigurationServiceSettingsArgs +type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs -func ConfigurationServiceSettingsPtr(v *ConfigurationServiceSettingsArgs) ConfigurationServiceSettingsPtrInput { - return (*configurationServiceSettingsPtrType)(v) +func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { + return (*deploymentResourcePropertiesPtrType)(v) } -func (*configurationServiceSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceSettings)(nil)).Elem() +func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() } -func (i *configurationServiceSettingsPtrType) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { - return i.ToConfigurationServiceSettingsPtrOutputWithContext(context.Background()) +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) } -func (i *configurationServiceSettingsPtrType) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationServiceSettingsPtrOutput) +func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) } -type ConfigurationServiceSettingsOutput struct{ *pulumi.OutputState } +type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceSettings)(nil)).Elem() +func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() } -func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsOutput() ConfigurationServiceSettingsOutput { +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { return o } -func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsOutputWithContext(ctx context.Context) ConfigurationServiceSettingsOutput { +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { return o } -func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { - return o.ToConfigurationServiceSettingsPtrOutputWithContext(context.Background()) +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { + return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) } -func (o ConfigurationServiceSettingsOutput) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigurationServiceSettings) *ConfigurationServiceSettings { +func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { return &v - }).(ConfigurationServiceSettingsPtrOutput) + }).(DeploymentResourcePropertiesPtrOutput) } -func (o ConfigurationServiceSettingsOutput) GitProperty() ConfigurationServiceGitPropertyPtrOutput { - return o.ApplyT(func(v ConfigurationServiceSettings) *ConfigurationServiceGitProperty { return v.GitProperty }).(ConfigurationServiceGitPropertyPtrOutput) +func (o DeploymentResourcePropertiesOutput) Active() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *bool { return v.Active }).(pulumi.BoolPtrOutput) } -type ConfigurationServiceSettingsPtrOutput struct{ *pulumi.OutputState } +func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +} -func (ConfigurationServiceSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceSettings)(nil)).Elem() +func (o DeploymentResourcePropertiesOutput) Source() pulumi.AnyOutput { + return o.ApplyT(func(v DeploymentResourceProperties) interface{} { return v.Source }).(pulumi.AnyOutput) } -func (o ConfigurationServiceSettingsPtrOutput) ToConfigurationServiceSettingsPtrOutput() ConfigurationServiceSettingsPtrOutput { +type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +} + +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { return o } -func (o ConfigurationServiceSettingsPtrOutput) ToConfigurationServiceSettingsPtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsPtrOutput { +func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { return o } -func (o ConfigurationServiceSettingsPtrOutput) Elem() ConfigurationServiceSettingsOutput { - return o.ApplyT(func(v *ConfigurationServiceSettings) ConfigurationServiceSettings { +func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { if v != nil { return *v } - var ret ConfigurationServiceSettings + var ret DeploymentResourceProperties return ret - }).(ConfigurationServiceSettingsOutput) + }).(DeploymentResourcePropertiesOutput) } -func (o ConfigurationServiceSettingsPtrOutput) GitProperty() ConfigurationServiceGitPropertyPtrOutput { - return o.ApplyT(func(v *ConfigurationServiceSettings) *ConfigurationServiceGitProperty { +func (o DeploymentResourcePropertiesPtrOutput) Active() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *bool { + if v == nil { + return nil + } + return v.Active + }).(pulumi.BoolPtrOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { + if v == nil { + return nil + } + return v.DeploymentSettings + }).(DeploymentSettingsPtrOutput) +} + +func (o DeploymentResourcePropertiesPtrOutput) Source() pulumi.AnyOutput { + return o.ApplyT(func(v *DeploymentResourceProperties) interface{} { if v == nil { return nil } - return v.GitProperty - }).(ConfigurationServiceGitPropertyPtrOutput) + return v.Source + }).(pulumi.AnyOutput) } -type ConfigurationServiceSettingsResponse struct { - GitProperty *ConfigurationServiceGitPropertyResponse `pulumi:"gitProperty"` +type DeploymentResourcePropertiesResponse struct { + Active *bool `pulumi:"active"` + DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` + Instances []DeploymentInstanceResponse `pulumi:"instances"` + ProvisioningState string `pulumi:"provisioningState"` + Source interface{} `pulumi:"source"` + Status string `pulumi:"status"` } -type ConfigurationServiceSettingsResponseOutput struct{ *pulumi.OutputState } +type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } -func (ConfigurationServiceSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationServiceSettingsResponse)(nil)).Elem() +func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() } -func (o ConfigurationServiceSettingsResponseOutput) ToConfigurationServiceSettingsResponseOutput() ConfigurationServiceSettingsResponseOutput { +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { return o } -func (o ConfigurationServiceSettingsResponseOutput) ToConfigurationServiceSettingsResponseOutputWithContext(ctx context.Context) ConfigurationServiceSettingsResponseOutput { +func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { return o } -func (o ConfigurationServiceSettingsResponseOutput) GitProperty() ConfigurationServiceGitPropertyResponsePtrOutput { - return o.ApplyT(func(v ConfigurationServiceSettingsResponse) *ConfigurationServiceGitPropertyResponse { - return v.GitProperty - }).(ConfigurationServiceGitPropertyResponsePtrOutput) -} - -type ConfigurationServiceSettingsResponsePtrOutput struct{ *pulumi.OutputState } - -func (ConfigurationServiceSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConfigurationServiceSettingsResponse)(nil)).Elem() -} - -func (o ConfigurationServiceSettingsResponsePtrOutput) ToConfigurationServiceSettingsResponsePtrOutput() ConfigurationServiceSettingsResponsePtrOutput { - return o +func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *bool { return v.Active }).(pulumi.BoolPtrOutput) } -func (o ConfigurationServiceSettingsResponsePtrOutput) ToConfigurationServiceSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigurationServiceSettingsResponsePtrOutput { - return o +func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) } -func (o ConfigurationServiceSettingsResponsePtrOutput) Elem() ConfigurationServiceSettingsResponseOutput { - return o.ApplyT(func(v *ConfigurationServiceSettingsResponse) ConfigurationServiceSettingsResponse { - if v != nil { - return *v - } - var ret ConfigurationServiceSettingsResponse - return ret - }).(ConfigurationServiceSettingsResponseOutput) +func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) } -func (o ConfigurationServiceSettingsResponsePtrOutput) GitProperty() ConfigurationServiceGitPropertyResponsePtrOutput { - return o.ApplyT(func(v *ConfigurationServiceSettingsResponse) *ConfigurationServiceGitPropertyResponse { - if v == nil { - return nil - } - return v.GitProperty - }).(ConfigurationServiceGitPropertyResponsePtrOutput) +func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type ContentCertificateProperties struct { - Content *string `pulumi:"content"` - Type string `pulumi:"type"` +func (o DeploymentResourcePropertiesResponseOutput) Source() pulumi.AnyOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) interface{} { return v.Source }).(pulumi.AnyOutput) } -type ContentCertificatePropertiesResponse struct { - ActivateDate string `pulumi:"activateDate"` - DnsNames []string `pulumi:"dnsNames"` - ExpirationDate string `pulumi:"expirationDate"` - IssuedDate string `pulumi:"issuedDate"` - Issuer string `pulumi:"issuer"` - SubjectName string `pulumi:"subjectName"` - Thumbprint string `pulumi:"thumbprint"` - Type string `pulumi:"type"` +func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) } -type CustomDomainProperties struct { - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` +type DeploymentSettings struct { + AddonConfigs map[string]map[string]interface{} `pulumi:"addonConfigs"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + ResourceRequests *ResourceRequests `pulumi:"resourceRequests"` } -type CustomDomainPropertiesInput interface { +type DeploymentSettingsInput interface { pulumi.Input - ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput - ToCustomDomainPropertiesOutputWithContext(context.Context) CustomDomainPropertiesOutput + ToDeploymentSettingsOutput() DeploymentSettingsOutput + ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput } -type CustomDomainPropertiesArgs struct { - CertName pulumi.StringPtrInput `pulumi:"certName"` - Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"` +type DeploymentSettingsArgs struct { + AddonConfigs pulumi.MapMapInput `pulumi:"addonConfigs"` + EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` + ResourceRequests ResourceRequestsPtrInput `pulumi:"resourceRequests"` } -func (CustomDomainPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (DeploymentSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { - return i.ToCustomDomainPropertiesOutputWithContext(context.Background()) +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { + return i.ToDeploymentSettingsOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput) +func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) } -func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesOutput).ToCustomDomainPropertiesPtrOutputWithContext(ctx) +func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) } @@ -2640,245 +4349,240 @@ func (i CustomDomainPropertiesArgs) ToCustomDomainPropertiesPtrOutputWithContext -type CustomDomainPropertiesPtrInput interface { +type DeploymentSettingsPtrInput interface { pulumi.Input - ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput - ToCustomDomainPropertiesPtrOutputWithContext(context.Context) CustomDomainPropertiesPtrOutput + ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput + ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput } -type customDomainPropertiesPtrType CustomDomainPropertiesArgs +type deploymentSettingsPtrType DeploymentSettingsArgs -func CustomDomainPropertiesPtr(v *CustomDomainPropertiesArgs) CustomDomainPropertiesPtrInput { - return (*customDomainPropertiesPtrType)(v) +func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { + return (*deploymentSettingsPtrType)(v) } -func (*customDomainPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +func (*deploymentSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return i.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) } -func (i *customDomainPropertiesPtrType) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomDomainPropertiesPtrOutput) +func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) } -type CustomDomainPropertiesOutput struct{ *pulumi.OutputState } +type DeploymentSettingsOutput struct{ *pulumi.OutputState } -func (CustomDomainPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainProperties)(nil)).Elem() +func (DeploymentSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutput() CustomDomainPropertiesOutput { +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesOutputWithContext(ctx context.Context) CustomDomainPropertiesOutput { +func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { return o } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { - return o.ToCustomDomainPropertiesPtrOutputWithContext(context.Background()) +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { + return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) } -func (o CustomDomainPropertiesOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomDomainProperties) *CustomDomainProperties { +func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { return &v - }).(CustomDomainPropertiesPtrOutput) + }).(DeploymentSettingsPtrOutput) } -func (o CustomDomainPropertiesOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.CertName }).(pulumi.StringPtrOutput) +func (o DeploymentSettingsOutput) AddonConfigs() pulumi.MapMapOutput { + return o.ApplyT(func(v DeploymentSettings) map[string]map[string]interface{} { return v.AddonConfigs }).(pulumi.MapMapOutput) } -func (o CustomDomainPropertiesOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainProperties) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) } -type CustomDomainPropertiesPtrOutput struct{ *pulumi.OutputState } +func (o DeploymentSettingsOutput) ResourceRequests() ResourceRequestsPtrOutput { + return o.ApplyT(func(v DeploymentSettings) *ResourceRequests { return v.ResourceRequests }).(ResourceRequestsPtrOutput) +} -func (CustomDomainPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomDomainProperties)(nil)).Elem() +type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutput() CustomDomainPropertiesPtrOutput { +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) ToCustomDomainPropertiesPtrOutputWithContext(ctx context.Context) CustomDomainPropertiesPtrOutput { +func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { return o } -func (o CustomDomainPropertiesPtrOutput) Elem() CustomDomainPropertiesOutput { - return o.ApplyT(func(v *CustomDomainProperties) CustomDomainProperties { +func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { + return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { if v != nil { return *v } - var ret CustomDomainProperties + var ret DeploymentSettings return ret - }).(CustomDomainPropertiesOutput) + }).(DeploymentSettingsOutput) } -func (o CustomDomainPropertiesPtrOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o DeploymentSettingsPtrOutput) AddonConfigs() pulumi.MapMapOutput { + return o.ApplyT(func(v *DeploymentSettings) map[string]map[string]interface{} { if v == nil { return nil } - return v.CertName - }).(pulumi.StringPtrOutput) + return v.AddonConfigs + }).(pulumi.MapMapOutput) } -func (o CustomDomainPropertiesPtrOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomDomainProperties) *string { +func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettings) map[string]string { if v == nil { return nil } - return v.Thumbprint - }).(pulumi.StringPtrOutput) -} - -type CustomDomainPropertiesResponse struct { - AppName string `pulumi:"appName"` - CertName *string `pulumi:"certName"` - Thumbprint *string `pulumi:"thumbprint"` -} - -type CustomDomainPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (CustomDomainPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomDomainPropertiesResponse)(nil)).Elem() -} - -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutput() CustomDomainPropertiesResponseOutput { - return o -} - -func (o CustomDomainPropertiesResponseOutput) ToCustomDomainPropertiesResponseOutputWithContext(ctx context.Context) CustomDomainPropertiesResponseOutput { - return o -} - -func (o CustomDomainPropertiesResponseOutput) AppName() pulumi.StringOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) string { return v.AppName }).(pulumi.StringOutput) -} - -func (o CustomDomainPropertiesResponseOutput) CertName() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.CertName }).(pulumi.StringPtrOutput) + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) } -func (o CustomDomainPropertiesResponseOutput) Thumbprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomDomainPropertiesResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput) +func (o DeploymentSettingsPtrOutput) ResourceRequests() ResourceRequestsPtrOutput { + return o.ApplyT(func(v *DeploymentSettings) *ResourceRequests { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsPtrOutput) } -type DeploymentInstanceResponse struct { - DiscoveryStatus string `pulumi:"discoveryStatus"` - Name string `pulumi:"name"` - Reason string `pulumi:"reason"` - StartTime string `pulumi:"startTime"` - Status string `pulumi:"status"` - Zone string `pulumi:"zone"` +type DeploymentSettingsResponse struct { + AddonConfigs map[string]map[string]interface{} `pulumi:"addonConfigs"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` + ResourceRequests *ResourceRequestsResponse `pulumi:"resourceRequests"` } -type DeploymentInstanceResponseOutput struct{ *pulumi.OutputState } +type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } -func (DeploymentInstanceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentInstanceResponse)(nil)).Elem() +func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutput() DeploymentInstanceResponseOutput { +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { return o } -func (o DeploymentInstanceResponseOutput) ToDeploymentInstanceResponseOutputWithContext(ctx context.Context) DeploymentInstanceResponseOutput { +func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { return o } -func (o DeploymentInstanceResponseOutput) DiscoveryStatus() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.DiscoveryStatus }).(pulumi.StringOutput) +func (o DeploymentSettingsResponseOutput) AddonConfigs() pulumi.MapMapOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) map[string]map[string]interface{} { return v.AddonConfigs }).(pulumi.MapMapOutput) } -func (o DeploymentInstanceResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Name }).(pulumi.StringOutput) +func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) } -func (o DeploymentInstanceResponseOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Reason }).(pulumi.StringOutput) +func (o DeploymentSettingsResponseOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v DeploymentSettingsResponse) *ResourceRequestsResponse { return v.ResourceRequests }).(ResourceRequestsResponsePtrOutput) } -func (o DeploymentInstanceResponseOutput) StartTime() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.StartTime }).(pulumi.StringOutput) -} +type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (o DeploymentInstanceResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Status }).(pulumi.StringOutput) +func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() } -func (o DeploymentInstanceResponseOutput) Zone() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentInstanceResponse) string { return v.Zone }).(pulumi.StringOutput) +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { + return o } -type DeploymentInstanceResponseArrayOutput struct{ *pulumi.OutputState } +func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { + return o +} -func (DeploymentInstanceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentInstanceResponse)(nil)).Elem() +func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { + if v != nil { + return *v + } + var ret DeploymentSettingsResponse + return ret + }).(DeploymentSettingsResponseOutput) } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutput() DeploymentInstanceResponseArrayOutput { - return o +func (o DeploymentSettingsResponsePtrOutput) AddonConfigs() pulumi.MapMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]map[string]interface{} { + if v == nil { + return nil + } + return v.AddonConfigs + }).(pulumi.MapMapOutput) } -func (o DeploymentInstanceResponseArrayOutput) ToDeploymentInstanceResponseArrayOutputWithContext(ctx context.Context) DeploymentInstanceResponseArrayOutput { - return o +func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { + if v == nil { + return nil + } + return v.EnvironmentVariables + }).(pulumi.StringMapOutput) } -func (o DeploymentInstanceResponseArrayOutput) Index(i pulumi.IntInput) DeploymentInstanceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentInstanceResponse { - return vs[0].([]DeploymentInstanceResponse)[vs[1].(int)] - }).(DeploymentInstanceResponseOutput) +func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsResponsePtrOutput) } -type DeploymentResourceProperties struct { - Active *bool `pulumi:"active"` - DeploymentSettings *DeploymentSettings `pulumi:"deploymentSettings"` - Source interface{} `pulumi:"source"` +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` } -type DeploymentResourcePropertiesInput interface { +type ErrorInput interface { pulumi.Input - ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput - ToDeploymentResourcePropertiesOutputWithContext(context.Context) DeploymentResourcePropertiesOutput + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput } -type DeploymentResourcePropertiesArgs struct { - Active pulumi.BoolPtrInput `pulumi:"active"` - DeploymentSettings DeploymentSettingsPtrInput `pulumi:"deploymentSettings"` - Source pulumi.Input `pulumi:"source"` +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` } -func (DeploymentResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { - return i.ToDeploymentResourcePropertiesOutputWithContext(context.Background()) +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput) +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) } -func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesOutput).ToDeploymentResourcePropertiesPtrOutputWithContext(ctx) +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) } @@ -2889,409 +4593,418 @@ func (i DeploymentResourcePropertiesArgs) ToDeploymentResourcePropertiesPtrOutpu -type DeploymentResourcePropertiesPtrInput interface { +type ErrorPtrInput interface { pulumi.Input - ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput - ToDeploymentResourcePropertiesPtrOutputWithContext(context.Context) DeploymentResourcePropertiesPtrOutput + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput } -type deploymentResourcePropertiesPtrType DeploymentResourcePropertiesArgs +type errorPtrType ErrorArgs -func DeploymentResourcePropertiesPtr(v *DeploymentResourcePropertiesArgs) DeploymentResourcePropertiesPtrInput { - return (*deploymentResourcePropertiesPtrType)(v) +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) } -func (*deploymentResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return i.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) } -func (i *deploymentResourcePropertiesPtrType) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentResourcePropertiesPtrOutput) +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) } -type DeploymentResourcePropertiesOutput struct{ *pulumi.OutputState } +type ErrorOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourceProperties)(nil)).Elem() +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutput() DeploymentResourcePropertiesOutput { +func (o ErrorOutput) ToErrorOutput() ErrorOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesOutputWithContext(ctx context.Context) DeploymentResourcePropertiesOutput { +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { return o } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { - return o.ToDeploymentResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) } -func (o DeploymentResourcePropertiesOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentResourceProperties) *DeploymentResourceProperties { +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { return &v - }).(DeploymentResourcePropertiesPtrOutput) -} - -func (o DeploymentResourcePropertiesOutput) Active() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *bool { return v.Active }).(pulumi.BoolPtrOutput) + }).(ErrorPtrOutput) } -func (o DeploymentResourcePropertiesOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v DeploymentResourceProperties) *DeploymentSettings { return v.DeploymentSettings }).(DeploymentSettingsPtrOutput) +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (o DeploymentResourcePropertiesOutput) Source() pulumi.AnyOutput { - return o.ApplyT(func(v DeploymentResourceProperties) interface{} { return v.Source }).(pulumi.AnyOutput) +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) } -type DeploymentResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ErrorPtrOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentResourceProperties)(nil)).Elem() +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutput() DeploymentResourcePropertiesPtrOutput { +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) ToDeploymentResourcePropertiesPtrOutputWithContext(ctx context.Context) DeploymentResourcePropertiesPtrOutput { +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { return o } -func (o DeploymentResourcePropertiesPtrOutput) Elem() DeploymentResourcePropertiesOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) DeploymentResourceProperties { +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { if v != nil { return *v } - var ret DeploymentResourceProperties + var ret Error return ret - }).(DeploymentResourcePropertiesOutput) -} - -func (o DeploymentResourcePropertiesPtrOutput) Active() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *bool { - if v == nil { - return nil - } - return v.Active - }).(pulumi.BoolPtrOutput) + }).(ErrorOutput) } -func (o DeploymentResourcePropertiesPtrOutput) DeploymentSettings() DeploymentSettingsPtrOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) *DeploymentSettings { +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { if v == nil { return nil } - return v.DeploymentSettings - }).(DeploymentSettingsPtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentResourcePropertiesPtrOutput) Source() pulumi.AnyOutput { - return o.ApplyT(func(v *DeploymentResourceProperties) interface{} { +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { if v == nil { return nil } - return v.Source - }).(pulumi.AnyOutput) + return v.Message + }).(pulumi.StringPtrOutput) } -type DeploymentResourcePropertiesResponse struct { - Active *bool `pulumi:"active"` - DeploymentSettings *DeploymentSettingsResponse `pulumi:"deploymentSettings"` - Instances []DeploymentInstanceResponse `pulumi:"instances"` - ProvisioningState string `pulumi:"provisioningState"` - Source interface{} `pulumi:"source"` - Status string `pulumi:"status"` +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` } -type DeploymentResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type ErrorResponseOutput struct{ *pulumi.OutputState } -func (DeploymentResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentResourcePropertiesResponse)(nil)).Elem() +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutput() DeploymentResourcePropertiesResponseOutput { +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) ToDeploymentResourcePropertiesResponseOutputWithContext(ctx context.Context) DeploymentResourcePropertiesResponseOutput { +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { return o } -func (o DeploymentResourcePropertiesResponseOutput) Active() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *bool { return v.Active }).(pulumi.BoolPtrOutput) +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (o DeploymentResourcePropertiesResponseOutput) DeploymentSettings() DeploymentSettingsResponsePtrOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) *DeploymentSettingsResponse { return v.DeploymentSettings }).(DeploymentSettingsResponsePtrOutput) +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o DeploymentResourcePropertiesResponseOutput) Instances() DeploymentInstanceResponseArrayOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) []DeploymentInstanceResponse { return v.Instances }).(DeploymentInstanceResponseArrayOutput) +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() } -func (o DeploymentResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { + return o } -func (o DeploymentResourcePropertiesResponseOutput) Source() pulumi.AnyOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) interface{} { return v.Source }).(pulumi.AnyOutput) +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { + return o } -func (o DeploymentResourcePropertiesResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentResourcePropertiesResponse) string { return v.Status }).(pulumi.StringOutput) +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { + if v != nil { + return *v + } + var ret ErrorResponse + return ret + }).(ErrorResponseOutput) } -type DeploymentSettings struct { - AddonConfigs map[string]map[string]interface{} `pulumi:"addonConfigs"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - ResourceRequests *ResourceRequests `pulumi:"resourceRequests"` +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) } +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} -type DeploymentSettingsInput interface { - pulumi.Input - ToDeploymentSettingsOutput() DeploymentSettingsOutput - ToDeploymentSettingsOutputWithContext(context.Context) DeploymentSettingsOutput -} -type DeploymentSettingsArgs struct { - AddonConfigs pulumi.MapMapInput `pulumi:"addonConfigs"` - EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` - ResourceRequests ResourceRequestsPtrInput `pulumi:"resourceRequests"` -} +type GitPatternRepositoryInput interface { + pulumi.Input -func (DeploymentSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutput() DeploymentSettingsOutput { - return i.ToDeploymentSettingsOutputWithContext(context.Background()) +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (i DeploymentSettingsArgs) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput) +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) } -func (i DeploymentSettingsArgs) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsOutput).ToDeploymentSettingsPtrOutputWithContext(ctx) +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) } +type GitPatternRepositoryArrayInput interface { + pulumi.Input + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput +} +type GitPatternRepositoryArray []GitPatternRepositoryInput +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} -type DeploymentSettingsPtrInput interface { - pulumi.Input +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) +} - ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput - ToDeploymentSettingsPtrOutputWithContext(context.Context) DeploymentSettingsPtrOutput +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) } -type deploymentSettingsPtrType DeploymentSettingsArgs +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } -func DeploymentSettingsPtr(v *DeploymentSettingsArgs) DeploymentSettingsPtrInput { - return (*deploymentSettingsPtrType)(v) +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o } -func (*deploymentSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return i.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (i *deploymentSettingsPtrType) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentSettingsPtrOutput) +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -type DeploymentSettingsOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (DeploymentSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettings)(nil)).Elem() +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutput() DeploymentSettingsOutput { - return o +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsOutputWithContext(ctx context.Context) DeploymentSettingsOutput { - return o +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { - return o.ToDeploymentSettingsPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSettings) *DeploymentSettings { - return &v - }).(DeploymentSettingsPtrOutput) +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsOutput) AddonConfigs() pulumi.MapMapOutput { - return o.ApplyT(func(v DeploymentSettings) map[string]map[string]interface{} { return v.AddonConfigs }).(pulumi.MapMapOutput) +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettings) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) } -func (o DeploymentSettingsOutput) ResourceRequests() ResourceRequestsPtrOutput { - return o.ApplyT(func(v DeploymentSettings) *ResourceRequests { return v.ResourceRequests }).(ResourceRequestsPtrOutput) +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -type DeploymentSettingsPtrOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } -func (DeploymentSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettings)(nil)).Elem() +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutput() DeploymentSettingsPtrOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsPtrOutput) ToDeploymentSettingsPtrOutputWithContext(ctx context.Context) DeploymentSettingsPtrOutput { +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { return o } -func (o DeploymentSettingsPtrOutput) Elem() DeploymentSettingsOutput { - return o.ApplyT(func(v *DeploymentSettings) DeploymentSettings { - if v != nil { - return *v - } - var ret DeploymentSettings - return ret - }).(DeploymentSettingsOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -func (o DeploymentSettingsPtrOutput) AddonConfigs() pulumi.MapMapOutput { - return o.ApplyT(func(v *DeploymentSettings) map[string]map[string]interface{} { - if v == nil { - return nil - } - return v.AddonConfigs - }).(pulumi.MapMapOutput) +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -func (o DeploymentSettingsPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettings) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsPtrOutput) ResourceRequests() ResourceRequestsPtrOutput { - return o.ApplyT(func(v *DeploymentSettings) *ResourceRequests { - if v == nil { - return nil - } - return v.ResourceRequests - }).(ResourceRequestsPtrOutput) +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { + return o } -type DeploymentSettingsResponse struct { - AddonConfigs map[string]map[string]interface{} `pulumi:"addonConfigs"` - EnvironmentVariables map[string]string `pulumi:"environmentVariables"` - ResourceRequests *ResourceRequestsResponse `pulumi:"resourceRequests"` +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { + return o } -type DeploymentSettingsResponseOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} -func (DeploymentSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentSettingsResponse)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutput() DeploymentSettingsResponseOutput { - return o +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) ToDeploymentSettingsResponseOutputWithContext(ctx context.Context) DeploymentSettingsResponseOutput { - return o +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponseOutput) AddonConfigs() pulumi.MapMapOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) map[string]map[string]interface{} { return v.AddonConfigs }).(pulumi.MapMapOutput) +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponseOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (o DeploymentSettingsResponseOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v DeploymentSettingsResponse) *ResourceRequestsResponse { return v.ResourceRequests }).(ResourceRequestsResponsePtrOutput) +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type DeploymentSettingsResponsePtrOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} -func (DeploymentSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentSettingsResponse)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutput() DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o DeploymentSettingsResponsePtrOutput) ToDeploymentSettingsResponsePtrOutputWithContext(ctx context.Context) DeploymentSettingsResponsePtrOutput { - return o +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) Elem() DeploymentSettingsResponseOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) DeploymentSettingsResponse { - if v != nil { - return *v - } - var ret DeploymentSettingsResponse - return ret - }).(DeploymentSettingsResponseOutput) +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o DeploymentSettingsResponsePtrOutput) AddonConfigs() pulumi.MapMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]map[string]interface{} { - if v == nil { - return nil - } - return v.AddonConfigs - }).(pulumi.MapMapOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { + return o } -func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.StringMapOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) map[string]string { - if v == nil { - return nil - } - return v.EnvironmentVariables - }).(pulumi.StringMapOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { + return o } -func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { - if v == nil { - return nil - } - return v.ResourceRequests - }).(ResourceRequestsResponsePtrOutput) +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type JarUploadedUserSourceInfo struct { @@ -3789,6 +5502,233 @@ func (o ManagedIdentityPropertiesResponsePtrOutput) Type() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetCoreZipUploadedUserSourceInfo struct { NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` RelativePath *string `pulumi:"relativePath"` @@ -5659,9 +7599,18 @@ func init() { pulumi.RegisterOutputType(AppResourcePropertiesOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(AppResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponsePtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesOutput{}) pulumi.RegisterOutputType(BuilderPropertiesPtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesResponseOutput{}) @@ -5683,6 +7632,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyPtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyResponseOutput{}) @@ -5713,6 +7673,14 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(LoadedCertificateOutput{}) pulumi.RegisterOutputType(LoadedCertificateArrayOutput{}) pulumi.RegisterOutputType(LoadedCertificateResponseOutput{}) @@ -5721,6 +7689,9 @@ func init() { pulumi.RegisterOutputType(ManagedIdentityPropertiesPtrOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponseOutput{}) pulumi.RegisterOutputType(ManagedIdentityPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20220501preview/buildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220501preview/buildServiceAgentPool.go new file mode 100644 index 000000000000..9153ea47994b --- /dev/null +++ b/sdk/go/azure/appplatform/v20220501preview/buildServiceAgentPool.go @@ -0,0 +1,160 @@ + + + +package v20220501preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type BuildServiceAgentPool struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewBuildServiceAgentPool(ctx *pulumi.Context, + name string, args *BuildServiceAgentPoolArgs, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.BuildServiceName == nil { + return nil, errors.New("invalid value for required argument 'BuildServiceName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:BuildServiceAgentPool"), + }, + }) + opts = append(opts, aliases) + var resource BuildServiceAgentPool + err := ctx.RegisterResource("azure-native:appplatform/v20220501preview:BuildServiceAgentPool", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetBuildServiceAgentPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BuildServiceAgentPoolState, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + var resource BuildServiceAgentPool + err := ctx.ReadResource("azure-native:appplatform/v20220501preview:BuildServiceAgentPool", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type buildServiceAgentPoolState struct { +} + +type BuildServiceAgentPoolState struct { +} + +func (BuildServiceAgentPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolState)(nil)).Elem() +} + +type buildServiceAgentPoolArgs struct { + AgentPoolName *string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + Properties *BuildServiceAgentPoolProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type BuildServiceAgentPoolArgs struct { + AgentPoolName pulumi.StringPtrInput + BuildServiceName pulumi.StringInput + Properties BuildServiceAgentPoolPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (BuildServiceAgentPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolArgs)(nil)).Elem() +} + +type BuildServiceAgentPoolInput interface { + pulumi.Input + + ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput + ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput +} + +func (*BuildServiceAgentPool) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return i.ToBuildServiceAgentPoolOutputWithContext(context.Background()) +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolOutput) +} + +type BuildServiceAgentPoolOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) BuildServiceAgentPoolPropertiesResponseOutput { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(BuildServiceAgentPoolOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220501preview/configServer.go b/sdk/go/azure/appplatform/v20220501preview/configServer.go new file mode 100644 index 000000000000..a19aac1811b4 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220501preview/configServer.go @@ -0,0 +1,165 @@ + + + +package v20220501preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20220501preview:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20220501preview:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *ConfigServer) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220501preview/getBuildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220501preview/getBuildServiceAgentPool.go new file mode 100644 index 000000000000..aa493b7c2c43 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220501preview/getBuildServiceAgentPool.go @@ -0,0 +1,99 @@ + + + +package v20220501preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupBuildServiceAgentPool(ctx *pulumi.Context, args *LookupBuildServiceAgentPoolArgs, opts ...pulumi.InvokeOption) (*LookupBuildServiceAgentPoolResult, error) { + var rv LookupBuildServiceAgentPoolResult + err := ctx.Invoke("azure-native:appplatform/v20220501preview:getBuildServiceAgentPool", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupBuildServiceAgentPoolArgs struct { + AgentPoolName string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupBuildServiceAgentPoolResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupBuildServiceAgentPoolOutput(ctx *pulumi.Context, args LookupBuildServiceAgentPoolOutputArgs, opts ...pulumi.InvokeOption) LookupBuildServiceAgentPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupBuildServiceAgentPoolResult, error) { + args := v.(LookupBuildServiceAgentPoolArgs) + r, err := LookupBuildServiceAgentPool(ctx, &args, opts...) + var s LookupBuildServiceAgentPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupBuildServiceAgentPoolResultOutput) +} + +type LookupBuildServiceAgentPoolOutputArgs struct { + AgentPoolName pulumi.StringInput `pulumi:"agentPoolName"` + BuildServiceName pulumi.StringInput `pulumi:"buildServiceName"` + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupBuildServiceAgentPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolArgs)(nil)).Elem() +} + + +type LookupBuildServiceAgentPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupBuildServiceAgentPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolResult)(nil)).Elem() +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutput() LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutputWithContext(ctx context.Context) LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) BuildServiceAgentPoolPropertiesResponse { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupBuildServiceAgentPoolResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220501preview/getConfigServer.go b/sdk/go/azure/appplatform/v20220501preview/getConfigServer.go new file mode 100644 index 000000000000..86c2aeacf4e4 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220501preview/getConfigServer.go @@ -0,0 +1,95 @@ + + + +package v20220501preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20220501preview:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220501preview/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20220501preview/getMonitoringSetting.go new file mode 100644 index 000000000000..ace5d60bf06b --- /dev/null +++ b/sdk/go/azure/appplatform/v20220501preview/getMonitoringSetting.go @@ -0,0 +1,95 @@ + + + +package v20220501preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20220501preview:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220501preview/init.go b/sdk/go/azure/appplatform/v20220501preview/init.go index f8c1627ad81a..f7967d6d30de 100644 --- a/sdk/go/azure/appplatform/v20220501preview/init.go +++ b/sdk/go/azure/appplatform/v20220501preview/init.go @@ -29,12 +29,16 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &App{} case "azure-native:appplatform/v20220501preview:Binding": r = &Binding{} + case "azure-native:appplatform/v20220501preview:BuildServiceAgentPool": + r = &BuildServiceAgentPool{} case "azure-native:appplatform/v20220501preview:BuildServiceBuilder": r = &BuildServiceBuilder{} case "azure-native:appplatform/v20220501preview:BuildpackBinding": r = &BuildpackBinding{} case "azure-native:appplatform/v20220501preview:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20220501preview:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20220501preview:ConfigurationService": r = &ConfigurationService{} case "azure-native:appplatform/v20220501preview:CustomDomain": @@ -47,6 +51,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GatewayCustomDomain{} case "azure-native:appplatform/v20220501preview:GatewayRouteConfig": r = &GatewayRouteConfig{} + case "azure-native:appplatform/v20220501preview:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20220501preview:Service": r = &Service{} case "azure-native:appplatform/v20220501preview:ServiceRegistry": diff --git a/sdk/go/azure/appplatform/v20220501preview/monitoringSetting.go b/sdk/go/azure/appplatform/v20220501preview/monitoringSetting.go new file mode 100644 index 000000000000..8a4214944fa3 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220501preview/monitoringSetting.go @@ -0,0 +1,165 @@ + + + +package v20220501preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220901preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20220501preview:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20220501preview:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220501preview/pulumiTypes.go b/sdk/go/azure/appplatform/v20220501preview/pulumiTypes.go index 392bd2ce8424..dc0aed9ec82d 100644 --- a/sdk/go/azure/appplatform/v20220501preview/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20220501preview/pulumiTypes.go @@ -1185,6 +1185,61 @@ func (o AppVNetAddonsResponsePtrOutput) PublicEndpointUrl() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type AzureFileVolume struct { MountOptions []string `pulumi:"mountOptions"` MountPath string `pulumi:"mountPath"` @@ -1721,45 +1776,43 @@ type BuildResultUserSourceInfoResponse struct { Version *string `pulumi:"version"` } -type BuilderProperties struct { - BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` - Stack *StackProperties `pulumi:"stack"` +type BuildServiceAgentPoolProperties struct { + PoolSize *BuildServiceAgentPoolSizeProperties `pulumi:"poolSize"` } -type BuilderPropertiesInput interface { +type BuildServiceAgentPoolPropertiesInput interface { pulumi.Input - ToBuilderPropertiesOutput() BuilderPropertiesOutput - ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesOutput } -type BuilderPropertiesArgs struct { - BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` - Stack StackPropertiesPtrInput `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesArgs struct { + PoolSize BuildServiceAgentPoolSizePropertiesPtrInput `pulumi:"poolSize"` } -func (BuilderPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { - return i.ToBuilderPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { + return i.ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput).ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx) } @@ -1770,176 +1823,158 @@ func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx conte -type BuilderPropertiesPtrInput interface { +type BuildServiceAgentPoolPropertiesPtrInput interface { pulumi.Input - ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput - ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesPtrOutput } -type builderPropertiesPtrType BuilderPropertiesArgs +type buildServiceAgentPoolPropertiesPtrType BuildServiceAgentPoolPropertiesArgs -func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { - return (*builderPropertiesPtrType)(v) +func BuildServiceAgentPoolPropertiesPtr(v *BuildServiceAgentPoolPropertiesArgs) BuildServiceAgentPoolPropertiesPtrInput { + return (*buildServiceAgentPoolPropertiesPtrType)(v) } -func (*builderPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (*buildServiceAgentPoolPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesPtrOutput) } -type BuilderPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return o.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolProperties { return &v - }).(BuilderPropertiesPtrOutput) -} - -func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesPtrOutput) } -func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) +func (o BuildServiceAgentPoolPropertiesOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { return v.PoolSize }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { - return o.ApplyT(func(v *BuilderProperties) BuilderProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) Elem() BuildServiceAgentPoolPropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) BuildServiceAgentPoolProperties { if v != nil { return *v } - var ret BuilderProperties + var ret BuildServiceAgentPoolProperties return ret - }).(BuilderPropertiesOutput) -} - -func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { - if v == nil { - return nil - } - return v.BuildpackGroups - }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesOutput) } -func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v *BuilderProperties) *StackProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { if v == nil { return nil } - return v.Stack - }).(StackPropertiesPtrOutput) + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesResponse struct { - BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` - ProvisioningState string `pulumi:"provisioningState"` - Stack *StackPropertiesResponse `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesResponse struct { + PoolSize *BuildServiceAgentPoolSizePropertiesResponse `pulumi:"poolSize"` + ProvisioningState string `pulumi:"provisioningState"` } -type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolPropertiesResponse)(nil)).Elem() } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutput() BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) -} - -func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) PoolSize() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) *BuildServiceAgentPoolSizePropertiesResponse { + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesResponsePtrOutput) } -func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type BuildpackBindingLaunchProperties struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizeProperties struct { + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesInput interface { +type BuildServiceAgentPoolSizePropertiesInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput - ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesOutput } -type BuildpackBindingLaunchPropertiesArgs struct { - Properties pulumi.StringMapInput `pulumi:"properties"` - Secrets pulumi.StringMapInput `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesArgs struct { + Name pulumi.StringPtrInput `pulumi:"name"` } -func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { - return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { + return i.ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput).ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx) } @@ -1950,213 +1985,214 @@ func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchProperties -type BuildpackBindingLaunchPropertiesPtrInput interface { +type BuildServiceAgentPoolSizePropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput - ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput } -type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs +type buildServiceAgentPoolSizePropertiesPtrType BuildServiceAgentPoolSizePropertiesArgs -func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { - return (*buildpackBindingLaunchPropertiesPtrType)(v) +func BuildServiceAgentPoolSizePropertiesPtr(v *BuildServiceAgentPoolSizePropertiesArgs) BuildServiceAgentPoolSizePropertiesPtrInput { + return (*buildServiceAgentPoolSizePropertiesPtrType)(v) } -func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (*buildServiceAgentPoolSizePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolSizeProperties) *BuildServiceAgentPoolSizeProperties { return &v - }).(BuildpackBindingLaunchPropertiesPtrOutput) -} - -func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizeProperties) *string { return v.Name }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Elem() BuildServiceAgentPoolSizePropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) BuildServiceAgentPoolSizeProperties { if v != nil { return *v } - var ret BuildpackBindingLaunchProperties + var ret BuildServiceAgentPoolSizeProperties return ret - }).(BuildpackBindingLaunchPropertiesOutput) -} - -func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesOutput) } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesResponse struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesResponse struct { + Cpu string `pulumi:"cpu"` + Memory string `pulumi:"memory"` + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutput() BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Cpu }).(pulumi.StringOutput) } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Memory }).(pulumi.StringOutput) } -type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} -func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +type BuildServiceAgentPoolSizePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutput() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Elem() BuildServiceAgentPoolSizePropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) BuildServiceAgentPoolSizePropertiesResponse { if v != nil { return *v } - var ret BuildpackBindingLaunchPropertiesResponse + var ret BuildServiceAgentPoolSizePropertiesResponse return ret - }).(BuildpackBindingLaunchPropertiesResponseOutput) + }).(BuildServiceAgentPoolSizePropertiesResponseOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Properties - }).(pulumi.StringMapOutput) + return &v.Cpu + }).(pulumi.StringPtrOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return &v.Memory + }).(pulumi.StringPtrOutput) } -type BuildpackBindingProperties struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +type BuilderProperties struct { + BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` + Stack *StackProperties `pulumi:"stack"` } -type BuildpackBindingPropertiesInput interface { +type BuilderPropertiesInput interface { pulumi.Input - ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput - ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput + ToBuilderPropertiesOutput() BuilderPropertiesOutput + ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput } -type BuildpackBindingPropertiesArgs struct { - BindingType pulumi.StringPtrInput `pulumi:"bindingType"` - LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +type BuilderPropertiesArgs struct { + BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` + Stack StackPropertiesPtrInput `pulumi:"stack"` } -func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { - return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { + return i.ToBuilderPropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) } @@ -2167,492 +2203,1767 @@ func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWit -type BuildpackBindingPropertiesPtrInput interface { +type BuilderPropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput - ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput + ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput + ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput } -type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs +type builderPropertiesPtrType BuilderPropertiesArgs -func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { - return (*buildpackBindingPropertiesPtrType)(v) +func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { + return (*builderPropertiesPtrType)(v) } -func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (*builderPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) } -type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } +type BuilderPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { return &v - }).(BuildpackBindingPropertiesPtrOutput) + }).(BuilderPropertiesPtrOutput) } -func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { +func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { + return o.ApplyT(func(v *BuilderProperties) BuilderProperties { if v != nil { return *v } - var ret BuildpackBindingProperties + var ret BuilderProperties return ret - }).(BuildpackBindingPropertiesOutput) + }).(BuilderPropertiesOutput) } -func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *string { +func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { if v == nil { return nil } - return v.BindingType - }).(pulumi.StringPtrOutput) + return v.BuildpackGroups + }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { +func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v *BuilderProperties) *StackProperties { if v == nil { return nil } - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesPtrOutput) + return v.Stack + }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesResponse struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` - ProvisioningState string `pulumi:"provisioningState"` +type BuilderPropertiesResponse struct { + BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` + ProvisioningState string `pulumi:"provisioningState"` + Stack *StackPropertiesResponse `pulumi:"stack"` } -type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) } -func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) } -type BuildpackProperties struct { - Id *string `pulumi:"id"` +type BuildpackBindingLaunchProperties struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` } -type BuildpackPropertiesInput interface { +type BuildpackBindingLaunchPropertiesInput interface { pulumi.Input - ToBuildpackPropertiesOutput() BuildpackPropertiesOutput - ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput } -type BuildpackPropertiesArgs struct { - Id pulumi.StringPtrInput `pulumi:"id"` +type BuildpackBindingLaunchPropertiesArgs struct { + Properties pulumi.StringMapInput `pulumi:"properties"` + Secrets pulumi.StringMapInput `pulumi:"secrets"` } -func (BuildpackPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingLaunchPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput + ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput +} + +type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs + +func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { + return (*buildpackBindingLaunchPropertiesPtrType)(v) +} + +func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { + return &v + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchProperties + return ret + }).(BuildpackBindingLaunchPropertiesOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponse struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` +} + +type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchPropertiesResponse + return ret + }).(BuildpackBindingLaunchPropertiesResponseOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingProperties struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +} + + + + + +type BuildpackBindingPropertiesInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput + ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput +} + +type BuildpackBindingPropertiesArgs struct { + BindingType pulumi.StringPtrInput `pulumi:"bindingType"` + LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +} + +func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput + ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput +} + +type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs + +func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { + return (*buildpackBindingPropertiesPtrType)(v) +} + +func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { + return &v + }).(BuildpackBindingPropertiesPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { + if v != nil { + return *v + } + var ret BuildpackBindingProperties + return ret + }).(BuildpackBindingPropertiesOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *string { + if v == nil { + return nil + } + return v.BindingType + }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { + if v == nil { + return nil + } + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesResponse struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type BuildpackProperties struct { + Id *string `pulumi:"id"` +} + + + + + +type BuildpackPropertiesInput interface { + pulumi.Input + + ToBuildpackPropertiesOutput() BuildpackPropertiesOutput + ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput +} + +type BuildpackPropertiesArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (BuildpackPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +} + + + + + +type BuildpackPropertiesArrayInput interface { + pulumi.Input + + ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput + ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +} + +type BuildpackPropertiesArray []BuildpackPropertiesInput + +func (BuildpackPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +} + +type BuildpackPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { + return vs[0].([]BuildpackProperties)[vs[1].(int)] + }).(BuildpackPropertiesOutput) +} + +type BuildpackPropertiesResponse struct { + Id *string `pulumi:"id"` +} + +type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { + return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] + }).(BuildpackPropertiesResponseOutput) +} + +type BuildpacksGroupProperties struct { + Buildpacks []BuildpackProperties `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + + + + + +type BuildpacksGroupPropertiesInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput + ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput +} + +type BuildpacksGroupPropertiesArgs struct { + Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +} + + + + + +type BuildpacksGroupPropertiesArrayInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput + ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput +} + +type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput + +func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) +} + +type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +} + +func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { + return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] + }).(BuildpacksGroupPropertiesOutput) +} + +type BuildpacksGroupPropertiesResponse struct { + Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + +type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +} + +func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { + return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] + }).(BuildpacksGroupPropertiesResponseOutput) +} + +type ClusterResourceProperties struct { + MarketplaceResource *MarketplaceResource `pulumi:"marketplaceResource"` + NetworkProfile *NetworkProfile `pulumi:"networkProfile"` + VnetAddons *ServiceVNetAddons `pulumi:"vnetAddons"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { + if val == nil { + return nil + } + tmp := *val + tmp.VnetAddons = tmp.VnetAddons.Defaults() + + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + + + + + +type ClusterResourcePropertiesInput interface { + pulumi.Input + + ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput + ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput +} + +type ClusterResourcePropertiesArgs struct { + MarketplaceResource MarketplaceResourcePtrInput `pulumi:"marketplaceResource"` + NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` + VnetAddons ServiceVNetAddonsPtrInput `pulumi:"vnetAddons"` + ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + + if isZero(tmp.ZoneRedundant) { + tmp.ZoneRedundant = pulumi.BoolPtr(false) + } + return &tmp +} +func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type ClusterResourcePropertiesPtrInput interface { + pulumi.Input + + ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput + ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput +} + +type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs + +func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { + return (*clusterResourcePropertiesPtrType)(v) +} + +func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +} + +type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { + return &v + }).(ClusterResourcePropertiesPtrOutput) +} + +func (o ClusterResourcePropertiesOutput) MarketplaceResource() MarketplaceResourcePtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *MarketplaceResource { return v.MarketplaceResource }).(MarketplaceResourcePtrOutput) +} + +func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesOutput) VnetAddons() ServiceVNetAddonsPtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *ServiceVNetAddons { return v.VnetAddons }).(ServiceVNetAddonsPtrOutput) +} + +func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { + return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { + if v != nil { + return *v + } + var ret ClusterResourceProperties + return ret + }).(ClusterResourcePropertiesOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) MarketplaceResource() MarketplaceResourcePtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *MarketplaceResource { + if v == nil { + return nil + } + return v.MarketplaceResource + }).(MarketplaceResourcePtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { + if v == nil { + return nil + } + return v.NetworkProfile + }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) VnetAddons() ServiceVNetAddonsPtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *ServiceVNetAddons { + if v == nil { + return nil + } + return v.VnetAddons + }).(ServiceVNetAddonsPtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *bool { + if v == nil { + return nil + } + return v.ZoneRedundant + }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesResponse struct { + Fqdn string `pulumi:"fqdn"` + MarketplaceResource *MarketplaceResourceResponse `pulumi:"marketplaceResource"` + NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` + PowerState string `pulumi:"powerState"` + ProvisioningState string `pulumi:"provisioningState"` + ServiceId string `pulumi:"serviceId"` + Version int `pulumi:"version"` + VnetAddons *ServiceVNetAddonsResponse `pulumi:"vnetAddons"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + tmp.VnetAddons = tmp.VnetAddons.Defaults() + + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + +type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) MarketplaceResource() MarketplaceResourceResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *MarketplaceResourceResponse { return v.MarketplaceResource }).(MarketplaceResourceResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) VnetAddons() ServiceVNetAddonsResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *ServiceVNetAddonsResponse { return v.VnetAddons }).(ServiceVNetAddonsResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type ConfigServerGitPropertyInput interface { + pulumi.Input + + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput +} + +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerGitPropertyPtrInput interface { + pulumi.Input + + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput +} + +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs + +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) +} + +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { + return &v + }).(ConfigServerGitPropertyPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { + if v != nil { + return *v + } + var ret ConfigServerGitProperty + return ret + }).(ConfigServerGitPropertyOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { + return o +} +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { + return o +} -type BuildpackPropertiesArrayInput interface { - pulumi.Input - - ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput - ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesArray []BuildpackPropertiesInput +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} -func (BuildpackPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { - return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } -func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { - return vs[0].([]BuildpackProperties)[vs[1].(int)] - }).(BuildpackPropertiesOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) } -type BuildpackPropertiesResponse struct { - Id *string `pulumi:"id"` +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { - return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] - }).(BuildpackPropertiesResponseOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type BuildpacksGroupProperties struct { - Buildpacks []BuildpackProperties `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` } -type BuildpacksGroupPropertiesInput interface { +type ConfigServerPropertiesInput interface { pulumi.Input - ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput - ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -type BuildpacksGroupPropertiesArgs struct { - Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` - Name pulumi.StringPtrInput `pulumi:"name"` +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` } -func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} -type BuildpacksGroupPropertiesArrayInput interface { - pulumi.Input - ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput - ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput -} -type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput -func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { - return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) -} -type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrInput interface { + pulumi.Input -func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return o +type configServerPropertiesPtrType ConfigServerPropertiesArgs + +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return o +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { - return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] - }).(BuildpacksGroupPropertiesOutput) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -type BuildpacksGroupPropertiesResponse struct { - Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { + return &v + }).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) +} -func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { + if v != nil { + return *v + } + var ret ConfigServerProperties + return ret + }).(ConfigServerPropertiesOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { + if v == nil { + return nil + } + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} -func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { - return o +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { - return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] - }).(BuildpacksGroupPropertiesResponseOutput) +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { + return o } -type ClusterResourceProperties struct { - MarketplaceResource *MarketplaceResource `pulumi:"marketplaceResource"` - NetworkProfile *NetworkProfile `pulumi:"networkProfile"` - VnetAddons *ServiceVNetAddons `pulumi:"vnetAddons"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} -func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { - if val == nil { - return nil - } - tmp := *val - tmp.VnetAddons = tmp.VnetAddons.Defaults() +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type ClusterResourcePropertiesInput interface { +type ConfigServerSettingsInput interface { pulumi.Input - ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput - ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type ClusterResourcePropertiesArgs struct { - MarketplaceResource MarketplaceResourcePtrInput `pulumi:"marketplaceResource"` - NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` - VnetAddons ServiceVNetAddonsPtrInput `pulumi:"vnetAddons"` - ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } - -func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - - if isZero(tmp.ZoneRedundant) { - tmp.ZoneRedundant = pulumi.BoolPtr(false) - } - return &tmp -} -func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { - return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } @@ -2663,206 +3974,145 @@ func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithC -type ClusterResourcePropertiesPtrInput interface { +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput - ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs - -func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { - return (*clusterResourcePropertiesPtrType)(v) +type configServerSettingsPtrType ConfigServerSettingsArgs + +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } -type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { return o } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { return &v - }).(ClusterResourcePropertiesPtrOutput) -} - -func (o ClusterResourcePropertiesOutput) MarketplaceResource() MarketplaceResourcePtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *MarketplaceResource { return v.MarketplaceResource }).(MarketplaceResourcePtrOutput) -} - -func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) -} - -func (o ClusterResourcePropertiesOutput) VnetAddons() ServiceVNetAddonsPtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *ServiceVNetAddons { return v.VnetAddons }).(ServiceVNetAddonsPtrOutput) + }).(ConfigServerSettingsPtrOutput) } -func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) } -type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { - return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { if v != nil { return *v } - var ret ClusterResourceProperties + var ret ConfigServerSettings return ret - }).(ClusterResourcePropertiesOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) MarketplaceResource() MarketplaceResourcePtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *MarketplaceResource { - if v == nil { - return nil - } - return v.MarketplaceResource - }).(MarketplaceResourcePtrOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { - if v == nil { - return nil - } - return v.NetworkProfile - }).(NetworkProfilePtrOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) VnetAddons() ServiceVNetAddonsPtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *ServiceVNetAddons { - if v == nil { - return nil - } - return v.VnetAddons - }).(ServiceVNetAddonsPtrOutput) + }).(ConfigServerSettingsOutput) } -func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *bool { +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { if v == nil { return nil } - return v.ZoneRedundant - }).(pulumi.BoolPtrOutput) -} - -type ClusterResourcePropertiesResponse struct { - Fqdn string `pulumi:"fqdn"` - MarketplaceResource *MarketplaceResourceResponse `pulumi:"marketplaceResource"` - NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` - PowerState string `pulumi:"powerState"` - ProvisioningState string `pulumi:"provisioningState"` - ServiceId string `pulumi:"serviceId"` - Version int `pulumi:"version"` - VnetAddons *ServiceVNetAddonsResponse `pulumi:"vnetAddons"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) } - -func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - tmp.VnetAddons = tmp.VnetAddons.Defaults() - - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` } -type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) -} - -func (o ClusterResourcePropertiesResponseOutput) MarketplaceResource() MarketplaceResourceResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *MarketplaceResourceResponse { return v.MarketplaceResource }).(MarketplaceResourceResponsePtrOutput) -} - -func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) } -func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) -} +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) VnetAddons() ServiceVNetAddonsResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *ServiceVNetAddonsResponse { return v.VnetAddons }).(ServiceVNetAddonsResponsePtrOutput) +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) } -func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) } type ConfigurationServiceGitProperty struct { @@ -5019,49 +6269,266 @@ func (o DeploymentSettingsResponsePtrOutput) EnvironmentVariables() pulumi.Strin }).(pulumi.StringMapOutput) } -func (o DeploymentSettingsResponsePtrOutput) LivenessProbe() ProbeResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { +func (o DeploymentSettingsResponsePtrOutput) LivenessProbe() ProbeResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { + if v == nil { + return nil + } + return v.LivenessProbe + }).(ProbeResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) ReadinessProbe() ProbeResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { + if v == nil { + return nil + } + return v.ReadinessProbe + }).(ProbeResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { + if v == nil { + return nil + } + return v.ResourceRequests + }).(ResourceRequestsResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) StartupProbe() ProbeResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { + if v == nil { + return nil + } + return v.StartupProbe + }).(ProbeResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) TerminationGracePeriodSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { + if v == nil { + return nil + } + return v.TerminationGracePeriodSeconds + }).(pulumi.IntPtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { + pulumi.Input + + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput +} + +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) +} + +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) +} + + + + + + + + + +type ErrorPtrInput interface { + pulumi.Input + + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput +} + +type errorPtrType ErrorArgs + +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) +} + +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) +} + +type ErrorOutput struct{ *pulumi.OutputState } + +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) +} + +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) +} + +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) +} + +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { if v == nil { return nil } - return v.LivenessProbe - }).(ProbeResponsePtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ReadinessProbe() ProbeResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { if v == nil { return nil } - return v.ReadinessProbe - }).(ProbeResponsePtrOutput) + return v.Message + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequestsResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ResourceRequestsResponse { - if v == nil { - return nil +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { + if v != nil { + return *v } - return v.ResourceRequests - }).(ResourceRequestsResponsePtrOutput) + var ret ErrorResponse + return ret + }).(ErrorResponseOutput) } -func (o DeploymentSettingsResponsePtrOutput) StartupProbe() ProbeResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.StartupProbe - }).(ProbeResponsePtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) TerminationGracePeriodSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.TerminationGracePeriodSeconds - }).(pulumi.IntPtrOutput) + return v.Message + }).(pulumi.StringPtrOutput) } type ExecAction struct { @@ -7012,175 +8479,421 @@ func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutput() return i.ToGatewayRouteConfigPropertiesOutputWithContext(context.Background()) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type GatewayRouteConfigPropertiesPtrInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput + ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +} + +type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs + +func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { + return (*gatewayRouteConfigPropertiesPtrType)(v) +} + +func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +} + +type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { + return &v + }).(GatewayRouteConfigPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { return v.OpenApi }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { + if v != nil { + return *v + } + var ret GatewayRouteConfigProperties + return ret + }).(GatewayRouteConfigPropertiesOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { + if v == nil { + return nil + } + return v.AppResourceId + }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { + if v == nil { + return nil + } + return v.OpenApi + }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { + if v == nil { + return nil + } + return v.Routes + }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesResponse struct { + AppResourceId *string `pulumi:"appResourceId"` + OpenApi *GatewayRouteConfigOpenApiPropertiesResponse `pulumi:"openApi"` + ProvisioningState string `pulumi:"provisioningState"` + Routes []GatewayApiRouteResponse `pulumi:"routes"` +} + +type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesResponsePtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *GatewayRouteConfigOpenApiPropertiesResponse { + return v.OpenApi + }).(GatewayRouteConfigOpenApiPropertiesResponsePtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) } -func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesOutput).ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx) + + + + +type GitPatternRepositoryArrayInput interface { + pulumi.Input + + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput } +type GitPatternRepositoryArray []GitPatternRepositoryInput +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) +} +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) +} +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o +} +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} -type GatewayRouteConfigPropertiesPtrInput interface { - pulumi.Input +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} - ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput - ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { - return (*gatewayRouteConfigPropertiesPtrType)(v) +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) } -func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} -func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { - return o +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { - return o +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { - return &v - }).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return o } -func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return o } -func (o GatewayRouteConfigPropertiesOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { return v.OpenApi }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } -func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { - if v != nil { - return *v - } - var ret GatewayRouteConfigProperties - return ret - }).(GatewayRouteConfigPropertiesOutput) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { - if v == nil { - return nil - } - return v.AppResourceId - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { - if v == nil { - return nil - } - return v.OpenApi - }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { - if v == nil { - return nil - } - return v.Routes - }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -type GatewayRouteConfigPropertiesResponse struct { - AppResourceId *string `pulumi:"appResourceId"` - OpenApi *GatewayRouteConfigOpenApiPropertiesResponse `pulumi:"openApi"` - ProvisioningState string `pulumi:"provisioningState"` - Routes []GatewayApiRouteResponse `pulumi:"routes"` +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) +} -func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { - return o +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { - return o +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesResponsePtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *GatewayRouteConfigOpenApiPropertiesResponse { - return v.OpenApi - }).(GatewayRouteConfigOpenApiPropertiesResponsePtrOutput) +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { + return o +} + +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { + return o +} + +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type HTTPGetAction struct { @@ -8166,6 +9879,233 @@ func (o MarketplaceResourceResponsePtrOutput) Publisher() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetCoreZipUploadedUserSourceInfo struct { NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` RelativePath *string `pulumi:"relativePath"` @@ -11220,6 +13160,8 @@ func init() { pulumi.RegisterOutputType(AppVNetAddonsPtrOutput{}) pulumi.RegisterOutputType(AppVNetAddonsResponseOutput{}) pulumi.RegisterOutputType(AppVNetAddonsResponsePtrOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeOutput{}) pulumi.RegisterOutputType(AzureFileVolumePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeResponseOutput{}) @@ -11227,6 +13169,13 @@ func init() { pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponsePtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesOutput{}) pulumi.RegisterOutputType(BuilderPropertiesPtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesResponseOutput{}) @@ -11248,6 +13197,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyPtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyResponseOutput{}) @@ -11286,6 +13246,10 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesResponseOutput{}) @@ -11319,6 +13283,10 @@ func init() { pulumi.RegisterOutputType(GatewayRouteConfigPropertiesOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(IngressConfigOutput{}) pulumi.RegisterOutputType(IngressConfigPtrOutput{}) pulumi.RegisterOutputType(IngressConfigResponseOutput{}) @@ -11335,6 +13303,9 @@ func init() { pulumi.RegisterOutputType(MarketplaceResourcePtrOutput{}) pulumi.RegisterOutputType(MarketplaceResourceResponseOutput{}) pulumi.RegisterOutputType(MarketplaceResourceResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/appplatform/v20220901preview/buildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220901preview/buildServiceAgentPool.go new file mode 100644 index 000000000000..c400408bd80e --- /dev/null +++ b/sdk/go/azure/appplatform/v20220901preview/buildServiceAgentPool.go @@ -0,0 +1,160 @@ + + + +package v20220901preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type BuildServiceAgentPool struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewBuildServiceAgentPool(ctx *pulumi.Context, + name string, args *BuildServiceAgentPoolArgs, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.BuildServiceName == nil { + return nil, errors.New("invalid value for required argument 'BuildServiceName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:BuildServiceAgentPool"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), + }, + }) + opts = append(opts, aliases) + var resource BuildServiceAgentPool + err := ctx.RegisterResource("azure-native:appplatform/v20220901preview:BuildServiceAgentPool", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetBuildServiceAgentPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BuildServiceAgentPoolState, opts ...pulumi.ResourceOption) (*BuildServiceAgentPool, error) { + var resource BuildServiceAgentPool + err := ctx.ReadResource("azure-native:appplatform/v20220901preview:BuildServiceAgentPool", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type buildServiceAgentPoolState struct { +} + +type BuildServiceAgentPoolState struct { +} + +func (BuildServiceAgentPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolState)(nil)).Elem() +} + +type buildServiceAgentPoolArgs struct { + AgentPoolName *string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + Properties *BuildServiceAgentPoolProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type BuildServiceAgentPoolArgs struct { + AgentPoolName pulumi.StringPtrInput + BuildServiceName pulumi.StringInput + Properties BuildServiceAgentPoolPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (BuildServiceAgentPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*buildServiceAgentPoolArgs)(nil)).Elem() +} + +type BuildServiceAgentPoolInput interface { + pulumi.Input + + ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput + ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput +} + +func (*BuildServiceAgentPool) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return i.ToBuildServiceAgentPoolOutputWithContext(context.Background()) +} + +func (i *BuildServiceAgentPool) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolOutput) +} + +type BuildServiceAgentPoolOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPool)(nil)).Elem() +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutput() BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) ToBuildServiceAgentPoolOutputWithContext(ctx context.Context) BuildServiceAgentPoolOutput { + return o +} + +func (o BuildServiceAgentPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o BuildServiceAgentPoolOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) BuildServiceAgentPoolPropertiesResponseOutput { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o BuildServiceAgentPoolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *BuildServiceAgentPool) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(BuildServiceAgentPoolOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220901preview/configServer.go b/sdk/go/azure/appplatform/v20220901preview/configServer.go new file mode 100644 index 000000000000..74bf46322902 --- /dev/null +++ b/sdk/go/azure/appplatform/v20220901preview/configServer.go @@ -0,0 +1,165 @@ + + + +package v20220901preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ConfigServer struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties ConfigServerPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewConfigServer(ctx *pulumi.Context, + name string, args *ConfigServerArgs, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:ConfigServer"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:ConfigServer"), + }, + }) + opts = append(opts, aliases) + var resource ConfigServer + err := ctx.RegisterResource("azure-native:appplatform/v20220901preview:ConfigServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetConfigServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ConfigServerState, opts ...pulumi.ResourceOption) (*ConfigServer, error) { + var resource ConfigServer + err := ctx.ReadResource("azure-native:appplatform/v20220901preview:ConfigServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type configServerState struct { +} + +type ConfigServerState struct { +} + +func (ConfigServerState) ElementType() reflect.Type { + return reflect.TypeOf((*configServerState)(nil)).Elem() +} + +type configServerArgs struct { + Properties *ConfigServerProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type ConfigServerArgs struct { + Properties ConfigServerPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (ConfigServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*configServerArgs)(nil)).Elem() +} + +type ConfigServerInput interface { + pulumi.Input + + ToConfigServerOutput() ConfigServerOutput + ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput +} + +func (*ConfigServer) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (i *ConfigServer) ToConfigServerOutput() ConfigServerOutput { + return i.ToConfigServerOutputWithContext(context.Background()) +} + +func (i *ConfigServer) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerOutput) +} + +type ConfigServerOutput struct{ *pulumi.OutputState } + +func (ConfigServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServer)(nil)).Elem() +} + +func (o ConfigServerOutput) ToConfigServerOutput() ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) ToConfigServerOutputWithContext(ctx context.Context) ConfigServerOutput { + return o +} + +func (o ConfigServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o ConfigServerOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v *ConfigServer) ConfigServerPropertiesResponseOutput { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o ConfigServerOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *ConfigServer) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o ConfigServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(ConfigServerOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220901preview/getBuildServiceAgentPool.go b/sdk/go/azure/appplatform/v20220901preview/getBuildServiceAgentPool.go new file mode 100644 index 000000000000..700da22fa21e --- /dev/null +++ b/sdk/go/azure/appplatform/v20220901preview/getBuildServiceAgentPool.go @@ -0,0 +1,99 @@ + + + +package v20220901preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupBuildServiceAgentPool(ctx *pulumi.Context, args *LookupBuildServiceAgentPoolArgs, opts ...pulumi.InvokeOption) (*LookupBuildServiceAgentPoolResult, error) { + var rv LookupBuildServiceAgentPoolResult + err := ctx.Invoke("azure-native:appplatform/v20220901preview:getBuildServiceAgentPool", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupBuildServiceAgentPoolArgs struct { + AgentPoolName string `pulumi:"agentPoolName"` + BuildServiceName string `pulumi:"buildServiceName"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupBuildServiceAgentPoolResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties BuildServiceAgentPoolPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupBuildServiceAgentPoolOutput(ctx *pulumi.Context, args LookupBuildServiceAgentPoolOutputArgs, opts ...pulumi.InvokeOption) LookupBuildServiceAgentPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupBuildServiceAgentPoolResult, error) { + args := v.(LookupBuildServiceAgentPoolArgs) + r, err := LookupBuildServiceAgentPool(ctx, &args, opts...) + var s LookupBuildServiceAgentPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupBuildServiceAgentPoolResultOutput) +} + +type LookupBuildServiceAgentPoolOutputArgs struct { + AgentPoolName pulumi.StringInput `pulumi:"agentPoolName"` + BuildServiceName pulumi.StringInput `pulumi:"buildServiceName"` + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupBuildServiceAgentPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolArgs)(nil)).Elem() +} + + +type LookupBuildServiceAgentPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupBuildServiceAgentPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupBuildServiceAgentPoolResult)(nil)).Elem() +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutput() LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) ToLookupBuildServiceAgentPoolResultOutputWithContext(ctx context.Context) LookupBuildServiceAgentPoolResultOutput { + return o +} + +func (o LookupBuildServiceAgentPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Properties() BuildServiceAgentPoolPropertiesResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) BuildServiceAgentPoolPropertiesResponse { return v.Properties }).(BuildServiceAgentPoolPropertiesResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupBuildServiceAgentPoolResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupBuildServiceAgentPoolResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupBuildServiceAgentPoolResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220901preview/getConfigServer.go b/sdk/go/azure/appplatform/v20220901preview/getConfigServer.go new file mode 100644 index 000000000000..89b3362f23fc --- /dev/null +++ b/sdk/go/azure/appplatform/v20220901preview/getConfigServer.go @@ -0,0 +1,95 @@ + + + +package v20220901preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupConfigServer(ctx *pulumi.Context, args *LookupConfigServerArgs, opts ...pulumi.InvokeOption) (*LookupConfigServerResult, error) { + var rv LookupConfigServerResult + err := ctx.Invoke("azure-native:appplatform/v20220901preview:getConfigServer", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupConfigServerArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupConfigServerResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties ConfigServerPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupConfigServerOutput(ctx *pulumi.Context, args LookupConfigServerOutputArgs, opts ...pulumi.InvokeOption) LookupConfigServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupConfigServerResult, error) { + args := v.(LookupConfigServerArgs) + r, err := LookupConfigServer(ctx, &args, opts...) + var s LookupConfigServerResult + if r != nil { + s = *r + } + return s, err + }).(LookupConfigServerResultOutput) +} + +type LookupConfigServerOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupConfigServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerArgs)(nil)).Elem() +} + + +type LookupConfigServerResultOutput struct{ *pulumi.OutputState } + +func (LookupConfigServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupConfigServerResult)(nil)).Elem() +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutput() LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) ToLookupConfigServerResultOutputWithContext(ctx context.Context) LookupConfigServerResultOutput { + return o +} + +func (o LookupConfigServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupConfigServerResultOutput) Properties() ConfigServerPropertiesResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) ConfigServerPropertiesResponse { return v.Properties }).(ConfigServerPropertiesResponseOutput) +} + +func (o LookupConfigServerResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupConfigServerResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupConfigServerResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupConfigServerResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupConfigServerResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220901preview/getMonitoringSetting.go b/sdk/go/azure/appplatform/v20220901preview/getMonitoringSetting.go new file mode 100644 index 000000000000..be2cbce8277b --- /dev/null +++ b/sdk/go/azure/appplatform/v20220901preview/getMonitoringSetting.go @@ -0,0 +1,95 @@ + + + +package v20220901preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMonitoringSetting(ctx *pulumi.Context, args *LookupMonitoringSettingArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringSettingResult, error) { + var rv LookupMonitoringSettingResult + err := ctx.Invoke("azure-native:appplatform/v20220901preview:getMonitoringSetting", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupMonitoringSettingArgs struct { + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type LookupMonitoringSettingResult struct { + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Properties MonitoringSettingPropertiesResponse `pulumi:"properties"` + SystemData SystemDataResponse `pulumi:"systemData"` + Type string `pulumi:"type"` +} + +func LookupMonitoringSettingOutput(ctx *pulumi.Context, args LookupMonitoringSettingOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringSettingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMonitoringSettingResult, error) { + args := v.(LookupMonitoringSettingArgs) + r, err := LookupMonitoringSetting(ctx, &args, opts...) + var s LookupMonitoringSettingResult + if r != nil { + s = *r + } + return s, err + }).(LookupMonitoringSettingResultOutput) +} + +type LookupMonitoringSettingOutputArgs struct { + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupMonitoringSettingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingArgs)(nil)).Elem() +} + + +type LookupMonitoringSettingResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringSettingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringSettingResult)(nil)).Elem() +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutput() LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) ToLookupMonitoringSettingResultOutputWithContext(ctx context.Context) LookupMonitoringSettingResultOutput { + return o +} + +func (o LookupMonitoringSettingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMonitoringSettingResultOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) MonitoringSettingPropertiesResponse { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o LookupMonitoringSettingResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringSettingResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringSettingResultOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220901preview/init.go b/sdk/go/azure/appplatform/v20220901preview/init.go index ccf93e46dba1..44061d22cc18 100644 --- a/sdk/go/azure/appplatform/v20220901preview/init.go +++ b/sdk/go/azure/appplatform/v20220901preview/init.go @@ -29,12 +29,16 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &App{} case "azure-native:appplatform/v20220901preview:Binding": r = &Binding{} + case "azure-native:appplatform/v20220901preview:BuildServiceAgentPool": + r = &BuildServiceAgentPool{} case "azure-native:appplatform/v20220901preview:BuildServiceBuilder": r = &BuildServiceBuilder{} case "azure-native:appplatform/v20220901preview:BuildpackBinding": r = &BuildpackBinding{} case "azure-native:appplatform/v20220901preview:Certificate": r = &Certificate{} + case "azure-native:appplatform/v20220901preview:ConfigServer": + r = &ConfigServer{} case "azure-native:appplatform/v20220901preview:ConfigurationService": r = &ConfigurationService{} case "azure-native:appplatform/v20220901preview:CustomDomain": @@ -47,6 +51,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GatewayCustomDomain{} case "azure-native:appplatform/v20220901preview:GatewayRouteConfig": r = &GatewayRouteConfig{} + case "azure-native:appplatform/v20220901preview:MonitoringSetting": + r = &MonitoringSetting{} case "azure-native:appplatform/v20220901preview:Service": r = &Service{} case "azure-native:appplatform/v20220901preview:ServiceRegistry": diff --git a/sdk/go/azure/appplatform/v20220901preview/monitoringSetting.go b/sdk/go/azure/appplatform/v20220901preview/monitoringSetting.go new file mode 100644 index 000000000000..7126fc34eedd --- /dev/null +++ b/sdk/go/azure/appplatform/v20220901preview/monitoringSetting.go @@ -0,0 +1,165 @@ + + + +package v20220901preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MonitoringSetting struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Properties MonitoringSettingPropertiesResponseOutput `pulumi:"properties"` + SystemData SystemDataResponseOutput `pulumi:"systemData"` + Type pulumi.StringOutput `pulumi:"type"` +} + + +func NewMonitoringSetting(ctx *pulumi.Context, + name string, args *MonitoringSettingArgs, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:appplatform:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20200701:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20201101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210601preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20210901preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220101preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220301preview:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220401:MonitoringSetting"), + }, + { + Type: pulumi.String("azure-native:appplatform/v20220501preview:MonitoringSetting"), + }, + }) + opts = append(opts, aliases) + var resource MonitoringSetting + err := ctx.RegisterResource("azure-native:appplatform/v20220901preview:MonitoringSetting", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + + +func GetMonitoringSetting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringSettingState, opts ...pulumi.ResourceOption) (*MonitoringSetting, error) { + var resource MonitoringSetting + err := ctx.ReadResource("azure-native:appplatform/v20220901preview:MonitoringSetting", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + + +type monitoringSettingState struct { +} + +type MonitoringSettingState struct { +} + +func (MonitoringSettingState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingState)(nil)).Elem() +} + +type monitoringSettingArgs struct { + Properties *MonitoringSettingProperties `pulumi:"properties"` + ResourceGroupName string `pulumi:"resourceGroupName"` + ServiceName string `pulumi:"serviceName"` +} + + +type MonitoringSettingArgs struct { + Properties MonitoringSettingPropertiesPtrInput + ResourceGroupName pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (MonitoringSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringSettingArgs)(nil)).Elem() +} + +type MonitoringSettingInput interface { + pulumi.Input + + ToMonitoringSettingOutput() MonitoringSettingOutput + ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput +} + +func (*MonitoringSetting) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (i *MonitoringSetting) ToMonitoringSettingOutput() MonitoringSettingOutput { + return i.ToMonitoringSettingOutputWithContext(context.Background()) +} + +func (i *MonitoringSetting) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingOutput) +} + +type MonitoringSettingOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSetting)(nil)).Elem() +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutput() MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) ToMonitoringSettingOutputWithContext(ctx context.Context) MonitoringSettingOutput { + return o +} + +func (o MonitoringSettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MonitoringSettingOutput) Properties() MonitoringSettingPropertiesResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) MonitoringSettingPropertiesResponseOutput { return v.Properties }).(MonitoringSettingPropertiesResponseOutput) +} + +func (o MonitoringSettingOutput) SystemData() SystemDataResponseOutput { + return o.ApplyT(func(v *MonitoringSetting) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) +} + +func (o MonitoringSettingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringSetting) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(MonitoringSettingOutput{}) +} diff --git a/sdk/go/azure/appplatform/v20220901preview/pulumiTypes.go b/sdk/go/azure/appplatform/v20220901preview/pulumiTypes.go index 3207f03dfb0c..cc9448f0155c 100644 --- a/sdk/go/azure/appplatform/v20220901preview/pulumiTypes.go +++ b/sdk/go/azure/appplatform/v20220901preview/pulumiTypes.go @@ -1190,6 +1190,61 @@ func (o AppVNetAddonsResponsePtrOutput) PublicEndpointUrl() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } +type ApplicationInsightsAgentVersionsResponse struct { + Java string `pulumi:"java"` +} + +type ApplicationInsightsAgentVersionsResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutput() ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) ToApplicationInsightsAgentVersionsResponseOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponseOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponseOutput) Java() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInsightsAgentVersionsResponse) string { return v.Java }).(pulumi.StringOutput) +} + +type ApplicationInsightsAgentVersionsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInsightsAgentVersionsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInsightsAgentVersionsResponse)(nil)).Elem() +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutput() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) ToApplicationInsightsAgentVersionsResponsePtrOutputWithContext(ctx context.Context) ApplicationInsightsAgentVersionsResponsePtrOutput { + return o +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Elem() ApplicationInsightsAgentVersionsResponseOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) ApplicationInsightsAgentVersionsResponse { + if v != nil { + return *v + } + var ret ApplicationInsightsAgentVersionsResponse + return ret + }).(ApplicationInsightsAgentVersionsResponseOutput) +} + +func (o ApplicationInsightsAgentVersionsResponsePtrOutput) Java() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInsightsAgentVersionsResponse) *string { + if v == nil { + return nil + } + return &v.Java + }).(pulumi.StringPtrOutput) +} + type AzureFileVolume struct { MountOptions []string `pulumi:"mountOptions"` MountPath string `pulumi:"mountPath"` @@ -1726,45 +1781,43 @@ type BuildResultUserSourceInfoResponse struct { Version *string `pulumi:"version"` } -type BuilderProperties struct { - BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` - Stack *StackProperties `pulumi:"stack"` +type BuildServiceAgentPoolProperties struct { + PoolSize *BuildServiceAgentPoolSizeProperties `pulumi:"poolSize"` } -type BuilderPropertiesInput interface { +type BuildServiceAgentPoolPropertiesInput interface { pulumi.Input - ToBuilderPropertiesOutput() BuilderPropertiesOutput - ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput + ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesOutput } -type BuilderPropertiesArgs struct { - BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` - Stack StackPropertiesPtrInput `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesArgs struct { + PoolSize BuildServiceAgentPoolSizePropertiesPtrInput `pulumi:"poolSize"` } -func (BuilderPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { - return i.ToBuilderPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { + return i.ToBuildServiceAgentPoolPropertiesOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolPropertiesArgs) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesOutput).ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx) } @@ -1775,176 +1828,158 @@ func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx conte -type BuilderPropertiesPtrInput interface { +type BuildServiceAgentPoolPropertiesPtrInput interface { pulumi.Input - ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput - ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput + ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolPropertiesPtrOutput } -type builderPropertiesPtrType BuilderPropertiesArgs +type buildServiceAgentPoolPropertiesPtrType BuildServiceAgentPoolPropertiesArgs -func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { - return (*builderPropertiesPtrType)(v) +func BuildServiceAgentPoolPropertiesPtr(v *BuildServiceAgentPoolPropertiesArgs) BuildServiceAgentPoolPropertiesPtrInput { + return (*buildServiceAgentPoolPropertiesPtrType)(v) } -func (*builderPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (*buildServiceAgentPoolPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return i.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) +func (i *buildServiceAgentPoolPropertiesPtrType) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolPropertiesPtrOutput) } -type BuilderPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutput() BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesOutput { return o } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { - return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { + return o.ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(context.Background()) } -func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { +func (o BuildServiceAgentPoolPropertiesOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolProperties { return &v - }).(BuilderPropertiesPtrOutput) -} - -func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesPtrOutput) } -func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) +func (o BuildServiceAgentPoolPropertiesOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { return v.PoolSize }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuilderProperties)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolProperties)(nil)).Elem() } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutput() BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { +func (o BuildServiceAgentPoolPropertiesPtrOutput) ToBuildServiceAgentPoolPropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesPtrOutput { return o } -func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { - return o.ApplyT(func(v *BuilderProperties) BuilderProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) Elem() BuildServiceAgentPoolPropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) BuildServiceAgentPoolProperties { if v != nil { return *v } - var ret BuilderProperties + var ret BuildServiceAgentPoolProperties return ret - }).(BuilderPropertiesOutput) -} - -func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { - return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { - if v == nil { - return nil - } - return v.BuildpackGroups - }).(BuildpacksGroupPropertiesArrayOutput) + }).(BuildServiceAgentPoolPropertiesOutput) } -func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { - return o.ApplyT(func(v *BuilderProperties) *StackProperties { +func (o BuildServiceAgentPoolPropertiesPtrOutput) PoolSize() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolProperties) *BuildServiceAgentPoolSizeProperties { if v == nil { return nil } - return v.Stack - }).(StackPropertiesPtrOutput) + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuilderPropertiesResponse struct { - BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` - ProvisioningState string `pulumi:"provisioningState"` - Stack *StackPropertiesResponse `pulumi:"stack"` +type BuildServiceAgentPoolPropertiesResponse struct { + PoolSize *BuildServiceAgentPoolSizePropertiesResponse `pulumi:"poolSize"` + ProvisioningState string `pulumi:"provisioningState"` } -type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolPropertiesResponse)(nil)).Elem() } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutput() BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { +func (o BuildServiceAgentPoolPropertiesResponseOutput) ToBuildServiceAgentPoolPropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolPropertiesResponseOutput { return o } -func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) -} - -func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) PoolSize() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) *BuildServiceAgentPoolSizePropertiesResponse { + return v.PoolSize + }).(BuildServiceAgentPoolSizePropertiesResponsePtrOutput) } -func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) +func (o BuildServiceAgentPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -type BuildpackBindingLaunchProperties struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizeProperties struct { + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesInput interface { +type BuildServiceAgentPoolSizePropertiesInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput - ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput + ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesOutput } -type BuildpackBindingLaunchPropertiesArgs struct { - Properties pulumi.StringMapInput `pulumi:"properties"` - Secrets pulumi.StringMapInput `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesArgs struct { + Name pulumi.StringPtrInput `pulumi:"name"` } -func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { - return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { + return i.ToBuildServiceAgentPoolSizePropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +func (i BuildServiceAgentPoolSizePropertiesArgs) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesOutput).ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx) } @@ -1955,213 +1990,214 @@ func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchProperties -type BuildpackBindingLaunchPropertiesPtrInput interface { +type BuildServiceAgentPoolSizePropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput - ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput + ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput } -type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs +type buildServiceAgentPoolSizePropertiesPtrType BuildServiceAgentPoolSizePropertiesArgs -func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { - return (*buildpackBindingLaunchPropertiesPtrType)(v) +func BuildServiceAgentPoolSizePropertiesPtr(v *BuildServiceAgentPoolSizePropertiesArgs) BuildServiceAgentPoolSizePropertiesPtrInput { + return (*buildServiceAgentPoolSizePropertiesPtrType)(v) } -func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (*buildServiceAgentPoolSizePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return i.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +func (i *buildServiceAgentPoolSizePropertiesPtrType) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutput() BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesOutput { return o } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildServiceAgentPoolSizeProperties) *BuildServiceAgentPoolSizeProperties { return &v - }).(BuildpackBindingLaunchPropertiesPtrOutput) -} - -func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesPtrOutput) } -func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizeProperties) *string { return v.Name }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizeProperties)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutput() BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) ToBuildServiceAgentPoolSizePropertiesPtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesPtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Elem() BuildServiceAgentPoolSizePropertiesOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) BuildServiceAgentPoolSizeProperties { if v != nil { return *v } - var ret BuildpackBindingLaunchProperties + var ret BuildServiceAgentPoolSizeProperties return ret - }).(BuildpackBindingLaunchPropertiesOutput) -} - -func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.StringMapOutput) + }).(BuildServiceAgentPoolSizePropertiesOutput) } -func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizeProperties) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -type BuildpackBindingLaunchPropertiesResponse struct { - Properties map[string]string `pulumi:"properties"` - Secrets map[string]string `pulumi:"secrets"` +type BuildServiceAgentPoolSizePropertiesResponse struct { + Cpu string `pulumi:"cpu"` + Memory string `pulumi:"memory"` + Name *string `pulumi:"name"` } -type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuildServiceAgentPoolSizePropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +func (BuildServiceAgentPoolSizePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutput() BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) ToBuildServiceAgentPoolSizePropertiesResponseOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponseOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Cpu }).(pulumi.StringOutput) } -func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) string { return v.Memory }).(pulumi.StringOutput) } -type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } +func (o BuildServiceAgentPoolSizePropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildServiceAgentPoolSizePropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} -func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +type BuildServiceAgentPoolSizePropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildServiceAgentPoolSizePropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutput() BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) ToBuildServiceAgentPoolSizePropertiesResponsePtrOutputWithContext(ctx context.Context) BuildServiceAgentPoolSizePropertiesResponsePtrOutput { return o } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Elem() BuildServiceAgentPoolSizePropertiesResponseOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) BuildServiceAgentPoolSizePropertiesResponse { if v != nil { return *v } - var ret BuildpackBindingLaunchPropertiesResponse + var ret BuildServiceAgentPoolSizePropertiesResponse return ret - }).(BuildpackBindingLaunchPropertiesResponseOutput) + }).(BuildServiceAgentPoolSizePropertiesResponseOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Properties - }).(pulumi.StringMapOutput) + return &v.Cpu + }).(pulumi.StringPtrOutput) } -func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { - return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { if v == nil { return nil } - return v.Secrets - }).(pulumi.StringMapOutput) + return &v.Memory + }).(pulumi.StringPtrOutput) } -type BuildpackBindingProperties struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +func (o BuildServiceAgentPoolSizePropertiesResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildServiceAgentPoolSizePropertiesResponse) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +type BuilderProperties struct { + BuildpackGroups []BuildpacksGroupProperties `pulumi:"buildpackGroups"` + Stack *StackProperties `pulumi:"stack"` } -type BuildpackBindingPropertiesInput interface { +type BuilderPropertiesInput interface { pulumi.Input - ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput - ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput + ToBuilderPropertiesOutput() BuilderPropertiesOutput + ToBuilderPropertiesOutputWithContext(context.Context) BuilderPropertiesOutput } -type BuildpackBindingPropertiesArgs struct { - BindingType pulumi.StringPtrInput `pulumi:"bindingType"` - LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +type BuilderPropertiesArgs struct { + BuildpackGroups BuildpacksGroupPropertiesArrayInput `pulumi:"buildpackGroups"` + Stack StackPropertiesPtrInput `pulumi:"stack"` } -func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { - return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutput() BuilderPropertiesOutput { + return i.ToBuilderPropertiesOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +func (i BuilderPropertiesArgs) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +func (i BuilderPropertiesArgs) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesOutput).ToBuilderPropertiesPtrOutputWithContext(ctx) } @@ -2172,492 +2208,1767 @@ func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWit -type BuildpackBindingPropertiesPtrInput interface { +type BuilderPropertiesPtrInput interface { pulumi.Input - ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput - ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput + ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput + ToBuilderPropertiesPtrOutputWithContext(context.Context) BuilderPropertiesPtrOutput } -type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs +type builderPropertiesPtrType BuilderPropertiesArgs -func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { - return (*buildpackBindingPropertiesPtrType)(v) +func BuilderPropertiesPtr(v *BuilderPropertiesArgs) BuilderPropertiesPtrInput { + return (*builderPropertiesPtrType)(v) } -func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (*builderPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return i.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +func (i *builderPropertiesPtrType) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuilderPropertiesPtrOutput) } -type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } +type BuilderPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutput() BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { +func (o BuilderPropertiesOutput) ToBuilderPropertiesOutputWithContext(ctx context.Context) BuilderPropertiesOutput { return o } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { - return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { + return o.ToBuilderPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { +func (o BuilderPropertiesOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuilderProperties) *BuilderProperties { return &v - }).(BuildpackBindingPropertiesPtrOutput) + }).(BuilderPropertiesPtrOutput) } -func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v BuilderProperties) []BuildpacksGroupProperties { return v.BuildpackGroups }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +func (o BuilderPropertiesOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v BuilderProperties) *StackProperties { return v.Stack }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } +type BuilderPropertiesPtrOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +func (BuilderPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuilderProperties)(nil)).Elem() } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutput() BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { +func (o BuilderPropertiesPtrOutput) ToBuilderPropertiesPtrOutputWithContext(ctx context.Context) BuilderPropertiesPtrOutput { return o } -func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { +func (o BuilderPropertiesPtrOutput) Elem() BuilderPropertiesOutput { + return o.ApplyT(func(v *BuilderProperties) BuilderProperties { if v != nil { return *v } - var ret BuildpackBindingProperties + var ret BuilderProperties return ret - }).(BuildpackBindingPropertiesOutput) + }).(BuilderPropertiesOutput) } -func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *string { +func (o BuilderPropertiesPtrOutput) BuildpackGroups() BuildpacksGroupPropertiesArrayOutput { + return o.ApplyT(func(v *BuilderProperties) []BuildpacksGroupProperties { if v == nil { return nil } - return v.BindingType - }).(pulumi.StringPtrOutput) + return v.BuildpackGroups + }).(BuildpacksGroupPropertiesArrayOutput) } -func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { - return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { +func (o BuilderPropertiesPtrOutput) Stack() StackPropertiesPtrOutput { + return o.ApplyT(func(v *BuilderProperties) *StackProperties { if v == nil { return nil } - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesPtrOutput) + return v.Stack + }).(StackPropertiesPtrOutput) } -type BuildpackBindingPropertiesResponse struct { - BindingType *string `pulumi:"bindingType"` - LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` - ProvisioningState string `pulumi:"provisioningState"` +type BuilderPropertiesResponse struct { + BuildpackGroups []BuildpacksGroupPropertiesResponse `pulumi:"buildpackGroups"` + ProvisioningState string `pulumi:"provisioningState"` + Stack *StackPropertiesResponse `pulumi:"stack"` } -type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } +type BuilderPropertiesResponseOutput struct{ *pulumi.OutputState } -func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +func (BuilderPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuilderPropertiesResponse)(nil)).Elem() } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutput() BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { +func (o BuilderPropertiesResponseOutput) ToBuilderPropertiesResponseOutputWithContext(ctx context.Context) BuilderPropertiesResponseOutput { return o } -func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +func (o BuilderPropertiesResponseOutput) BuildpackGroups() BuildpacksGroupPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) []BuildpacksGroupPropertiesResponse { return v.BuildpackGroups }).(BuildpacksGroupPropertiesResponseArrayOutput) } -func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { - return v.LaunchProperties - }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +func (o BuilderPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) } -func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o BuilderPropertiesResponseOutput) Stack() StackPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuilderPropertiesResponse) *StackPropertiesResponse { return v.Stack }).(StackPropertiesResponsePtrOutput) } -type BuildpackProperties struct { - Id *string `pulumi:"id"` +type BuildpackBindingLaunchProperties struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` } -type BuildpackPropertiesInput interface { +type BuildpackBindingLaunchPropertiesInput interface { pulumi.Input - ToBuildpackPropertiesOutput() BuildpackPropertiesOutput - ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput + ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesOutput } -type BuildpackPropertiesArgs struct { - Id pulumi.StringPtrInput `pulumi:"id"` +type BuildpackBindingLaunchPropertiesArgs struct { + Properties pulumi.StringMapInput `pulumi:"properties"` + Secrets pulumi.StringMapInput `pulumi:"secrets"` } -func (BuildpackPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (BuildpackBindingLaunchPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return i.ToBuildpackBindingLaunchPropertiesOutputWithContext(context.Background()) } -func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput) } +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingLaunchPropertiesArgs) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesOutput).ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx) +} -type BuildpackPropertiesArrayInput interface { + + + + + +type BuildpackBindingLaunchPropertiesPtrInput interface { pulumi.Input - ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput - ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput + ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput + ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Context) BuildpackBindingLaunchPropertiesPtrOutput } -type BuildpackPropertiesArray []BuildpackPropertiesInput +type buildpackBindingLaunchPropertiesPtrType BuildpackBindingLaunchPropertiesArgs -func (BuildpackPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func BuildpackBindingLaunchPropertiesPtr(v *BuildpackBindingLaunchPropertiesArgs) BuildpackBindingLaunchPropertiesPtrInput { + return (*buildpackBindingLaunchPropertiesPtrType)(v) } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { - return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +func (*buildpackBindingLaunchPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() } -func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return i.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingLaunchPropertiesPtrType) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingLaunchPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutput() BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingLaunchPropertiesOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingLaunchProperties) *BuildpackBindingLaunchProperties { + return &v + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchProperties) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchProperties)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutput() BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) ToBuildpackBindingLaunchPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Elem() BuildpackBindingLaunchPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) BuildpackBindingLaunchProperties { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchProperties + return ret + }).(BuildpackBindingLaunchPropertiesOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesPtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchProperties) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponse struct { + Properties map[string]string `pulumi:"properties"` + Secrets map[string]string `pulumi:"secrets"` +} + +type BuildpackBindingLaunchPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutput() BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) ToBuildpackBindingLaunchPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponseOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v BuildpackBindingLaunchPropertiesResponse) map[string]string { return v.Secrets }).(pulumi.StringMapOutput) +} + +type BuildpackBindingLaunchPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingLaunchPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingLaunchPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutput() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) ToBuildpackBindingLaunchPropertiesResponsePtrOutputWithContext(ctx context.Context) BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Elem() BuildpackBindingLaunchPropertiesResponseOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) BuildpackBindingLaunchPropertiesResponse { + if v != nil { + return *v + } + var ret BuildpackBindingLaunchPropertiesResponse + return ret + }).(BuildpackBindingLaunchPropertiesResponseOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) +} + +func (o BuildpackBindingLaunchPropertiesResponsePtrOutput) Secrets() pulumi.StringMapOutput { + return o.ApplyT(func(v *BuildpackBindingLaunchPropertiesResponse) map[string]string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringMapOutput) +} + +type BuildpackBindingProperties struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchProperties `pulumi:"launchProperties"` +} + + + + + +type BuildpackBindingPropertiesInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput + ToBuildpackBindingPropertiesOutputWithContext(context.Context) BuildpackBindingPropertiesOutput +} + +type BuildpackBindingPropertiesArgs struct { + BindingType pulumi.StringPtrInput `pulumi:"bindingType"` + LaunchProperties BuildpackBindingLaunchPropertiesPtrInput `pulumi:"launchProperties"` +} + +func (BuildpackBindingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return i.ToBuildpackBindingPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i BuildpackBindingPropertiesArgs) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesOutput).ToBuildpackBindingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type BuildpackBindingPropertiesPtrInput interface { + pulumi.Input + + ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput + ToBuildpackBindingPropertiesPtrOutputWithContext(context.Context) BuildpackBindingPropertiesPtrOutput +} + +type buildpackBindingPropertiesPtrType BuildpackBindingPropertiesArgs + +func BuildpackBindingPropertiesPtr(v *BuildpackBindingPropertiesArgs) BuildpackBindingPropertiesPtrInput { + return (*buildpackBindingPropertiesPtrType)(v) +} + +func (*buildpackBindingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return i.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *buildpackBindingPropertiesPtrType) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackBindingPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutput() BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesOutputWithContext(ctx context.Context) BuildpackBindingPropertiesOutput { + return o +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o.ToBuildpackBindingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o BuildpackBindingPropertiesOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BuildpackBindingProperties) *BuildpackBindingProperties { + return &v + }).(BuildpackBindingPropertiesPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v BuildpackBindingProperties) *BuildpackBindingLaunchProperties { return v.LaunchProperties }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BuildpackBindingProperties)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutput() BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) ToBuildpackBindingPropertiesPtrOutputWithContext(ctx context.Context) BuildpackBindingPropertiesPtrOutput { + return o +} + +func (o BuildpackBindingPropertiesPtrOutput) Elem() BuildpackBindingPropertiesOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) BuildpackBindingProperties { + if v != nil { + return *v + } + var ret BuildpackBindingProperties + return ret + }).(BuildpackBindingPropertiesOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *string { + if v == nil { + return nil + } + return v.BindingType + }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesPtrOutput) LaunchProperties() BuildpackBindingLaunchPropertiesPtrOutput { + return o.ApplyT(func(v *BuildpackBindingProperties) *BuildpackBindingLaunchProperties { + if v == nil { + return nil + } + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesPtrOutput) +} + +type BuildpackBindingPropertiesResponse struct { + BindingType *string `pulumi:"bindingType"` + LaunchProperties *BuildpackBindingLaunchPropertiesResponse `pulumi:"launchProperties"` + ProvisioningState string `pulumi:"provisioningState"` +} + +type BuildpackBindingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackBindingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackBindingPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutput() BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) ToBuildpackBindingPropertiesResponseOutputWithContext(ctx context.Context) BuildpackBindingPropertiesResponseOutput { + return o +} + +func (o BuildpackBindingPropertiesResponseOutput) BindingType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *string { return v.BindingType }).(pulumi.StringPtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) LaunchProperties() BuildpackBindingLaunchPropertiesResponsePtrOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) *BuildpackBindingLaunchPropertiesResponse { + return v.LaunchProperties + }).(BuildpackBindingLaunchPropertiesResponsePtrOutput) +} + +func (o BuildpackBindingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v BuildpackBindingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +type BuildpackProperties struct { + Id *string `pulumi:"id"` +} + + + + + +type BuildpackPropertiesInput interface { + pulumi.Input + + ToBuildpackPropertiesOutput() BuildpackPropertiesOutput + ToBuildpackPropertiesOutputWithContext(context.Context) BuildpackPropertiesOutput +} + +type BuildpackPropertiesArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (BuildpackPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return i.ToBuildpackPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArgs) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesOutput) +} + + + + + +type BuildpackPropertiesArrayInput interface { + pulumi.Input + + ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput + ToBuildpackPropertiesArrayOutputWithContext(context.Context) BuildpackPropertiesArrayOutput +} + +type BuildpackPropertiesArray []BuildpackPropertiesInput + +func (BuildpackPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return i.ToBuildpackPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpackPropertiesArray) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpackPropertiesArrayOutput) +} + +type BuildpackPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { + return o +} + +func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { + return o +} + +func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { + return vs[0].([]BuildpackProperties)[vs[1].(int)] + }).(BuildpackPropertiesOutput) +} + +type BuildpackPropertiesResponse struct { + Id *string `pulumi:"id"` +} + +type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { + return o +} + +func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { + return o +} + +func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { + return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] + }).(BuildpackPropertiesResponseOutput) +} + +type BuildpacksGroupProperties struct { + Buildpacks []BuildpackProperties `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + + + + + +type BuildpacksGroupPropertiesInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput + ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput +} + +type BuildpacksGroupPropertiesArgs struct { + Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +} + + + + + +type BuildpacksGroupPropertiesArrayInput interface { + pulumi.Input + + ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput + ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput +} + +type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput + +func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) +} + +func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) +} + +type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { + return o +} + +func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +} + +func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { + return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] + }).(BuildpacksGroupPropertiesOutput) +} + +type BuildpacksGroupPropertiesResponse struct { + Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` + Name *string `pulumi:"name"` +} + +type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +} + +func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } + +func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { + return o +} + +func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { + return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] + }).(BuildpacksGroupPropertiesResponseOutput) +} + +type ClusterResourceProperties struct { + MarketplaceResource *MarketplaceResource `pulumi:"marketplaceResource"` + NetworkProfile *NetworkProfile `pulumi:"networkProfile"` + VnetAddons *ServiceVNetAddons `pulumi:"vnetAddons"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { + if val == nil { + return nil + } + tmp := *val + tmp.VnetAddons = tmp.VnetAddons.Defaults() + + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + + + + + +type ClusterResourcePropertiesInput interface { + pulumi.Input + + ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput + ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput +} + +type ClusterResourcePropertiesArgs struct { + MarketplaceResource MarketplaceResourcePtrInput `pulumi:"marketplaceResource"` + NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` + VnetAddons ServiceVNetAddonsPtrInput `pulumi:"vnetAddons"` + ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { + if val == nil { + return nil + } + tmp := *val + + if isZero(tmp.ZoneRedundant) { + tmp.ZoneRedundant = pulumi.BoolPtr(false) + } + return &tmp +} +func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type ClusterResourcePropertiesPtrInput interface { + pulumi.Input + + ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput + ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput +} + +type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs + +func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { + return (*clusterResourcePropertiesPtrType)(v) +} + +func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +} + +type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { + return o +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { + return &v + }).(ClusterResourcePropertiesPtrOutput) +} + +func (o ClusterResourcePropertiesOutput) MarketplaceResource() MarketplaceResourcePtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *MarketplaceResource { return v.MarketplaceResource }).(MarketplaceResourcePtrOutput) +} + +func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesOutput) VnetAddons() ServiceVNetAddonsPtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *ServiceVNetAddons { return v.VnetAddons }).(ServiceVNetAddonsPtrOutput) +} + +func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { + return o +} + +func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { + return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { + if v != nil { + return *v + } + var ret ClusterResourceProperties + return ret + }).(ClusterResourcePropertiesOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) MarketplaceResource() MarketplaceResourcePtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *MarketplaceResource { + if v == nil { + return nil + } + return v.MarketplaceResource + }).(MarketplaceResourcePtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { + if v == nil { + return nil + } + return v.NetworkProfile + }).(NetworkProfilePtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) VnetAddons() ServiceVNetAddonsPtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *ServiceVNetAddons { + if v == nil { + return nil + } + return v.VnetAddons + }).(ServiceVNetAddonsPtrOutput) +} + +func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterResourceProperties) *bool { + if v == nil { + return nil + } + return v.ZoneRedundant + }).(pulumi.BoolPtrOutput) +} + +type ClusterResourcePropertiesResponse struct { + Fqdn string `pulumi:"fqdn"` + MarketplaceResource *MarketplaceResourceResponse `pulumi:"marketplaceResource"` + NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` + PowerState string `pulumi:"powerState"` + ProvisioningState string `pulumi:"provisioningState"` + ServiceId string `pulumi:"serviceId"` + Version int `pulumi:"version"` + VnetAddons *ServiceVNetAddonsResponse `pulumi:"vnetAddons"` + ZoneRedundant *bool `pulumi:"zoneRedundant"` +} + + +func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { + if val == nil { + return nil + } + tmp := *val + tmp.VnetAddons = tmp.VnetAddons.Defaults() + + if isZero(tmp.ZoneRedundant) { + zoneRedundant_ := false + tmp.ZoneRedundant = &zoneRedundant_ + } + return &tmp +} + +type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { + return o +} + +func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) MarketplaceResource() MarketplaceResourceResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *MarketplaceResourceResponse { return v.MarketplaceResource }).(MarketplaceResourceResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) VnetAddons() ServiceVNetAddonsResponsePtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *ServiceVNetAddonsResponse { return v.VnetAddons }).(ServiceVNetAddonsResponsePtrOutput) +} + +func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +} + +type ConfigServerGitProperty struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepository `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type ConfigServerGitPropertyInput interface { + pulumi.Input + + ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput + ToConfigServerGitPropertyOutputWithContext(context.Context) ConfigServerGitPropertyOutput +} + +type ConfigServerGitPropertyArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Password pulumi.StringPtrInput `pulumi:"password"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + Repositories GitPatternRepositoryArrayInput `pulumi:"repositories"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (ConfigServerGitPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return i.ToConfigServerGitPropertyOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i ConfigServerGitPropertyArgs) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyOutput).ToConfigServerGitPropertyPtrOutputWithContext(ctx) +} + + + + + + + + + +type ConfigServerGitPropertyPtrInput interface { + pulumi.Input + + ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput + ToConfigServerGitPropertyPtrOutputWithContext(context.Context) ConfigServerGitPropertyPtrOutput +} + +type configServerGitPropertyPtrType ConfigServerGitPropertyArgs + +func ConfigServerGitPropertyPtr(v *ConfigServerGitPropertyArgs) ConfigServerGitPropertyPtrInput { + return (*configServerGitPropertyPtrType)(v) +} + +func (*configServerGitPropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return i.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (i *configServerGitPropertyPtrType) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerGitPropertyPtrOutput) +} + +type ConfigServerGitPropertyOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutput() ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyOutputWithContext(ctx context.Context) ConfigServerGitPropertyOutput { + return o +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o.ToConfigServerGitPropertyPtrOutputWithContext(context.Background()) +} + +func (o ConfigServerGitPropertyOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerGitProperty) *ConfigServerGitProperty { + return &v + }).(ConfigServerGitPropertyPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []GitPatternRepository { return v.Repositories }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitProperty) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitProperty) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o ConfigServerGitPropertyOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitProperty) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitProperty)(nil)).Elem() +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutput() ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) ToConfigServerGitPropertyPtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyPtrOutput { + return o +} + +func (o ConfigServerGitPropertyPtrOutput) Elem() ConfigServerGitPropertyOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) ConfigServerGitProperty { + if v != nil { + return *v + } + var ret ConfigServerGitProperty + return ret + }).(ConfigServerGitPropertyOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Repositories() GitPatternRepositoryArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []GitPatternRepository { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitProperty) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ConfigServerGitPropertyResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Password *string `pulumi:"password"` + PrivateKey *string `pulumi:"privateKey"` + Repositories []GitPatternRepositoryResponse `pulumi:"repositories"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + +type ConfigServerGitPropertyResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerGitPropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerGitPropertyResponse)(nil)).Elem() +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutput() ConfigServerGitPropertyResponseOutput { + return o +} + +func (o ConfigServerGitPropertyResponseOutput) ToConfigServerGitPropertyResponseOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponseOutput { + return o +} + +func (o ConfigServerGitPropertyResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o ConfigServerGitPropertyResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponseOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { return v.Repositories }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackProperties)(nil)).Elem() +func (o ConfigServerGitPropertyResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutput() BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesOutput) ToBuildpackPropertiesOutputWithContext(ctx context.Context) BuildpackPropertiesOutput { - return o +func (o ConfigServerGitPropertyResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o BuildpackPropertiesOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackProperties) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConfigServerGitPropertyResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerGitPropertyResponsePtrOutput struct{ *pulumi.OutputState } -func (BuildpackPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackProperties)(nil)).Elem() +func (ConfigServerGitPropertyResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerGitPropertyResponse)(nil)).Elem() } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutput() BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutput() ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) ToBuildpackPropertiesArrayOutputWithContext(ctx context.Context) BuildpackPropertiesArrayOutput { +func (o ConfigServerGitPropertyResponsePtrOutput) ToConfigServerGitPropertyResponsePtrOutputWithContext(ctx context.Context) ConfigServerGitPropertyResponsePtrOutput { return o } -func (o BuildpackPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackProperties { - return vs[0].([]BuildpackProperties)[vs[1].(int)] - }).(BuildpackPropertiesOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Elem() ConfigServerGitPropertyResponseOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) ConfigServerGitPropertyResponse { + if v != nil { + return *v + } + var ret ConfigServerGitPropertyResponse + return ret + }).(ConfigServerGitPropertyResponseOutput) } -type BuildpackPropertiesResponse struct { - Id *string `pulumi:"id"` +func (o ConfigServerGitPropertyResponsePtrOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (BuildpackPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.HostKeyAlgorithm + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutput() BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) ToBuildpackPropertiesResponseOutputWithContext(ctx context.Context) BuildpackPropertiesResponseOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpackPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -type BuildpackPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerGitPropertyResponsePtrOutput) Repositories() GitPatternRepositoryResponseArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []GitPatternRepositoryResponse { + if v == nil { + return nil + } + return v.Repositories + }).(GitPatternRepositoryResponseArrayOutput) +} -func (BuildpackPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpackPropertiesResponse)(nil)).Elem() +func (o ConfigServerGitPropertyResponsePtrOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) []string { + if v == nil { + return nil + } + return v.SearchPaths + }).(pulumi.StringArrayOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutput() BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *bool { + if v == nil { + return nil + } + return v.StrictHostKeyChecking + }).(pulumi.BoolPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) ToBuildpackPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpackPropertiesResponseArrayOutput { - return o +func (o ConfigServerGitPropertyResponsePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return &v.Uri + }).(pulumi.StringPtrOutput) } -func (o BuildpackPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpackPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpackPropertiesResponse { - return vs[0].([]BuildpackPropertiesResponse)[vs[1].(int)] - }).(BuildpackPropertiesResponseOutput) +func (o ConfigServerGitPropertyResponsePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigServerGitPropertyResponse) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type BuildpacksGroupProperties struct { - Buildpacks []BuildpackProperties `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +type ConfigServerProperties struct { + ConfigServer *ConfigServerSettings `pulumi:"configServer"` + Error *Error `pulumi:"error"` } -type BuildpacksGroupPropertiesInput interface { +type ConfigServerPropertiesInput interface { pulumi.Input - ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput - ToBuildpacksGroupPropertiesOutputWithContext(context.Context) BuildpacksGroupPropertiesOutput + ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput + ToConfigServerPropertiesOutputWithContext(context.Context) ConfigServerPropertiesOutput } -type BuildpacksGroupPropertiesArgs struct { - Buildpacks BuildpackPropertiesArrayInput `pulumi:"buildpacks"` - Name pulumi.StringPtrInput `pulumi:"name"` +type ConfigServerPropertiesArgs struct { + ConfigServer ConfigServerSettingsPtrInput `pulumi:"configServer"` + Error ErrorPtrInput `pulumi:"error"` } -func (BuildpacksGroupPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return i.ToBuildpacksGroupPropertiesOutputWithContext(context.Background()) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { + return i.ToConfigServerPropertiesOutputWithContext(context.Background()) } -func (i BuildpacksGroupPropertiesArgs) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesOutput) +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput) } +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) +} +func (i ConfigServerPropertiesArgs) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesOutput).ToConfigServerPropertiesPtrOutputWithContext(ctx) +} -type BuildpacksGroupPropertiesArrayInput interface { - pulumi.Input - ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput - ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Context) BuildpacksGroupPropertiesArrayOutput -} -type BuildpacksGroupPropertiesArray []BuildpacksGroupPropertiesInput -func (BuildpacksGroupPropertiesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { - return i.ToBuildpacksGroupPropertiesArrayOutputWithContext(context.Background()) -} -func (i BuildpacksGroupPropertiesArray) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BuildpacksGroupPropertiesArrayOutput) -} -type BuildpacksGroupPropertiesOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesPtrInput interface { + pulumi.Input -func (BuildpacksGroupPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupProperties)(nil)).Elem() + ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput + ToConfigServerPropertiesPtrOutputWithContext(context.Context) ConfigServerPropertiesPtrOutput } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutput() BuildpacksGroupPropertiesOutput { - return o +type configServerPropertiesPtrType ConfigServerPropertiesArgs + +func ConfigServerPropertiesPtr(v *ConfigServerPropertiesArgs) ConfigServerPropertiesPtrInput { + return (*configServerPropertiesPtrType)(v) } -func (o BuildpacksGroupPropertiesOutput) ToBuildpacksGroupPropertiesOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesOutput { - return o +func (*configServerPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesOutput) Buildpacks() BuildpackPropertiesArrayOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) []BuildpackProperties { return v.Buildpacks }).(BuildpackPropertiesArrayOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return i.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -func (o BuildpacksGroupPropertiesOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupProperties) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i *configServerPropertiesPtrType) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesArrayOutput struct{ *pulumi.OutputState } +type ConfigServerPropertiesOutput struct{ *pulumi.OutputState } -func (BuildpacksGroupPropertiesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupProperties)(nil)).Elem() +func (ConfigServerPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerProperties)(nil)).Elem() } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutput() BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutput() ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) ToBuildpacksGroupPropertiesArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesArrayOutput { +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesOutputWithContext(ctx context.Context) ConfigServerPropertiesOutput { return o } -func (o BuildpacksGroupPropertiesArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupProperties { - return vs[0].([]BuildpacksGroupProperties)[vs[1].(int)] - }).(BuildpacksGroupPropertiesOutput) +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { + return o.ToConfigServerPropertiesPtrOutputWithContext(context.Background()) } -type BuildpacksGroupPropertiesResponse struct { - Buildpacks []BuildpackPropertiesResponse `pulumi:"buildpacks"` - Name *string `pulumi:"name"` +func (o ConfigServerPropertiesOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerProperties) *ConfigServerProperties { + return &v + }).(ConfigServerPropertiesPtrOutput) } -type BuildpacksGroupPropertiesResponseOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *ConfigServerSettings { return v.ConfigServer }).(ConfigServerSettingsPtrOutput) +} -func (BuildpacksGroupPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BuildpacksGroupPropertiesResponse)(nil)).Elem() +func (o ConfigServerPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v ConfigServerProperties) *Error { return v.Error }).(ErrorPtrOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutput() BuildpacksGroupPropertiesResponseOutput { +type ConfigServerPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerProperties)(nil)).Elem() +} + +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutput() ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) ToBuildpacksGroupPropertiesResponseOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseOutput { +func (o ConfigServerPropertiesPtrOutput) ToConfigServerPropertiesPtrOutputWithContext(ctx context.Context) ConfigServerPropertiesPtrOutput { return o } -func (o BuildpacksGroupPropertiesResponseOutput) Buildpacks() BuildpackPropertiesResponseArrayOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) []BuildpackPropertiesResponse { return v.Buildpacks }).(BuildpackPropertiesResponseArrayOutput) +func (o ConfigServerPropertiesPtrOutput) Elem() ConfigServerPropertiesOutput { + return o.ApplyT(func(v *ConfigServerProperties) ConfigServerProperties { + if v != nil { + return *v + } + var ret ConfigServerProperties + return ret + }).(ConfigServerPropertiesOutput) } -func (o BuildpacksGroupPropertiesResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v BuildpacksGroupPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ConfigServerPropertiesPtrOutput) ConfigServer() ConfigServerSettingsPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *ConfigServerSettings { + if v == nil { + return nil + } + return v.ConfigServer + }).(ConfigServerSettingsPtrOutput) } -type BuildpacksGroupPropertiesResponseArrayOutput struct{ *pulumi.OutputState } +func (o ConfigServerPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *ConfigServerProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} -func (BuildpacksGroupPropertiesResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BuildpacksGroupPropertiesResponse)(nil)).Elem() +type ConfigServerPropertiesResponse struct { + ConfigServer *ConfigServerSettingsResponse `pulumi:"configServer"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutput() BuildpacksGroupPropertiesResponseArrayOutput { - return o +type ConfigServerPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ConfigServerPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerPropertiesResponse)(nil)).Elem() } -func (o BuildpacksGroupPropertiesResponseArrayOutput) ToBuildpacksGroupPropertiesResponseArrayOutputWithContext(ctx context.Context) BuildpacksGroupPropertiesResponseArrayOutput { +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutput() ConfigServerPropertiesResponseOutput { return o } -func (o BuildpacksGroupPropertiesResponseArrayOutput) Index(i pulumi.IntInput) BuildpacksGroupPropertiesResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildpacksGroupPropertiesResponse { - return vs[0].([]BuildpacksGroupPropertiesResponse)[vs[1].(int)] - }).(BuildpacksGroupPropertiesResponseOutput) +func (o ConfigServerPropertiesResponseOutput) ToConfigServerPropertiesResponseOutputWithContext(ctx context.Context) ConfigServerPropertiesResponseOutput { + return o } -type ClusterResourceProperties struct { - MarketplaceResource *MarketplaceResource `pulumi:"marketplaceResource"` - NetworkProfile *NetworkProfile `pulumi:"networkProfile"` - VnetAddons *ServiceVNetAddons `pulumi:"vnetAddons"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` +func (o ConfigServerPropertiesResponseOutput) ConfigServer() ConfigServerSettingsResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ConfigServerSettingsResponse { return v.ConfigServer }).(ConfigServerSettingsResponsePtrOutput) } +func (o ConfigServerPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} -func (val *ClusterResourceProperties) Defaults() *ClusterResourceProperties { - if val == nil { - return nil - } - tmp := *val - tmp.VnetAddons = tmp.VnetAddons.Defaults() +func (o ConfigServerPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ConfigServerPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettings struct { + GitProperty *ConfigServerGitProperty `pulumi:"gitProperty"` } -type ClusterResourcePropertiesInput interface { +type ConfigServerSettingsInput interface { pulumi.Input - ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput - ToClusterResourcePropertiesOutputWithContext(context.Context) ClusterResourcePropertiesOutput + ToConfigServerSettingsOutput() ConfigServerSettingsOutput + ToConfigServerSettingsOutputWithContext(context.Context) ConfigServerSettingsOutput } -type ClusterResourcePropertiesArgs struct { - MarketplaceResource MarketplaceResourcePtrInput `pulumi:"marketplaceResource"` - NetworkProfile NetworkProfilePtrInput `pulumi:"networkProfile"` - VnetAddons ServiceVNetAddonsPtrInput `pulumi:"vnetAddons"` - ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` +type ConfigServerSettingsArgs struct { + GitProperty ConfigServerGitPropertyPtrInput `pulumi:"gitProperty"` } - -func (val *ClusterResourcePropertiesArgs) Defaults() *ClusterResourcePropertiesArgs { - if val == nil { - return nil - } - tmp := *val - - if isZero(tmp.ZoneRedundant) { - tmp.ZoneRedundant = pulumi.BoolPtr(false) - } - return &tmp -} -func (ClusterResourcePropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { - return i.ToClusterResourcePropertiesOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return i.ToConfigServerSettingsOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesOutput).ToClusterResourcePropertiesPtrOutputWithContext(ctx) +func (i ConfigServerSettingsArgs) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsOutput).ToConfigServerSettingsPtrOutputWithContext(ctx) } @@ -2668,206 +3979,145 @@ func (i ClusterResourcePropertiesArgs) ToClusterResourcePropertiesPtrOutputWithC -type ClusterResourcePropertiesPtrInput interface { +type ConfigServerSettingsPtrInput interface { pulumi.Input - ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput - ToClusterResourcePropertiesPtrOutputWithContext(context.Context) ClusterResourcePropertiesPtrOutput -} - -type clusterResourcePropertiesPtrType ClusterResourcePropertiesArgs - -func ClusterResourcePropertiesPtr(v *ClusterResourcePropertiesArgs) ClusterResourcePropertiesPtrInput { - return (*clusterResourcePropertiesPtrType)(v) -} - -func (*clusterResourcePropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() + ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput + ToConfigServerSettingsPtrOutputWithContext(context.Context) ConfigServerSettingsPtrOutput } -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return i.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) -} +type configServerSettingsPtrType ConfigServerSettingsArgs -func (i *clusterResourcePropertiesPtrType) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterResourcePropertiesPtrOutput) +func ConfigServerSettingsPtr(v *ConfigServerSettingsArgs) ConfigServerSettingsPtrInput { + return (*configServerSettingsPtrType)(v) } -type ClusterResourcePropertiesOutput struct{ *pulumi.OutputState } - -func (ClusterResourcePropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourceProperties)(nil)).Elem() +func (*configServerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutput() ClusterResourcePropertiesOutput { - return o +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return i.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } - -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesOutputWithContext(ctx context.Context) ClusterResourcePropertiesOutput { - return o + +func (i *configServerSettingsPtrType) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigServerSettingsPtrOutput) } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { - return o.ToClusterResourcePropertiesPtrOutputWithContext(context.Background()) +type ConfigServerSettingsOutput struct{ *pulumi.OutputState } + +func (ConfigServerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterResourceProperties) *ClusterResourceProperties { - return &v - }).(ClusterResourcePropertiesPtrOutput) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutput() ConfigServerSettingsOutput { + return o } -func (o ClusterResourcePropertiesOutput) MarketplaceResource() MarketplaceResourcePtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *MarketplaceResource { return v.MarketplaceResource }).(MarketplaceResourcePtrOutput) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsOutputWithContext(ctx context.Context) ConfigServerSettingsOutput { + return o } -func (o ClusterResourcePropertiesOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *NetworkProfile { return v.NetworkProfile }).(NetworkProfilePtrOutput) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { + return o.ToConfigServerSettingsPtrOutputWithContext(context.Background()) } -func (o ClusterResourcePropertiesOutput) VnetAddons() ServiceVNetAddonsPtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *ServiceVNetAddons { return v.VnetAddons }).(ServiceVNetAddonsPtrOutput) +func (o ConfigServerSettingsOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConfigServerSettings) *ConfigServerSettings { + return &v + }).(ConfigServerSettingsPtrOutput) } -func (o ClusterResourcePropertiesOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourceProperties) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v ConfigServerSettings) *ConfigServerGitProperty { return v.GitProperty }).(ConfigServerGitPropertyPtrOutput) } -type ClusterResourcePropertiesPtrOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsPtrOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterResourceProperties)(nil)).Elem() +func (ConfigServerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettings)(nil)).Elem() } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutput() ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutput() ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) ToClusterResourcePropertiesPtrOutputWithContext(ctx context.Context) ClusterResourcePropertiesPtrOutput { +func (o ConfigServerSettingsPtrOutput) ToConfigServerSettingsPtrOutputWithContext(ctx context.Context) ConfigServerSettingsPtrOutput { return o } -func (o ClusterResourcePropertiesPtrOutput) Elem() ClusterResourcePropertiesOutput { - return o.ApplyT(func(v *ClusterResourceProperties) ClusterResourceProperties { +func (o ConfigServerSettingsPtrOutput) Elem() ConfigServerSettingsOutput { + return o.ApplyT(func(v *ConfigServerSettings) ConfigServerSettings { if v != nil { return *v } - var ret ClusterResourceProperties + var ret ConfigServerSettings return ret - }).(ClusterResourcePropertiesOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) MarketplaceResource() MarketplaceResourcePtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *MarketplaceResource { - if v == nil { - return nil - } - return v.MarketplaceResource - }).(MarketplaceResourcePtrOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) NetworkProfile() NetworkProfilePtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *NetworkProfile { - if v == nil { - return nil - } - return v.NetworkProfile - }).(NetworkProfilePtrOutput) -} - -func (o ClusterResourcePropertiesPtrOutput) VnetAddons() ServiceVNetAddonsPtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *ServiceVNetAddons { - if v == nil { - return nil - } - return v.VnetAddons - }).(ServiceVNetAddonsPtrOutput) + }).(ConfigServerSettingsOutput) } -func (o ClusterResourcePropertiesPtrOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterResourceProperties) *bool { +func (o ConfigServerSettingsPtrOutput) GitProperty() ConfigServerGitPropertyPtrOutput { + return o.ApplyT(func(v *ConfigServerSettings) *ConfigServerGitProperty { if v == nil { return nil } - return v.ZoneRedundant - }).(pulumi.BoolPtrOutput) -} - -type ClusterResourcePropertiesResponse struct { - Fqdn string `pulumi:"fqdn"` - MarketplaceResource *MarketplaceResourceResponse `pulumi:"marketplaceResource"` - NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"` - PowerState string `pulumi:"powerState"` - ProvisioningState string `pulumi:"provisioningState"` - ServiceId string `pulumi:"serviceId"` - Version int `pulumi:"version"` - VnetAddons *ServiceVNetAddonsResponse `pulumi:"vnetAddons"` - ZoneRedundant *bool `pulumi:"zoneRedundant"` + return v.GitProperty + }).(ConfigServerGitPropertyPtrOutput) } - -func (val *ClusterResourcePropertiesResponse) Defaults() *ClusterResourcePropertiesResponse { - if val == nil { - return nil - } - tmp := *val - tmp.VnetAddons = tmp.VnetAddons.Defaults() - - if isZero(tmp.ZoneRedundant) { - zoneRedundant_ := false - tmp.ZoneRedundant = &zoneRedundant_ - } - return &tmp +type ConfigServerSettingsResponse struct { + GitProperty *ConfigServerGitPropertyResponse `pulumi:"gitProperty"` } -type ClusterResourcePropertiesResponseOutput struct{ *pulumi.OutputState } +type ConfigServerSettingsResponseOutput struct{ *pulumi.OutputState } -func (ClusterResourcePropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterResourcePropertiesResponse)(nil)).Elem() +func (ConfigServerSettingsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutput() ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutput() ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) ToClusterResourcePropertiesResponseOutputWithContext(ctx context.Context) ClusterResourcePropertiesResponseOutput { +func (o ConfigServerSettingsResponseOutput) ToConfigServerSettingsResponseOutputWithContext(ctx context.Context) ConfigServerSettingsResponseOutput { return o } -func (o ClusterResourcePropertiesResponseOutput) Fqdn() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.Fqdn }).(pulumi.StringOutput) -} - -func (o ClusterResourcePropertiesResponseOutput) MarketplaceResource() MarketplaceResourceResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *MarketplaceResourceResponse { return v.MarketplaceResource }).(MarketplaceResourceResponsePtrOutput) -} - -func (o ClusterResourcePropertiesResponseOutput) NetworkProfile() NetworkProfileResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *NetworkProfileResponse { return v.NetworkProfile }).(NetworkProfileResponsePtrOutput) +func (o ConfigServerSettingsResponseOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { return v.GitProperty }).(ConfigServerGitPropertyResponsePtrOutput) } -func (o ClusterResourcePropertiesResponseOutput) PowerState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.PowerState }).(pulumi.StringOutput) -} +type ConfigServerSettingsResponsePtrOutput struct{ *pulumi.OutputState } -func (o ClusterResourcePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (ConfigServerSettingsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConfigServerSettingsResponse)(nil)).Elem() } -func (o ClusterResourcePropertiesResponseOutput) ServiceId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) string { return v.ServiceId }).(pulumi.StringOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutput() ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) Version() pulumi.IntOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) int { return v.Version }).(pulumi.IntOutput) +func (o ConfigServerSettingsResponsePtrOutput) ToConfigServerSettingsResponsePtrOutputWithContext(ctx context.Context) ConfigServerSettingsResponsePtrOutput { + return o } -func (o ClusterResourcePropertiesResponseOutput) VnetAddons() ServiceVNetAddonsResponsePtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *ServiceVNetAddonsResponse { return v.VnetAddons }).(ServiceVNetAddonsResponsePtrOutput) +func (o ConfigServerSettingsResponsePtrOutput) Elem() ConfigServerSettingsResponseOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) ConfigServerSettingsResponse { + if v != nil { + return *v + } + var ret ConfigServerSettingsResponse + return ret + }).(ConfigServerSettingsResponseOutput) } -func (o ClusterResourcePropertiesResponseOutput) ZoneRedundant() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterResourcePropertiesResponse) *bool { return v.ZoneRedundant }).(pulumi.BoolPtrOutput) +func (o ConfigServerSettingsResponsePtrOutput) GitProperty() ConfigServerGitPropertyResponsePtrOutput { + return o.ApplyT(func(v *ConfigServerSettingsResponse) *ConfigServerGitPropertyResponse { + if v == nil { + return nil + } + return v.GitProperty + }).(ConfigServerGitPropertyResponsePtrOutput) } type ConfigurationServiceGitProperty struct { @@ -5047,26 +6297,243 @@ func (o DeploymentSettingsResponsePtrOutput) ResourceRequests() ResourceRequests if v == nil { return nil } - return v.ResourceRequests - }).(ResourceRequestsResponsePtrOutput) + return v.ResourceRequests + }).(ResourceRequestsResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) StartupProbe() ProbeResponsePtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { + if v == nil { + return nil + } + return v.StartupProbe + }).(ProbeResponsePtrOutput) +} + +func (o DeploymentSettingsResponsePtrOutput) TerminationGracePeriodSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSettingsResponse) *int { + if v == nil { + return nil + } + return v.TerminationGracePeriodSeconds + }).(pulumi.IntPtrOutput) +} + +type Error struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + + + + + +type ErrorInput interface { + pulumi.Input + + ToErrorOutput() ErrorOutput + ToErrorOutputWithContext(context.Context) ErrorOutput +} + +type ErrorArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (ErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (i ErrorArgs) ToErrorOutput() ErrorOutput { + return i.ToErrorOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput) +} + +func (i ErrorArgs) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i ErrorArgs) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorOutput).ToErrorPtrOutputWithContext(ctx) +} + + + + + + + + + +type ErrorPtrInput interface { + pulumi.Input + + ToErrorPtrOutput() ErrorPtrOutput + ToErrorPtrOutputWithContext(context.Context) ErrorPtrOutput +} + +type errorPtrType ErrorArgs + +func ErrorPtr(v *ErrorArgs) ErrorPtrInput { + return (*errorPtrType)(v) +} + +func (*errorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (i *errorPtrType) ToErrorPtrOutput() ErrorPtrOutput { + return i.ToErrorPtrOutputWithContext(context.Background()) +} + +func (i *errorPtrType) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ErrorPtrOutput) +} + +type ErrorOutput struct{ *pulumi.OutputState } + +func (ErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Error)(nil)).Elem() +} + +func (o ErrorOutput) ToErrorOutput() ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorOutputWithContext(ctx context.Context) ErrorOutput { + return o +} + +func (o ErrorOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o.ToErrorPtrOutputWithContext(context.Background()) +} + +func (o ErrorOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Error) *Error { + return &v + }).(ErrorPtrOutput) +} + +func (o ErrorOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v Error) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorPtrOutput struct{ *pulumi.OutputState } + +func (ErrorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Error)(nil)).Elem() +} + +func (o ErrorPtrOutput) ToErrorPtrOutput() ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) ToErrorPtrOutputWithContext(ctx context.Context) ErrorPtrOutput { + return o +} + +func (o ErrorPtrOutput) Elem() ErrorOutput { + return o.ApplyT(func(v *Error) Error { + if v != nil { + return *v + } + var ret Error + return ret + }).(ErrorOutput) +} + +func (o ErrorPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o ErrorPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Error) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type ErrorResponse struct { + Code *string `pulumi:"code"` + Message *string `pulumi:"message"` +} + +type ErrorResponseOutput struct{ *pulumi.OutputState } + +func (ErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput { + return o +} + +func (o ErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o ErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (ErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ErrorResponse)(nil)).Elem() +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput { + return o +} + +func (o ErrorResponsePtrOutput) Elem() ErrorResponseOutput { + return o.ApplyT(func(v *ErrorResponse) ErrorResponse { + if v != nil { + return *v + } + var ret ErrorResponse + return ret + }).(ErrorResponseOutput) } -func (o DeploymentSettingsResponsePtrOutput) StartupProbe() ProbeResponsePtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *ProbeResponse { +func (o ErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.StartupProbe - }).(ProbeResponsePtrOutput) + return v.Code + }).(pulumi.StringPtrOutput) } -func (o DeploymentSettingsResponsePtrOutput) TerminationGracePeriodSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DeploymentSettingsResponse) *int { +func (o ErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ErrorResponse) *string { if v == nil { return nil } - return v.TerminationGracePeriodSeconds - }).(pulumi.IntPtrOutput) + return v.Message + }).(pulumi.StringPtrOutput) } type ExecAction struct { @@ -7063,186 +8530,432 @@ func (i GatewayRouteConfigPropertiesArgs) ToGatewayRouteConfigPropertiesPtrOutpu -type GatewayRouteConfigPropertiesPtrInput interface { - pulumi.Input +type GatewayRouteConfigPropertiesPtrInput interface { + pulumi.Input + + ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput + ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +} + +type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs + +func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { + return (*gatewayRouteConfigPropertiesPtrType)(v) +} + +func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +} + +type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { + return o +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +} + +func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { + return &v + }).(GatewayRouteConfigPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { return v.OpenApi }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.Protocol }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { + return o +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { + if v != nil { + return *v + } + var ret GatewayRouteConfigProperties + return ret + }).(GatewayRouteConfigPropertiesOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { + if v == nil { + return nil + } + return v.AppResourceId + }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { + if v == nil { + return nil + } + return v.OpenApi + }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { + if v == nil { + return nil + } + return v.Protocol + }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { + return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { + if v == nil { + return nil + } + return v.Routes + }).(GatewayApiRouteArrayOutput) +} + +type GatewayRouteConfigPropertiesResponse struct { + AppResourceId *string `pulumi:"appResourceId"` + OpenApi *GatewayRouteConfigOpenApiPropertiesResponse `pulumi:"openApi"` + Protocol *string `pulumi:"protocol"` + ProvisioningState string `pulumi:"provisioningState"` + Routes []GatewayApiRouteResponse `pulumi:"routes"` +} + + +func (val *GatewayRouteConfigPropertiesResponse) Defaults() *GatewayRouteConfigPropertiesResponse { + if val == nil { + return nil + } + tmp := *val + if isZero(tmp.Protocol) { + protocol_ := "HTTP" + tmp.Protocol = &protocol_ + } + return &tmp +} + +type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { + return o +} + +func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesResponsePtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *GatewayRouteConfigOpenApiPropertiesResponse { + return v.OpenApi + }).(GatewayRouteConfigOpenApiPropertiesResponsePtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { + return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +} + +type GitPatternRepository struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` +} + + + + + +type GitPatternRepositoryInput interface { + pulumi.Input + + ToGitPatternRepositoryOutput() GitPatternRepositoryOutput + ToGitPatternRepositoryOutputWithContext(context.Context) GitPatternRepositoryOutput +} + +type GitPatternRepositoryArgs struct { + HostKey pulumi.StringPtrInput `pulumi:"hostKey"` + HostKeyAlgorithm pulumi.StringPtrInput `pulumi:"hostKeyAlgorithm"` + Label pulumi.StringPtrInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringPtrInput `pulumi:"password"` + Pattern pulumi.StringArrayInput `pulumi:"pattern"` + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + SearchPaths pulumi.StringArrayInput `pulumi:"searchPaths"` + StrictHostKeyChecking pulumi.BoolPtrInput `pulumi:"strictHostKeyChecking"` + Uri pulumi.StringInput `pulumi:"uri"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GitPatternRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return i.ToGitPatternRepositoryOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArgs) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryOutput) +} + + + + + +type GitPatternRepositoryArrayInput interface { + pulumi.Input + + ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput + ToGitPatternRepositoryArrayOutputWithContext(context.Context) GitPatternRepositoryArrayOutput +} + +type GitPatternRepositoryArray []GitPatternRepositoryInput + +func (GitPatternRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return i.ToGitPatternRepositoryArrayOutputWithContext(context.Background()) +} + +func (i GitPatternRepositoryArray) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GitPatternRepositoryArrayOutput) +} + +type GitPatternRepositoryOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepository)(nil)).Elem() +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutput() GitPatternRepositoryOutput { + return o +} + +func (o GitPatternRepositoryOutput) ToGitPatternRepositoryOutputWithContext(ctx context.Context) GitPatternRepositoryOutput { + return o +} - ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput - ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Context) GatewayRouteConfigPropertiesPtrOutput +func (o GitPatternRepositoryOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -type gatewayRouteConfigPropertiesPtrType GatewayRouteConfigPropertiesArgs +func (o GitPatternRepositoryOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) +} -func GatewayRouteConfigPropertiesPtr(v *GatewayRouteConfigPropertiesArgs) GatewayRouteConfigPropertiesPtrInput { - return (*gatewayRouteConfigPropertiesPtrType)(v) +func (o GitPatternRepositoryOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (*gatewayRouteConfigPropertiesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Name }).(pulumi.StringOutput) } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return i.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (i *gatewayRouteConfigPropertiesPtrType) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayRouteConfigPropertiesPtrOutput) +func (o GitPatternRepositoryOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.Pattern }).(pulumi.StringArrayOutput) } -type GatewayRouteConfigPropertiesOutput struct{ *pulumi.OutputState } +func (o GitPatternRepositoryOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} -func (GatewayRouteConfigPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigProperties)(nil)).Elem() +func (o GitPatternRepositoryOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepository) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutput() GatewayRouteConfigPropertiesOutput { - return o +func (o GitPatternRepositoryOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesOutput { - return o +func (o GitPatternRepositoryOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepository) string { return v.Uri }).(pulumi.StringOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { - return o.ToGatewayRouteConfigPropertiesPtrOutputWithContext(context.Background()) +func (o GitPatternRepositoryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepository) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayRouteConfigProperties) *GatewayRouteConfigProperties { - return &v - }).(GatewayRouteConfigPropertiesPtrOutput) +type GitPatternRepositoryArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepository)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutput() GitPatternRepositoryArrayOutput { + return o } -func (o GatewayRouteConfigPropertiesOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { return v.OpenApi }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +func (o GitPatternRepositoryArrayOutput) ToGitPatternRepositoryArrayOutputWithContext(ctx context.Context) GitPatternRepositoryArrayOutput { + return o } -func (o GatewayRouteConfigPropertiesOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) *string { return v.Protocol }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepository { + return vs[0].([]GitPatternRepository)[vs[1].(int)] + }).(GitPatternRepositoryOutput) } -func (o GatewayRouteConfigPropertiesOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigProperties) []GatewayApiRoute { return v.Routes }).(GatewayApiRouteArrayOutput) +type GitPatternRepositoryResponse struct { + HostKey *string `pulumi:"hostKey"` + HostKeyAlgorithm *string `pulumi:"hostKeyAlgorithm"` + Label *string `pulumi:"label"` + Name string `pulumi:"name"` + Password *string `pulumi:"password"` + Pattern []string `pulumi:"pattern"` + PrivateKey *string `pulumi:"privateKey"` + SearchPaths []string `pulumi:"searchPaths"` + StrictHostKeyChecking *bool `pulumi:"strictHostKeyChecking"` + Uri string `pulumi:"uri"` + Username *string `pulumi:"username"` } -type GatewayRouteConfigPropertiesPtrOutput struct{ *pulumi.OutputState } +type GitPatternRepositoryResponseOutput struct{ *pulumi.OutputState } -func (GatewayRouteConfigPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayRouteConfigProperties)(nil)).Elem() +func (GitPatternRepositoryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutput() GatewayRouteConfigPropertiesPtrOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutput() GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesPtrOutput) ToGatewayRouteConfigPropertiesPtrOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesPtrOutput { +func (o GitPatternRepositoryResponseOutput) ToGitPatternRepositoryResponseOutputWithContext(ctx context.Context) GitPatternRepositoryResponseOutput { return o } -func (o GatewayRouteConfigPropertiesPtrOutput) Elem() GatewayRouteConfigPropertiesOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) GatewayRouteConfigProperties { - if v != nil { - return *v - } - var ret GatewayRouteConfigProperties - return ret - }).(GatewayRouteConfigPropertiesOutput) +func (o GitPatternRepositoryResponseOutput) HostKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKey }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { - if v == nil { - return nil - } - return v.AppResourceId - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) HostKeyAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.HostKeyAlgorithm }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *GatewayRouteConfigOpenApiProperties { - if v == nil { - return nil - } - return v.OpenApi - }).(GatewayRouteConfigOpenApiPropertiesPtrOutput) +func (o GitPatternRepositoryResponseOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) *string { - if v == nil { - return nil - } - return v.Protocol - }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) } -func (o GatewayRouteConfigPropertiesPtrOutput) Routes() GatewayApiRouteArrayOutput { - return o.ApplyT(func(v *GatewayRouteConfigProperties) []GatewayApiRoute { - if v == nil { - return nil - } - return v.Routes - }).(GatewayApiRouteArrayOutput) +func (o GitPatternRepositoryResponseOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Password }).(pulumi.StringPtrOutput) } -type GatewayRouteConfigPropertiesResponse struct { - AppResourceId *string `pulumi:"appResourceId"` - OpenApi *GatewayRouteConfigOpenApiPropertiesResponse `pulumi:"openApi"` - Protocol *string `pulumi:"protocol"` - ProvisioningState string `pulumi:"provisioningState"` - Routes []GatewayApiRouteResponse `pulumi:"routes"` +func (o GitPatternRepositoryResponseOutput) Pattern() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.Pattern }).(pulumi.StringArrayOutput) } - -func (val *GatewayRouteConfigPropertiesResponse) Defaults() *GatewayRouteConfigPropertiesResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Protocol) { - protocol_ := "HTTP" - tmp.Protocol = &protocol_ - } - return &tmp +func (o GitPatternRepositoryResponseOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type GatewayRouteConfigPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (GatewayRouteConfigPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayRouteConfigPropertiesResponse)(nil)).Elem() +func (o GitPatternRepositoryResponseOutput) SearchPaths() pulumi.StringArrayOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) []string { return v.SearchPaths }).(pulumi.StringArrayOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutput() GatewayRouteConfigPropertiesResponseOutput { - return o +func (o GitPatternRepositoryResponseOutput) StrictHostKeyChecking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *bool { return v.StrictHostKeyChecking }).(pulumi.BoolPtrOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) ToGatewayRouteConfigPropertiesResponseOutputWithContext(ctx context.Context) GatewayRouteConfigPropertiesResponseOutput { - return o +func (o GitPatternRepositoryResponseOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) string { return v.Uri }).(pulumi.StringOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) AppResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.AppResourceId }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GitPatternRepositoryResponse) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o GatewayRouteConfigPropertiesResponseOutput) OpenApi() GatewayRouteConfigOpenApiPropertiesResponsePtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *GatewayRouteConfigOpenApiPropertiesResponse { - return v.OpenApi - }).(GatewayRouteConfigOpenApiPropertiesResponsePtrOutput) +type GitPatternRepositoryResponseArrayOutput struct{ *pulumi.OutputState } + +func (GitPatternRepositoryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GitPatternRepositoryResponse)(nil)).Elem() } -func (o GatewayRouteConfigPropertiesResponseOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutput() GitPatternRepositoryResponseArrayOutput { + return o } -func (o GatewayRouteConfigPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +func (o GitPatternRepositoryResponseArrayOutput) ToGitPatternRepositoryResponseArrayOutputWithContext(ctx context.Context) GitPatternRepositoryResponseArrayOutput { + return o } -func (o GatewayRouteConfigPropertiesResponseOutput) Routes() GatewayApiRouteResponseArrayOutput { - return o.ApplyT(func(v GatewayRouteConfigPropertiesResponse) []GatewayApiRouteResponse { return v.Routes }).(GatewayApiRouteResponseArrayOutput) +func (o GitPatternRepositoryResponseArrayOutput) Index(i pulumi.IntInput) GitPatternRepositoryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitPatternRepositoryResponse { + return vs[0].([]GitPatternRepositoryResponse)[vs[1].(int)] + }).(GitPatternRepositoryResponseOutput) } type HTTPGetAction struct { @@ -8749,6 +10462,233 @@ func (o MarketplaceResourceResponsePtrOutput) Publisher() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } +type MonitoringSettingProperties struct { + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *Error `pulumi:"error"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + + + + + +type MonitoringSettingPropertiesInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput + ToMonitoringSettingPropertiesOutputWithContext(context.Context) MonitoringSettingPropertiesOutput +} + +type MonitoringSettingPropertiesArgs struct { + AppInsightsInstrumentationKey pulumi.StringPtrInput `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate pulumi.Float64PtrInput `pulumi:"appInsightsSamplingRate"` + Error ErrorPtrInput `pulumi:"error"` + TraceEnabled pulumi.BoolPtrInput `pulumi:"traceEnabled"` +} + +func (MonitoringSettingPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return i.ToMonitoringSettingPropertiesOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i MonitoringSettingPropertiesArgs) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesOutput).ToMonitoringSettingPropertiesPtrOutputWithContext(ctx) +} + + + + + + + + + +type MonitoringSettingPropertiesPtrInput interface { + pulumi.Input + + ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput + ToMonitoringSettingPropertiesPtrOutputWithContext(context.Context) MonitoringSettingPropertiesPtrOutput +} + +type monitoringSettingPropertiesPtrType MonitoringSettingPropertiesArgs + +func MonitoringSettingPropertiesPtr(v *MonitoringSettingPropertiesArgs) MonitoringSettingPropertiesPtrInput { + return (*monitoringSettingPropertiesPtrType)(v) +} + +func (*monitoringSettingPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return i.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *monitoringSettingPropertiesPtrType) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringSettingPropertiesPtrOutput) +} + +type MonitoringSettingPropertiesOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutput() MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesOutputWithContext(ctx context.Context) MonitoringSettingPropertiesOutput { + return o +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o.ToMonitoringSettingPropertiesPtrOutputWithContext(context.Background()) +} + +func (o MonitoringSettingPropertiesOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitoringSettingProperties) *MonitoringSettingProperties { + return &v + }).(MonitoringSettingPropertiesPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *Error { return v.Error }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingProperties) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringSettingProperties)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutput() MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) ToMonitoringSettingPropertiesPtrOutputWithContext(ctx context.Context) MonitoringSettingPropertiesPtrOutput { + return o +} + +func (o MonitoringSettingPropertiesPtrOutput) Elem() MonitoringSettingPropertiesOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) MonitoringSettingProperties { + if v != nil { + return *v + } + var ret MonitoringSettingProperties + return ret + }).(MonitoringSettingPropertiesOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *string { + if v == nil { + return nil + } + return v.AppInsightsInstrumentationKey + }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *float64 { + if v == nil { + return nil + } + return v.AppInsightsSamplingRate + }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) Error() ErrorPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *Error { + if v == nil { + return nil + } + return v.Error + }).(ErrorPtrOutput) +} + +func (o MonitoringSettingPropertiesPtrOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitoringSettingProperties) *bool { + if v == nil { + return nil + } + return v.TraceEnabled + }).(pulumi.BoolPtrOutput) +} + +type MonitoringSettingPropertiesResponse struct { + AppInsightsAgentVersions *ApplicationInsightsAgentVersionsResponse `pulumi:"appInsightsAgentVersions"` + AppInsightsInstrumentationKey *string `pulumi:"appInsightsInstrumentationKey"` + AppInsightsSamplingRate *float64 `pulumi:"appInsightsSamplingRate"` + Error *ErrorResponse `pulumi:"error"` + ProvisioningState string `pulumi:"provisioningState"` + TraceEnabled *bool `pulumi:"traceEnabled"` +} + +type MonitoringSettingPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (MonitoringSettingPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringSettingPropertiesResponse)(nil)).Elem() +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutput() MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) ToMonitoringSettingPropertiesResponseOutputWithContext(ctx context.Context) MonitoringSettingPropertiesResponseOutput { + return o +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsAgentVersions() ApplicationInsightsAgentVersionsResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ApplicationInsightsAgentVersionsResponse { + return v.AppInsightsAgentVersions + }).(ApplicationInsightsAgentVersionsResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsInstrumentationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *string { return v.AppInsightsInstrumentationKey }).(pulumi.StringPtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) AppInsightsSamplingRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *float64 { return v.AppInsightsSamplingRate }).(pulumi.Float64PtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) Error() ErrorResponsePtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *ErrorResponse { return v.Error }).(ErrorResponsePtrOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +func (o MonitoringSettingPropertiesResponseOutput) TraceEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringSettingPropertiesResponse) *bool { return v.TraceEnabled }).(pulumi.BoolPtrOutput) +} + type NetCoreZipUploadedUserSourceInfo struct { NetCoreMainEntryPath *string `pulumi:"netCoreMainEntryPath"` RelativePath *string `pulumi:"relativePath"` @@ -11832,6 +13772,8 @@ func init() { pulumi.RegisterOutputType(AppVNetAddonsPtrOutput{}) pulumi.RegisterOutputType(AppVNetAddonsResponseOutput{}) pulumi.RegisterOutputType(AppVNetAddonsResponsePtrOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponseOutput{}) + pulumi.RegisterOutputType(ApplicationInsightsAgentVersionsResponsePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeOutput{}) pulumi.RegisterOutputType(AzureFileVolumePtrOutput{}) pulumi.RegisterOutputType(AzureFileVolumeResponseOutput{}) @@ -11839,6 +13781,13 @@ func init() { pulumi.RegisterOutputType(BindingResourcePropertiesOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(BindingResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolPropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesPtrOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponseOutput{}) + pulumi.RegisterOutputType(BuildServiceAgentPoolSizePropertiesResponsePtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesOutput{}) pulumi.RegisterOutputType(BuilderPropertiesPtrOutput{}) pulumi.RegisterOutputType(BuilderPropertiesResponseOutput{}) @@ -11860,6 +13809,17 @@ func init() { pulumi.RegisterOutputType(ClusterResourcePropertiesOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(ClusterResourcePropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerGitPropertyResponsePtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsPtrOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponseOutput{}) + pulumi.RegisterOutputType(ConfigServerSettingsResponsePtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyPtrOutput{}) pulumi.RegisterOutputType(ConfigurationServiceGitPropertyResponseOutput{}) @@ -11898,6 +13858,10 @@ func init() { pulumi.RegisterOutputType(DeploymentSettingsPtrOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponseOutput{}) pulumi.RegisterOutputType(DeploymentSettingsResponsePtrOutput{}) + pulumi.RegisterOutputType(ErrorOutput{}) + pulumi.RegisterOutputType(ErrorPtrOutput{}) + pulumi.RegisterOutputType(ErrorResponseOutput{}) + pulumi.RegisterOutputType(ErrorResponsePtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayApiMetadataPropertiesResponseOutput{}) @@ -11931,6 +13895,10 @@ func init() { pulumi.RegisterOutputType(GatewayRouteConfigPropertiesOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesPtrOutput{}) pulumi.RegisterOutputType(GatewayRouteConfigPropertiesResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryArrayOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseOutput{}) + pulumi.RegisterOutputType(GitPatternRepositoryResponseArrayOutput{}) pulumi.RegisterOutputType(IngressConfigOutput{}) pulumi.RegisterOutputType(IngressConfigPtrOutput{}) pulumi.RegisterOutputType(IngressConfigResponseOutput{}) @@ -11955,6 +13923,9 @@ func init() { pulumi.RegisterOutputType(MarketplaceResourcePtrOutput{}) pulumi.RegisterOutputType(MarketplaceResourceResponseOutput{}) pulumi.RegisterOutputType(MarketplaceResourceResponsePtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesPtrOutput{}) + pulumi.RegisterOutputType(MonitoringSettingPropertiesResponseOutput{}) pulumi.RegisterOutputType(NetworkProfileOutput{}) pulumi.RegisterOutputType(NetworkProfilePtrOutput{}) pulumi.RegisterOutputType(NetworkProfileResponseOutput{}) diff --git a/sdk/go/azure/dbforpostgresql/v20200214preview/configuration.go b/sdk/go/azure/dbforpostgresql/v20200214preview/configuration.go index f2b092f5f527..54708f45b59a 100644 --- a/sdk/go/azure/dbforpostgresql/v20200214preview/configuration.go +++ b/sdk/go/azure/dbforpostgresql/v20200214preview/configuration.go @@ -56,9 +56,6 @@ func NewConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Configuration"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Configuration"), - }, }) opts = append(opts, aliases) var resource Configuration diff --git a/sdk/go/azure/dbforpostgresql/v20200214preview/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20200214preview/firewallRule.go index 8f277b641506..9ad2d1b7a6e4 100644 --- a/sdk/go/azure/dbforpostgresql/v20200214preview/firewallRule.go +++ b/sdk/go/azure/dbforpostgresql/v20200214preview/firewallRule.go @@ -58,9 +58,6 @@ func NewFirewallRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:FirewallRule"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:FirewallRule"), - }, }) opts = append(opts, aliases) var resource FirewallRule diff --git a/sdk/go/azure/dbforpostgresql/v20200214preview/server.go b/sdk/go/azure/dbforpostgresql/v20200214preview/server.go index cfe2f70ab5ce..a50f1127eb8d 100644 --- a/sdk/go/azure/dbforpostgresql/v20200214preview/server.go +++ b/sdk/go/azure/dbforpostgresql/v20200214preview/server.go @@ -74,9 +74,6 @@ func NewServer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Server"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Server"), - }, }) opts = append(opts, aliases) var resource Server diff --git a/sdk/go/azure/dbforpostgresql/v20200214privatepreview/configuration.go b/sdk/go/azure/dbforpostgresql/v20200214privatepreview/configuration.go index 67773ac21198..5c0bef264575 100644 --- a/sdk/go/azure/dbforpostgresql/v20200214privatepreview/configuration.go +++ b/sdk/go/azure/dbforpostgresql/v20200214privatepreview/configuration.go @@ -56,9 +56,6 @@ func NewConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Configuration"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Configuration"), - }, }) opts = append(opts, aliases) var resource Configuration diff --git a/sdk/go/azure/dbforpostgresql/v20200214privatepreview/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20200214privatepreview/firewallRule.go index 69cac1183425..ef97f75beca7 100644 --- a/sdk/go/azure/dbforpostgresql/v20200214privatepreview/firewallRule.go +++ b/sdk/go/azure/dbforpostgresql/v20200214privatepreview/firewallRule.go @@ -58,9 +58,6 @@ func NewFirewallRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:FirewallRule"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:FirewallRule"), - }, }) opts = append(opts, aliases) var resource FirewallRule diff --git a/sdk/go/azure/dbforpostgresql/v20200214privatepreview/server.go b/sdk/go/azure/dbforpostgresql/v20200214privatepreview/server.go index fac16804d93b..9eb5c9847ba3 100644 --- a/sdk/go/azure/dbforpostgresql/v20200214privatepreview/server.go +++ b/sdk/go/azure/dbforpostgresql/v20200214privatepreview/server.go @@ -70,9 +70,6 @@ func NewServer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Server"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Server"), - }, }) opts = append(opts, aliases) var resource Server diff --git a/sdk/go/azure/dbforpostgresql/v20201105preview/database.go b/sdk/go/azure/dbforpostgresql/v20201105preview/database.go index 65560ce7dc96..32fe3d85310e 100644 --- a/sdk/go/azure/dbforpostgresql/v20201105preview/database.go +++ b/sdk/go/azure/dbforpostgresql/v20201105preview/database.go @@ -43,9 +43,6 @@ func NewDatabase(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Database"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Database"), - }, }) opts = append(opts, aliases) var resource Database diff --git a/sdk/go/azure/dbforpostgresql/v20210410privatepreview/configuration.go b/sdk/go/azure/dbforpostgresql/v20210410privatepreview/configuration.go index 454cafe7da96..03e22fade50b 100644 --- a/sdk/go/azure/dbforpostgresql/v20210410privatepreview/configuration.go +++ b/sdk/go/azure/dbforpostgresql/v20210410privatepreview/configuration.go @@ -56,9 +56,6 @@ func NewConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Configuration"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Configuration"), - }, }) opts = append(opts, aliases) var resource Configuration diff --git a/sdk/go/azure/dbforpostgresql/v20210410privatepreview/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20210410privatepreview/firewallRule.go index 1830713f024a..b5e6d8061aac 100644 --- a/sdk/go/azure/dbforpostgresql/v20210410privatepreview/firewallRule.go +++ b/sdk/go/azure/dbforpostgresql/v20210410privatepreview/firewallRule.go @@ -58,9 +58,6 @@ func NewFirewallRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:FirewallRule"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:FirewallRule"), - }, }) opts = append(opts, aliases) var resource FirewallRule diff --git a/sdk/go/azure/dbforpostgresql/v20210410privatepreview/server.go b/sdk/go/azure/dbforpostgresql/v20210410privatepreview/server.go index 2a5201f266f4..82e37e1c8658 100644 --- a/sdk/go/azure/dbforpostgresql/v20210410privatepreview/server.go +++ b/sdk/go/azure/dbforpostgresql/v20210410privatepreview/server.go @@ -70,9 +70,6 @@ func NewServer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Server"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Server"), - }, }) opts = append(opts, aliases) var resource Server diff --git a/sdk/go/azure/dbforpostgresql/v20210601/configuration.go b/sdk/go/azure/dbforpostgresql/v20210601/configuration.go index 8b552d572a22..346ef8175bd3 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601/configuration.go +++ b/sdk/go/azure/dbforpostgresql/v20210601/configuration.go @@ -62,9 +62,6 @@ func NewConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Configuration"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Configuration"), - }, }) opts = append(opts, aliases) var resource Configuration diff --git a/sdk/go/azure/dbforpostgresql/v20210601/database.go b/sdk/go/azure/dbforpostgresql/v20210601/database.go index 8e6594766bcb..49cb8e470efe 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601/database.go +++ b/sdk/go/azure/dbforpostgresql/v20210601/database.go @@ -44,9 +44,6 @@ func NewDatabase(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Database"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Database"), - }, }) opts = append(opts, aliases) var resource Database diff --git a/sdk/go/azure/dbforpostgresql/v20210601/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20210601/firewallRule.go index b3194a4905c7..968b8861f41b 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601/firewallRule.go +++ b/sdk/go/azure/dbforpostgresql/v20210601/firewallRule.go @@ -59,9 +59,6 @@ func NewFirewallRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:FirewallRule"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:FirewallRule"), - }, }) opts = append(opts, aliases) var resource FirewallRule diff --git a/sdk/go/azure/dbforpostgresql/v20210601/server.go b/sdk/go/azure/dbforpostgresql/v20210601/server.go index 4182106531b6..e045cd3259ed 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601/server.go +++ b/sdk/go/azure/dbforpostgresql/v20210601/server.go @@ -77,9 +77,6 @@ func NewServer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Server"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Server"), - }, }) opts = append(opts, aliases) var resource Server diff --git a/sdk/go/azure/dbforpostgresql/v20210601preview/configuration.go b/sdk/go/azure/dbforpostgresql/v20210601preview/configuration.go index d875e9acc029..ab0efbb0567a 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601preview/configuration.go +++ b/sdk/go/azure/dbforpostgresql/v20210601preview/configuration.go @@ -62,9 +62,6 @@ func NewConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Configuration"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Configuration"), - }, }) opts = append(opts, aliases) var resource Configuration diff --git a/sdk/go/azure/dbforpostgresql/v20210601preview/database.go b/sdk/go/azure/dbforpostgresql/v20210601preview/database.go index 8e6dcde217b0..1ee5b9e6120f 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601preview/database.go +++ b/sdk/go/azure/dbforpostgresql/v20210601preview/database.go @@ -44,9 +44,6 @@ func NewDatabase(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Database"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Database"), - }, }) opts = append(opts, aliases) var resource Database diff --git a/sdk/go/azure/dbforpostgresql/v20210601preview/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20210601preview/firewallRule.go index c10faacfcbea..e8de0c753fba 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601preview/firewallRule.go +++ b/sdk/go/azure/dbforpostgresql/v20210601preview/firewallRule.go @@ -59,9 +59,6 @@ func NewFirewallRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:FirewallRule"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:FirewallRule"), - }, }) opts = append(opts, aliases) var resource FirewallRule diff --git a/sdk/go/azure/dbforpostgresql/v20210601preview/server.go b/sdk/go/azure/dbforpostgresql/v20210601preview/server.go index 8e852967706d..718dbe4579c4 100644 --- a/sdk/go/azure/dbforpostgresql/v20210601preview/server.go +++ b/sdk/go/azure/dbforpostgresql/v20210601preview/server.go @@ -77,9 +77,6 @@ func NewServer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Server"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Server"), - }, }) opts = append(opts, aliases) var resource Server diff --git a/sdk/go/azure/dbforpostgresql/v20210615privatepreview/configuration.go b/sdk/go/azure/dbforpostgresql/v20210615privatepreview/configuration.go index 00889b237240..d58556fd6615 100644 --- a/sdk/go/azure/dbforpostgresql/v20210615privatepreview/configuration.go +++ b/sdk/go/azure/dbforpostgresql/v20210615privatepreview/configuration.go @@ -57,9 +57,6 @@ func NewConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Configuration"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Configuration"), - }, }) opts = append(opts, aliases) var resource Configuration diff --git a/sdk/go/azure/dbforpostgresql/v20210615privatepreview/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20210615privatepreview/firewallRule.go index 69df3d2ca88f..1a44e36e8878 100644 --- a/sdk/go/azure/dbforpostgresql/v20210615privatepreview/firewallRule.go +++ b/sdk/go/azure/dbforpostgresql/v20210615privatepreview/firewallRule.go @@ -59,9 +59,6 @@ func NewFirewallRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:FirewallRule"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:FirewallRule"), - }, }) opts = append(opts, aliases) var resource FirewallRule diff --git a/sdk/go/azure/dbforpostgresql/v20210615privatepreview/server.go b/sdk/go/azure/dbforpostgresql/v20210615privatepreview/server.go index 536d91b8b875..18ce9e8cd799 100644 --- a/sdk/go/azure/dbforpostgresql/v20210615privatepreview/server.go +++ b/sdk/go/azure/dbforpostgresql/v20210615privatepreview/server.go @@ -63,9 +63,6 @@ func NewServer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Server"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Server"), - }, }) opts = append(opts, aliases) var resource Server diff --git a/sdk/go/azure/dbforpostgresql/v20220120preview/configuration.go b/sdk/go/azure/dbforpostgresql/v20220120preview/configuration.go index 0eb4a318389f..ef4f085e612d 100644 --- a/sdk/go/azure/dbforpostgresql/v20220120preview/configuration.go +++ b/sdk/go/azure/dbforpostgresql/v20220120preview/configuration.go @@ -62,9 +62,6 @@ func NewConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Configuration"), - }, }) opts = append(opts, aliases) var resource Configuration diff --git a/sdk/go/azure/dbforpostgresql/v20220120preview/database.go b/sdk/go/azure/dbforpostgresql/v20220120preview/database.go index aec682f74f56..b7ce029bbf19 100644 --- a/sdk/go/azure/dbforpostgresql/v20220120preview/database.go +++ b/sdk/go/azure/dbforpostgresql/v20220120preview/database.go @@ -44,9 +44,6 @@ func NewDatabase(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20210601preview:Database"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Database"), - }, }) opts = append(opts, aliases) var resource Database diff --git a/sdk/go/azure/dbforpostgresql/v20220120preview/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20220120preview/firewallRule.go index 09687a980669..bb2527ba159c 100644 --- a/sdk/go/azure/dbforpostgresql/v20220120preview/firewallRule.go +++ b/sdk/go/azure/dbforpostgresql/v20220120preview/firewallRule.go @@ -59,9 +59,6 @@ func NewFirewallRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:FirewallRule"), - }, }) opts = append(opts, aliases) var resource FirewallRule diff --git a/sdk/go/azure/dbforpostgresql/v20220120preview/server.go b/sdk/go/azure/dbforpostgresql/v20220120preview/server.go index f5d5716d39bb..43935bb78879 100644 --- a/sdk/go/azure/dbforpostgresql/v20220120preview/server.go +++ b/sdk/go/azure/dbforpostgresql/v20220120preview/server.go @@ -77,9 +77,6 @@ func NewServer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:dbforpostgresql/v20210615privatepreview:Server"), }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220308preview:Server"), - }, }) opts = append(opts, aliases) var resource Server diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/administrator.go b/sdk/go/azure/dbforpostgresql/v20220308preview/administrator.go deleted file mode 100644 index 079c210d3733..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/administrator.go +++ /dev/null @@ -1,156 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type Administrator struct { - pulumi.CustomResourceState - - Name pulumi.StringOutput `pulumi:"name"` - ObjectId pulumi.StringPtrOutput `pulumi:"objectId"` - PrincipalName pulumi.StringPtrOutput `pulumi:"principalName"` - PrincipalType pulumi.StringPtrOutput `pulumi:"principalType"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - TenantId pulumi.StringPtrOutput `pulumi:"tenantId"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewAdministrator(ctx *pulumi.Context, - name string, args *AdministratorArgs, opts ...pulumi.ResourceOption) (*Administrator, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ServerName == nil { - return nil, errors.New("invalid value for required argument 'ServerName'") - } - var resource Administrator - err := ctx.RegisterResource("azure-native:dbforpostgresql/v20220308preview:Administrator", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetAdministrator(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *AdministratorState, opts ...pulumi.ResourceOption) (*Administrator, error) { - var resource Administrator - err := ctx.ReadResource("azure-native:dbforpostgresql/v20220308preview:Administrator", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type administratorState struct { -} - -type AdministratorState struct { -} - -func (AdministratorState) ElementType() reflect.Type { - return reflect.TypeOf((*administratorState)(nil)).Elem() -} - -type administratorArgs struct { - ObjectId *string `pulumi:"objectId"` - PrincipalName *string `pulumi:"principalName"` - PrincipalType *string `pulumi:"principalType"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` - TenantId *string `pulumi:"tenantId"` -} - - -type AdministratorArgs struct { - ObjectId pulumi.StringPtrInput - PrincipalName pulumi.StringPtrInput - PrincipalType pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ServerName pulumi.StringInput - TenantId pulumi.StringPtrInput -} - -func (AdministratorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*administratorArgs)(nil)).Elem() -} - -type AdministratorInput interface { - pulumi.Input - - ToAdministratorOutput() AdministratorOutput - ToAdministratorOutputWithContext(ctx context.Context) AdministratorOutput -} - -func (*Administrator) ElementType() reflect.Type { - return reflect.TypeOf((**Administrator)(nil)).Elem() -} - -func (i *Administrator) ToAdministratorOutput() AdministratorOutput { - return i.ToAdministratorOutputWithContext(context.Background()) -} - -func (i *Administrator) ToAdministratorOutputWithContext(ctx context.Context) AdministratorOutput { - return pulumi.ToOutputWithContext(ctx, i).(AdministratorOutput) -} - -type AdministratorOutput struct{ *pulumi.OutputState } - -func (AdministratorOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Administrator)(nil)).Elem() -} - -func (o AdministratorOutput) ToAdministratorOutput() AdministratorOutput { - return o -} - -func (o AdministratorOutput) ToAdministratorOutputWithContext(ctx context.Context) AdministratorOutput { - return o -} - -func (o AdministratorOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *Administrator) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o AdministratorOutput) ObjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Administrator) pulumi.StringPtrOutput { return v.ObjectId }).(pulumi.StringPtrOutput) -} - -func (o AdministratorOutput) PrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Administrator) pulumi.StringPtrOutput { return v.PrincipalName }).(pulumi.StringPtrOutput) -} - -func (o AdministratorOutput) PrincipalType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Administrator) pulumi.StringPtrOutput { return v.PrincipalType }).(pulumi.StringPtrOutput) -} - -func (o AdministratorOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *Administrator) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o AdministratorOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Administrator) pulumi.StringPtrOutput { return v.TenantId }).(pulumi.StringPtrOutput) -} - -func (o AdministratorOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *Administrator) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(AdministratorOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/configuration.go b/sdk/go/azure/dbforpostgresql/v20220308preview/configuration.go deleted file mode 100644 index 6d10c440f768..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/configuration.go +++ /dev/null @@ -1,213 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type Configuration struct { - pulumi.CustomResourceState - - AllowedValues pulumi.StringOutput `pulumi:"allowedValues"` - DataType pulumi.StringOutput `pulumi:"dataType"` - DefaultValue pulumi.StringOutput `pulumi:"defaultValue"` - Description pulumi.StringOutput `pulumi:"description"` - DocumentationLink pulumi.StringOutput `pulumi:"documentationLink"` - IsConfigPendingRestart pulumi.BoolOutput `pulumi:"isConfigPendingRestart"` - IsDynamicConfig pulumi.BoolOutput `pulumi:"isDynamicConfig"` - IsReadOnly pulumi.BoolOutput `pulumi:"isReadOnly"` - Name pulumi.StringOutput `pulumi:"name"` - Source pulumi.StringPtrOutput `pulumi:"source"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` - Unit pulumi.StringOutput `pulumi:"unit"` - Value pulumi.StringPtrOutput `pulumi:"value"` -} - - -func NewConfiguration(ctx *pulumi.Context, - name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ServerName == nil { - return nil, errors.New("invalid value for required argument 'ServerName'") - } - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:dbforpostgresql/v20200214preview:Configuration"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601:Configuration"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601preview:Configuration"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Configuration"), - }, - }) - opts = append(opts, aliases) - var resource Configuration - err := ctx.RegisterResource("azure-native:dbforpostgresql/v20220308preview:Configuration", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetConfiguration(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error) { - var resource Configuration - err := ctx.ReadResource("azure-native:dbforpostgresql/v20220308preview:Configuration", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type configurationState struct { -} - -type ConfigurationState struct { -} - -func (ConfigurationState) ElementType() reflect.Type { - return reflect.TypeOf((*configurationState)(nil)).Elem() -} - -type configurationArgs struct { - ConfigurationName *string `pulumi:"configurationName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` - Source *string `pulumi:"source"` - Value *string `pulumi:"value"` -} - - -type ConfigurationArgs struct { - ConfigurationName pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ServerName pulumi.StringInput - Source pulumi.StringPtrInput - Value pulumi.StringPtrInput -} - -func (ConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*configurationArgs)(nil)).Elem() -} - -type ConfigurationInput interface { - pulumi.Input - - ToConfigurationOutput() ConfigurationOutput - ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput -} - -func (*Configuration) ElementType() reflect.Type { - return reflect.TypeOf((**Configuration)(nil)).Elem() -} - -func (i *Configuration) ToConfigurationOutput() ConfigurationOutput { - return i.ToConfigurationOutputWithContext(context.Background()) -} - -func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationOutput) -} - -type ConfigurationOutput struct{ *pulumi.OutputState } - -func (ConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Configuration)(nil)).Elem() -} - -func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput { - return o -} - -func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput { - return o -} - -func (o ConfigurationOutput) AllowedValues() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.AllowedValues }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) DataType() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.DataType }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) DefaultValue() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.DefaultValue }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) DocumentationLink() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.DocumentationLink }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) IsConfigPendingRestart() pulumi.BoolOutput { - return o.ApplyT(func(v *Configuration) pulumi.BoolOutput { return v.IsConfigPendingRestart }).(pulumi.BoolOutput) -} - -func (o ConfigurationOutput) IsDynamicConfig() pulumi.BoolOutput { - return o.ApplyT(func(v *Configuration) pulumi.BoolOutput { return v.IsDynamicConfig }).(pulumi.BoolOutput) -} - -func (o ConfigurationOutput) IsReadOnly() pulumi.BoolOutput { - return o.ApplyT(func(v *Configuration) pulumi.BoolOutput { return v.IsReadOnly }).(pulumi.BoolOutput) -} - -func (o ConfigurationOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringPtrOutput { return v.Source }).(pulumi.StringPtrOutput) -} - -func (o ConfigurationOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *Configuration) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o ConfigurationOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) Unit() pulumi.StringOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.Unit }).(pulumi.StringOutput) -} - -func (o ConfigurationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Configuration) pulumi.StringPtrOutput { return v.Value }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(ConfigurationOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/database.go b/sdk/go/azure/dbforpostgresql/v20220308preview/database.go deleted file mode 100644 index 30e8e72949a6..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/database.go +++ /dev/null @@ -1,159 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type Database struct { - pulumi.CustomResourceState - - Charset pulumi.StringPtrOutput `pulumi:"charset"` - Collation pulumi.StringPtrOutput `pulumi:"collation"` - Name pulumi.StringOutput `pulumi:"name"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewDatabase(ctx *pulumi.Context, - name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ServerName == nil { - return nil, errors.New("invalid value for required argument 'ServerName'") - } - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:dbforpostgresql/v20201105preview:Database"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601:Database"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601preview:Database"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Database"), - }, - }) - opts = append(opts, aliases) - var resource Database - err := ctx.RegisterResource("azure-native:dbforpostgresql/v20220308preview:Database", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetDatabase(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error) { - var resource Database - err := ctx.ReadResource("azure-native:dbforpostgresql/v20220308preview:Database", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type databaseState struct { -} - -type DatabaseState struct { -} - -func (DatabaseState) ElementType() reflect.Type { - return reflect.TypeOf((*databaseState)(nil)).Elem() -} - -type databaseArgs struct { - Charset *string `pulumi:"charset"` - Collation *string `pulumi:"collation"` - DatabaseName *string `pulumi:"databaseName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` -} - - -type DatabaseArgs struct { - Charset pulumi.StringPtrInput - Collation pulumi.StringPtrInput - DatabaseName pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ServerName pulumi.StringInput -} - -func (DatabaseArgs) ElementType() reflect.Type { - return reflect.TypeOf((*databaseArgs)(nil)).Elem() -} - -type DatabaseInput interface { - pulumi.Input - - ToDatabaseOutput() DatabaseOutput - ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput -} - -func (*Database) ElementType() reflect.Type { - return reflect.TypeOf((**Database)(nil)).Elem() -} - -func (i *Database) ToDatabaseOutput() DatabaseOutput { - return i.ToDatabaseOutputWithContext(context.Background()) -} - -func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput { - return pulumi.ToOutputWithContext(ctx, i).(DatabaseOutput) -} - -type DatabaseOutput struct{ *pulumi.OutputState } - -func (DatabaseOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Database)(nil)).Elem() -} - -func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput { - return o -} - -func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput { - return o -} - -func (o DatabaseOutput) Charset() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Database) pulumi.StringPtrOutput { return v.Charset }).(pulumi.StringPtrOutput) -} - -func (o DatabaseOutput) Collation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Database) pulumi.StringPtrOutput { return v.Collation }).(pulumi.StringPtrOutput) -} - -func (o DatabaseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *Database) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o DatabaseOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *Database) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o DatabaseOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *Database) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(DatabaseOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/firewallRule.go b/sdk/go/azure/dbforpostgresql/v20220308preview/firewallRule.go deleted file mode 100644 index 8fcc60ba05b9..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/firewallRule.go +++ /dev/null @@ -1,174 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type FirewallRule struct { - pulumi.CustomResourceState - - EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"` - Name pulumi.StringOutput `pulumi:"name"` - StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewFirewallRule(ctx *pulumi.Context, - name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.EndIpAddress == nil { - return nil, errors.New("invalid value for required argument 'EndIpAddress'") - } - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ServerName == nil { - return nil, errors.New("invalid value for required argument 'ServerName'") - } - if args.StartIpAddress == nil { - return nil, errors.New("invalid value for required argument 'StartIpAddress'") - } - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:dbforpostgresql/v20200214preview:FirewallRule"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601:FirewallRule"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601preview:FirewallRule"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:FirewallRule"), - }, - }) - opts = append(opts, aliases) - var resource FirewallRule - err := ctx.RegisterResource("azure-native:dbforpostgresql/v20220308preview:FirewallRule", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetFirewallRule(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error) { - var resource FirewallRule - err := ctx.ReadResource("azure-native:dbforpostgresql/v20220308preview:FirewallRule", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type firewallRuleState struct { -} - -type FirewallRuleState struct { -} - -func (FirewallRuleState) ElementType() reflect.Type { - return reflect.TypeOf((*firewallRuleState)(nil)).Elem() -} - -type firewallRuleArgs struct { - EndIpAddress string `pulumi:"endIpAddress"` - FirewallRuleName *string `pulumi:"firewallRuleName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` - StartIpAddress string `pulumi:"startIpAddress"` -} - - -type FirewallRuleArgs struct { - EndIpAddress pulumi.StringInput - FirewallRuleName pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ServerName pulumi.StringInput - StartIpAddress pulumi.StringInput -} - -func (FirewallRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*firewallRuleArgs)(nil)).Elem() -} - -type FirewallRuleInput interface { - pulumi.Input - - ToFirewallRuleOutput() FirewallRuleOutput - ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput -} - -func (*FirewallRule) ElementType() reflect.Type { - return reflect.TypeOf((**FirewallRule)(nil)).Elem() -} - -func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput { - return i.ToFirewallRuleOutputWithContext(context.Background()) -} - -func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(FirewallRuleOutput) -} - -type FirewallRuleOutput struct{ *pulumi.OutputState } - -func (FirewallRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FirewallRule)(nil)).Elem() -} - -func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput { - return o -} - -func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput { - return o -} - -func (o FirewallRuleOutput) EndIpAddress() pulumi.StringOutput { - return o.ApplyT(func(v *FirewallRule) pulumi.StringOutput { return v.EndIpAddress }).(pulumi.StringOutput) -} - -func (o FirewallRuleOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *FirewallRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o FirewallRuleOutput) StartIpAddress() pulumi.StringOutput { - return o.ApplyT(func(v *FirewallRule) pulumi.StringOutput { return v.StartIpAddress }).(pulumi.StringOutput) -} - -func (o FirewallRuleOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *FirewallRule) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o FirewallRuleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *FirewallRule) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(FirewallRuleOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/getAdministrator.go b/sdk/go/azure/dbforpostgresql/v20220308preview/getAdministrator.go deleted file mode 100644 index 00d940047c61..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/getAdministrator.go +++ /dev/null @@ -1,112 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupAdministrator(ctx *pulumi.Context, args *LookupAdministratorArgs, opts ...pulumi.InvokeOption) (*LookupAdministratorResult, error) { - var rv LookupAdministratorResult - err := ctx.Invoke("azure-native:dbforpostgresql/v20220308preview:getAdministrator", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupAdministratorArgs struct { - ObjectId string `pulumi:"objectId"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` -} - - -type LookupAdministratorResult struct { - Id string `pulumi:"id"` - Name string `pulumi:"name"` - ObjectId *string `pulumi:"objectId"` - PrincipalName *string `pulumi:"principalName"` - PrincipalType *string `pulumi:"principalType"` - SystemData SystemDataResponse `pulumi:"systemData"` - TenantId *string `pulumi:"tenantId"` - Type string `pulumi:"type"` -} - -func LookupAdministratorOutput(ctx *pulumi.Context, args LookupAdministratorOutputArgs, opts ...pulumi.InvokeOption) LookupAdministratorResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAdministratorResult, error) { - args := v.(LookupAdministratorArgs) - r, err := LookupAdministrator(ctx, &args, opts...) - var s LookupAdministratorResult - if r != nil { - s = *r - } - return s, err - }).(LookupAdministratorResultOutput) -} - -type LookupAdministratorOutputArgs struct { - ObjectId pulumi.StringInput `pulumi:"objectId"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ServerName pulumi.StringInput `pulumi:"serverName"` -} - -func (LookupAdministratorOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupAdministratorArgs)(nil)).Elem() -} - - -type LookupAdministratorResultOutput struct{ *pulumi.OutputState } - -func (LookupAdministratorResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupAdministratorResult)(nil)).Elem() -} - -func (o LookupAdministratorResultOutput) ToLookupAdministratorResultOutput() LookupAdministratorResultOutput { - return o -} - -func (o LookupAdministratorResultOutput) ToLookupAdministratorResultOutputWithContext(ctx context.Context) LookupAdministratorResultOutput { - return o -} - -func (o LookupAdministratorResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupAdministratorResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupAdministratorResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupAdministratorResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupAdministratorResultOutput) ObjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupAdministratorResult) *string { return v.ObjectId }).(pulumi.StringPtrOutput) -} - -func (o LookupAdministratorResultOutput) PrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupAdministratorResult) *string { return v.PrincipalName }).(pulumi.StringPtrOutput) -} - -func (o LookupAdministratorResultOutput) PrincipalType() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupAdministratorResult) *string { return v.PrincipalType }).(pulumi.StringPtrOutput) -} - -func (o LookupAdministratorResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupAdministratorResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupAdministratorResultOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupAdministratorResult) *string { return v.TenantId }).(pulumi.StringPtrOutput) -} - -func (o LookupAdministratorResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupAdministratorResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupAdministratorResultOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/getConfiguration.go b/sdk/go/azure/dbforpostgresql/v20220308preview/getConfiguration.go deleted file mode 100644 index 3e7fe4dc4995..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/getConfiguration.go +++ /dev/null @@ -1,147 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupConfiguration(ctx *pulumi.Context, args *LookupConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationResult, error) { - var rv LookupConfigurationResult - err := ctx.Invoke("azure-native:dbforpostgresql/v20220308preview:getConfiguration", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupConfigurationArgs struct { - ConfigurationName string `pulumi:"configurationName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` -} - - -type LookupConfigurationResult struct { - AllowedValues string `pulumi:"allowedValues"` - DataType string `pulumi:"dataType"` - DefaultValue string `pulumi:"defaultValue"` - Description string `pulumi:"description"` - DocumentationLink string `pulumi:"documentationLink"` - Id string `pulumi:"id"` - IsConfigPendingRestart bool `pulumi:"isConfigPendingRestart"` - IsDynamicConfig bool `pulumi:"isDynamicConfig"` - IsReadOnly bool `pulumi:"isReadOnly"` - Name string `pulumi:"name"` - Source *string `pulumi:"source"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` - Unit string `pulumi:"unit"` - Value *string `pulumi:"value"` -} - -func LookupConfigurationOutput(ctx *pulumi.Context, args LookupConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupConfigurationResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupConfigurationResult, error) { - args := v.(LookupConfigurationArgs) - r, err := LookupConfiguration(ctx, &args, opts...) - var s LookupConfigurationResult - if r != nil { - s = *r - } - return s, err - }).(LookupConfigurationResultOutput) -} - -type LookupConfigurationOutputArgs struct { - ConfigurationName pulumi.StringInput `pulumi:"configurationName"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ServerName pulumi.StringInput `pulumi:"serverName"` -} - -func (LookupConfigurationOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupConfigurationArgs)(nil)).Elem() -} - - -type LookupConfigurationResultOutput struct{ *pulumi.OutputState } - -func (LookupConfigurationResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupConfigurationResult)(nil)).Elem() -} - -func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput { - return o -} - -func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput { - return o -} - -func (o LookupConfigurationResultOutput) AllowedValues() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.AllowedValues }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) DataType() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.DataType }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) DefaultValue() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.DefaultValue }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) DocumentationLink() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.DocumentationLink }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) IsConfigPendingRestart() pulumi.BoolOutput { - return o.ApplyT(func(v LookupConfigurationResult) bool { return v.IsConfigPendingRestart }).(pulumi.BoolOutput) -} - -func (o LookupConfigurationResultOutput) IsDynamicConfig() pulumi.BoolOutput { - return o.ApplyT(func(v LookupConfigurationResult) bool { return v.IsDynamicConfig }).(pulumi.BoolOutput) -} - -func (o LookupConfigurationResultOutput) IsReadOnly() pulumi.BoolOutput { - return o.ApplyT(func(v LookupConfigurationResult) bool { return v.IsReadOnly }).(pulumi.BoolOutput) -} - -func (o LookupConfigurationResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupConfigurationResult) *string { return v.Source }).(pulumi.StringPtrOutput) -} - -func (o LookupConfigurationResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupConfigurationResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupConfigurationResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.Type }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) Unit() pulumi.StringOutput { - return o.ApplyT(func(v LookupConfigurationResult) string { return v.Unit }).(pulumi.StringOutput) -} - -func (o LookupConfigurationResultOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupConfigurationResult) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupConfigurationResultOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/getDatabase.go b/sdk/go/azure/dbforpostgresql/v20220308preview/getDatabase.go deleted file mode 100644 index 553db4634419..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/getDatabase.go +++ /dev/null @@ -1,102 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error) { - var rv LookupDatabaseResult - err := ctx.Invoke("azure-native:dbforpostgresql/v20220308preview:getDatabase", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupDatabaseArgs struct { - DatabaseName string `pulumi:"databaseName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` -} - - -type LookupDatabaseResult struct { - Charset *string `pulumi:"charset"` - Collation *string `pulumi:"collation"` - Id string `pulumi:"id"` - Name string `pulumi:"name"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -func LookupDatabaseOutput(ctx *pulumi.Context, args LookupDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupDatabaseResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupDatabaseResult, error) { - args := v.(LookupDatabaseArgs) - r, err := LookupDatabase(ctx, &args, opts...) - var s LookupDatabaseResult - if r != nil { - s = *r - } - return s, err - }).(LookupDatabaseResultOutput) -} - -type LookupDatabaseOutputArgs struct { - DatabaseName pulumi.StringInput `pulumi:"databaseName"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ServerName pulumi.StringInput `pulumi:"serverName"` -} - -func (LookupDatabaseOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupDatabaseArgs)(nil)).Elem() -} - - -type LookupDatabaseResultOutput struct{ *pulumi.OutputState } - -func (LookupDatabaseResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupDatabaseResult)(nil)).Elem() -} - -func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput { - return o -} - -func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput { - return o -} - -func (o LookupDatabaseResultOutput) Charset() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupDatabaseResult) *string { return v.Charset }).(pulumi.StringPtrOutput) -} - -func (o LookupDatabaseResultOutput) Collation() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupDatabaseResult) *string { return v.Collation }).(pulumi.StringPtrOutput) -} - -func (o LookupDatabaseResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupDatabaseResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupDatabaseResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupDatabaseResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupDatabaseResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupDatabaseResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupDatabaseResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupDatabaseResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupDatabaseResultOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/getFirewallRule.go b/sdk/go/azure/dbforpostgresql/v20220308preview/getFirewallRule.go deleted file mode 100644 index 68f010fb67e4..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/getFirewallRule.go +++ /dev/null @@ -1,102 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupFirewallRule(ctx *pulumi.Context, args *LookupFirewallRuleArgs, opts ...pulumi.InvokeOption) (*LookupFirewallRuleResult, error) { - var rv LookupFirewallRuleResult - err := ctx.Invoke("azure-native:dbforpostgresql/v20220308preview:getFirewallRule", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupFirewallRuleArgs struct { - FirewallRuleName string `pulumi:"firewallRuleName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` -} - - -type LookupFirewallRuleResult struct { - EndIpAddress string `pulumi:"endIpAddress"` - Id string `pulumi:"id"` - Name string `pulumi:"name"` - StartIpAddress string `pulumi:"startIpAddress"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -func LookupFirewallRuleOutput(ctx *pulumi.Context, args LookupFirewallRuleOutputArgs, opts ...pulumi.InvokeOption) LookupFirewallRuleResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFirewallRuleResult, error) { - args := v.(LookupFirewallRuleArgs) - r, err := LookupFirewallRule(ctx, &args, opts...) - var s LookupFirewallRuleResult - if r != nil { - s = *r - } - return s, err - }).(LookupFirewallRuleResultOutput) -} - -type LookupFirewallRuleOutputArgs struct { - FirewallRuleName pulumi.StringInput `pulumi:"firewallRuleName"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ServerName pulumi.StringInput `pulumi:"serverName"` -} - -func (LookupFirewallRuleOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFirewallRuleArgs)(nil)).Elem() -} - - -type LookupFirewallRuleResultOutput struct{ *pulumi.OutputState } - -func (LookupFirewallRuleResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFirewallRuleResult)(nil)).Elem() -} - -func (o LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutput() LookupFirewallRuleResultOutput { - return o -} - -func (o LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutputWithContext(ctx context.Context) LookupFirewallRuleResultOutput { - return o -} - -func (o LookupFirewallRuleResultOutput) EndIpAddress() pulumi.StringOutput { - return o.ApplyT(func(v LookupFirewallRuleResult) string { return v.EndIpAddress }).(pulumi.StringOutput) -} - -func (o LookupFirewallRuleResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupFirewallRuleResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupFirewallRuleResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupFirewallRuleResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupFirewallRuleResultOutput) StartIpAddress() pulumi.StringOutput { - return o.ApplyT(func(v LookupFirewallRuleResult) string { return v.StartIpAddress }).(pulumi.StringOutput) -} - -func (o LookupFirewallRuleResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupFirewallRuleResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupFirewallRuleResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupFirewallRuleResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupFirewallRuleResultOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/getServer.go b/sdk/go/azure/dbforpostgresql/v20220308preview/getServer.go deleted file mode 100644 index e4d86db8ff19..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/getServer.go +++ /dev/null @@ -1,208 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error) { - var rv LookupServerResult - err := ctx.Invoke("azure-native:dbforpostgresql/v20220308preview:getServer", args, &rv, opts...) - if err != nil { - return nil, err - } - return rv.Defaults(), nil -} - -type LookupServerArgs struct { - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName string `pulumi:"serverName"` -} - - -type LookupServerResult struct { - AdministratorLogin *string `pulumi:"administratorLogin"` - AuthConfig *AuthConfigResponse `pulumi:"authConfig"` - AvailabilityZone *string `pulumi:"availabilityZone"` - Backup *BackupResponse `pulumi:"backup"` - DataEncryption *DataEncryptionResponse `pulumi:"dataEncryption"` - FullyQualifiedDomainName string `pulumi:"fullyQualifiedDomainName"` - HighAvailability *HighAvailabilityResponse `pulumi:"highAvailability"` - Id string `pulumi:"id"` - Identity *UserAssignedIdentityResponse `pulumi:"identity"` - Location string `pulumi:"location"` - MaintenanceWindow *MaintenanceWindowResponse `pulumi:"maintenanceWindow"` - MinorVersion string `pulumi:"minorVersion"` - Name string `pulumi:"name"` - Network *NetworkResponse `pulumi:"network"` - ReplicaCapacity *int `pulumi:"replicaCapacity"` - ReplicationRole *string `pulumi:"replicationRole"` - Sku *PostgreSqlSkuResponse `pulumi:"sku"` - State string `pulumi:"state"` - Storage *StorageResponse `pulumi:"storage"` - SystemData SystemDataResponse `pulumi:"systemData"` - Tags map[string]string `pulumi:"tags"` - Type string `pulumi:"type"` - Version *string `pulumi:"version"` -} - - -func (val *LookupServerResult) Defaults() *LookupServerResult { - if val == nil { - return nil - } - tmp := *val - tmp.AuthConfig = tmp.AuthConfig.Defaults() - - if isZero(tmp.AvailabilityZone) { - availabilityZone_ := "" - tmp.AvailabilityZone = &availabilityZone_ - } - tmp.Backup = tmp.Backup.Defaults() - - tmp.HighAvailability = tmp.HighAvailability.Defaults() - - tmp.MaintenanceWindow = tmp.MaintenanceWindow.Defaults() - - tmp.Network = tmp.Network.Defaults() - - return &tmp -} - -func LookupServerOutput(ctx *pulumi.Context, args LookupServerOutputArgs, opts ...pulumi.InvokeOption) LookupServerResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupServerResult, error) { - args := v.(LookupServerArgs) - r, err := LookupServer(ctx, &args, opts...) - var s LookupServerResult - if r != nil { - s = *r - } - return s, err - }).(LookupServerResultOutput) -} - -type LookupServerOutputArgs struct { - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ServerName pulumi.StringInput `pulumi:"serverName"` -} - -func (LookupServerOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupServerArgs)(nil)).Elem() -} - - -type LookupServerResultOutput struct{ *pulumi.OutputState } - -func (LookupServerResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupServerResult)(nil)).Elem() -} - -func (o LookupServerResultOutput) ToLookupServerResultOutput() LookupServerResultOutput { - return o -} - -func (o LookupServerResultOutput) ToLookupServerResultOutputWithContext(ctx context.Context) LookupServerResultOutput { - return o -} - -func (o LookupServerResultOutput) AdministratorLogin() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupServerResult) *string { return v.AdministratorLogin }).(pulumi.StringPtrOutput) -} - -func (o LookupServerResultOutput) AuthConfig() AuthConfigResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *AuthConfigResponse { return v.AuthConfig }).(AuthConfigResponsePtrOutput) -} - -func (o LookupServerResultOutput) AvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupServerResult) *string { return v.AvailabilityZone }).(pulumi.StringPtrOutput) -} - -func (o LookupServerResultOutput) Backup() BackupResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *BackupResponse { return v.Backup }).(BackupResponsePtrOutput) -} - -func (o LookupServerResultOutput) DataEncryption() DataEncryptionResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *DataEncryptionResponse { return v.DataEncryption }).(DataEncryptionResponsePtrOutput) -} - -func (o LookupServerResultOutput) FullyQualifiedDomainName() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerResult) string { return v.FullyQualifiedDomainName }).(pulumi.StringOutput) -} - -func (o LookupServerResultOutput) HighAvailability() HighAvailabilityResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *HighAvailabilityResponse { return v.HighAvailability }).(HighAvailabilityResponsePtrOutput) -} - -func (o LookupServerResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupServerResultOutput) Identity() UserAssignedIdentityResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *UserAssignedIdentityResponse { return v.Identity }).(UserAssignedIdentityResponsePtrOutput) -} - -func (o LookupServerResultOutput) Location() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerResult) string { return v.Location }).(pulumi.StringOutput) -} - -func (o LookupServerResultOutput) MaintenanceWindow() MaintenanceWindowResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *MaintenanceWindowResponse { return v.MaintenanceWindow }).(MaintenanceWindowResponsePtrOutput) -} - -func (o LookupServerResultOutput) MinorVersion() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerResult) string { return v.MinorVersion }).(pulumi.StringOutput) -} - -func (o LookupServerResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupServerResultOutput) Network() NetworkResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *NetworkResponse { return v.Network }).(NetworkResponsePtrOutput) -} - -func (o LookupServerResultOutput) ReplicaCapacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v LookupServerResult) *int { return v.ReplicaCapacity }).(pulumi.IntPtrOutput) -} - -func (o LookupServerResultOutput) ReplicationRole() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupServerResult) *string { return v.ReplicationRole }).(pulumi.StringPtrOutput) -} - -func (o LookupServerResultOutput) Sku() PostgreSqlSkuResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *PostgreSqlSkuResponse { return v.Sku }).(PostgreSqlSkuResponsePtrOutput) -} - -func (o LookupServerResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerResult) string { return v.State }).(pulumi.StringOutput) -} - -func (o LookupServerResultOutput) Storage() StorageResponsePtrOutput { - return o.ApplyT(func(v LookupServerResult) *StorageResponse { return v.Storage }).(StorageResponsePtrOutput) -} - -func (o LookupServerResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupServerResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupServerResultOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupServerResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) -} - -func (o LookupServerResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerResult) string { return v.Type }).(pulumi.StringOutput) -} - -func (o LookupServerResultOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupServerResult) *string { return v.Version }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupServerResultOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/init.go b/sdk/go/azure/dbforpostgresql/v20220308preview/init.go deleted file mode 100644 index 43d2a14109bc..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/init.go +++ /dev/null @@ -1,52 +0,0 @@ - - - -package v20220308preview - -import ( - "fmt" - - "github.com/blang/semver" - "github.com/pulumi/pulumi-azure-native/sdk/go/azure" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type module struct { - version semver.Version -} - -func (m *module) Version() semver.Version { - return m.version -} - -func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { - switch typ { - case "azure-native:dbforpostgresql/v20220308preview:Administrator": - r = &Administrator{} - case "azure-native:dbforpostgresql/v20220308preview:Configuration": - r = &Configuration{} - case "azure-native:dbforpostgresql/v20220308preview:Database": - r = &Database{} - case "azure-native:dbforpostgresql/v20220308preview:FirewallRule": - r = &FirewallRule{} - case "azure-native:dbforpostgresql/v20220308preview:Server": - r = &Server{} - default: - return nil, fmt.Errorf("unknown resource type: %s", typ) - } - - err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) - return -} - -func init() { - version, err := azure.PkgVersion() - if err != nil { - version = semver.Version{Major: 1} - } - pulumi.RegisterResourceModule( - "azure-native", - "dbforpostgresql/v20220308preview", - &module{version}, - ) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiEnums.go b/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiEnums.go deleted file mode 100644 index 227226c11074..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiEnums.go +++ /dev/null @@ -1,86 +0,0 @@ - - - -package v20220308preview - -type ArmServerKeyType string - -const ( - ArmServerKeyTypeSystemAssigned = ArmServerKeyType("SystemAssigned") - ArmServerKeyTypeAzureKeyVault = ArmServerKeyType("AzureKeyVault") -) - -type CreateMode string - -const ( - CreateModeDefault = CreateMode("Default") - CreateModeCreate = CreateMode("Create") - CreateModeUpdate = CreateMode("Update") - CreateModePointInTimeRestore = CreateMode("PointInTimeRestore") - CreateModeGeoRestore = CreateMode("GeoRestore") - CreateModeReplica = CreateMode("Replica") -) - -type GeoRedundantBackupEnum string - -const ( - GeoRedundantBackupEnumEnabled = GeoRedundantBackupEnum("Enabled") - GeoRedundantBackupEnumDisabled = GeoRedundantBackupEnum("Disabled") -) - -type HighAvailabilityMode string - -const ( - HighAvailabilityModeDisabled = HighAvailabilityMode("Disabled") - HighAvailabilityModeZoneRedundant = HighAvailabilityMode("ZoneRedundant") - HighAvailabilityModeSameZone = HighAvailabilityMode("SameZone") -) - -type IdentityType string - -const ( - IdentityTypeNone = IdentityType("None") - IdentityTypeSystemAssigned = IdentityType("SystemAssigned") - IdentityTypeUserAssigned = IdentityType("UserAssigned") -) - -type PrincipalType string - -const ( - PrincipalTypeUnknown = PrincipalType("Unknown") - PrincipalTypeUser = PrincipalType("User") - PrincipalTypeGroup = PrincipalType("Group") - PrincipalTypeServicePrincipal = PrincipalType("ServicePrincipal") -) - -type ReplicationRole string - -const ( - ReplicationRolePrimary = ReplicationRole("Primary") - ReplicationRoleSecondary = ReplicationRole("Secondary") - ReplicationRoleWalReplica = ReplicationRole("WalReplica") - ReplicationRoleSyncReplica = ReplicationRole("SyncReplica") - ReplicationRoleAsyncReplica = ReplicationRole("AsyncReplica") - ReplicationRoleGeoSyncReplica = ReplicationRole("GeoSyncReplica") - ReplicationRoleGeoAsyncReplica = ReplicationRole("GeoAsyncReplica") -) - -type ServerVersion string - -const ( - ServerVersion_14 = ServerVersion("14") - ServerVersion_13 = ServerVersion("13") - ServerVersion_12 = ServerVersion("12") - ServerVersion_11 = ServerVersion("11") -) - -type SkuTier string - -const ( - SkuTierBurstable = SkuTier("Burstable") - SkuTierGeneralPurpose = SkuTier("GeneralPurpose") - SkuTierMemoryOptimized = SkuTier("MemoryOptimized") -) - -func init() { -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiTypes.go b/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiTypes.go deleted file mode 100644 index 26868a12cc45..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiTypes.go +++ /dev/null @@ -1,2593 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type AuthConfig struct { - ActiveDirectoryAuthEnabled *bool `pulumi:"activeDirectoryAuthEnabled"` - PasswordAuthEnabled *bool `pulumi:"passwordAuthEnabled"` - TenantId *string `pulumi:"tenantId"` -} - - -func (val *AuthConfig) Defaults() *AuthConfig { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.PasswordAuthEnabled) { - passwordAuthEnabled_ := true - tmp.PasswordAuthEnabled = &passwordAuthEnabled_ - } - if isZero(tmp.TenantId) { - tenantId_ := "" - tmp.TenantId = &tenantId_ - } - return &tmp -} - - - - - -type AuthConfigInput interface { - pulumi.Input - - ToAuthConfigOutput() AuthConfigOutput - ToAuthConfigOutputWithContext(context.Context) AuthConfigOutput -} - -type AuthConfigArgs struct { - ActiveDirectoryAuthEnabled pulumi.BoolPtrInput `pulumi:"activeDirectoryAuthEnabled"` - PasswordAuthEnabled pulumi.BoolPtrInput `pulumi:"passwordAuthEnabled"` - TenantId pulumi.StringPtrInput `pulumi:"tenantId"` -} - - -func (val *AuthConfigArgs) Defaults() *AuthConfigArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.PasswordAuthEnabled) { - tmp.PasswordAuthEnabled = pulumi.BoolPtr(true) - } - if isZero(tmp.TenantId) { - tmp.TenantId = pulumi.StringPtr("") - } - return &tmp -} -func (AuthConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*AuthConfig)(nil)).Elem() -} - -func (i AuthConfigArgs) ToAuthConfigOutput() AuthConfigOutput { - return i.ToAuthConfigOutputWithContext(context.Background()) -} - -func (i AuthConfigArgs) ToAuthConfigOutputWithContext(ctx context.Context) AuthConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(AuthConfigOutput) -} - -func (i AuthConfigArgs) ToAuthConfigPtrOutput() AuthConfigPtrOutput { - return i.ToAuthConfigPtrOutputWithContext(context.Background()) -} - -func (i AuthConfigArgs) ToAuthConfigPtrOutputWithContext(ctx context.Context) AuthConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AuthConfigOutput).ToAuthConfigPtrOutputWithContext(ctx) -} - - - - - - - - - -type AuthConfigPtrInput interface { - pulumi.Input - - ToAuthConfigPtrOutput() AuthConfigPtrOutput - ToAuthConfigPtrOutputWithContext(context.Context) AuthConfigPtrOutput -} - -type authConfigPtrType AuthConfigArgs - -func AuthConfigPtr(v *AuthConfigArgs) AuthConfigPtrInput { - return (*authConfigPtrType)(v) -} - -func (*authConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**AuthConfig)(nil)).Elem() -} - -func (i *authConfigPtrType) ToAuthConfigPtrOutput() AuthConfigPtrOutput { - return i.ToAuthConfigPtrOutputWithContext(context.Background()) -} - -func (i *authConfigPtrType) ToAuthConfigPtrOutputWithContext(ctx context.Context) AuthConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AuthConfigPtrOutput) -} - -type AuthConfigOutput struct{ *pulumi.OutputState } - -func (AuthConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AuthConfig)(nil)).Elem() -} - -func (o AuthConfigOutput) ToAuthConfigOutput() AuthConfigOutput { - return o -} - -func (o AuthConfigOutput) ToAuthConfigOutputWithContext(ctx context.Context) AuthConfigOutput { - return o -} - -func (o AuthConfigOutput) ToAuthConfigPtrOutput() AuthConfigPtrOutput { - return o.ToAuthConfigPtrOutputWithContext(context.Background()) -} - -func (o AuthConfigOutput) ToAuthConfigPtrOutputWithContext(ctx context.Context) AuthConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v AuthConfig) *AuthConfig { - return &v - }).(AuthConfigPtrOutput) -} - -func (o AuthConfigOutput) ActiveDirectoryAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AuthConfig) *bool { return v.ActiveDirectoryAuthEnabled }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigOutput) PasswordAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AuthConfig) *bool { return v.PasswordAuthEnabled }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v AuthConfig) *string { return v.TenantId }).(pulumi.StringPtrOutput) -} - -type AuthConfigPtrOutput struct{ *pulumi.OutputState } - -func (AuthConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AuthConfig)(nil)).Elem() -} - -func (o AuthConfigPtrOutput) ToAuthConfigPtrOutput() AuthConfigPtrOutput { - return o -} - -func (o AuthConfigPtrOutput) ToAuthConfigPtrOutputWithContext(ctx context.Context) AuthConfigPtrOutput { - return o -} - -func (o AuthConfigPtrOutput) Elem() AuthConfigOutput { - return o.ApplyT(func(v *AuthConfig) AuthConfig { - if v != nil { - return *v - } - var ret AuthConfig - return ret - }).(AuthConfigOutput) -} - -func (o AuthConfigPtrOutput) ActiveDirectoryAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AuthConfig) *bool { - if v == nil { - return nil - } - return v.ActiveDirectoryAuthEnabled - }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigPtrOutput) PasswordAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AuthConfig) *bool { - if v == nil { - return nil - } - return v.PasswordAuthEnabled - }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *AuthConfig) *string { - if v == nil { - return nil - } - return v.TenantId - }).(pulumi.StringPtrOutput) -} - -type AuthConfigResponse struct { - ActiveDirectoryAuthEnabled *bool `pulumi:"activeDirectoryAuthEnabled"` - PasswordAuthEnabled *bool `pulumi:"passwordAuthEnabled"` - TenantId *string `pulumi:"tenantId"` -} - - -func (val *AuthConfigResponse) Defaults() *AuthConfigResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.PasswordAuthEnabled) { - passwordAuthEnabled_ := true - tmp.PasswordAuthEnabled = &passwordAuthEnabled_ - } - if isZero(tmp.TenantId) { - tenantId_ := "" - tmp.TenantId = &tenantId_ - } - return &tmp -} - -type AuthConfigResponseOutput struct{ *pulumi.OutputState } - -func (AuthConfigResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AuthConfigResponse)(nil)).Elem() -} - -func (o AuthConfigResponseOutput) ToAuthConfigResponseOutput() AuthConfigResponseOutput { - return o -} - -func (o AuthConfigResponseOutput) ToAuthConfigResponseOutputWithContext(ctx context.Context) AuthConfigResponseOutput { - return o -} - -func (o AuthConfigResponseOutput) ActiveDirectoryAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AuthConfigResponse) *bool { return v.ActiveDirectoryAuthEnabled }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigResponseOutput) PasswordAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AuthConfigResponse) *bool { return v.PasswordAuthEnabled }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigResponseOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v AuthConfigResponse) *string { return v.TenantId }).(pulumi.StringPtrOutput) -} - -type AuthConfigResponsePtrOutput struct{ *pulumi.OutputState } - -func (AuthConfigResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AuthConfigResponse)(nil)).Elem() -} - -func (o AuthConfigResponsePtrOutput) ToAuthConfigResponsePtrOutput() AuthConfigResponsePtrOutput { - return o -} - -func (o AuthConfigResponsePtrOutput) ToAuthConfigResponsePtrOutputWithContext(ctx context.Context) AuthConfigResponsePtrOutput { - return o -} - -func (o AuthConfigResponsePtrOutput) Elem() AuthConfigResponseOutput { - return o.ApplyT(func(v *AuthConfigResponse) AuthConfigResponse { - if v != nil { - return *v - } - var ret AuthConfigResponse - return ret - }).(AuthConfigResponseOutput) -} - -func (o AuthConfigResponsePtrOutput) ActiveDirectoryAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AuthConfigResponse) *bool { - if v == nil { - return nil - } - return v.ActiveDirectoryAuthEnabled - }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigResponsePtrOutput) PasswordAuthEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AuthConfigResponse) *bool { - if v == nil { - return nil - } - return v.PasswordAuthEnabled - }).(pulumi.BoolPtrOutput) -} - -func (o AuthConfigResponsePtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *AuthConfigResponse) *string { - if v == nil { - return nil - } - return v.TenantId - }).(pulumi.StringPtrOutput) -} - -type Backup struct { - BackupRetentionDays *int `pulumi:"backupRetentionDays"` - GeoRedundantBackup *string `pulumi:"geoRedundantBackup"` -} - - -func (val *Backup) Defaults() *Backup { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.BackupRetentionDays) { - backupRetentionDays_ := 7 - tmp.BackupRetentionDays = &backupRetentionDays_ - } - if isZero(tmp.GeoRedundantBackup) { - geoRedundantBackup_ := "Disabled" - tmp.GeoRedundantBackup = &geoRedundantBackup_ - } - return &tmp -} - - - - - -type BackupInput interface { - pulumi.Input - - ToBackupOutput() BackupOutput - ToBackupOutputWithContext(context.Context) BackupOutput -} - -type BackupArgs struct { - BackupRetentionDays pulumi.IntPtrInput `pulumi:"backupRetentionDays"` - GeoRedundantBackup pulumi.StringPtrInput `pulumi:"geoRedundantBackup"` -} - - -func (val *BackupArgs) Defaults() *BackupArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.BackupRetentionDays) { - tmp.BackupRetentionDays = pulumi.IntPtr(7) - } - if isZero(tmp.GeoRedundantBackup) { - tmp.GeoRedundantBackup = pulumi.StringPtr("Disabled") - } - return &tmp -} -func (BackupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Backup)(nil)).Elem() -} - -func (i BackupArgs) ToBackupOutput() BackupOutput { - return i.ToBackupOutputWithContext(context.Background()) -} - -func (i BackupArgs) ToBackupOutputWithContext(ctx context.Context) BackupOutput { - return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) -} - -func (i BackupArgs) ToBackupPtrOutput() BackupPtrOutput { - return i.ToBackupPtrOutputWithContext(context.Background()) -} - -func (i BackupArgs) ToBackupPtrOutputWithContext(ctx context.Context) BackupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BackupOutput).ToBackupPtrOutputWithContext(ctx) -} - - - - - - - - - -type BackupPtrInput interface { - pulumi.Input - - ToBackupPtrOutput() BackupPtrOutput - ToBackupPtrOutputWithContext(context.Context) BackupPtrOutput -} - -type backupPtrType BackupArgs - -func BackupPtr(v *BackupArgs) BackupPtrInput { - return (*backupPtrType)(v) -} - -func (*backupPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Backup)(nil)).Elem() -} - -func (i *backupPtrType) ToBackupPtrOutput() BackupPtrOutput { - return i.ToBackupPtrOutputWithContext(context.Background()) -} - -func (i *backupPtrType) ToBackupPtrOutputWithContext(ctx context.Context) BackupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BackupPtrOutput) -} - -type BackupOutput struct{ *pulumi.OutputState } - -func (BackupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Backup)(nil)).Elem() -} - -func (o BackupOutput) ToBackupOutput() BackupOutput { - return o -} - -func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutput { - return o -} - -func (o BackupOutput) ToBackupPtrOutput() BackupPtrOutput { - return o.ToBackupPtrOutputWithContext(context.Background()) -} - -func (o BackupOutput) ToBackupPtrOutputWithContext(ctx context.Context) BackupPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Backup) *Backup { - return &v - }).(BackupPtrOutput) -} - -func (o BackupOutput) BackupRetentionDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v Backup) *int { return v.BackupRetentionDays }).(pulumi.IntPtrOutput) -} - -func (o BackupOutput) GeoRedundantBackup() pulumi.StringPtrOutput { - return o.ApplyT(func(v Backup) *string { return v.GeoRedundantBackup }).(pulumi.StringPtrOutput) -} - -type BackupPtrOutput struct{ *pulumi.OutputState } - -func (BackupPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Backup)(nil)).Elem() -} - -func (o BackupPtrOutput) ToBackupPtrOutput() BackupPtrOutput { - return o -} - -func (o BackupPtrOutput) ToBackupPtrOutputWithContext(ctx context.Context) BackupPtrOutput { - return o -} - -func (o BackupPtrOutput) Elem() BackupOutput { - return o.ApplyT(func(v *Backup) Backup { - if v != nil { - return *v - } - var ret Backup - return ret - }).(BackupOutput) -} - -func (o BackupPtrOutput) BackupRetentionDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v *Backup) *int { - if v == nil { - return nil - } - return v.BackupRetentionDays - }).(pulumi.IntPtrOutput) -} - -func (o BackupPtrOutput) GeoRedundantBackup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Backup) *string { - if v == nil { - return nil - } - return v.GeoRedundantBackup - }).(pulumi.StringPtrOutput) -} - -type BackupResponse struct { - BackupRetentionDays *int `pulumi:"backupRetentionDays"` - EarliestRestoreDate string `pulumi:"earliestRestoreDate"` - GeoRedundantBackup *string `pulumi:"geoRedundantBackup"` -} - - -func (val *BackupResponse) Defaults() *BackupResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.BackupRetentionDays) { - backupRetentionDays_ := 7 - tmp.BackupRetentionDays = &backupRetentionDays_ - } - if isZero(tmp.GeoRedundantBackup) { - geoRedundantBackup_ := "Disabled" - tmp.GeoRedundantBackup = &geoRedundantBackup_ - } - return &tmp -} - -type BackupResponseOutput struct{ *pulumi.OutputState } - -func (BackupResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BackupResponse)(nil)).Elem() -} - -func (o BackupResponseOutput) ToBackupResponseOutput() BackupResponseOutput { - return o -} - -func (o BackupResponseOutput) ToBackupResponseOutputWithContext(ctx context.Context) BackupResponseOutput { - return o -} - -func (o BackupResponseOutput) BackupRetentionDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v BackupResponse) *int { return v.BackupRetentionDays }).(pulumi.IntPtrOutput) -} - -func (o BackupResponseOutput) EarliestRestoreDate() pulumi.StringOutput { - return o.ApplyT(func(v BackupResponse) string { return v.EarliestRestoreDate }).(pulumi.StringOutput) -} - -func (o BackupResponseOutput) GeoRedundantBackup() pulumi.StringPtrOutput { - return o.ApplyT(func(v BackupResponse) *string { return v.GeoRedundantBackup }).(pulumi.StringPtrOutput) -} - -type BackupResponsePtrOutput struct{ *pulumi.OutputState } - -func (BackupResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BackupResponse)(nil)).Elem() -} - -func (o BackupResponsePtrOutput) ToBackupResponsePtrOutput() BackupResponsePtrOutput { - return o -} - -func (o BackupResponsePtrOutput) ToBackupResponsePtrOutputWithContext(ctx context.Context) BackupResponsePtrOutput { - return o -} - -func (o BackupResponsePtrOutput) Elem() BackupResponseOutput { - return o.ApplyT(func(v *BackupResponse) BackupResponse { - if v != nil { - return *v - } - var ret BackupResponse - return ret - }).(BackupResponseOutput) -} - -func (o BackupResponsePtrOutput) BackupRetentionDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v *BackupResponse) *int { - if v == nil { - return nil - } - return v.BackupRetentionDays - }).(pulumi.IntPtrOutput) -} - -func (o BackupResponsePtrOutput) EarliestRestoreDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BackupResponse) *string { - if v == nil { - return nil - } - return &v.EarliestRestoreDate - }).(pulumi.StringPtrOutput) -} - -func (o BackupResponsePtrOutput) GeoRedundantBackup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BackupResponse) *string { - if v == nil { - return nil - } - return v.GeoRedundantBackup - }).(pulumi.StringPtrOutput) -} - -type DataEncryption struct { - PrimaryKeyURI *string `pulumi:"primaryKeyURI"` - PrimaryUserAssignedIdentityId *string `pulumi:"primaryUserAssignedIdentityId"` - Type *string `pulumi:"type"` -} - - - - - -type DataEncryptionInput interface { - pulumi.Input - - ToDataEncryptionOutput() DataEncryptionOutput - ToDataEncryptionOutputWithContext(context.Context) DataEncryptionOutput -} - -type DataEncryptionArgs struct { - PrimaryKeyURI pulumi.StringPtrInput `pulumi:"primaryKeyURI"` - PrimaryUserAssignedIdentityId pulumi.StringPtrInput `pulumi:"primaryUserAssignedIdentityId"` - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (DataEncryptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DataEncryption)(nil)).Elem() -} - -func (i DataEncryptionArgs) ToDataEncryptionOutput() DataEncryptionOutput { - return i.ToDataEncryptionOutputWithContext(context.Background()) -} - -func (i DataEncryptionArgs) ToDataEncryptionOutputWithContext(ctx context.Context) DataEncryptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(DataEncryptionOutput) -} - -func (i DataEncryptionArgs) ToDataEncryptionPtrOutput() DataEncryptionPtrOutput { - return i.ToDataEncryptionPtrOutputWithContext(context.Background()) -} - -func (i DataEncryptionArgs) ToDataEncryptionPtrOutputWithContext(ctx context.Context) DataEncryptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DataEncryptionOutput).ToDataEncryptionPtrOutputWithContext(ctx) -} - - - - - - - - - -type DataEncryptionPtrInput interface { - pulumi.Input - - ToDataEncryptionPtrOutput() DataEncryptionPtrOutput - ToDataEncryptionPtrOutputWithContext(context.Context) DataEncryptionPtrOutput -} - -type dataEncryptionPtrType DataEncryptionArgs - -func DataEncryptionPtr(v *DataEncryptionArgs) DataEncryptionPtrInput { - return (*dataEncryptionPtrType)(v) -} - -func (*dataEncryptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DataEncryption)(nil)).Elem() -} - -func (i *dataEncryptionPtrType) ToDataEncryptionPtrOutput() DataEncryptionPtrOutput { - return i.ToDataEncryptionPtrOutputWithContext(context.Background()) -} - -func (i *dataEncryptionPtrType) ToDataEncryptionPtrOutputWithContext(ctx context.Context) DataEncryptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DataEncryptionPtrOutput) -} - -type DataEncryptionOutput struct{ *pulumi.OutputState } - -func (DataEncryptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DataEncryption)(nil)).Elem() -} - -func (o DataEncryptionOutput) ToDataEncryptionOutput() DataEncryptionOutput { - return o -} - -func (o DataEncryptionOutput) ToDataEncryptionOutputWithContext(ctx context.Context) DataEncryptionOutput { - return o -} - -func (o DataEncryptionOutput) ToDataEncryptionPtrOutput() DataEncryptionPtrOutput { - return o.ToDataEncryptionPtrOutputWithContext(context.Background()) -} - -func (o DataEncryptionOutput) ToDataEncryptionPtrOutputWithContext(ctx context.Context) DataEncryptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DataEncryption) *DataEncryption { - return &v - }).(DataEncryptionPtrOutput) -} - -func (o DataEncryptionOutput) PrimaryKeyURI() pulumi.StringPtrOutput { - return o.ApplyT(func(v DataEncryption) *string { return v.PrimaryKeyURI }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionOutput) PrimaryUserAssignedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v DataEncryption) *string { return v.PrimaryUserAssignedIdentityId }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v DataEncryption) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -type DataEncryptionPtrOutput struct{ *pulumi.OutputState } - -func (DataEncryptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DataEncryption)(nil)).Elem() -} - -func (o DataEncryptionPtrOutput) ToDataEncryptionPtrOutput() DataEncryptionPtrOutput { - return o -} - -func (o DataEncryptionPtrOutput) ToDataEncryptionPtrOutputWithContext(ctx context.Context) DataEncryptionPtrOutput { - return o -} - -func (o DataEncryptionPtrOutput) Elem() DataEncryptionOutput { - return o.ApplyT(func(v *DataEncryption) DataEncryption { - if v != nil { - return *v - } - var ret DataEncryption - return ret - }).(DataEncryptionOutput) -} - -func (o DataEncryptionPtrOutput) PrimaryKeyURI() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DataEncryption) *string { - if v == nil { - return nil - } - return v.PrimaryKeyURI - }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionPtrOutput) PrimaryUserAssignedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DataEncryption) *string { - if v == nil { - return nil - } - return v.PrimaryUserAssignedIdentityId - }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DataEncryption) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -type DataEncryptionResponse struct { - PrimaryKeyURI *string `pulumi:"primaryKeyURI"` - PrimaryUserAssignedIdentityId *string `pulumi:"primaryUserAssignedIdentityId"` - Type *string `pulumi:"type"` -} - -type DataEncryptionResponseOutput struct{ *pulumi.OutputState } - -func (DataEncryptionResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DataEncryptionResponse)(nil)).Elem() -} - -func (o DataEncryptionResponseOutput) ToDataEncryptionResponseOutput() DataEncryptionResponseOutput { - return o -} - -func (o DataEncryptionResponseOutput) ToDataEncryptionResponseOutputWithContext(ctx context.Context) DataEncryptionResponseOutput { - return o -} - -func (o DataEncryptionResponseOutput) PrimaryKeyURI() pulumi.StringPtrOutput { - return o.ApplyT(func(v DataEncryptionResponse) *string { return v.PrimaryKeyURI }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionResponseOutput) PrimaryUserAssignedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v DataEncryptionResponse) *string { return v.PrimaryUserAssignedIdentityId }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionResponseOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v DataEncryptionResponse) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -type DataEncryptionResponsePtrOutput struct{ *pulumi.OutputState } - -func (DataEncryptionResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DataEncryptionResponse)(nil)).Elem() -} - -func (o DataEncryptionResponsePtrOutput) ToDataEncryptionResponsePtrOutput() DataEncryptionResponsePtrOutput { - return o -} - -func (o DataEncryptionResponsePtrOutput) ToDataEncryptionResponsePtrOutputWithContext(ctx context.Context) DataEncryptionResponsePtrOutput { - return o -} - -func (o DataEncryptionResponsePtrOutput) Elem() DataEncryptionResponseOutput { - return o.ApplyT(func(v *DataEncryptionResponse) DataEncryptionResponse { - if v != nil { - return *v - } - var ret DataEncryptionResponse - return ret - }).(DataEncryptionResponseOutput) -} - -func (o DataEncryptionResponsePtrOutput) PrimaryKeyURI() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DataEncryptionResponse) *string { - if v == nil { - return nil - } - return v.PrimaryKeyURI - }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionResponsePtrOutput) PrimaryUserAssignedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DataEncryptionResponse) *string { - if v == nil { - return nil - } - return v.PrimaryUserAssignedIdentityId - }).(pulumi.StringPtrOutput) -} - -func (o DataEncryptionResponsePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DataEncryptionResponse) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -type HighAvailability struct { - Mode *string `pulumi:"mode"` - StandbyAvailabilityZone *string `pulumi:"standbyAvailabilityZone"` -} - - -func (val *HighAvailability) Defaults() *HighAvailability { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Mode) { - mode_ := "Disabled" - tmp.Mode = &mode_ - } - if isZero(tmp.StandbyAvailabilityZone) { - standbyAvailabilityZone_ := "" - tmp.StandbyAvailabilityZone = &standbyAvailabilityZone_ - } - return &tmp -} - - - - - -type HighAvailabilityInput interface { - pulumi.Input - - ToHighAvailabilityOutput() HighAvailabilityOutput - ToHighAvailabilityOutputWithContext(context.Context) HighAvailabilityOutput -} - -type HighAvailabilityArgs struct { - Mode pulumi.StringPtrInput `pulumi:"mode"` - StandbyAvailabilityZone pulumi.StringPtrInput `pulumi:"standbyAvailabilityZone"` -} - - -func (val *HighAvailabilityArgs) Defaults() *HighAvailabilityArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Mode) { - tmp.Mode = pulumi.StringPtr("Disabled") - } - if isZero(tmp.StandbyAvailabilityZone) { - tmp.StandbyAvailabilityZone = pulumi.StringPtr("") - } - return &tmp -} -func (HighAvailabilityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*HighAvailability)(nil)).Elem() -} - -func (i HighAvailabilityArgs) ToHighAvailabilityOutput() HighAvailabilityOutput { - return i.ToHighAvailabilityOutputWithContext(context.Background()) -} - -func (i HighAvailabilityArgs) ToHighAvailabilityOutputWithContext(ctx context.Context) HighAvailabilityOutput { - return pulumi.ToOutputWithContext(ctx, i).(HighAvailabilityOutput) -} - -func (i HighAvailabilityArgs) ToHighAvailabilityPtrOutput() HighAvailabilityPtrOutput { - return i.ToHighAvailabilityPtrOutputWithContext(context.Background()) -} - -func (i HighAvailabilityArgs) ToHighAvailabilityPtrOutputWithContext(ctx context.Context) HighAvailabilityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(HighAvailabilityOutput).ToHighAvailabilityPtrOutputWithContext(ctx) -} - - - - - - - - - -type HighAvailabilityPtrInput interface { - pulumi.Input - - ToHighAvailabilityPtrOutput() HighAvailabilityPtrOutput - ToHighAvailabilityPtrOutputWithContext(context.Context) HighAvailabilityPtrOutput -} - -type highAvailabilityPtrType HighAvailabilityArgs - -func HighAvailabilityPtr(v *HighAvailabilityArgs) HighAvailabilityPtrInput { - return (*highAvailabilityPtrType)(v) -} - -func (*highAvailabilityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**HighAvailability)(nil)).Elem() -} - -func (i *highAvailabilityPtrType) ToHighAvailabilityPtrOutput() HighAvailabilityPtrOutput { - return i.ToHighAvailabilityPtrOutputWithContext(context.Background()) -} - -func (i *highAvailabilityPtrType) ToHighAvailabilityPtrOutputWithContext(ctx context.Context) HighAvailabilityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(HighAvailabilityPtrOutput) -} - -type HighAvailabilityOutput struct{ *pulumi.OutputState } - -func (HighAvailabilityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*HighAvailability)(nil)).Elem() -} - -func (o HighAvailabilityOutput) ToHighAvailabilityOutput() HighAvailabilityOutput { - return o -} - -func (o HighAvailabilityOutput) ToHighAvailabilityOutputWithContext(ctx context.Context) HighAvailabilityOutput { - return o -} - -func (o HighAvailabilityOutput) ToHighAvailabilityPtrOutput() HighAvailabilityPtrOutput { - return o.ToHighAvailabilityPtrOutputWithContext(context.Background()) -} - -func (o HighAvailabilityOutput) ToHighAvailabilityPtrOutputWithContext(ctx context.Context) HighAvailabilityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v HighAvailability) *HighAvailability { - return &v - }).(HighAvailabilityPtrOutput) -} - -func (o HighAvailabilityOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v HighAvailability) *string { return v.Mode }).(pulumi.StringPtrOutput) -} - -func (o HighAvailabilityOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v HighAvailability) *string { return v.StandbyAvailabilityZone }).(pulumi.StringPtrOutput) -} - -type HighAvailabilityPtrOutput struct{ *pulumi.OutputState } - -func (HighAvailabilityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**HighAvailability)(nil)).Elem() -} - -func (o HighAvailabilityPtrOutput) ToHighAvailabilityPtrOutput() HighAvailabilityPtrOutput { - return o -} - -func (o HighAvailabilityPtrOutput) ToHighAvailabilityPtrOutputWithContext(ctx context.Context) HighAvailabilityPtrOutput { - return o -} - -func (o HighAvailabilityPtrOutput) Elem() HighAvailabilityOutput { - return o.ApplyT(func(v *HighAvailability) HighAvailability { - if v != nil { - return *v - } - var ret HighAvailability - return ret - }).(HighAvailabilityOutput) -} - -func (o HighAvailabilityPtrOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *HighAvailability) *string { - if v == nil { - return nil - } - return v.Mode - }).(pulumi.StringPtrOutput) -} - -func (o HighAvailabilityPtrOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *HighAvailability) *string { - if v == nil { - return nil - } - return v.StandbyAvailabilityZone - }).(pulumi.StringPtrOutput) -} - -type HighAvailabilityResponse struct { - Mode *string `pulumi:"mode"` - StandbyAvailabilityZone *string `pulumi:"standbyAvailabilityZone"` - State string `pulumi:"state"` -} - - -func (val *HighAvailabilityResponse) Defaults() *HighAvailabilityResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Mode) { - mode_ := "Disabled" - tmp.Mode = &mode_ - } - if isZero(tmp.StandbyAvailabilityZone) { - standbyAvailabilityZone_ := "" - tmp.StandbyAvailabilityZone = &standbyAvailabilityZone_ - } - return &tmp -} - -type HighAvailabilityResponseOutput struct{ *pulumi.OutputState } - -func (HighAvailabilityResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*HighAvailabilityResponse)(nil)).Elem() -} - -func (o HighAvailabilityResponseOutput) ToHighAvailabilityResponseOutput() HighAvailabilityResponseOutput { - return o -} - -func (o HighAvailabilityResponseOutput) ToHighAvailabilityResponseOutputWithContext(ctx context.Context) HighAvailabilityResponseOutput { - return o -} - -func (o HighAvailabilityResponseOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v HighAvailabilityResponse) *string { return v.Mode }).(pulumi.StringPtrOutput) -} - -func (o HighAvailabilityResponseOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v HighAvailabilityResponse) *string { return v.StandbyAvailabilityZone }).(pulumi.StringPtrOutput) -} - -func (o HighAvailabilityResponseOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v HighAvailabilityResponse) string { return v.State }).(pulumi.StringOutput) -} - -type HighAvailabilityResponsePtrOutput struct{ *pulumi.OutputState } - -func (HighAvailabilityResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**HighAvailabilityResponse)(nil)).Elem() -} - -func (o HighAvailabilityResponsePtrOutput) ToHighAvailabilityResponsePtrOutput() HighAvailabilityResponsePtrOutput { - return o -} - -func (o HighAvailabilityResponsePtrOutput) ToHighAvailabilityResponsePtrOutputWithContext(ctx context.Context) HighAvailabilityResponsePtrOutput { - return o -} - -func (o HighAvailabilityResponsePtrOutput) Elem() HighAvailabilityResponseOutput { - return o.ApplyT(func(v *HighAvailabilityResponse) HighAvailabilityResponse { - if v != nil { - return *v - } - var ret HighAvailabilityResponse - return ret - }).(HighAvailabilityResponseOutput) -} - -func (o HighAvailabilityResponsePtrOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *HighAvailabilityResponse) *string { - if v == nil { - return nil - } - return v.Mode - }).(pulumi.StringPtrOutput) -} - -func (o HighAvailabilityResponsePtrOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *HighAvailabilityResponse) *string { - if v == nil { - return nil - } - return v.StandbyAvailabilityZone - }).(pulumi.StringPtrOutput) -} - -func (o HighAvailabilityResponsePtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *HighAvailabilityResponse) *string { - if v == nil { - return nil - } - return &v.State - }).(pulumi.StringPtrOutput) -} - -type MaintenanceWindow struct { - CustomWindow *string `pulumi:"customWindow"` - DayOfWeek *int `pulumi:"dayOfWeek"` - StartHour *int `pulumi:"startHour"` - StartMinute *int `pulumi:"startMinute"` -} - - -func (val *MaintenanceWindow) Defaults() *MaintenanceWindow { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.CustomWindow) { - customWindow_ := "Disabled" - tmp.CustomWindow = &customWindow_ - } - if isZero(tmp.DayOfWeek) { - dayOfWeek_ := 0 - tmp.DayOfWeek = &dayOfWeek_ - } - if isZero(tmp.StartHour) { - startHour_ := 0 - tmp.StartHour = &startHour_ - } - if isZero(tmp.StartMinute) { - startMinute_ := 0 - tmp.StartMinute = &startMinute_ - } - return &tmp -} - - - - - -type MaintenanceWindowInput interface { - pulumi.Input - - ToMaintenanceWindowOutput() MaintenanceWindowOutput - ToMaintenanceWindowOutputWithContext(context.Context) MaintenanceWindowOutput -} - -type MaintenanceWindowArgs struct { - CustomWindow pulumi.StringPtrInput `pulumi:"customWindow"` - DayOfWeek pulumi.IntPtrInput `pulumi:"dayOfWeek"` - StartHour pulumi.IntPtrInput `pulumi:"startHour"` - StartMinute pulumi.IntPtrInput `pulumi:"startMinute"` -} - - -func (val *MaintenanceWindowArgs) Defaults() *MaintenanceWindowArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.CustomWindow) { - tmp.CustomWindow = pulumi.StringPtr("Disabled") - } - if isZero(tmp.DayOfWeek) { - tmp.DayOfWeek = pulumi.IntPtr(0) - } - if isZero(tmp.StartHour) { - tmp.StartHour = pulumi.IntPtr(0) - } - if isZero(tmp.StartMinute) { - tmp.StartMinute = pulumi.IntPtr(0) - } - return &tmp -} -func (MaintenanceWindowArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MaintenanceWindow)(nil)).Elem() -} - -func (i MaintenanceWindowArgs) ToMaintenanceWindowOutput() MaintenanceWindowOutput { - return i.ToMaintenanceWindowOutputWithContext(context.Background()) -} - -func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput { - return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) -} - -func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { - return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) -} - -func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput).ToMaintenanceWindowPtrOutputWithContext(ctx) -} - - - - - - - - - -type MaintenanceWindowPtrInput interface { - pulumi.Input - - ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput - ToMaintenanceWindowPtrOutputWithContext(context.Context) MaintenanceWindowPtrOutput -} - -type maintenanceWindowPtrType MaintenanceWindowArgs - -func MaintenanceWindowPtr(v *MaintenanceWindowArgs) MaintenanceWindowPtrInput { - return (*maintenanceWindowPtrType)(v) -} - -func (*maintenanceWindowPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MaintenanceWindow)(nil)).Elem() -} - -func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { - return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) -} - -func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) -} - -type MaintenanceWindowOutput struct{ *pulumi.OutputState } - -func (MaintenanceWindowOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MaintenanceWindow)(nil)).Elem() -} - -func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput { - return o -} - -func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput { - return o -} - -func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { - return o.ToMaintenanceWindowPtrOutputWithContext(context.Background()) -} - -func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MaintenanceWindow) *MaintenanceWindow { - return &v - }).(MaintenanceWindowPtrOutput) -} - -func (o MaintenanceWindowOutput) CustomWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v MaintenanceWindow) *string { return v.CustomWindow }).(pulumi.StringPtrOutput) -} - -func (o MaintenanceWindowOutput) DayOfWeek() pulumi.IntPtrOutput { - return o.ApplyT(func(v MaintenanceWindow) *int { return v.DayOfWeek }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowOutput) StartHour() pulumi.IntPtrOutput { - return o.ApplyT(func(v MaintenanceWindow) *int { return v.StartHour }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowOutput) StartMinute() pulumi.IntPtrOutput { - return o.ApplyT(func(v MaintenanceWindow) *int { return v.StartMinute }).(pulumi.IntPtrOutput) -} - -type MaintenanceWindowPtrOutput struct{ *pulumi.OutputState } - -func (MaintenanceWindowPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MaintenanceWindow)(nil)).Elem() -} - -func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { - return o -} - -func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput { - return o -} - -func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { - return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { - if v != nil { - return *v - } - var ret MaintenanceWindow - return ret - }).(MaintenanceWindowOutput) -} - -func (o MaintenanceWindowPtrOutput) CustomWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MaintenanceWindow) *string { - if v == nil { - return nil - } - return v.CustomWindow - }).(pulumi.StringPtrOutput) -} - -func (o MaintenanceWindowPtrOutput) DayOfWeek() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MaintenanceWindow) *int { - if v == nil { - return nil - } - return v.DayOfWeek - }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowPtrOutput) StartHour() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MaintenanceWindow) *int { - if v == nil { - return nil - } - return v.StartHour - }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowPtrOutput) StartMinute() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MaintenanceWindow) *int { - if v == nil { - return nil - } - return v.StartMinute - }).(pulumi.IntPtrOutput) -} - -type MaintenanceWindowResponse struct { - CustomWindow *string `pulumi:"customWindow"` - DayOfWeek *int `pulumi:"dayOfWeek"` - StartHour *int `pulumi:"startHour"` - StartMinute *int `pulumi:"startMinute"` -} - - -func (val *MaintenanceWindowResponse) Defaults() *MaintenanceWindowResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.CustomWindow) { - customWindow_ := "Disabled" - tmp.CustomWindow = &customWindow_ - } - if isZero(tmp.DayOfWeek) { - dayOfWeek_ := 0 - tmp.DayOfWeek = &dayOfWeek_ - } - if isZero(tmp.StartHour) { - startHour_ := 0 - tmp.StartHour = &startHour_ - } - if isZero(tmp.StartMinute) { - startMinute_ := 0 - tmp.StartMinute = &startMinute_ - } - return &tmp -} - -type MaintenanceWindowResponseOutput struct{ *pulumi.OutputState } - -func (MaintenanceWindowResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MaintenanceWindowResponse)(nil)).Elem() -} - -func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutput() MaintenanceWindowResponseOutput { - return o -} - -func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithContext(ctx context.Context) MaintenanceWindowResponseOutput { - return o -} - -func (o MaintenanceWindowResponseOutput) CustomWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v MaintenanceWindowResponse) *string { return v.CustomWindow }).(pulumi.StringPtrOutput) -} - -func (o MaintenanceWindowResponseOutput) DayOfWeek() pulumi.IntPtrOutput { - return o.ApplyT(func(v MaintenanceWindowResponse) *int { return v.DayOfWeek }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowResponseOutput) StartHour() pulumi.IntPtrOutput { - return o.ApplyT(func(v MaintenanceWindowResponse) *int { return v.StartHour }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowResponseOutput) StartMinute() pulumi.IntPtrOutput { - return o.ApplyT(func(v MaintenanceWindowResponse) *int { return v.StartMinute }).(pulumi.IntPtrOutput) -} - -type MaintenanceWindowResponsePtrOutput struct{ *pulumi.OutputState } - -func (MaintenanceWindowResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MaintenanceWindowResponse)(nil)).Elem() -} - -func (o MaintenanceWindowResponsePtrOutput) ToMaintenanceWindowResponsePtrOutput() MaintenanceWindowResponsePtrOutput { - return o -} - -func (o MaintenanceWindowResponsePtrOutput) ToMaintenanceWindowResponsePtrOutputWithContext(ctx context.Context) MaintenanceWindowResponsePtrOutput { - return o -} - -func (o MaintenanceWindowResponsePtrOutput) Elem() MaintenanceWindowResponseOutput { - return o.ApplyT(func(v *MaintenanceWindowResponse) MaintenanceWindowResponse { - if v != nil { - return *v - } - var ret MaintenanceWindowResponse - return ret - }).(MaintenanceWindowResponseOutput) -} - -func (o MaintenanceWindowResponsePtrOutput) CustomWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MaintenanceWindowResponse) *string { - if v == nil { - return nil - } - return v.CustomWindow - }).(pulumi.StringPtrOutput) -} - -func (o MaintenanceWindowResponsePtrOutput) DayOfWeek() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MaintenanceWindowResponse) *int { - if v == nil { - return nil - } - return v.DayOfWeek - }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowResponsePtrOutput) StartHour() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MaintenanceWindowResponse) *int { - if v == nil { - return nil - } - return v.StartHour - }).(pulumi.IntPtrOutput) -} - -func (o MaintenanceWindowResponsePtrOutput) StartMinute() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MaintenanceWindowResponse) *int { - if v == nil { - return nil - } - return v.StartMinute - }).(pulumi.IntPtrOutput) -} - -type Network struct { - DelegatedSubnetResourceId *string `pulumi:"delegatedSubnetResourceId"` - PrivateDnsZoneArmResourceId *string `pulumi:"privateDnsZoneArmResourceId"` -} - - -func (val *Network) Defaults() *Network { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.DelegatedSubnetResourceId) { - delegatedSubnetResourceId_ := "" - tmp.DelegatedSubnetResourceId = &delegatedSubnetResourceId_ - } - if isZero(tmp.PrivateDnsZoneArmResourceId) { - privateDnsZoneArmResourceId_ := "" - tmp.PrivateDnsZoneArmResourceId = &privateDnsZoneArmResourceId_ - } - return &tmp -} - - - - - -type NetworkInput interface { - pulumi.Input - - ToNetworkOutput() NetworkOutput - ToNetworkOutputWithContext(context.Context) NetworkOutput -} - -type NetworkArgs struct { - DelegatedSubnetResourceId pulumi.StringPtrInput `pulumi:"delegatedSubnetResourceId"` - PrivateDnsZoneArmResourceId pulumi.StringPtrInput `pulumi:"privateDnsZoneArmResourceId"` -} - - -func (val *NetworkArgs) Defaults() *NetworkArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.DelegatedSubnetResourceId) { - tmp.DelegatedSubnetResourceId = pulumi.StringPtr("") - } - if isZero(tmp.PrivateDnsZoneArmResourceId) { - tmp.PrivateDnsZoneArmResourceId = pulumi.StringPtr("") - } - return &tmp -} -func (NetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Network)(nil)).Elem() -} - -func (i NetworkArgs) ToNetworkOutput() NetworkOutput { - return i.ToNetworkOutputWithContext(context.Background()) -} - -func (i NetworkArgs) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput) -} - -func (i NetworkArgs) ToNetworkPtrOutput() NetworkPtrOutput { - return i.ToNetworkPtrOutputWithContext(context.Background()) -} - -func (i NetworkArgs) ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput).ToNetworkPtrOutputWithContext(ctx) -} - - - - - - - - - -type NetworkPtrInput interface { - pulumi.Input - - ToNetworkPtrOutput() NetworkPtrOutput - ToNetworkPtrOutputWithContext(context.Context) NetworkPtrOutput -} - -type networkPtrType NetworkArgs - -func NetworkPtr(v *NetworkArgs) NetworkPtrInput { - return (*networkPtrType)(v) -} - -func (*networkPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Network)(nil)).Elem() -} - -func (i *networkPtrType) ToNetworkPtrOutput() NetworkPtrOutput { - return i.ToNetworkPtrOutputWithContext(context.Background()) -} - -func (i *networkPtrType) ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetworkPtrOutput) -} - -type NetworkOutput struct{ *pulumi.OutputState } - -func (NetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Network)(nil)).Elem() -} - -func (o NetworkOutput) ToNetworkOutput() NetworkOutput { - return o -} - -func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput { - return o -} - -func (o NetworkOutput) ToNetworkPtrOutput() NetworkPtrOutput { - return o.ToNetworkPtrOutputWithContext(context.Background()) -} - -func (o NetworkOutput) ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Network) *Network { - return &v - }).(NetworkPtrOutput) -} - -func (o NetworkOutput) DelegatedSubnetResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v Network) *string { return v.DelegatedSubnetResourceId }).(pulumi.StringPtrOutput) -} - -func (o NetworkOutput) PrivateDnsZoneArmResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v Network) *string { return v.PrivateDnsZoneArmResourceId }).(pulumi.StringPtrOutput) -} - -type NetworkPtrOutput struct{ *pulumi.OutputState } - -func (NetworkPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Network)(nil)).Elem() -} - -func (o NetworkPtrOutput) ToNetworkPtrOutput() NetworkPtrOutput { - return o -} - -func (o NetworkPtrOutput) ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput { - return o -} - -func (o NetworkPtrOutput) Elem() NetworkOutput { - return o.ApplyT(func(v *Network) Network { - if v != nil { - return *v - } - var ret Network - return ret - }).(NetworkOutput) -} - -func (o NetworkPtrOutput) DelegatedSubnetResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Network) *string { - if v == nil { - return nil - } - return v.DelegatedSubnetResourceId - }).(pulumi.StringPtrOutput) -} - -func (o NetworkPtrOutput) PrivateDnsZoneArmResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Network) *string { - if v == nil { - return nil - } - return v.PrivateDnsZoneArmResourceId - }).(pulumi.StringPtrOutput) -} - -type NetworkResponse struct { - DelegatedSubnetResourceId *string `pulumi:"delegatedSubnetResourceId"` - PrivateDnsZoneArmResourceId *string `pulumi:"privateDnsZoneArmResourceId"` - PublicNetworkAccess string `pulumi:"publicNetworkAccess"` -} - - -func (val *NetworkResponse) Defaults() *NetworkResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.DelegatedSubnetResourceId) { - delegatedSubnetResourceId_ := "" - tmp.DelegatedSubnetResourceId = &delegatedSubnetResourceId_ - } - if isZero(tmp.PrivateDnsZoneArmResourceId) { - privateDnsZoneArmResourceId_ := "" - tmp.PrivateDnsZoneArmResourceId = &privateDnsZoneArmResourceId_ - } - return &tmp -} - -type NetworkResponseOutput struct{ *pulumi.OutputState } - -func (NetworkResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetworkResponse)(nil)).Elem() -} - -func (o NetworkResponseOutput) ToNetworkResponseOutput() NetworkResponseOutput { - return o -} - -func (o NetworkResponseOutput) ToNetworkResponseOutputWithContext(ctx context.Context) NetworkResponseOutput { - return o -} - -func (o NetworkResponseOutput) DelegatedSubnetResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetworkResponse) *string { return v.DelegatedSubnetResourceId }).(pulumi.StringPtrOutput) -} - -func (o NetworkResponseOutput) PrivateDnsZoneArmResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetworkResponse) *string { return v.PrivateDnsZoneArmResourceId }).(pulumi.StringPtrOutput) -} - -func (o NetworkResponseOutput) PublicNetworkAccess() pulumi.StringOutput { - return o.ApplyT(func(v NetworkResponse) string { return v.PublicNetworkAccess }).(pulumi.StringOutput) -} - -type NetworkResponsePtrOutput struct{ *pulumi.OutputState } - -func (NetworkResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NetworkResponse)(nil)).Elem() -} - -func (o NetworkResponsePtrOutput) ToNetworkResponsePtrOutput() NetworkResponsePtrOutput { - return o -} - -func (o NetworkResponsePtrOutput) ToNetworkResponsePtrOutputWithContext(ctx context.Context) NetworkResponsePtrOutput { - return o -} - -func (o NetworkResponsePtrOutput) Elem() NetworkResponseOutput { - return o.ApplyT(func(v *NetworkResponse) NetworkResponse { - if v != nil { - return *v - } - var ret NetworkResponse - return ret - }).(NetworkResponseOutput) -} - -func (o NetworkResponsePtrOutput) DelegatedSubnetResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NetworkResponse) *string { - if v == nil { - return nil - } - return v.DelegatedSubnetResourceId - }).(pulumi.StringPtrOutput) -} - -func (o NetworkResponsePtrOutput) PrivateDnsZoneArmResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NetworkResponse) *string { - if v == nil { - return nil - } - return v.PrivateDnsZoneArmResourceId - }).(pulumi.StringPtrOutput) -} - -func (o NetworkResponsePtrOutput) PublicNetworkAccess() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NetworkResponse) *string { - if v == nil { - return nil - } - return &v.PublicNetworkAccess - }).(pulumi.StringPtrOutput) -} - -type PostgreSqlSku struct { - Name string `pulumi:"name"` - Tier string `pulumi:"tier"` -} - - - - - -type PostgreSqlSkuInput interface { - pulumi.Input - - ToPostgreSqlSkuOutput() PostgreSqlSkuOutput - ToPostgreSqlSkuOutputWithContext(context.Context) PostgreSqlSkuOutput -} - -type PostgreSqlSkuArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Tier pulumi.StringInput `pulumi:"tier"` -} - -func (PostgreSqlSkuArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PostgreSqlSku)(nil)).Elem() -} - -func (i PostgreSqlSkuArgs) ToPostgreSqlSkuOutput() PostgreSqlSkuOutput { - return i.ToPostgreSqlSkuOutputWithContext(context.Background()) -} - -func (i PostgreSqlSkuArgs) ToPostgreSqlSkuOutputWithContext(ctx context.Context) PostgreSqlSkuOutput { - return pulumi.ToOutputWithContext(ctx, i).(PostgreSqlSkuOutput) -} - -func (i PostgreSqlSkuArgs) ToPostgreSqlSkuPtrOutput() PostgreSqlSkuPtrOutput { - return i.ToPostgreSqlSkuPtrOutputWithContext(context.Background()) -} - -func (i PostgreSqlSkuArgs) ToPostgreSqlSkuPtrOutputWithContext(ctx context.Context) PostgreSqlSkuPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PostgreSqlSkuOutput).ToPostgreSqlSkuPtrOutputWithContext(ctx) -} - - - - - - - - - -type PostgreSqlSkuPtrInput interface { - pulumi.Input - - ToPostgreSqlSkuPtrOutput() PostgreSqlSkuPtrOutput - ToPostgreSqlSkuPtrOutputWithContext(context.Context) PostgreSqlSkuPtrOutput -} - -type postgreSqlSkuPtrType PostgreSqlSkuArgs - -func PostgreSqlSkuPtr(v *PostgreSqlSkuArgs) PostgreSqlSkuPtrInput { - return (*postgreSqlSkuPtrType)(v) -} - -func (*postgreSqlSkuPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PostgreSqlSku)(nil)).Elem() -} - -func (i *postgreSqlSkuPtrType) ToPostgreSqlSkuPtrOutput() PostgreSqlSkuPtrOutput { - return i.ToPostgreSqlSkuPtrOutputWithContext(context.Background()) -} - -func (i *postgreSqlSkuPtrType) ToPostgreSqlSkuPtrOutputWithContext(ctx context.Context) PostgreSqlSkuPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PostgreSqlSkuPtrOutput) -} - -type PostgreSqlSkuOutput struct{ *pulumi.OutputState } - -func (PostgreSqlSkuOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PostgreSqlSku)(nil)).Elem() -} - -func (o PostgreSqlSkuOutput) ToPostgreSqlSkuOutput() PostgreSqlSkuOutput { - return o -} - -func (o PostgreSqlSkuOutput) ToPostgreSqlSkuOutputWithContext(ctx context.Context) PostgreSqlSkuOutput { - return o -} - -func (o PostgreSqlSkuOutput) ToPostgreSqlSkuPtrOutput() PostgreSqlSkuPtrOutput { - return o.ToPostgreSqlSkuPtrOutputWithContext(context.Background()) -} - -func (o PostgreSqlSkuOutput) ToPostgreSqlSkuPtrOutputWithContext(ctx context.Context) PostgreSqlSkuPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PostgreSqlSku) *PostgreSqlSku { - return &v - }).(PostgreSqlSkuPtrOutput) -} - -func (o PostgreSqlSkuOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PostgreSqlSku) string { return v.Name }).(pulumi.StringOutput) -} - -func (o PostgreSqlSkuOutput) Tier() pulumi.StringOutput { - return o.ApplyT(func(v PostgreSqlSku) string { return v.Tier }).(pulumi.StringOutput) -} - -type PostgreSqlSkuPtrOutput struct{ *pulumi.OutputState } - -func (PostgreSqlSkuPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PostgreSqlSku)(nil)).Elem() -} - -func (o PostgreSqlSkuPtrOutput) ToPostgreSqlSkuPtrOutput() PostgreSqlSkuPtrOutput { - return o -} - -func (o PostgreSqlSkuPtrOutput) ToPostgreSqlSkuPtrOutputWithContext(ctx context.Context) PostgreSqlSkuPtrOutput { - return o -} - -func (o PostgreSqlSkuPtrOutput) Elem() PostgreSqlSkuOutput { - return o.ApplyT(func(v *PostgreSqlSku) PostgreSqlSku { - if v != nil { - return *v - } - var ret PostgreSqlSku - return ret - }).(PostgreSqlSkuOutput) -} - -func (o PostgreSqlSkuPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PostgreSqlSku) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -func (o PostgreSqlSkuPtrOutput) Tier() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PostgreSqlSku) *string { - if v == nil { - return nil - } - return &v.Tier - }).(pulumi.StringPtrOutput) -} - -type PostgreSqlSkuResponse struct { - Name string `pulumi:"name"` - Tier string `pulumi:"tier"` -} - -type PostgreSqlSkuResponseOutput struct{ *pulumi.OutputState } - -func (PostgreSqlSkuResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PostgreSqlSkuResponse)(nil)).Elem() -} - -func (o PostgreSqlSkuResponseOutput) ToPostgreSqlSkuResponseOutput() PostgreSqlSkuResponseOutput { - return o -} - -func (o PostgreSqlSkuResponseOutput) ToPostgreSqlSkuResponseOutputWithContext(ctx context.Context) PostgreSqlSkuResponseOutput { - return o -} - -func (o PostgreSqlSkuResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PostgreSqlSkuResponse) string { return v.Name }).(pulumi.StringOutput) -} - -func (o PostgreSqlSkuResponseOutput) Tier() pulumi.StringOutput { - return o.ApplyT(func(v PostgreSqlSkuResponse) string { return v.Tier }).(pulumi.StringOutput) -} - -type PostgreSqlSkuResponsePtrOutput struct{ *pulumi.OutputState } - -func (PostgreSqlSkuResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PostgreSqlSkuResponse)(nil)).Elem() -} - -func (o PostgreSqlSkuResponsePtrOutput) ToPostgreSqlSkuResponsePtrOutput() PostgreSqlSkuResponsePtrOutput { - return o -} - -func (o PostgreSqlSkuResponsePtrOutput) ToPostgreSqlSkuResponsePtrOutputWithContext(ctx context.Context) PostgreSqlSkuResponsePtrOutput { - return o -} - -func (o PostgreSqlSkuResponsePtrOutput) Elem() PostgreSqlSkuResponseOutput { - return o.ApplyT(func(v *PostgreSqlSkuResponse) PostgreSqlSkuResponse { - if v != nil { - return *v - } - var ret PostgreSqlSkuResponse - return ret - }).(PostgreSqlSkuResponseOutput) -} - -func (o PostgreSqlSkuResponsePtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PostgreSqlSkuResponse) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -func (o PostgreSqlSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PostgreSqlSkuResponse) *string { - if v == nil { - return nil - } - return &v.Tier - }).(pulumi.StringPtrOutput) -} - -type Storage struct { - StorageSizeGB *int `pulumi:"storageSizeGB"` -} - - - - - -type StorageInput interface { - pulumi.Input - - ToStorageOutput() StorageOutput - ToStorageOutputWithContext(context.Context) StorageOutput -} - -type StorageArgs struct { - StorageSizeGB pulumi.IntPtrInput `pulumi:"storageSizeGB"` -} - -func (StorageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Storage)(nil)).Elem() -} - -func (i StorageArgs) ToStorageOutput() StorageOutput { - return i.ToStorageOutputWithContext(context.Background()) -} - -func (i StorageArgs) ToStorageOutputWithContext(ctx context.Context) StorageOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageOutput) -} - -func (i StorageArgs) ToStoragePtrOutput() StoragePtrOutput { - return i.ToStoragePtrOutputWithContext(context.Background()) -} - -func (i StorageArgs) ToStoragePtrOutputWithContext(ctx context.Context) StoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageOutput).ToStoragePtrOutputWithContext(ctx) -} - - - - - - - - - -type StoragePtrInput interface { - pulumi.Input - - ToStoragePtrOutput() StoragePtrOutput - ToStoragePtrOutputWithContext(context.Context) StoragePtrOutput -} - -type storagePtrType StorageArgs - -func StoragePtr(v *StorageArgs) StoragePtrInput { - return (*storagePtrType)(v) -} - -func (*storagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Storage)(nil)).Elem() -} - -func (i *storagePtrType) ToStoragePtrOutput() StoragePtrOutput { - return i.ToStoragePtrOutputWithContext(context.Background()) -} - -func (i *storagePtrType) ToStoragePtrOutputWithContext(ctx context.Context) StoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StoragePtrOutput) -} - -type StorageOutput struct{ *pulumi.OutputState } - -func (StorageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Storage)(nil)).Elem() -} - -func (o StorageOutput) ToStorageOutput() StorageOutput { - return o -} - -func (o StorageOutput) ToStorageOutputWithContext(ctx context.Context) StorageOutput { - return o -} - -func (o StorageOutput) ToStoragePtrOutput() StoragePtrOutput { - return o.ToStoragePtrOutputWithContext(context.Background()) -} - -func (o StorageOutput) ToStoragePtrOutputWithContext(ctx context.Context) StoragePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Storage) *Storage { - return &v - }).(StoragePtrOutput) -} - -func (o StorageOutput) StorageSizeGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v Storage) *int { return v.StorageSizeGB }).(pulumi.IntPtrOutput) -} - -type StoragePtrOutput struct{ *pulumi.OutputState } - -func (StoragePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Storage)(nil)).Elem() -} - -func (o StoragePtrOutput) ToStoragePtrOutput() StoragePtrOutput { - return o -} - -func (o StoragePtrOutput) ToStoragePtrOutputWithContext(ctx context.Context) StoragePtrOutput { - return o -} - -func (o StoragePtrOutput) Elem() StorageOutput { - return o.ApplyT(func(v *Storage) Storage { - if v != nil { - return *v - } - var ret Storage - return ret - }).(StorageOutput) -} - -func (o StoragePtrOutput) StorageSizeGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *Storage) *int { - if v == nil { - return nil - } - return v.StorageSizeGB - }).(pulumi.IntPtrOutput) -} - -type StorageResponse struct { - StorageSizeGB *int `pulumi:"storageSizeGB"` -} - -type StorageResponseOutput struct{ *pulumi.OutputState } - -func (StorageResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageResponse)(nil)).Elem() -} - -func (o StorageResponseOutput) ToStorageResponseOutput() StorageResponseOutput { - return o -} - -func (o StorageResponseOutput) ToStorageResponseOutputWithContext(ctx context.Context) StorageResponseOutput { - return o -} - -func (o StorageResponseOutput) StorageSizeGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v StorageResponse) *int { return v.StorageSizeGB }).(pulumi.IntPtrOutput) -} - -type StorageResponsePtrOutput struct{ *pulumi.OutputState } - -func (StorageResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageResponse)(nil)).Elem() -} - -func (o StorageResponsePtrOutput) ToStorageResponsePtrOutput() StorageResponsePtrOutput { - return o -} - -func (o StorageResponsePtrOutput) ToStorageResponsePtrOutputWithContext(ctx context.Context) StorageResponsePtrOutput { - return o -} - -func (o StorageResponsePtrOutput) Elem() StorageResponseOutput { - return o.ApplyT(func(v *StorageResponse) StorageResponse { - if v != nil { - return *v - } - var ret StorageResponse - return ret - }).(StorageResponseOutput) -} - -func (o StorageResponsePtrOutput) StorageSizeGB() pulumi.IntPtrOutput { - return o.ApplyT(func(v *StorageResponse) *int { - if v == nil { - return nil - } - return v.StorageSizeGB - }).(pulumi.IntPtrOutput) -} - -type SystemDataResponse struct { - CreatedAt *string `pulumi:"createdAt"` - CreatedBy *string `pulumi:"createdBy"` - CreatedByType *string `pulumi:"createdByType"` - LastModifiedAt *string `pulumi:"lastModifiedAt"` - LastModifiedBy *string `pulumi:"lastModifiedBy"` - LastModifiedByType *string `pulumi:"lastModifiedByType"` -} - -type SystemDataResponseOutput struct{ *pulumi.OutputState } - -func (SystemDataResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() -} - -func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput { - return o -} - -func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { - return o -} - -func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput) -} - -type UserAssignedIdentity struct { - Type string `pulumi:"type"` - UserAssignedIdentities map[string]UserIdentity `pulumi:"userAssignedIdentities"` -} - - - - - -type UserAssignedIdentityInput interface { - pulumi.Input - - ToUserAssignedIdentityOutput() UserAssignedIdentityOutput - ToUserAssignedIdentityOutputWithContext(context.Context) UserAssignedIdentityOutput -} - -type UserAssignedIdentityArgs struct { - Type pulumi.StringInput `pulumi:"type"` - UserAssignedIdentities UserIdentityMapInput `pulumi:"userAssignedIdentities"` -} - -func (UserAssignedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UserAssignedIdentity)(nil)).Elem() -} - -func (i UserAssignedIdentityArgs) ToUserAssignedIdentityOutput() UserAssignedIdentityOutput { - return i.ToUserAssignedIdentityOutputWithContext(context.Background()) -} - -func (i UserAssignedIdentityArgs) ToUserAssignedIdentityOutputWithContext(ctx context.Context) UserAssignedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserAssignedIdentityOutput) -} - -func (i UserAssignedIdentityArgs) ToUserAssignedIdentityPtrOutput() UserAssignedIdentityPtrOutput { - return i.ToUserAssignedIdentityPtrOutputWithContext(context.Background()) -} - -func (i UserAssignedIdentityArgs) ToUserAssignedIdentityPtrOutputWithContext(ctx context.Context) UserAssignedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserAssignedIdentityOutput).ToUserAssignedIdentityPtrOutputWithContext(ctx) -} - - - - - - - - - -type UserAssignedIdentityPtrInput interface { - pulumi.Input - - ToUserAssignedIdentityPtrOutput() UserAssignedIdentityPtrOutput - ToUserAssignedIdentityPtrOutputWithContext(context.Context) UserAssignedIdentityPtrOutput -} - -type userAssignedIdentityPtrType UserAssignedIdentityArgs - -func UserAssignedIdentityPtr(v *UserAssignedIdentityArgs) UserAssignedIdentityPtrInput { - return (*userAssignedIdentityPtrType)(v) -} - -func (*userAssignedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**UserAssignedIdentity)(nil)).Elem() -} - -func (i *userAssignedIdentityPtrType) ToUserAssignedIdentityPtrOutput() UserAssignedIdentityPtrOutput { - return i.ToUserAssignedIdentityPtrOutputWithContext(context.Background()) -} - -func (i *userAssignedIdentityPtrType) ToUserAssignedIdentityPtrOutputWithContext(ctx context.Context) UserAssignedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserAssignedIdentityPtrOutput) -} - -type UserAssignedIdentityOutput struct{ *pulumi.OutputState } - -func (UserAssignedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserAssignedIdentity)(nil)).Elem() -} - -func (o UserAssignedIdentityOutput) ToUserAssignedIdentityOutput() UserAssignedIdentityOutput { - return o -} - -func (o UserAssignedIdentityOutput) ToUserAssignedIdentityOutputWithContext(ctx context.Context) UserAssignedIdentityOutput { - return o -} - -func (o UserAssignedIdentityOutput) ToUserAssignedIdentityPtrOutput() UserAssignedIdentityPtrOutput { - return o.ToUserAssignedIdentityPtrOutputWithContext(context.Background()) -} - -func (o UserAssignedIdentityOutput) ToUserAssignedIdentityPtrOutputWithContext(ctx context.Context) UserAssignedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v UserAssignedIdentity) *UserAssignedIdentity { - return &v - }).(UserAssignedIdentityPtrOutput) -} - -func (o UserAssignedIdentityOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v UserAssignedIdentity) string { return v.Type }).(pulumi.StringOutput) -} - -func (o UserAssignedIdentityOutput) UserAssignedIdentities() UserIdentityMapOutput { - return o.ApplyT(func(v UserAssignedIdentity) map[string]UserIdentity { return v.UserAssignedIdentities }).(UserIdentityMapOutput) -} - -type UserAssignedIdentityPtrOutput struct{ *pulumi.OutputState } - -func (UserAssignedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**UserAssignedIdentity)(nil)).Elem() -} - -func (o UserAssignedIdentityPtrOutput) ToUserAssignedIdentityPtrOutput() UserAssignedIdentityPtrOutput { - return o -} - -func (o UserAssignedIdentityPtrOutput) ToUserAssignedIdentityPtrOutputWithContext(ctx context.Context) UserAssignedIdentityPtrOutput { - return o -} - -func (o UserAssignedIdentityPtrOutput) Elem() UserAssignedIdentityOutput { - return o.ApplyT(func(v *UserAssignedIdentity) UserAssignedIdentity { - if v != nil { - return *v - } - var ret UserAssignedIdentity - return ret - }).(UserAssignedIdentityOutput) -} - -func (o UserAssignedIdentityPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UserAssignedIdentity) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) -} - -func (o UserAssignedIdentityPtrOutput) UserAssignedIdentities() UserIdentityMapOutput { - return o.ApplyT(func(v *UserAssignedIdentity) map[string]UserIdentity { - if v == nil { - return nil - } - return v.UserAssignedIdentities - }).(UserIdentityMapOutput) -} - -type UserAssignedIdentityResponse struct { - Type string `pulumi:"type"` - UserAssignedIdentities map[string]UserIdentityResponse `pulumi:"userAssignedIdentities"` -} - -type UserAssignedIdentityResponseOutput struct{ *pulumi.OutputState } - -func (UserAssignedIdentityResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserAssignedIdentityResponse)(nil)).Elem() -} - -func (o UserAssignedIdentityResponseOutput) ToUserAssignedIdentityResponseOutput() UserAssignedIdentityResponseOutput { - return o -} - -func (o UserAssignedIdentityResponseOutput) ToUserAssignedIdentityResponseOutputWithContext(ctx context.Context) UserAssignedIdentityResponseOutput { - return o -} - -func (o UserAssignedIdentityResponseOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v UserAssignedIdentityResponse) string { return v.Type }).(pulumi.StringOutput) -} - -func (o UserAssignedIdentityResponseOutput) UserAssignedIdentities() UserIdentityResponseMapOutput { - return o.ApplyT(func(v UserAssignedIdentityResponse) map[string]UserIdentityResponse { return v.UserAssignedIdentities }).(UserIdentityResponseMapOutput) -} - -type UserAssignedIdentityResponsePtrOutput struct{ *pulumi.OutputState } - -func (UserAssignedIdentityResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**UserAssignedIdentityResponse)(nil)).Elem() -} - -func (o UserAssignedIdentityResponsePtrOutput) ToUserAssignedIdentityResponsePtrOutput() UserAssignedIdentityResponsePtrOutput { - return o -} - -func (o UserAssignedIdentityResponsePtrOutput) ToUserAssignedIdentityResponsePtrOutputWithContext(ctx context.Context) UserAssignedIdentityResponsePtrOutput { - return o -} - -func (o UserAssignedIdentityResponsePtrOutput) Elem() UserAssignedIdentityResponseOutput { - return o.ApplyT(func(v *UserAssignedIdentityResponse) UserAssignedIdentityResponse { - if v != nil { - return *v - } - var ret UserAssignedIdentityResponse - return ret - }).(UserAssignedIdentityResponseOutput) -} - -func (o UserAssignedIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UserAssignedIdentityResponse) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) -} - -func (o UserAssignedIdentityResponsePtrOutput) UserAssignedIdentities() UserIdentityResponseMapOutput { - return o.ApplyT(func(v *UserAssignedIdentityResponse) map[string]UserIdentityResponse { - if v == nil { - return nil - } - return v.UserAssignedIdentities - }).(UserIdentityResponseMapOutput) -} - -type UserIdentity struct { - ClientId *string `pulumi:"clientId"` - PrincipalId *string `pulumi:"principalId"` -} - - - - - -type UserIdentityInput interface { - pulumi.Input - - ToUserIdentityOutput() UserIdentityOutput - ToUserIdentityOutputWithContext(context.Context) UserIdentityOutput -} - -type UserIdentityArgs struct { - ClientId pulumi.StringPtrInput `pulumi:"clientId"` - PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` -} - -func (UserIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UserIdentity)(nil)).Elem() -} - -func (i UserIdentityArgs) ToUserIdentityOutput() UserIdentityOutput { - return i.ToUserIdentityOutputWithContext(context.Background()) -} - -func (i UserIdentityArgs) ToUserIdentityOutputWithContext(ctx context.Context) UserIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserIdentityOutput) -} - - - - - -type UserIdentityMapInput interface { - pulumi.Input - - ToUserIdentityMapOutput() UserIdentityMapOutput - ToUserIdentityMapOutputWithContext(context.Context) UserIdentityMapOutput -} - -type UserIdentityMap map[string]UserIdentityInput - -func (UserIdentityMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]UserIdentity)(nil)).Elem() -} - -func (i UserIdentityMap) ToUserIdentityMapOutput() UserIdentityMapOutput { - return i.ToUserIdentityMapOutputWithContext(context.Background()) -} - -func (i UserIdentityMap) ToUserIdentityMapOutputWithContext(ctx context.Context) UserIdentityMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserIdentityMapOutput) -} - -type UserIdentityOutput struct{ *pulumi.OutputState } - -func (UserIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserIdentity)(nil)).Elem() -} - -func (o UserIdentityOutput) ToUserIdentityOutput() UserIdentityOutput { - return o -} - -func (o UserIdentityOutput) ToUserIdentityOutputWithContext(ctx context.Context) UserIdentityOutput { - return o -} - -func (o UserIdentityOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v UserIdentity) *string { return v.ClientId }).(pulumi.StringPtrOutput) -} - -func (o UserIdentityOutput) PrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v UserIdentity) *string { return v.PrincipalId }).(pulumi.StringPtrOutput) -} - -type UserIdentityMapOutput struct{ *pulumi.OutputState } - -func (UserIdentityMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]UserIdentity)(nil)).Elem() -} - -func (o UserIdentityMapOutput) ToUserIdentityMapOutput() UserIdentityMapOutput { - return o -} - -func (o UserIdentityMapOutput) ToUserIdentityMapOutputWithContext(ctx context.Context) UserIdentityMapOutput { - return o -} - -func (o UserIdentityMapOutput) MapIndex(k pulumi.StringInput) UserIdentityOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserIdentity { - return vs[0].(map[string]UserIdentity)[vs[1].(string)] - }).(UserIdentityOutput) -} - -type UserIdentityResponse struct { - ClientId *string `pulumi:"clientId"` - PrincipalId *string `pulumi:"principalId"` -} - -type UserIdentityResponseOutput struct{ *pulumi.OutputState } - -func (UserIdentityResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserIdentityResponse)(nil)).Elem() -} - -func (o UserIdentityResponseOutput) ToUserIdentityResponseOutput() UserIdentityResponseOutput { - return o -} - -func (o UserIdentityResponseOutput) ToUserIdentityResponseOutputWithContext(ctx context.Context) UserIdentityResponseOutput { - return o -} - -func (o UserIdentityResponseOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v UserIdentityResponse) *string { return v.ClientId }).(pulumi.StringPtrOutput) -} - -func (o UserIdentityResponseOutput) PrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v UserIdentityResponse) *string { return v.PrincipalId }).(pulumi.StringPtrOutput) -} - -type UserIdentityResponseMapOutput struct{ *pulumi.OutputState } - -func (UserIdentityResponseMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]UserIdentityResponse)(nil)).Elem() -} - -func (o UserIdentityResponseMapOutput) ToUserIdentityResponseMapOutput() UserIdentityResponseMapOutput { - return o -} - -func (o UserIdentityResponseMapOutput) ToUserIdentityResponseMapOutputWithContext(ctx context.Context) UserIdentityResponseMapOutput { - return o -} - -func (o UserIdentityResponseMapOutput) MapIndex(k pulumi.StringInput) UserIdentityResponseOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserIdentityResponse { - return vs[0].(map[string]UserIdentityResponse)[vs[1].(string)] - }).(UserIdentityResponseOutput) -} - -func init() { - pulumi.RegisterOutputType(AuthConfigOutput{}) - pulumi.RegisterOutputType(AuthConfigPtrOutput{}) - pulumi.RegisterOutputType(AuthConfigResponseOutput{}) - pulumi.RegisterOutputType(AuthConfigResponsePtrOutput{}) - pulumi.RegisterOutputType(BackupOutput{}) - pulumi.RegisterOutputType(BackupPtrOutput{}) - pulumi.RegisterOutputType(BackupResponseOutput{}) - pulumi.RegisterOutputType(BackupResponsePtrOutput{}) - pulumi.RegisterOutputType(DataEncryptionOutput{}) - pulumi.RegisterOutputType(DataEncryptionPtrOutput{}) - pulumi.RegisterOutputType(DataEncryptionResponseOutput{}) - pulumi.RegisterOutputType(DataEncryptionResponsePtrOutput{}) - pulumi.RegisterOutputType(HighAvailabilityOutput{}) - pulumi.RegisterOutputType(HighAvailabilityPtrOutput{}) - pulumi.RegisterOutputType(HighAvailabilityResponseOutput{}) - pulumi.RegisterOutputType(HighAvailabilityResponsePtrOutput{}) - pulumi.RegisterOutputType(MaintenanceWindowOutput{}) - pulumi.RegisterOutputType(MaintenanceWindowPtrOutput{}) - pulumi.RegisterOutputType(MaintenanceWindowResponseOutput{}) - pulumi.RegisterOutputType(MaintenanceWindowResponsePtrOutput{}) - pulumi.RegisterOutputType(NetworkOutput{}) - pulumi.RegisterOutputType(NetworkPtrOutput{}) - pulumi.RegisterOutputType(NetworkResponseOutput{}) - pulumi.RegisterOutputType(NetworkResponsePtrOutput{}) - pulumi.RegisterOutputType(PostgreSqlSkuOutput{}) - pulumi.RegisterOutputType(PostgreSqlSkuPtrOutput{}) - pulumi.RegisterOutputType(PostgreSqlSkuResponseOutput{}) - pulumi.RegisterOutputType(PostgreSqlSkuResponsePtrOutput{}) - pulumi.RegisterOutputType(StorageOutput{}) - pulumi.RegisterOutputType(StoragePtrOutput{}) - pulumi.RegisterOutputType(StorageResponseOutput{}) - pulumi.RegisterOutputType(StorageResponsePtrOutput{}) - pulumi.RegisterOutputType(SystemDataResponseOutput{}) - pulumi.RegisterOutputType(UserAssignedIdentityOutput{}) - pulumi.RegisterOutputType(UserAssignedIdentityPtrOutput{}) - pulumi.RegisterOutputType(UserAssignedIdentityResponseOutput{}) - pulumi.RegisterOutputType(UserAssignedIdentityResponsePtrOutput{}) - pulumi.RegisterOutputType(UserIdentityOutput{}) - pulumi.RegisterOutputType(UserIdentityMapOutput{}) - pulumi.RegisterOutputType(UserIdentityResponseOutput{}) - pulumi.RegisterOutputType(UserIdentityResponseMapOutput{}) -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiUtilities.go b/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiUtilities.go deleted file mode 100644 index 46183698b1e9..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/pulumiUtilities.go +++ /dev/null @@ -1,87 +0,0 @@ - - - -package v20220308preview - -import ( - "fmt" - "os" - "reflect" - "regexp" - "strconv" - "strings" - - "github.com/blang/semver" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type envParser func(v string) interface{} - -func parseEnvBool(v string) interface{} { - b, err := strconv.ParseBool(v) - if err != nil { - return nil - } - return b -} - -func parseEnvInt(v string) interface{} { - i, err := strconv.ParseInt(v, 0, 0) - if err != nil { - return nil - } - return int(i) -} - -func parseEnvFloat(v string) interface{} { - f, err := strconv.ParseFloat(v, 64) - if err != nil { - return nil - } - return f -} - -func parseEnvStringArray(v string) interface{} { - var result pulumi.StringArray - for _, item := range strings.Split(v, ";") { - result = append(result, pulumi.String(item)) - } - return result -} - -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { - for _, v := range vars { - if value := os.Getenv(v); value != "" { - if parser != nil { - return parser(value) - } - return value - } - } - return def -} - - - - -func PkgVersion() (semver.Version, error) { - type sentinal struct{} - pkgPath := reflect.TypeOf(sentinal{}).PkgPath() - re := regexp.MustCompile("^.*/pulumi-azure-native/sdk(/v\\d+)?") - if match := re.FindStringSubmatch(pkgPath); match != nil { - vStr := match[1] - if len(vStr) == 0 { // If the version capture group was empty, default to v1. - return semver.Version{Major: 1}, nil - } - return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil - } - return semver.Version{Major: 1}, nil -} - - -func isZero(v interface{}) bool { - if v == nil { - return true - } - return reflect.ValueOf(v).IsZero() -} diff --git a/sdk/go/azure/dbforpostgresql/v20220308preview/server.go b/sdk/go/azure/dbforpostgresql/v20220308preview/server.go deleted file mode 100644 index 2597e1391ca3..000000000000 --- a/sdk/go/azure/dbforpostgresql/v20220308preview/server.go +++ /dev/null @@ -1,302 +0,0 @@ - - - -package v20220308preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type Server struct { - pulumi.CustomResourceState - - AdministratorLogin pulumi.StringPtrOutput `pulumi:"administratorLogin"` - AuthConfig AuthConfigResponsePtrOutput `pulumi:"authConfig"` - AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"` - Backup BackupResponsePtrOutput `pulumi:"backup"` - DataEncryption DataEncryptionResponsePtrOutput `pulumi:"dataEncryption"` - FullyQualifiedDomainName pulumi.StringOutput `pulumi:"fullyQualifiedDomainName"` - HighAvailability HighAvailabilityResponsePtrOutput `pulumi:"highAvailability"` - Identity UserAssignedIdentityResponsePtrOutput `pulumi:"identity"` - Location pulumi.StringOutput `pulumi:"location"` - MaintenanceWindow MaintenanceWindowResponsePtrOutput `pulumi:"maintenanceWindow"` - MinorVersion pulumi.StringOutput `pulumi:"minorVersion"` - Name pulumi.StringOutput `pulumi:"name"` - Network NetworkResponsePtrOutput `pulumi:"network"` - ReplicaCapacity pulumi.IntPtrOutput `pulumi:"replicaCapacity"` - ReplicationRole pulumi.StringPtrOutput `pulumi:"replicationRole"` - Sku PostgreSqlSkuResponsePtrOutput `pulumi:"sku"` - State pulumi.StringOutput `pulumi:"state"` - Storage StorageResponsePtrOutput `pulumi:"storage"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Tags pulumi.StringMapOutput `pulumi:"tags"` - Type pulumi.StringOutput `pulumi:"type"` - Version pulumi.StringPtrOutput `pulumi:"version"` -} - - -func NewServer(ctx *pulumi.Context, - name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.AuthConfig != nil { - args.AuthConfig = args.AuthConfig.ToAuthConfigPtrOutput().ApplyT(func(v *AuthConfig) *AuthConfig { return v.Defaults() }).(AuthConfigPtrOutput) - } - if isZero(args.AvailabilityZone) { - args.AvailabilityZone = pulumi.StringPtr("") - } - if args.Backup != nil { - args.Backup = args.Backup.ToBackupPtrOutput().ApplyT(func(v *Backup) *Backup { return v.Defaults() }).(BackupPtrOutput) - } - if args.HighAvailability != nil { - args.HighAvailability = args.HighAvailability.ToHighAvailabilityPtrOutput().ApplyT(func(v *HighAvailability) *HighAvailability { return v.Defaults() }).(HighAvailabilityPtrOutput) - } - if args.MaintenanceWindow != nil { - args.MaintenanceWindow = args.MaintenanceWindow.ToMaintenanceWindowPtrOutput().ApplyT(func(v *MaintenanceWindow) *MaintenanceWindow { return v.Defaults() }).(MaintenanceWindowPtrOutput) - } - if args.Network != nil { - args.Network = args.Network.ToNetworkPtrOutput().ApplyT(func(v *Network) *Network { return v.Defaults() }).(NetworkPtrOutput) - } - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:dbforpostgresql/v20200214preview:Server"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20200214privatepreview:Server"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210410privatepreview:Server"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601:Server"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210601preview:Server"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20210615privatepreview:Server"), - }, - { - Type: pulumi.String("azure-native:dbforpostgresql/v20220120preview:Server"), - }, - }) - opts = append(opts, aliases) - var resource Server - err := ctx.RegisterResource("azure-native:dbforpostgresql/v20220308preview:Server", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetServer(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error) { - var resource Server - err := ctx.ReadResource("azure-native:dbforpostgresql/v20220308preview:Server", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type serverState struct { -} - -type ServerState struct { -} - -func (ServerState) ElementType() reflect.Type { - return reflect.TypeOf((*serverState)(nil)).Elem() -} - -type serverArgs struct { - AdministratorLogin *string `pulumi:"administratorLogin"` - AdministratorLoginPassword *string `pulumi:"administratorLoginPassword"` - AuthConfig *AuthConfig `pulumi:"authConfig"` - AvailabilityZone *string `pulumi:"availabilityZone"` - Backup *Backup `pulumi:"backup"` - CreateMode *string `pulumi:"createMode"` - DataEncryption *DataEncryption `pulumi:"dataEncryption"` - HighAvailability *HighAvailability `pulumi:"highAvailability"` - Identity *UserAssignedIdentity `pulumi:"identity"` - Location *string `pulumi:"location"` - MaintenanceWindow *MaintenanceWindow `pulumi:"maintenanceWindow"` - Network *Network `pulumi:"network"` - PointInTimeUTC *string `pulumi:"pointInTimeUTC"` - ReplicaCapacity *int `pulumi:"replicaCapacity"` - ReplicationRole *string `pulumi:"replicationRole"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ServerName *string `pulumi:"serverName"` - Sku *PostgreSqlSku `pulumi:"sku"` - SourceServerResourceId *string `pulumi:"sourceServerResourceId"` - Storage *Storage `pulumi:"storage"` - Tags map[string]string `pulumi:"tags"` - Version *string `pulumi:"version"` -} - - -type ServerArgs struct { - AdministratorLogin pulumi.StringPtrInput - AdministratorLoginPassword pulumi.StringPtrInput - AuthConfig AuthConfigPtrInput - AvailabilityZone pulumi.StringPtrInput - Backup BackupPtrInput - CreateMode pulumi.StringPtrInput - DataEncryption DataEncryptionPtrInput - HighAvailability HighAvailabilityPtrInput - Identity UserAssignedIdentityPtrInput - Location pulumi.StringPtrInput - MaintenanceWindow MaintenanceWindowPtrInput - Network NetworkPtrInput - PointInTimeUTC pulumi.StringPtrInput - ReplicaCapacity pulumi.IntPtrInput - ReplicationRole pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ServerName pulumi.StringPtrInput - Sku PostgreSqlSkuPtrInput - SourceServerResourceId pulumi.StringPtrInput - Storage StoragePtrInput - Tags pulumi.StringMapInput - Version pulumi.StringPtrInput -} - -func (ServerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*serverArgs)(nil)).Elem() -} - -type ServerInput interface { - pulumi.Input - - ToServerOutput() ServerOutput - ToServerOutputWithContext(ctx context.Context) ServerOutput -} - -func (*Server) ElementType() reflect.Type { - return reflect.TypeOf((**Server)(nil)).Elem() -} - -func (i *Server) ToServerOutput() ServerOutput { - return i.ToServerOutputWithContext(context.Background()) -} - -func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServerOutput) -} - -type ServerOutput struct{ *pulumi.OutputState } - -func (ServerOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Server)(nil)).Elem() -} - -func (o ServerOutput) ToServerOutput() ServerOutput { - return o -} - -func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput { - return o -} - -func (o ServerOutput) AdministratorLogin() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Server) pulumi.StringPtrOutput { return v.AdministratorLogin }).(pulumi.StringPtrOutput) -} - -func (o ServerOutput) AuthConfig() AuthConfigResponsePtrOutput { - return o.ApplyT(func(v *Server) AuthConfigResponsePtrOutput { return v.AuthConfig }).(AuthConfigResponsePtrOutput) -} - -func (o ServerOutput) AvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Server) pulumi.StringPtrOutput { return v.AvailabilityZone }).(pulumi.StringPtrOutput) -} - -func (o ServerOutput) Backup() BackupResponsePtrOutput { - return o.ApplyT(func(v *Server) BackupResponsePtrOutput { return v.Backup }).(BackupResponsePtrOutput) -} - -func (o ServerOutput) DataEncryption() DataEncryptionResponsePtrOutput { - return o.ApplyT(func(v *Server) DataEncryptionResponsePtrOutput { return v.DataEncryption }).(DataEncryptionResponsePtrOutput) -} - -func (o ServerOutput) FullyQualifiedDomainName() pulumi.StringOutput { - return o.ApplyT(func(v *Server) pulumi.StringOutput { return v.FullyQualifiedDomainName }).(pulumi.StringOutput) -} - -func (o ServerOutput) HighAvailability() HighAvailabilityResponsePtrOutput { - return o.ApplyT(func(v *Server) HighAvailabilityResponsePtrOutput { return v.HighAvailability }).(HighAvailabilityResponsePtrOutput) -} - -func (o ServerOutput) Identity() UserAssignedIdentityResponsePtrOutput { - return o.ApplyT(func(v *Server) UserAssignedIdentityResponsePtrOutput { return v.Identity }).(UserAssignedIdentityResponsePtrOutput) -} - -func (o ServerOutput) Location() pulumi.StringOutput { - return o.ApplyT(func(v *Server) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) -} - -func (o ServerOutput) MaintenanceWindow() MaintenanceWindowResponsePtrOutput { - return o.ApplyT(func(v *Server) MaintenanceWindowResponsePtrOutput { return v.MaintenanceWindow }).(MaintenanceWindowResponsePtrOutput) -} - -func (o ServerOutput) MinorVersion() pulumi.StringOutput { - return o.ApplyT(func(v *Server) pulumi.StringOutput { return v.MinorVersion }).(pulumi.StringOutput) -} - -func (o ServerOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *Server) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o ServerOutput) Network() NetworkResponsePtrOutput { - return o.ApplyT(func(v *Server) NetworkResponsePtrOutput { return v.Network }).(NetworkResponsePtrOutput) -} - -func (o ServerOutput) ReplicaCapacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v *Server) pulumi.IntPtrOutput { return v.ReplicaCapacity }).(pulumi.IntPtrOutput) -} - -func (o ServerOutput) ReplicationRole() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Server) pulumi.StringPtrOutput { return v.ReplicationRole }).(pulumi.StringPtrOutput) -} - -func (o ServerOutput) Sku() PostgreSqlSkuResponsePtrOutput { - return o.ApplyT(func(v *Server) PostgreSqlSkuResponsePtrOutput { return v.Sku }).(PostgreSqlSkuResponsePtrOutput) -} - -func (o ServerOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Server) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -func (o ServerOutput) Storage() StorageResponsePtrOutput { - return o.ApplyT(func(v *Server) StorageResponsePtrOutput { return v.Storage }).(StorageResponsePtrOutput) -} - -func (o ServerOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *Server) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o ServerOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v *Server) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) -} - -func (o ServerOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *Server) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func (o ServerOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Server) pulumi.StringPtrOutput { return v.Version }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(ServerOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20210401preview/webPubSub.go b/sdk/go/azure/webpubsub/v20210401preview/webPubSub.go index 7cb55628be27..5f2c5a725c69 100644 --- a/sdk/go/azure/webpubsub/v20210401preview/webPubSub.go +++ b/sdk/go/azure/webpubsub/v20210401preview/webPubSub.go @@ -68,9 +68,6 @@ func NewWebPubSub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSub"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSub"), - }, }) opts = append(opts, aliases) var resource WebPubSub diff --git a/sdk/go/azure/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.go b/sdk/go/azure/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.go index 6a74580af9b6..f0f518336fa7 100644 --- a/sdk/go/azure/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.go +++ b/sdk/go/azure/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.go @@ -48,9 +48,6 @@ func NewWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"), - }, }) opts = append(opts, aliases) var resource WebPubSubPrivateEndpointConnection diff --git a/sdk/go/azure/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.go index 00c811fb84fa..4b908199b539 100644 --- a/sdk/go/azure/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.go +++ b/sdk/go/azure/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.go @@ -56,9 +56,6 @@ func NewWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"), - }, }) opts = append(opts, aliases) var resource WebPubSubSharedPrivateLinkResource diff --git a/sdk/go/azure/webpubsub/v20210601preview/webPubSub.go b/sdk/go/azure/webpubsub/v20210601preview/webPubSub.go index 6b1f9335ca6d..660f425610bd 100644 --- a/sdk/go/azure/webpubsub/v20210601preview/webPubSub.go +++ b/sdk/go/azure/webpubsub/v20210601preview/webPubSub.go @@ -76,9 +76,6 @@ func NewWebPubSub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSub"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSub"), - }, }) opts = append(opts, aliases) var resource WebPubSub diff --git a/sdk/go/azure/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.go b/sdk/go/azure/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.go index 4ea23cd46f9d..86900962ef22 100644 --- a/sdk/go/azure/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.go +++ b/sdk/go/azure/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.go @@ -48,9 +48,6 @@ func NewWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"), - }, }) opts = append(opts, aliases) var resource WebPubSubPrivateEndpointConnection diff --git a/sdk/go/azure/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.go index 63f1583cc17c..34c57b7143d3 100644 --- a/sdk/go/azure/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.go +++ b/sdk/go/azure/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.go @@ -56,9 +56,6 @@ func NewWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"), - }, }) opts = append(opts, aliases) var resource WebPubSubSharedPrivateLinkResource diff --git a/sdk/go/azure/webpubsub/v20210901preview/webPubSub.go b/sdk/go/azure/webpubsub/v20210901preview/webPubSub.go index 7c5c2c4b444b..f5916882e3fc 100644 --- a/sdk/go/azure/webpubsub/v20210901preview/webPubSub.go +++ b/sdk/go/azure/webpubsub/v20210901preview/webPubSub.go @@ -79,9 +79,6 @@ func NewWebPubSub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSub"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSub"), - }, }) opts = append(opts, aliases) var resource WebPubSub diff --git a/sdk/go/azure/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.go b/sdk/go/azure/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.go index 6379bd5d11ee..63edf0b920ba 100644 --- a/sdk/go/azure/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.go +++ b/sdk/go/azure/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.go @@ -48,9 +48,6 @@ func NewWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"), - }, }) opts = append(opts, aliases) var resource WebPubSubPrivateEndpointConnection diff --git a/sdk/go/azure/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.go index 9fe45f4996b4..a1023aaa02af 100644 --- a/sdk/go/azure/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.go +++ b/sdk/go/azure/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.go @@ -56,9 +56,6 @@ func NewWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"), - }, }) opts = append(opts, aliases) var resource WebPubSubSharedPrivateLinkResource diff --git a/sdk/go/azure/webpubsub/v20211001/webPubSub.go b/sdk/go/azure/webpubsub/v20211001/webPubSub.go index 72f8e34dc07e..5a7ee4991d97 100644 --- a/sdk/go/azure/webpubsub/v20211001/webPubSub.go +++ b/sdk/go/azure/webpubsub/v20211001/webPubSub.go @@ -77,9 +77,6 @@ func NewWebPubSub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20210901preview:WebPubSub"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSub"), - }, }) opts = append(opts, aliases) var resource WebPubSub diff --git a/sdk/go/azure/webpubsub/v20211001/webPubSubHub.go b/sdk/go/azure/webpubsub/v20211001/webPubSubHub.go index bade68d606fb..362632fd3b8a 100644 --- a/sdk/go/azure/webpubsub/v20211001/webPubSubHub.go +++ b/sdk/go/azure/webpubsub/v20211001/webPubSubHub.go @@ -41,9 +41,6 @@ func NewWebPubSubHub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub:WebPubSubHub"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubHub"), - }, }) opts = append(opts, aliases) var resource WebPubSubHub diff --git a/sdk/go/azure/webpubsub/v20211001/webPubSubPrivateEndpointConnection.go b/sdk/go/azure/webpubsub/v20211001/webPubSubPrivateEndpointConnection.go index 415143250568..ea30b08b095d 100644 --- a/sdk/go/azure/webpubsub/v20211001/webPubSubPrivateEndpointConnection.go +++ b/sdk/go/azure/webpubsub/v20211001/webPubSubPrivateEndpointConnection.go @@ -49,9 +49,6 @@ func NewWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"), - }, }) opts = append(opts, aliases) var resource WebPubSubPrivateEndpointConnection diff --git a/sdk/go/azure/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.go index a5b4e43ee571..1d9730894f8c 100644 --- a/sdk/go/azure/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.go +++ b/sdk/go/azure/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.go @@ -56,9 +56,6 @@ func NewWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"), - }, }) opts = append(opts, aliases) var resource WebPubSubSharedPrivateLinkResource diff --git a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSub.go b/sdk/go/azure/webpubsub/v20220801preview/getWebPubSub.go deleted file mode 100644 index 861078f186fc..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSub.go +++ /dev/null @@ -1,215 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupWebPubSub(ctx *pulumi.Context, args *LookupWebPubSubArgs, opts ...pulumi.InvokeOption) (*LookupWebPubSubResult, error) { - var rv LookupWebPubSubResult - err := ctx.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSub", args, &rv, opts...) - if err != nil { - return nil, err - } - return rv.Defaults(), nil -} - -type LookupWebPubSubArgs struct { - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type LookupWebPubSubResult struct { - DisableAadAuth *bool `pulumi:"disableAadAuth"` - DisableLocalAuth *bool `pulumi:"disableLocalAuth"` - ExternalIP string `pulumi:"externalIP"` - HostName string `pulumi:"hostName"` - HostNamePrefix string `pulumi:"hostNamePrefix"` - Id string `pulumi:"id"` - Identity *ManagedIdentityResponse `pulumi:"identity"` - LiveTraceConfiguration *LiveTraceConfigurationResponse `pulumi:"liveTraceConfiguration"` - Location *string `pulumi:"location"` - Name string `pulumi:"name"` - NetworkACLs *WebPubSubNetworkACLsResponse `pulumi:"networkACLs"` - PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` - ProvisioningState string `pulumi:"provisioningState"` - PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - PublicPort int `pulumi:"publicPort"` - ResourceLogConfiguration *ResourceLogConfigurationResponse `pulumi:"resourceLogConfiguration"` - ServerPort int `pulumi:"serverPort"` - SharedPrivateLinkResources []SharedPrivateLinkResourceResponse `pulumi:"sharedPrivateLinkResources"` - Sku *ResourceSkuResponse `pulumi:"sku"` - SystemData SystemDataResponse `pulumi:"systemData"` - Tags map[string]string `pulumi:"tags"` - Tls *WebPubSubTlsSettingsResponse `pulumi:"tls"` - Type string `pulumi:"type"` - Version string `pulumi:"version"` -} - - -func (val *LookupWebPubSubResult) Defaults() *LookupWebPubSubResult { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.DisableAadAuth) { - disableAadAuth_ := false - tmp.DisableAadAuth = &disableAadAuth_ - } - if isZero(tmp.DisableLocalAuth) { - disableLocalAuth_ := false - tmp.DisableLocalAuth = &disableLocalAuth_ - } - tmp.LiveTraceConfiguration = tmp.LiveTraceConfiguration.Defaults() - - if isZero(tmp.PublicNetworkAccess) { - publicNetworkAccess_ := "Enabled" - tmp.PublicNetworkAccess = &publicNetworkAccess_ - } - tmp.Tls = tmp.Tls.Defaults() - - return &tmp -} - -func LookupWebPubSubOutput(ctx *pulumi.Context, args LookupWebPubSubOutputArgs, opts ...pulumi.InvokeOption) LookupWebPubSubResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebPubSubResult, error) { - args := v.(LookupWebPubSubArgs) - r, err := LookupWebPubSub(ctx, &args, opts...) - var s LookupWebPubSubResult - if r != nil { - s = *r - } - return s, err - }).(LookupWebPubSubResultOutput) -} - -type LookupWebPubSubOutputArgs struct { - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ResourceName pulumi.StringInput `pulumi:"resourceName"` -} - -func (LookupWebPubSubOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubArgs)(nil)).Elem() -} - - -type LookupWebPubSubResultOutput struct{ *pulumi.OutputState } - -func (LookupWebPubSubResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubResult)(nil)).Elem() -} - -func (o LookupWebPubSubResultOutput) ToLookupWebPubSubResultOutput() LookupWebPubSubResultOutput { - return o -} - -func (o LookupWebPubSubResultOutput) ToLookupWebPubSubResultOutputWithContext(ctx context.Context) LookupWebPubSubResultOutput { - return o -} - -func (o LookupWebPubSubResultOutput) DisableAadAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *bool { return v.DisableAadAuth }).(pulumi.BoolPtrOutput) -} - -func (o LookupWebPubSubResultOutput) DisableLocalAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *bool { return v.DisableLocalAuth }).(pulumi.BoolPtrOutput) -} - -func (o LookupWebPubSubResultOutput) ExternalIP() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.ExternalIP }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubResultOutput) HostName() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.HostName }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubResultOutput) HostNamePrefix() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.HostNamePrefix }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubResultOutput) Identity() ManagedIdentityResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *ManagedIdentityResponse { return v.Identity }).(ManagedIdentityResponsePtrOutput) -} - -func (o LookupWebPubSubResultOutput) LiveTraceConfiguration() LiveTraceConfigurationResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *LiveTraceConfigurationResponse { return v.LiveTraceConfiguration }).(LiveTraceConfigurationResponsePtrOutput) -} - -func (o LookupWebPubSubResultOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *string { return v.Location }).(pulumi.StringPtrOutput) -} - -func (o LookupWebPubSubResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubResultOutput) NetworkACLs() WebPubSubNetworkACLsResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *WebPubSubNetworkACLsResponse { return v.NetworkACLs }).(WebPubSubNetworkACLsResponsePtrOutput) -} - -func (o LookupWebPubSubResultOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput { - return o.ApplyT(func(v LookupWebPubSubResult) []PrivateEndpointConnectionResponse { return v.PrivateEndpointConnections }).(PrivateEndpointConnectionResponseArrayOutput) -} - -func (o LookupWebPubSubResultOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubResultOutput) PublicNetworkAccess() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *string { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput) -} - -func (o LookupWebPubSubResultOutput) PublicPort() pulumi.IntOutput { - return o.ApplyT(func(v LookupWebPubSubResult) int { return v.PublicPort }).(pulumi.IntOutput) -} - -func (o LookupWebPubSubResultOutput) ResourceLogConfiguration() ResourceLogConfigurationResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *ResourceLogConfigurationResponse { return v.ResourceLogConfiguration }).(ResourceLogConfigurationResponsePtrOutput) -} - -func (o LookupWebPubSubResultOutput) ServerPort() pulumi.IntOutput { - return o.ApplyT(func(v LookupWebPubSubResult) int { return v.ServerPort }).(pulumi.IntOutput) -} - -func (o LookupWebPubSubResultOutput) SharedPrivateLinkResources() SharedPrivateLinkResourceResponseArrayOutput { - return o.ApplyT(func(v LookupWebPubSubResult) []SharedPrivateLinkResourceResponse { return v.SharedPrivateLinkResources }).(SharedPrivateLinkResourceResponseArrayOutput) -} - -func (o LookupWebPubSubResultOutput) Sku() ResourceSkuResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *ResourceSkuResponse { return v.Sku }).(ResourceSkuResponsePtrOutput) -} - -func (o LookupWebPubSubResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupWebPubSubResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupWebPubSubResultOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupWebPubSubResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) -} - -func (o LookupWebPubSubResultOutput) Tls() WebPubSubTlsSettingsResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubResult) *WebPubSubTlsSettingsResponse { return v.Tls }).(WebPubSubTlsSettingsResponsePtrOutput) -} - -func (o LookupWebPubSubResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.Type }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubResultOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubResult) string { return v.Version }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupWebPubSubResultOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubCustomCertificate.go b/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubCustomCertificate.go deleted file mode 100644 index 9a819c0b5cf5..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubCustomCertificate.go +++ /dev/null @@ -1,112 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupWebPubSubCustomCertificate(ctx *pulumi.Context, args *LookupWebPubSubCustomCertificateArgs, opts ...pulumi.InvokeOption) (*LookupWebPubSubCustomCertificateResult, error) { - var rv LookupWebPubSubCustomCertificateResult - err := ctx.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubCustomCertificate", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupWebPubSubCustomCertificateArgs struct { - CertificateName string `pulumi:"certificateName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type LookupWebPubSubCustomCertificateResult struct { - Id string `pulumi:"id"` - KeyVaultBaseUri string `pulumi:"keyVaultBaseUri"` - KeyVaultSecretName string `pulumi:"keyVaultSecretName"` - KeyVaultSecretVersion *string `pulumi:"keyVaultSecretVersion"` - Name string `pulumi:"name"` - ProvisioningState string `pulumi:"provisioningState"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -func LookupWebPubSubCustomCertificateOutput(ctx *pulumi.Context, args LookupWebPubSubCustomCertificateOutputArgs, opts ...pulumi.InvokeOption) LookupWebPubSubCustomCertificateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebPubSubCustomCertificateResult, error) { - args := v.(LookupWebPubSubCustomCertificateArgs) - r, err := LookupWebPubSubCustomCertificate(ctx, &args, opts...) - var s LookupWebPubSubCustomCertificateResult - if r != nil { - s = *r - } - return s, err - }).(LookupWebPubSubCustomCertificateResultOutput) -} - -type LookupWebPubSubCustomCertificateOutputArgs struct { - CertificateName pulumi.StringInput `pulumi:"certificateName"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ResourceName pulumi.StringInput `pulumi:"resourceName"` -} - -func (LookupWebPubSubCustomCertificateOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubCustomCertificateArgs)(nil)).Elem() -} - - -type LookupWebPubSubCustomCertificateResultOutput struct{ *pulumi.OutputState } - -func (LookupWebPubSubCustomCertificateResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubCustomCertificateResult)(nil)).Elem() -} - -func (o LookupWebPubSubCustomCertificateResultOutput) ToLookupWebPubSubCustomCertificateResultOutput() LookupWebPubSubCustomCertificateResultOutput { - return o -} - -func (o LookupWebPubSubCustomCertificateResultOutput) ToLookupWebPubSubCustomCertificateResultOutputWithContext(ctx context.Context) LookupWebPubSubCustomCertificateResultOutput { - return o -} - -func (o LookupWebPubSubCustomCertificateResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomCertificateResultOutput) KeyVaultBaseUri() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) string { return v.KeyVaultBaseUri }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomCertificateResultOutput) KeyVaultSecretName() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) string { return v.KeyVaultSecretName }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomCertificateResultOutput) KeyVaultSecretVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) *string { return v.KeyVaultSecretVersion }).(pulumi.StringPtrOutput) -} - -func (o LookupWebPubSubCustomCertificateResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomCertificateResultOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomCertificateResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupWebPubSubCustomCertificateResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomCertificateResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupWebPubSubCustomCertificateResultOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubCustomDomain.go b/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubCustomDomain.go deleted file mode 100644 index 467376957d93..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubCustomDomain.go +++ /dev/null @@ -1,107 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupWebPubSubCustomDomain(ctx *pulumi.Context, args *LookupWebPubSubCustomDomainArgs, opts ...pulumi.InvokeOption) (*LookupWebPubSubCustomDomainResult, error) { - var rv LookupWebPubSubCustomDomainResult - err := ctx.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubCustomDomain", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupWebPubSubCustomDomainArgs struct { - Name string `pulumi:"name"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type LookupWebPubSubCustomDomainResult struct { - CustomCertificate ResourceReferenceResponse `pulumi:"customCertificate"` - DomainName string `pulumi:"domainName"` - Id string `pulumi:"id"` - Name string `pulumi:"name"` - ProvisioningState string `pulumi:"provisioningState"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -func LookupWebPubSubCustomDomainOutput(ctx *pulumi.Context, args LookupWebPubSubCustomDomainOutputArgs, opts ...pulumi.InvokeOption) LookupWebPubSubCustomDomainResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebPubSubCustomDomainResult, error) { - args := v.(LookupWebPubSubCustomDomainArgs) - r, err := LookupWebPubSubCustomDomain(ctx, &args, opts...) - var s LookupWebPubSubCustomDomainResult - if r != nil { - s = *r - } - return s, err - }).(LookupWebPubSubCustomDomainResultOutput) -} - -type LookupWebPubSubCustomDomainOutputArgs struct { - Name pulumi.StringInput `pulumi:"name"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ResourceName pulumi.StringInput `pulumi:"resourceName"` -} - -func (LookupWebPubSubCustomDomainOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubCustomDomainArgs)(nil)).Elem() -} - - -type LookupWebPubSubCustomDomainResultOutput struct{ *pulumi.OutputState } - -func (LookupWebPubSubCustomDomainResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubCustomDomainResult)(nil)).Elem() -} - -func (o LookupWebPubSubCustomDomainResultOutput) ToLookupWebPubSubCustomDomainResultOutput() LookupWebPubSubCustomDomainResultOutput { - return o -} - -func (o LookupWebPubSubCustomDomainResultOutput) ToLookupWebPubSubCustomDomainResultOutputWithContext(ctx context.Context) LookupWebPubSubCustomDomainResultOutput { - return o -} - -func (o LookupWebPubSubCustomDomainResultOutput) CustomCertificate() ResourceReferenceResponseOutput { - return o.ApplyT(func(v LookupWebPubSubCustomDomainResult) ResourceReferenceResponse { return v.CustomCertificate }).(ResourceReferenceResponseOutput) -} - -func (o LookupWebPubSubCustomDomainResultOutput) DomainName() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomDomainResult) string { return v.DomainName }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomDomainResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomDomainResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomDomainResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomDomainResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomDomainResultOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomDomainResult) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubCustomDomainResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupWebPubSubCustomDomainResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupWebPubSubCustomDomainResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubCustomDomainResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupWebPubSubCustomDomainResultOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubHub.go b/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubHub.go deleted file mode 100644 index 3a6b345dcad3..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubHub.go +++ /dev/null @@ -1,108 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupWebPubSubHub(ctx *pulumi.Context, args *LookupWebPubSubHubArgs, opts ...pulumi.InvokeOption) (*LookupWebPubSubHubResult, error) { - var rv LookupWebPubSubHubResult - err := ctx.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubHub", args, &rv, opts...) - if err != nil { - return nil, err - } - return rv.Defaults(), nil -} - -type LookupWebPubSubHubArgs struct { - HubName string `pulumi:"hubName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type LookupWebPubSubHubResult struct { - Id string `pulumi:"id"` - Name string `pulumi:"name"` - Properties WebPubSubHubPropertiesResponse `pulumi:"properties"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - - -func (val *LookupWebPubSubHubResult) Defaults() *LookupWebPubSubHubResult { - if val == nil { - return nil - } - tmp := *val - tmp.Properties = *tmp.Properties.Defaults() - - return &tmp -} - -func LookupWebPubSubHubOutput(ctx *pulumi.Context, args LookupWebPubSubHubOutputArgs, opts ...pulumi.InvokeOption) LookupWebPubSubHubResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebPubSubHubResult, error) { - args := v.(LookupWebPubSubHubArgs) - r, err := LookupWebPubSubHub(ctx, &args, opts...) - var s LookupWebPubSubHubResult - if r != nil { - s = *r - } - return s, err - }).(LookupWebPubSubHubResultOutput) -} - -type LookupWebPubSubHubOutputArgs struct { - HubName pulumi.StringInput `pulumi:"hubName"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ResourceName pulumi.StringInput `pulumi:"resourceName"` -} - -func (LookupWebPubSubHubOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubHubArgs)(nil)).Elem() -} - - -type LookupWebPubSubHubResultOutput struct{ *pulumi.OutputState } - -func (LookupWebPubSubHubResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubHubResult)(nil)).Elem() -} - -func (o LookupWebPubSubHubResultOutput) ToLookupWebPubSubHubResultOutput() LookupWebPubSubHubResultOutput { - return o -} - -func (o LookupWebPubSubHubResultOutput) ToLookupWebPubSubHubResultOutputWithContext(ctx context.Context) LookupWebPubSubHubResultOutput { - return o -} - -func (o LookupWebPubSubHubResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubHubResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubHubResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubHubResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubHubResultOutput) Properties() WebPubSubHubPropertiesResponseOutput { - return o.ApplyT(func(v LookupWebPubSubHubResult) WebPubSubHubPropertiesResponse { return v.Properties }).(WebPubSubHubPropertiesResponseOutput) -} - -func (o LookupWebPubSubHubResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupWebPubSubHubResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupWebPubSubHubResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubHubResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupWebPubSubHubResultOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubPrivateEndpointConnection.go b/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubPrivateEndpointConnection.go deleted file mode 100644 index 1c0e783e63ae..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubPrivateEndpointConnection.go +++ /dev/null @@ -1,116 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, args *LookupWebPubSubPrivateEndpointConnectionArgs, opts ...pulumi.InvokeOption) (*LookupWebPubSubPrivateEndpointConnectionResult, error) { - var rv LookupWebPubSubPrivateEndpointConnectionResult - err := ctx.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubPrivateEndpointConnection", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupWebPubSubPrivateEndpointConnectionArgs struct { - PrivateEndpointConnectionName string `pulumi:"privateEndpointConnectionName"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type LookupWebPubSubPrivateEndpointConnectionResult struct { - GroupIds []string `pulumi:"groupIds"` - Id string `pulumi:"id"` - Name string `pulumi:"name"` - PrivateEndpoint *PrivateEndpointResponse `pulumi:"privateEndpoint"` - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` - ProvisioningState string `pulumi:"provisioningState"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -func LookupWebPubSubPrivateEndpointConnectionOutput(ctx *pulumi.Context, args LookupWebPubSubPrivateEndpointConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupWebPubSubPrivateEndpointConnectionResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebPubSubPrivateEndpointConnectionResult, error) { - args := v.(LookupWebPubSubPrivateEndpointConnectionArgs) - r, err := LookupWebPubSubPrivateEndpointConnection(ctx, &args, opts...) - var s LookupWebPubSubPrivateEndpointConnectionResult - if r != nil { - s = *r - } - return s, err - }).(LookupWebPubSubPrivateEndpointConnectionResultOutput) -} - -type LookupWebPubSubPrivateEndpointConnectionOutputArgs struct { - PrivateEndpointConnectionName pulumi.StringInput `pulumi:"privateEndpointConnectionName"` - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ResourceName pulumi.StringInput `pulumi:"resourceName"` -} - -func (LookupWebPubSubPrivateEndpointConnectionOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubPrivateEndpointConnectionArgs)(nil)).Elem() -} - - -type LookupWebPubSubPrivateEndpointConnectionResultOutput struct{ *pulumi.OutputState } - -func (LookupWebPubSubPrivateEndpointConnectionResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubPrivateEndpointConnectionResult)(nil)).Elem() -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) ToLookupWebPubSubPrivateEndpointConnectionResultOutput() LookupWebPubSubPrivateEndpointConnectionResultOutput { - return o -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) ToLookupWebPubSubPrivateEndpointConnectionResultOutputWithContext(ctx context.Context) LookupWebPubSubPrivateEndpointConnectionResultOutput { - return o -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) GroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) []string { return v.GroupIds }).(pulumi.StringArrayOutput) -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) PrivateEndpoint() PrivateEndpointResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) *PrivateEndpointResponse { - return v.PrivateEndpoint - }).(PrivateEndpointResponsePtrOutput) -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) *PrivateLinkServiceConnectionStateResponse { - return v.PrivateLinkServiceConnectionState - }).(PrivateLinkServiceConnectionStateResponsePtrOutput) -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupWebPubSubPrivateEndpointConnectionResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubPrivateEndpointConnectionResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupWebPubSubPrivateEndpointConnectionResultOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubSharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubSharedPrivateLinkResource.go deleted file mode 100644 index 082fbdecc807..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/getWebPubSubSharedPrivateLinkResource.go +++ /dev/null @@ -1,117 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, args *LookupWebPubSubSharedPrivateLinkResourceArgs, opts ...pulumi.InvokeOption) (*LookupWebPubSubSharedPrivateLinkResourceResult, error) { - var rv LookupWebPubSubSharedPrivateLinkResourceResult - err := ctx.Invoke("azure-native:webpubsub/v20220801preview:getWebPubSubSharedPrivateLinkResource", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type LookupWebPubSubSharedPrivateLinkResourceArgs struct { - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` - SharedPrivateLinkResourceName string `pulumi:"sharedPrivateLinkResourceName"` -} - - -type LookupWebPubSubSharedPrivateLinkResourceResult struct { - GroupId string `pulumi:"groupId"` - Id string `pulumi:"id"` - Name string `pulumi:"name"` - PrivateLinkResourceId string `pulumi:"privateLinkResourceId"` - ProvisioningState string `pulumi:"provisioningState"` - RequestMessage *string `pulumi:"requestMessage"` - Status string `pulumi:"status"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -func LookupWebPubSubSharedPrivateLinkResourceOutput(ctx *pulumi.Context, args LookupWebPubSubSharedPrivateLinkResourceOutputArgs, opts ...pulumi.InvokeOption) LookupWebPubSubSharedPrivateLinkResourceResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebPubSubSharedPrivateLinkResourceResult, error) { - args := v.(LookupWebPubSubSharedPrivateLinkResourceArgs) - r, err := LookupWebPubSubSharedPrivateLinkResource(ctx, &args, opts...) - var s LookupWebPubSubSharedPrivateLinkResourceResult - if r != nil { - s = *r - } - return s, err - }).(LookupWebPubSubSharedPrivateLinkResourceResultOutput) -} - -type LookupWebPubSubSharedPrivateLinkResourceOutputArgs struct { - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ResourceName pulumi.StringInput `pulumi:"resourceName"` - SharedPrivateLinkResourceName pulumi.StringInput `pulumi:"sharedPrivateLinkResourceName"` -} - -func (LookupWebPubSubSharedPrivateLinkResourceOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubSharedPrivateLinkResourceArgs)(nil)).Elem() -} - - -type LookupWebPubSubSharedPrivateLinkResourceResultOutput struct{ *pulumi.OutputState } - -func (LookupWebPubSubSharedPrivateLinkResourceResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupWebPubSubSharedPrivateLinkResourceResult)(nil)).Elem() -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) ToLookupWebPubSubSharedPrivateLinkResourceResultOutput() LookupWebPubSubSharedPrivateLinkResourceResultOutput { - return o -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) ToLookupWebPubSubSharedPrivateLinkResourceResultOutputWithContext(ctx context.Context) LookupWebPubSubSharedPrivateLinkResourceResultOutput { - return o -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) GroupId() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) string { return v.GroupId }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) string { return v.Name }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) PrivateLinkResourceId() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) string { return v.PrivateLinkResourceId }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) RequestMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) *string { return v.RequestMessage }).(pulumi.StringPtrOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) string { return v.Status }).(pulumi.StringOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o LookupWebPubSubSharedPrivateLinkResourceResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupWebPubSubSharedPrivateLinkResourceResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupWebPubSubSharedPrivateLinkResourceResultOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/init.go b/sdk/go/azure/webpubsub/v20220801preview/init.go deleted file mode 100644 index bba14b757f60..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/init.go +++ /dev/null @@ -1,54 +0,0 @@ - - - -package v20220801preview - -import ( - "fmt" - - "github.com/blang/semver" - "github.com/pulumi/pulumi-azure-native/sdk/go/azure" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type module struct { - version semver.Version -} - -func (m *module) Version() semver.Version { - return m.version -} - -func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { - switch typ { - case "azure-native:webpubsub/v20220801preview:WebPubSub": - r = &WebPubSub{} - case "azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate": - r = &WebPubSubCustomCertificate{} - case "azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain": - r = &WebPubSubCustomDomain{} - case "azure-native:webpubsub/v20220801preview:WebPubSubHub": - r = &WebPubSubHub{} - case "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection": - r = &WebPubSubPrivateEndpointConnection{} - case "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource": - r = &WebPubSubSharedPrivateLinkResource{} - default: - return nil, fmt.Errorf("unknown resource type: %s", typ) - } - - err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) - return -} - -func init() { - version, err := azure.PkgVersion() - if err != nil { - version = semver.Version{Major: 1} - } - pulumi.RegisterResourceModule( - "azure-native", - "webpubsub/v20220801preview", - &module{version}, - ) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/listWebPubSubKeys.go b/sdk/go/azure/webpubsub/v20220801preview/listWebPubSubKeys.go deleted file mode 100644 index a68fe543bb1b..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/listWebPubSubKeys.go +++ /dev/null @@ -1,90 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func ListWebPubSubKeys(ctx *pulumi.Context, args *ListWebPubSubKeysArgs, opts ...pulumi.InvokeOption) (*ListWebPubSubKeysResult, error) { - var rv ListWebPubSubKeysResult - err := ctx.Invoke("azure-native:webpubsub/v20220801preview:listWebPubSubKeys", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -type ListWebPubSubKeysArgs struct { - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type ListWebPubSubKeysResult struct { - PrimaryConnectionString *string `pulumi:"primaryConnectionString"` - PrimaryKey *string `pulumi:"primaryKey"` - SecondaryConnectionString *string `pulumi:"secondaryConnectionString"` - SecondaryKey *string `pulumi:"secondaryKey"` -} - -func ListWebPubSubKeysOutput(ctx *pulumi.Context, args ListWebPubSubKeysOutputArgs, opts ...pulumi.InvokeOption) ListWebPubSubKeysResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (ListWebPubSubKeysResult, error) { - args := v.(ListWebPubSubKeysArgs) - r, err := ListWebPubSubKeys(ctx, &args, opts...) - var s ListWebPubSubKeysResult - if r != nil { - s = *r - } - return s, err - }).(ListWebPubSubKeysResultOutput) -} - -type ListWebPubSubKeysOutputArgs struct { - ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` - ResourceName pulumi.StringInput `pulumi:"resourceName"` -} - -func (ListWebPubSubKeysOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ListWebPubSubKeysArgs)(nil)).Elem() -} - - -type ListWebPubSubKeysResultOutput struct{ *pulumi.OutputState } - -func (ListWebPubSubKeysResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ListWebPubSubKeysResult)(nil)).Elem() -} - -func (o ListWebPubSubKeysResultOutput) ToListWebPubSubKeysResultOutput() ListWebPubSubKeysResultOutput { - return o -} - -func (o ListWebPubSubKeysResultOutput) ToListWebPubSubKeysResultOutputWithContext(ctx context.Context) ListWebPubSubKeysResultOutput { - return o -} - -func (o ListWebPubSubKeysResultOutput) PrimaryConnectionString() pulumi.StringPtrOutput { - return o.ApplyT(func(v ListWebPubSubKeysResult) *string { return v.PrimaryConnectionString }).(pulumi.StringPtrOutput) -} - -func (o ListWebPubSubKeysResultOutput) PrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ListWebPubSubKeysResult) *string { return v.PrimaryKey }).(pulumi.StringPtrOutput) -} - -func (o ListWebPubSubKeysResultOutput) SecondaryConnectionString() pulumi.StringPtrOutput { - return o.ApplyT(func(v ListWebPubSubKeysResult) *string { return v.SecondaryConnectionString }).(pulumi.StringPtrOutput) -} - -func (o ListWebPubSubKeysResultOutput) SecondaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ListWebPubSubKeysResult) *string { return v.SecondaryKey }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(ListWebPubSubKeysResultOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/pulumiEnums.go b/sdk/go/azure/webpubsub/v20220801preview/pulumiEnums.go deleted file mode 100644 index 0810c3348bcc..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/pulumiEnums.go +++ /dev/null @@ -1,68 +0,0 @@ - - - -package v20220801preview - -type ACLAction string - -const ( - ACLActionAllow = ACLAction("Allow") - ACLActionDeny = ACLAction("Deny") -) - -type EventListenerEndpointDiscriminator string - -const ( - EventListenerEndpointDiscriminatorEventHub = EventListenerEndpointDiscriminator("EventHub") -) - -type EventListenerFilterDiscriminator string - -const ( - EventListenerFilterDiscriminatorEventName = EventListenerFilterDiscriminator("EventName") -) - -type ManagedIdentityType string - -const ( - ManagedIdentityTypeNone = ManagedIdentityType("None") - ManagedIdentityTypeSystemAssigned = ManagedIdentityType("SystemAssigned") - ManagedIdentityTypeUserAssigned = ManagedIdentityType("UserAssigned") -) - -type PrivateLinkServiceConnectionStatus string - -const ( - PrivateLinkServiceConnectionStatusPending = PrivateLinkServiceConnectionStatus("Pending") - PrivateLinkServiceConnectionStatusApproved = PrivateLinkServiceConnectionStatus("Approved") - PrivateLinkServiceConnectionStatusRejected = PrivateLinkServiceConnectionStatus("Rejected") - PrivateLinkServiceConnectionStatusDisconnected = PrivateLinkServiceConnectionStatus("Disconnected") -) - -type UpstreamAuthType string - -const ( - UpstreamAuthTypeNone = UpstreamAuthType("None") - UpstreamAuthTypeManagedIdentity = UpstreamAuthType("ManagedIdentity") -) - -type WebPubSubRequestType string - -const ( - WebPubSubRequestTypeClientConnection = WebPubSubRequestType("ClientConnection") - WebPubSubRequestTypeServerConnection = WebPubSubRequestType("ServerConnection") - WebPubSubRequestTypeRESTAPI = WebPubSubRequestType("RESTAPI") - WebPubSubRequestTypeTrace = WebPubSubRequestType("Trace") -) - -type WebPubSubSkuTier string - -const ( - WebPubSubSkuTierFree = WebPubSubSkuTier("Free") - WebPubSubSkuTierBasic = WebPubSubSkuTier("Basic") - WebPubSubSkuTierStandard = WebPubSubSkuTier("Standard") - WebPubSubSkuTierPremium = WebPubSubSkuTier("Premium") -) - -func init() { -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/pulumiTypes.go b/sdk/go/azure/webpubsub/v20220801preview/pulumiTypes.go deleted file mode 100644 index b07443a160ef..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/pulumiTypes.go +++ /dev/null @@ -1,3993 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type EventHandler struct { - Auth *UpstreamAuthSettings `pulumi:"auth"` - SystemEvents []string `pulumi:"systemEvents"` - UrlTemplate string `pulumi:"urlTemplate"` - UserEventPattern *string `pulumi:"userEventPattern"` -} - - - - - -type EventHandlerInput interface { - pulumi.Input - - ToEventHandlerOutput() EventHandlerOutput - ToEventHandlerOutputWithContext(context.Context) EventHandlerOutput -} - -type EventHandlerArgs struct { - Auth UpstreamAuthSettingsPtrInput `pulumi:"auth"` - SystemEvents pulumi.StringArrayInput `pulumi:"systemEvents"` - UrlTemplate pulumi.StringInput `pulumi:"urlTemplate"` - UserEventPattern pulumi.StringPtrInput `pulumi:"userEventPattern"` -} - -func (EventHandlerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EventHandler)(nil)).Elem() -} - -func (i EventHandlerArgs) ToEventHandlerOutput() EventHandlerOutput { - return i.ToEventHandlerOutputWithContext(context.Background()) -} - -func (i EventHandlerArgs) ToEventHandlerOutputWithContext(ctx context.Context) EventHandlerOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventHandlerOutput) -} - - - - - -type EventHandlerArrayInput interface { - pulumi.Input - - ToEventHandlerArrayOutput() EventHandlerArrayOutput - ToEventHandlerArrayOutputWithContext(context.Context) EventHandlerArrayOutput -} - -type EventHandlerArray []EventHandlerInput - -func (EventHandlerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventHandler)(nil)).Elem() -} - -func (i EventHandlerArray) ToEventHandlerArrayOutput() EventHandlerArrayOutput { - return i.ToEventHandlerArrayOutputWithContext(context.Background()) -} - -func (i EventHandlerArray) ToEventHandlerArrayOutputWithContext(ctx context.Context) EventHandlerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventHandlerArrayOutput) -} - -type EventHandlerOutput struct{ *pulumi.OutputState } - -func (EventHandlerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventHandler)(nil)).Elem() -} - -func (o EventHandlerOutput) ToEventHandlerOutput() EventHandlerOutput { - return o -} - -func (o EventHandlerOutput) ToEventHandlerOutputWithContext(ctx context.Context) EventHandlerOutput { - return o -} - -func (o EventHandlerOutput) Auth() UpstreamAuthSettingsPtrOutput { - return o.ApplyT(func(v EventHandler) *UpstreamAuthSettings { return v.Auth }).(UpstreamAuthSettingsPtrOutput) -} - -func (o EventHandlerOutput) SystemEvents() pulumi.StringArrayOutput { - return o.ApplyT(func(v EventHandler) []string { return v.SystemEvents }).(pulumi.StringArrayOutput) -} - -func (o EventHandlerOutput) UrlTemplate() pulumi.StringOutput { - return o.ApplyT(func(v EventHandler) string { return v.UrlTemplate }).(pulumi.StringOutput) -} - -func (o EventHandlerOutput) UserEventPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v EventHandler) *string { return v.UserEventPattern }).(pulumi.StringPtrOutput) -} - -type EventHandlerArrayOutput struct{ *pulumi.OutputState } - -func (EventHandlerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventHandler)(nil)).Elem() -} - -func (o EventHandlerArrayOutput) ToEventHandlerArrayOutput() EventHandlerArrayOutput { - return o -} - -func (o EventHandlerArrayOutput) ToEventHandlerArrayOutputWithContext(ctx context.Context) EventHandlerArrayOutput { - return o -} - -func (o EventHandlerArrayOutput) Index(i pulumi.IntInput) EventHandlerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventHandler { - return vs[0].([]EventHandler)[vs[1].(int)] - }).(EventHandlerOutput) -} - -type EventHandlerResponse struct { - Auth *UpstreamAuthSettingsResponse `pulumi:"auth"` - SystemEvents []string `pulumi:"systemEvents"` - UrlTemplate string `pulumi:"urlTemplate"` - UserEventPattern *string `pulumi:"userEventPattern"` -} - -type EventHandlerResponseOutput struct{ *pulumi.OutputState } - -func (EventHandlerResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventHandlerResponse)(nil)).Elem() -} - -func (o EventHandlerResponseOutput) ToEventHandlerResponseOutput() EventHandlerResponseOutput { - return o -} - -func (o EventHandlerResponseOutput) ToEventHandlerResponseOutputWithContext(ctx context.Context) EventHandlerResponseOutput { - return o -} - -func (o EventHandlerResponseOutput) Auth() UpstreamAuthSettingsResponsePtrOutput { - return o.ApplyT(func(v EventHandlerResponse) *UpstreamAuthSettingsResponse { return v.Auth }).(UpstreamAuthSettingsResponsePtrOutput) -} - -func (o EventHandlerResponseOutput) SystemEvents() pulumi.StringArrayOutput { - return o.ApplyT(func(v EventHandlerResponse) []string { return v.SystemEvents }).(pulumi.StringArrayOutput) -} - -func (o EventHandlerResponseOutput) UrlTemplate() pulumi.StringOutput { - return o.ApplyT(func(v EventHandlerResponse) string { return v.UrlTemplate }).(pulumi.StringOutput) -} - -func (o EventHandlerResponseOutput) UserEventPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v EventHandlerResponse) *string { return v.UserEventPattern }).(pulumi.StringPtrOutput) -} - -type EventHandlerResponseArrayOutput struct{ *pulumi.OutputState } - -func (EventHandlerResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventHandlerResponse)(nil)).Elem() -} - -func (o EventHandlerResponseArrayOutput) ToEventHandlerResponseArrayOutput() EventHandlerResponseArrayOutput { - return o -} - -func (o EventHandlerResponseArrayOutput) ToEventHandlerResponseArrayOutputWithContext(ctx context.Context) EventHandlerResponseArrayOutput { - return o -} - -func (o EventHandlerResponseArrayOutput) Index(i pulumi.IntInput) EventHandlerResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventHandlerResponse { - return vs[0].([]EventHandlerResponse)[vs[1].(int)] - }).(EventHandlerResponseOutput) -} - -type EventHubEndpoint struct { - EventHubName string `pulumi:"eventHubName"` - FullyQualifiedNamespace string `pulumi:"fullyQualifiedNamespace"` - Type string `pulumi:"type"` -} - - - - - -type EventHubEndpointInput interface { - pulumi.Input - - ToEventHubEndpointOutput() EventHubEndpointOutput - ToEventHubEndpointOutputWithContext(context.Context) EventHubEndpointOutput -} - -type EventHubEndpointArgs struct { - EventHubName pulumi.StringInput `pulumi:"eventHubName"` - FullyQualifiedNamespace pulumi.StringInput `pulumi:"fullyQualifiedNamespace"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (EventHubEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EventHubEndpoint)(nil)).Elem() -} - -func (i EventHubEndpointArgs) ToEventHubEndpointOutput() EventHubEndpointOutput { - return i.ToEventHubEndpointOutputWithContext(context.Background()) -} - -func (i EventHubEndpointArgs) ToEventHubEndpointOutputWithContext(ctx context.Context) EventHubEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventHubEndpointOutput) -} - -type EventHubEndpointOutput struct{ *pulumi.OutputState } - -func (EventHubEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventHubEndpoint)(nil)).Elem() -} - -func (o EventHubEndpointOutput) ToEventHubEndpointOutput() EventHubEndpointOutput { - return o -} - -func (o EventHubEndpointOutput) ToEventHubEndpointOutputWithContext(ctx context.Context) EventHubEndpointOutput { - return o -} - -func (o EventHubEndpointOutput) EventHubName() pulumi.StringOutput { - return o.ApplyT(func(v EventHubEndpoint) string { return v.EventHubName }).(pulumi.StringOutput) -} - -func (o EventHubEndpointOutput) FullyQualifiedNamespace() pulumi.StringOutput { - return o.ApplyT(func(v EventHubEndpoint) string { return v.FullyQualifiedNamespace }).(pulumi.StringOutput) -} - -func (o EventHubEndpointOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v EventHubEndpoint) string { return v.Type }).(pulumi.StringOutput) -} - -type EventHubEndpointResponse struct { - EventHubName string `pulumi:"eventHubName"` - FullyQualifiedNamespace string `pulumi:"fullyQualifiedNamespace"` - Type string `pulumi:"type"` -} - -type EventHubEndpointResponseOutput struct{ *pulumi.OutputState } - -func (EventHubEndpointResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventHubEndpointResponse)(nil)).Elem() -} - -func (o EventHubEndpointResponseOutput) ToEventHubEndpointResponseOutput() EventHubEndpointResponseOutput { - return o -} - -func (o EventHubEndpointResponseOutput) ToEventHubEndpointResponseOutputWithContext(ctx context.Context) EventHubEndpointResponseOutput { - return o -} - -func (o EventHubEndpointResponseOutput) EventHubName() pulumi.StringOutput { - return o.ApplyT(func(v EventHubEndpointResponse) string { return v.EventHubName }).(pulumi.StringOutput) -} - -func (o EventHubEndpointResponseOutput) FullyQualifiedNamespace() pulumi.StringOutput { - return o.ApplyT(func(v EventHubEndpointResponse) string { return v.FullyQualifiedNamespace }).(pulumi.StringOutput) -} - -func (o EventHubEndpointResponseOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v EventHubEndpointResponse) string { return v.Type }).(pulumi.StringOutput) -} - -type EventListener struct { - Endpoint EventHubEndpoint `pulumi:"endpoint"` - Filter EventNameFilter `pulumi:"filter"` -} - - - - - -type EventListenerInput interface { - pulumi.Input - - ToEventListenerOutput() EventListenerOutput - ToEventListenerOutputWithContext(context.Context) EventListenerOutput -} - -type EventListenerArgs struct { - Endpoint EventHubEndpointInput `pulumi:"endpoint"` - Filter EventNameFilterInput `pulumi:"filter"` -} - -func (EventListenerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EventListener)(nil)).Elem() -} - -func (i EventListenerArgs) ToEventListenerOutput() EventListenerOutput { - return i.ToEventListenerOutputWithContext(context.Background()) -} - -func (i EventListenerArgs) ToEventListenerOutputWithContext(ctx context.Context) EventListenerOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventListenerOutput) -} - - - - - -type EventListenerArrayInput interface { - pulumi.Input - - ToEventListenerArrayOutput() EventListenerArrayOutput - ToEventListenerArrayOutputWithContext(context.Context) EventListenerArrayOutput -} - -type EventListenerArray []EventListenerInput - -func (EventListenerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventListener)(nil)).Elem() -} - -func (i EventListenerArray) ToEventListenerArrayOutput() EventListenerArrayOutput { - return i.ToEventListenerArrayOutputWithContext(context.Background()) -} - -func (i EventListenerArray) ToEventListenerArrayOutputWithContext(ctx context.Context) EventListenerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventListenerArrayOutput) -} - -type EventListenerOutput struct{ *pulumi.OutputState } - -func (EventListenerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventListener)(nil)).Elem() -} - -func (o EventListenerOutput) ToEventListenerOutput() EventListenerOutput { - return o -} - -func (o EventListenerOutput) ToEventListenerOutputWithContext(ctx context.Context) EventListenerOutput { - return o -} - -func (o EventListenerOutput) Endpoint() EventHubEndpointOutput { - return o.ApplyT(func(v EventListener) EventHubEndpoint { return v.Endpoint }).(EventHubEndpointOutput) -} - -func (o EventListenerOutput) Filter() EventNameFilterOutput { - return o.ApplyT(func(v EventListener) EventNameFilter { return v.Filter }).(EventNameFilterOutput) -} - -type EventListenerArrayOutput struct{ *pulumi.OutputState } - -func (EventListenerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventListener)(nil)).Elem() -} - -func (o EventListenerArrayOutput) ToEventListenerArrayOutput() EventListenerArrayOutput { - return o -} - -func (o EventListenerArrayOutput) ToEventListenerArrayOutputWithContext(ctx context.Context) EventListenerArrayOutput { - return o -} - -func (o EventListenerArrayOutput) Index(i pulumi.IntInput) EventListenerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventListener { - return vs[0].([]EventListener)[vs[1].(int)] - }).(EventListenerOutput) -} - -type EventListenerResponse struct { - Endpoint EventHubEndpointResponse `pulumi:"endpoint"` - Filter EventNameFilterResponse `pulumi:"filter"` -} - -type EventListenerResponseOutput struct{ *pulumi.OutputState } - -func (EventListenerResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventListenerResponse)(nil)).Elem() -} - -func (o EventListenerResponseOutput) ToEventListenerResponseOutput() EventListenerResponseOutput { - return o -} - -func (o EventListenerResponseOutput) ToEventListenerResponseOutputWithContext(ctx context.Context) EventListenerResponseOutput { - return o -} - -func (o EventListenerResponseOutput) Endpoint() EventHubEndpointResponseOutput { - return o.ApplyT(func(v EventListenerResponse) EventHubEndpointResponse { return v.Endpoint }).(EventHubEndpointResponseOutput) -} - -func (o EventListenerResponseOutput) Filter() EventNameFilterResponseOutput { - return o.ApplyT(func(v EventListenerResponse) EventNameFilterResponse { return v.Filter }).(EventNameFilterResponseOutput) -} - -type EventListenerResponseArrayOutput struct{ *pulumi.OutputState } - -func (EventListenerResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventListenerResponse)(nil)).Elem() -} - -func (o EventListenerResponseArrayOutput) ToEventListenerResponseArrayOutput() EventListenerResponseArrayOutput { - return o -} - -func (o EventListenerResponseArrayOutput) ToEventListenerResponseArrayOutputWithContext(ctx context.Context) EventListenerResponseArrayOutput { - return o -} - -func (o EventListenerResponseArrayOutput) Index(i pulumi.IntInput) EventListenerResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventListenerResponse { - return vs[0].([]EventListenerResponse)[vs[1].(int)] - }).(EventListenerResponseOutput) -} - -type EventNameFilter struct { - SystemEvents []string `pulumi:"systemEvents"` - Type string `pulumi:"type"` - UserEventPattern *string `pulumi:"userEventPattern"` -} - - - - - -type EventNameFilterInput interface { - pulumi.Input - - ToEventNameFilterOutput() EventNameFilterOutput - ToEventNameFilterOutputWithContext(context.Context) EventNameFilterOutput -} - -type EventNameFilterArgs struct { - SystemEvents pulumi.StringArrayInput `pulumi:"systemEvents"` - Type pulumi.StringInput `pulumi:"type"` - UserEventPattern pulumi.StringPtrInput `pulumi:"userEventPattern"` -} - -func (EventNameFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EventNameFilter)(nil)).Elem() -} - -func (i EventNameFilterArgs) ToEventNameFilterOutput() EventNameFilterOutput { - return i.ToEventNameFilterOutputWithContext(context.Background()) -} - -func (i EventNameFilterArgs) ToEventNameFilterOutputWithContext(ctx context.Context) EventNameFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventNameFilterOutput) -} - -type EventNameFilterOutput struct{ *pulumi.OutputState } - -func (EventNameFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventNameFilter)(nil)).Elem() -} - -func (o EventNameFilterOutput) ToEventNameFilterOutput() EventNameFilterOutput { - return o -} - -func (o EventNameFilterOutput) ToEventNameFilterOutputWithContext(ctx context.Context) EventNameFilterOutput { - return o -} - -func (o EventNameFilterOutput) SystemEvents() pulumi.StringArrayOutput { - return o.ApplyT(func(v EventNameFilter) []string { return v.SystemEvents }).(pulumi.StringArrayOutput) -} - -func (o EventNameFilterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v EventNameFilter) string { return v.Type }).(pulumi.StringOutput) -} - -func (o EventNameFilterOutput) UserEventPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v EventNameFilter) *string { return v.UserEventPattern }).(pulumi.StringPtrOutput) -} - -type EventNameFilterResponse struct { - SystemEvents []string `pulumi:"systemEvents"` - Type string `pulumi:"type"` - UserEventPattern *string `pulumi:"userEventPattern"` -} - -type EventNameFilterResponseOutput struct{ *pulumi.OutputState } - -func (EventNameFilterResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventNameFilterResponse)(nil)).Elem() -} - -func (o EventNameFilterResponseOutput) ToEventNameFilterResponseOutput() EventNameFilterResponseOutput { - return o -} - -func (o EventNameFilterResponseOutput) ToEventNameFilterResponseOutputWithContext(ctx context.Context) EventNameFilterResponseOutput { - return o -} - -func (o EventNameFilterResponseOutput) SystemEvents() pulumi.StringArrayOutput { - return o.ApplyT(func(v EventNameFilterResponse) []string { return v.SystemEvents }).(pulumi.StringArrayOutput) -} - -func (o EventNameFilterResponseOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v EventNameFilterResponse) string { return v.Type }).(pulumi.StringOutput) -} - -func (o EventNameFilterResponseOutput) UserEventPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v EventNameFilterResponse) *string { return v.UserEventPattern }).(pulumi.StringPtrOutput) -} - -type LiveTraceCategory struct { - Enabled *string `pulumi:"enabled"` - Name *string `pulumi:"name"` -} - - - - - -type LiveTraceCategoryInput interface { - pulumi.Input - - ToLiveTraceCategoryOutput() LiveTraceCategoryOutput - ToLiveTraceCategoryOutputWithContext(context.Context) LiveTraceCategoryOutput -} - -type LiveTraceCategoryArgs struct { - Enabled pulumi.StringPtrInput `pulumi:"enabled"` - Name pulumi.StringPtrInput `pulumi:"name"` -} - -func (LiveTraceCategoryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LiveTraceCategory)(nil)).Elem() -} - -func (i LiveTraceCategoryArgs) ToLiveTraceCategoryOutput() LiveTraceCategoryOutput { - return i.ToLiveTraceCategoryOutputWithContext(context.Background()) -} - -func (i LiveTraceCategoryArgs) ToLiveTraceCategoryOutputWithContext(ctx context.Context) LiveTraceCategoryOutput { - return pulumi.ToOutputWithContext(ctx, i).(LiveTraceCategoryOutput) -} - - - - - -type LiveTraceCategoryArrayInput interface { - pulumi.Input - - ToLiveTraceCategoryArrayOutput() LiveTraceCategoryArrayOutput - ToLiveTraceCategoryArrayOutputWithContext(context.Context) LiveTraceCategoryArrayOutput -} - -type LiveTraceCategoryArray []LiveTraceCategoryInput - -func (LiveTraceCategoryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LiveTraceCategory)(nil)).Elem() -} - -func (i LiveTraceCategoryArray) ToLiveTraceCategoryArrayOutput() LiveTraceCategoryArrayOutput { - return i.ToLiveTraceCategoryArrayOutputWithContext(context.Background()) -} - -func (i LiveTraceCategoryArray) ToLiveTraceCategoryArrayOutputWithContext(ctx context.Context) LiveTraceCategoryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LiveTraceCategoryArrayOutput) -} - -type LiveTraceCategoryOutput struct{ *pulumi.OutputState } - -func (LiveTraceCategoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LiveTraceCategory)(nil)).Elem() -} - -func (o LiveTraceCategoryOutput) ToLiveTraceCategoryOutput() LiveTraceCategoryOutput { - return o -} - -func (o LiveTraceCategoryOutput) ToLiveTraceCategoryOutputWithContext(ctx context.Context) LiveTraceCategoryOutput { - return o -} - -func (o LiveTraceCategoryOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v LiveTraceCategory) *string { return v.Enabled }).(pulumi.StringPtrOutput) -} - -func (o LiveTraceCategoryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LiveTraceCategory) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -type LiveTraceCategoryArrayOutput struct{ *pulumi.OutputState } - -func (LiveTraceCategoryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LiveTraceCategory)(nil)).Elem() -} - -func (o LiveTraceCategoryArrayOutput) ToLiveTraceCategoryArrayOutput() LiveTraceCategoryArrayOutput { - return o -} - -func (o LiveTraceCategoryArrayOutput) ToLiveTraceCategoryArrayOutputWithContext(ctx context.Context) LiveTraceCategoryArrayOutput { - return o -} - -func (o LiveTraceCategoryArrayOutput) Index(i pulumi.IntInput) LiveTraceCategoryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LiveTraceCategory { - return vs[0].([]LiveTraceCategory)[vs[1].(int)] - }).(LiveTraceCategoryOutput) -} - -type LiveTraceCategoryResponse struct { - Enabled *string `pulumi:"enabled"` - Name *string `pulumi:"name"` -} - -type LiveTraceCategoryResponseOutput struct{ *pulumi.OutputState } - -func (LiveTraceCategoryResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LiveTraceCategoryResponse)(nil)).Elem() -} - -func (o LiveTraceCategoryResponseOutput) ToLiveTraceCategoryResponseOutput() LiveTraceCategoryResponseOutput { - return o -} - -func (o LiveTraceCategoryResponseOutput) ToLiveTraceCategoryResponseOutputWithContext(ctx context.Context) LiveTraceCategoryResponseOutput { - return o -} - -func (o LiveTraceCategoryResponseOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v LiveTraceCategoryResponse) *string { return v.Enabled }).(pulumi.StringPtrOutput) -} - -func (o LiveTraceCategoryResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LiveTraceCategoryResponse) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -type LiveTraceCategoryResponseArrayOutput struct{ *pulumi.OutputState } - -func (LiveTraceCategoryResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LiveTraceCategoryResponse)(nil)).Elem() -} - -func (o LiveTraceCategoryResponseArrayOutput) ToLiveTraceCategoryResponseArrayOutput() LiveTraceCategoryResponseArrayOutput { - return o -} - -func (o LiveTraceCategoryResponseArrayOutput) ToLiveTraceCategoryResponseArrayOutputWithContext(ctx context.Context) LiveTraceCategoryResponseArrayOutput { - return o -} - -func (o LiveTraceCategoryResponseArrayOutput) Index(i pulumi.IntInput) LiveTraceCategoryResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LiveTraceCategoryResponse { - return vs[0].([]LiveTraceCategoryResponse)[vs[1].(int)] - }).(LiveTraceCategoryResponseOutput) -} - -type LiveTraceConfiguration struct { - Categories []LiveTraceCategory `pulumi:"categories"` - Enabled *string `pulumi:"enabled"` -} - - -func (val *LiveTraceConfiguration) Defaults() *LiveTraceConfiguration { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Enabled) { - enabled_ := "false" - tmp.Enabled = &enabled_ - } - return &tmp -} - - - - - -type LiveTraceConfigurationInput interface { - pulumi.Input - - ToLiveTraceConfigurationOutput() LiveTraceConfigurationOutput - ToLiveTraceConfigurationOutputWithContext(context.Context) LiveTraceConfigurationOutput -} - -type LiveTraceConfigurationArgs struct { - Categories LiveTraceCategoryArrayInput `pulumi:"categories"` - Enabled pulumi.StringPtrInput `pulumi:"enabled"` -} - - -func (val *LiveTraceConfigurationArgs) Defaults() *LiveTraceConfigurationArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Enabled) { - tmp.Enabled = pulumi.StringPtr("false") - } - return &tmp -} -func (LiveTraceConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LiveTraceConfiguration)(nil)).Elem() -} - -func (i LiveTraceConfigurationArgs) ToLiveTraceConfigurationOutput() LiveTraceConfigurationOutput { - return i.ToLiveTraceConfigurationOutputWithContext(context.Background()) -} - -func (i LiveTraceConfigurationArgs) ToLiveTraceConfigurationOutputWithContext(ctx context.Context) LiveTraceConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(LiveTraceConfigurationOutput) -} - -func (i LiveTraceConfigurationArgs) ToLiveTraceConfigurationPtrOutput() LiveTraceConfigurationPtrOutput { - return i.ToLiveTraceConfigurationPtrOutputWithContext(context.Background()) -} - -func (i LiveTraceConfigurationArgs) ToLiveTraceConfigurationPtrOutputWithContext(ctx context.Context) LiveTraceConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LiveTraceConfigurationOutput).ToLiveTraceConfigurationPtrOutputWithContext(ctx) -} - - - - - - - - - -type LiveTraceConfigurationPtrInput interface { - pulumi.Input - - ToLiveTraceConfigurationPtrOutput() LiveTraceConfigurationPtrOutput - ToLiveTraceConfigurationPtrOutputWithContext(context.Context) LiveTraceConfigurationPtrOutput -} - -type liveTraceConfigurationPtrType LiveTraceConfigurationArgs - -func LiveTraceConfigurationPtr(v *LiveTraceConfigurationArgs) LiveTraceConfigurationPtrInput { - return (*liveTraceConfigurationPtrType)(v) -} - -func (*liveTraceConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LiveTraceConfiguration)(nil)).Elem() -} - -func (i *liveTraceConfigurationPtrType) ToLiveTraceConfigurationPtrOutput() LiveTraceConfigurationPtrOutput { - return i.ToLiveTraceConfigurationPtrOutputWithContext(context.Background()) -} - -func (i *liveTraceConfigurationPtrType) ToLiveTraceConfigurationPtrOutputWithContext(ctx context.Context) LiveTraceConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LiveTraceConfigurationPtrOutput) -} - -type LiveTraceConfigurationOutput struct{ *pulumi.OutputState } - -func (LiveTraceConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LiveTraceConfiguration)(nil)).Elem() -} - -func (o LiveTraceConfigurationOutput) ToLiveTraceConfigurationOutput() LiveTraceConfigurationOutput { - return o -} - -func (o LiveTraceConfigurationOutput) ToLiveTraceConfigurationOutputWithContext(ctx context.Context) LiveTraceConfigurationOutput { - return o -} - -func (o LiveTraceConfigurationOutput) ToLiveTraceConfigurationPtrOutput() LiveTraceConfigurationPtrOutput { - return o.ToLiveTraceConfigurationPtrOutputWithContext(context.Background()) -} - -func (o LiveTraceConfigurationOutput) ToLiveTraceConfigurationPtrOutputWithContext(ctx context.Context) LiveTraceConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LiveTraceConfiguration) *LiveTraceConfiguration { - return &v - }).(LiveTraceConfigurationPtrOutput) -} - -func (o LiveTraceConfigurationOutput) Categories() LiveTraceCategoryArrayOutput { - return o.ApplyT(func(v LiveTraceConfiguration) []LiveTraceCategory { return v.Categories }).(LiveTraceCategoryArrayOutput) -} - -func (o LiveTraceConfigurationOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v LiveTraceConfiguration) *string { return v.Enabled }).(pulumi.StringPtrOutput) -} - -type LiveTraceConfigurationPtrOutput struct{ *pulumi.OutputState } - -func (LiveTraceConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LiveTraceConfiguration)(nil)).Elem() -} - -func (o LiveTraceConfigurationPtrOutput) ToLiveTraceConfigurationPtrOutput() LiveTraceConfigurationPtrOutput { - return o -} - -func (o LiveTraceConfigurationPtrOutput) ToLiveTraceConfigurationPtrOutputWithContext(ctx context.Context) LiveTraceConfigurationPtrOutput { - return o -} - -func (o LiveTraceConfigurationPtrOutput) Elem() LiveTraceConfigurationOutput { - return o.ApplyT(func(v *LiveTraceConfiguration) LiveTraceConfiguration { - if v != nil { - return *v - } - var ret LiveTraceConfiguration - return ret - }).(LiveTraceConfigurationOutput) -} - -func (o LiveTraceConfigurationPtrOutput) Categories() LiveTraceCategoryArrayOutput { - return o.ApplyT(func(v *LiveTraceConfiguration) []LiveTraceCategory { - if v == nil { - return nil - } - return v.Categories - }).(LiveTraceCategoryArrayOutput) -} - -func (o LiveTraceConfigurationPtrOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LiveTraceConfiguration) *string { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.StringPtrOutput) -} - -type LiveTraceConfigurationResponse struct { - Categories []LiveTraceCategoryResponse `pulumi:"categories"` - Enabled *string `pulumi:"enabled"` -} - - -func (val *LiveTraceConfigurationResponse) Defaults() *LiveTraceConfigurationResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.Enabled) { - enabled_ := "false" - tmp.Enabled = &enabled_ - } - return &tmp -} - -type LiveTraceConfigurationResponseOutput struct{ *pulumi.OutputState } - -func (LiveTraceConfigurationResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LiveTraceConfigurationResponse)(nil)).Elem() -} - -func (o LiveTraceConfigurationResponseOutput) ToLiveTraceConfigurationResponseOutput() LiveTraceConfigurationResponseOutput { - return o -} - -func (o LiveTraceConfigurationResponseOutput) ToLiveTraceConfigurationResponseOutputWithContext(ctx context.Context) LiveTraceConfigurationResponseOutput { - return o -} - -func (o LiveTraceConfigurationResponseOutput) Categories() LiveTraceCategoryResponseArrayOutput { - return o.ApplyT(func(v LiveTraceConfigurationResponse) []LiveTraceCategoryResponse { return v.Categories }).(LiveTraceCategoryResponseArrayOutput) -} - -func (o LiveTraceConfigurationResponseOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v LiveTraceConfigurationResponse) *string { return v.Enabled }).(pulumi.StringPtrOutput) -} - -type LiveTraceConfigurationResponsePtrOutput struct{ *pulumi.OutputState } - -func (LiveTraceConfigurationResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LiveTraceConfigurationResponse)(nil)).Elem() -} - -func (o LiveTraceConfigurationResponsePtrOutput) ToLiveTraceConfigurationResponsePtrOutput() LiveTraceConfigurationResponsePtrOutput { - return o -} - -func (o LiveTraceConfigurationResponsePtrOutput) ToLiveTraceConfigurationResponsePtrOutputWithContext(ctx context.Context) LiveTraceConfigurationResponsePtrOutput { - return o -} - -func (o LiveTraceConfigurationResponsePtrOutput) Elem() LiveTraceConfigurationResponseOutput { - return o.ApplyT(func(v *LiveTraceConfigurationResponse) LiveTraceConfigurationResponse { - if v != nil { - return *v - } - var ret LiveTraceConfigurationResponse - return ret - }).(LiveTraceConfigurationResponseOutput) -} - -func (o LiveTraceConfigurationResponsePtrOutput) Categories() LiveTraceCategoryResponseArrayOutput { - return o.ApplyT(func(v *LiveTraceConfigurationResponse) []LiveTraceCategoryResponse { - if v == nil { - return nil - } - return v.Categories - }).(LiveTraceCategoryResponseArrayOutput) -} - -func (o LiveTraceConfigurationResponsePtrOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LiveTraceConfigurationResponse) *string { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.StringPtrOutput) -} - -type ManagedIdentity struct { - Type *string `pulumi:"type"` - UserAssignedIdentities map[string]interface{} `pulumi:"userAssignedIdentities"` -} - - - - - -type ManagedIdentityInput interface { - pulumi.Input - - ToManagedIdentityOutput() ManagedIdentityOutput - ToManagedIdentityOutputWithContext(context.Context) ManagedIdentityOutput -} - -type ManagedIdentityArgs struct { - Type pulumi.StringPtrInput `pulumi:"type"` - UserAssignedIdentities pulumi.MapInput `pulumi:"userAssignedIdentities"` -} - -func (ManagedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ManagedIdentity)(nil)).Elem() -} - -func (i ManagedIdentityArgs) ToManagedIdentityOutput() ManagedIdentityOutput { - return i.ToManagedIdentityOutputWithContext(context.Background()) -} - -func (i ManagedIdentityArgs) ToManagedIdentityOutputWithContext(ctx context.Context) ManagedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentityOutput) -} - -func (i ManagedIdentityArgs) ToManagedIdentityPtrOutput() ManagedIdentityPtrOutput { - return i.ToManagedIdentityPtrOutputWithContext(context.Background()) -} - -func (i ManagedIdentityArgs) ToManagedIdentityPtrOutputWithContext(ctx context.Context) ManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentityOutput).ToManagedIdentityPtrOutputWithContext(ctx) -} - - - - - - - - - -type ManagedIdentityPtrInput interface { - pulumi.Input - - ToManagedIdentityPtrOutput() ManagedIdentityPtrOutput - ToManagedIdentityPtrOutputWithContext(context.Context) ManagedIdentityPtrOutput -} - -type managedIdentityPtrType ManagedIdentityArgs - -func ManagedIdentityPtr(v *ManagedIdentityArgs) ManagedIdentityPtrInput { - return (*managedIdentityPtrType)(v) -} - -func (*managedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ManagedIdentity)(nil)).Elem() -} - -func (i *managedIdentityPtrType) ToManagedIdentityPtrOutput() ManagedIdentityPtrOutput { - return i.ToManagedIdentityPtrOutputWithContext(context.Background()) -} - -func (i *managedIdentityPtrType) ToManagedIdentityPtrOutputWithContext(ctx context.Context) ManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentityPtrOutput) -} - -type ManagedIdentityOutput struct{ *pulumi.OutputState } - -func (ManagedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ManagedIdentity)(nil)).Elem() -} - -func (o ManagedIdentityOutput) ToManagedIdentityOutput() ManagedIdentityOutput { - return o -} - -func (o ManagedIdentityOutput) ToManagedIdentityOutputWithContext(ctx context.Context) ManagedIdentityOutput { - return o -} - -func (o ManagedIdentityOutput) ToManagedIdentityPtrOutput() ManagedIdentityPtrOutput { - return o.ToManagedIdentityPtrOutputWithContext(context.Background()) -} - -func (o ManagedIdentityOutput) ToManagedIdentityPtrOutputWithContext(ctx context.Context) ManagedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ManagedIdentity) *ManagedIdentity { - return &v - }).(ManagedIdentityPtrOutput) -} - -func (o ManagedIdentityOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ManagedIdentity) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -func (o ManagedIdentityOutput) UserAssignedIdentities() pulumi.MapOutput { - return o.ApplyT(func(v ManagedIdentity) map[string]interface{} { return v.UserAssignedIdentities }).(pulumi.MapOutput) -} - -type ManagedIdentityPtrOutput struct{ *pulumi.OutputState } - -func (ManagedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ManagedIdentity)(nil)).Elem() -} - -func (o ManagedIdentityPtrOutput) ToManagedIdentityPtrOutput() ManagedIdentityPtrOutput { - return o -} - -func (o ManagedIdentityPtrOutput) ToManagedIdentityPtrOutputWithContext(ctx context.Context) ManagedIdentityPtrOutput { - return o -} - -func (o ManagedIdentityPtrOutput) Elem() ManagedIdentityOutput { - return o.ApplyT(func(v *ManagedIdentity) ManagedIdentity { - if v != nil { - return *v - } - var ret ManagedIdentity - return ret - }).(ManagedIdentityOutput) -} - -func (o ManagedIdentityPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ManagedIdentity) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -func (o ManagedIdentityPtrOutput) UserAssignedIdentities() pulumi.MapOutput { - return o.ApplyT(func(v *ManagedIdentity) map[string]interface{} { - if v == nil { - return nil - } - return v.UserAssignedIdentities - }).(pulumi.MapOutput) -} - -type ManagedIdentityResponse struct { - PrincipalId string `pulumi:"principalId"` - TenantId string `pulumi:"tenantId"` - Type *string `pulumi:"type"` - UserAssignedIdentities map[string]UserAssignedIdentityPropertyResponse `pulumi:"userAssignedIdentities"` -} - -type ManagedIdentityResponseOutput struct{ *pulumi.OutputState } - -func (ManagedIdentityResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ManagedIdentityResponse)(nil)).Elem() -} - -func (o ManagedIdentityResponseOutput) ToManagedIdentityResponseOutput() ManagedIdentityResponseOutput { - return o -} - -func (o ManagedIdentityResponseOutput) ToManagedIdentityResponseOutputWithContext(ctx context.Context) ManagedIdentityResponseOutput { - return o -} - -func (o ManagedIdentityResponseOutput) PrincipalId() pulumi.StringOutput { - return o.ApplyT(func(v ManagedIdentityResponse) string { return v.PrincipalId }).(pulumi.StringOutput) -} - -func (o ManagedIdentityResponseOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v ManagedIdentityResponse) string { return v.TenantId }).(pulumi.StringOutput) -} - -func (o ManagedIdentityResponseOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ManagedIdentityResponse) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -func (o ManagedIdentityResponseOutput) UserAssignedIdentities() UserAssignedIdentityPropertyResponseMapOutput { - return o.ApplyT(func(v ManagedIdentityResponse) map[string]UserAssignedIdentityPropertyResponse { - return v.UserAssignedIdentities - }).(UserAssignedIdentityPropertyResponseMapOutput) -} - -type ManagedIdentityResponsePtrOutput struct{ *pulumi.OutputState } - -func (ManagedIdentityResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ManagedIdentityResponse)(nil)).Elem() -} - -func (o ManagedIdentityResponsePtrOutput) ToManagedIdentityResponsePtrOutput() ManagedIdentityResponsePtrOutput { - return o -} - -func (o ManagedIdentityResponsePtrOutput) ToManagedIdentityResponsePtrOutputWithContext(ctx context.Context) ManagedIdentityResponsePtrOutput { - return o -} - -func (o ManagedIdentityResponsePtrOutput) Elem() ManagedIdentityResponseOutput { - return o.ApplyT(func(v *ManagedIdentityResponse) ManagedIdentityResponse { - if v != nil { - return *v - } - var ret ManagedIdentityResponse - return ret - }).(ManagedIdentityResponseOutput) -} - -func (o ManagedIdentityResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ManagedIdentityResponse) *string { - if v == nil { - return nil - } - return &v.PrincipalId - }).(pulumi.StringPtrOutput) -} - -func (o ManagedIdentityResponsePtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ManagedIdentityResponse) *string { - if v == nil { - return nil - } - return &v.TenantId - }).(pulumi.StringPtrOutput) -} - -func (o ManagedIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ManagedIdentityResponse) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -func (o ManagedIdentityResponsePtrOutput) UserAssignedIdentities() UserAssignedIdentityPropertyResponseMapOutput { - return o.ApplyT(func(v *ManagedIdentityResponse) map[string]UserAssignedIdentityPropertyResponse { - if v == nil { - return nil - } - return v.UserAssignedIdentities - }).(UserAssignedIdentityPropertyResponseMapOutput) -} - -type ManagedIdentitySettings struct { - Resource *string `pulumi:"resource"` -} - - - - - -type ManagedIdentitySettingsInput interface { - pulumi.Input - - ToManagedIdentitySettingsOutput() ManagedIdentitySettingsOutput - ToManagedIdentitySettingsOutputWithContext(context.Context) ManagedIdentitySettingsOutput -} - -type ManagedIdentitySettingsArgs struct { - Resource pulumi.StringPtrInput `pulumi:"resource"` -} - -func (ManagedIdentitySettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ManagedIdentitySettings)(nil)).Elem() -} - -func (i ManagedIdentitySettingsArgs) ToManagedIdentitySettingsOutput() ManagedIdentitySettingsOutput { - return i.ToManagedIdentitySettingsOutputWithContext(context.Background()) -} - -func (i ManagedIdentitySettingsArgs) ToManagedIdentitySettingsOutputWithContext(ctx context.Context) ManagedIdentitySettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentitySettingsOutput) -} - -func (i ManagedIdentitySettingsArgs) ToManagedIdentitySettingsPtrOutput() ManagedIdentitySettingsPtrOutput { - return i.ToManagedIdentitySettingsPtrOutputWithContext(context.Background()) -} - -func (i ManagedIdentitySettingsArgs) ToManagedIdentitySettingsPtrOutputWithContext(ctx context.Context) ManagedIdentitySettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentitySettingsOutput).ToManagedIdentitySettingsPtrOutputWithContext(ctx) -} - - - - - - - - - -type ManagedIdentitySettingsPtrInput interface { - pulumi.Input - - ToManagedIdentitySettingsPtrOutput() ManagedIdentitySettingsPtrOutput - ToManagedIdentitySettingsPtrOutputWithContext(context.Context) ManagedIdentitySettingsPtrOutput -} - -type managedIdentitySettingsPtrType ManagedIdentitySettingsArgs - -func ManagedIdentitySettingsPtr(v *ManagedIdentitySettingsArgs) ManagedIdentitySettingsPtrInput { - return (*managedIdentitySettingsPtrType)(v) -} - -func (*managedIdentitySettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ManagedIdentitySettings)(nil)).Elem() -} - -func (i *managedIdentitySettingsPtrType) ToManagedIdentitySettingsPtrOutput() ManagedIdentitySettingsPtrOutput { - return i.ToManagedIdentitySettingsPtrOutputWithContext(context.Background()) -} - -func (i *managedIdentitySettingsPtrType) ToManagedIdentitySettingsPtrOutputWithContext(ctx context.Context) ManagedIdentitySettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentitySettingsPtrOutput) -} - -type ManagedIdentitySettingsOutput struct{ *pulumi.OutputState } - -func (ManagedIdentitySettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ManagedIdentitySettings)(nil)).Elem() -} - -func (o ManagedIdentitySettingsOutput) ToManagedIdentitySettingsOutput() ManagedIdentitySettingsOutput { - return o -} - -func (o ManagedIdentitySettingsOutput) ToManagedIdentitySettingsOutputWithContext(ctx context.Context) ManagedIdentitySettingsOutput { - return o -} - -func (o ManagedIdentitySettingsOutput) ToManagedIdentitySettingsPtrOutput() ManagedIdentitySettingsPtrOutput { - return o.ToManagedIdentitySettingsPtrOutputWithContext(context.Background()) -} - -func (o ManagedIdentitySettingsOutput) ToManagedIdentitySettingsPtrOutputWithContext(ctx context.Context) ManagedIdentitySettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ManagedIdentitySettings) *ManagedIdentitySettings { - return &v - }).(ManagedIdentitySettingsPtrOutput) -} - -func (o ManagedIdentitySettingsOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v ManagedIdentitySettings) *string { return v.Resource }).(pulumi.StringPtrOutput) -} - -type ManagedIdentitySettingsPtrOutput struct{ *pulumi.OutputState } - -func (ManagedIdentitySettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ManagedIdentitySettings)(nil)).Elem() -} - -func (o ManagedIdentitySettingsPtrOutput) ToManagedIdentitySettingsPtrOutput() ManagedIdentitySettingsPtrOutput { - return o -} - -func (o ManagedIdentitySettingsPtrOutput) ToManagedIdentitySettingsPtrOutputWithContext(ctx context.Context) ManagedIdentitySettingsPtrOutput { - return o -} - -func (o ManagedIdentitySettingsPtrOutput) Elem() ManagedIdentitySettingsOutput { - return o.ApplyT(func(v *ManagedIdentitySettings) ManagedIdentitySettings { - if v != nil { - return *v - } - var ret ManagedIdentitySettings - return ret - }).(ManagedIdentitySettingsOutput) -} - -func (o ManagedIdentitySettingsPtrOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ManagedIdentitySettings) *string { - if v == nil { - return nil - } - return v.Resource - }).(pulumi.StringPtrOutput) -} - -type ManagedIdentitySettingsResponse struct { - Resource *string `pulumi:"resource"` -} - -type ManagedIdentitySettingsResponseOutput struct{ *pulumi.OutputState } - -func (ManagedIdentitySettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ManagedIdentitySettingsResponse)(nil)).Elem() -} - -func (o ManagedIdentitySettingsResponseOutput) ToManagedIdentitySettingsResponseOutput() ManagedIdentitySettingsResponseOutput { - return o -} - -func (o ManagedIdentitySettingsResponseOutput) ToManagedIdentitySettingsResponseOutputWithContext(ctx context.Context) ManagedIdentitySettingsResponseOutput { - return o -} - -func (o ManagedIdentitySettingsResponseOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v ManagedIdentitySettingsResponse) *string { return v.Resource }).(pulumi.StringPtrOutput) -} - -type ManagedIdentitySettingsResponsePtrOutput struct{ *pulumi.OutputState } - -func (ManagedIdentitySettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ManagedIdentitySettingsResponse)(nil)).Elem() -} - -func (o ManagedIdentitySettingsResponsePtrOutput) ToManagedIdentitySettingsResponsePtrOutput() ManagedIdentitySettingsResponsePtrOutput { - return o -} - -func (o ManagedIdentitySettingsResponsePtrOutput) ToManagedIdentitySettingsResponsePtrOutputWithContext(ctx context.Context) ManagedIdentitySettingsResponsePtrOutput { - return o -} - -func (o ManagedIdentitySettingsResponsePtrOutput) Elem() ManagedIdentitySettingsResponseOutput { - return o.ApplyT(func(v *ManagedIdentitySettingsResponse) ManagedIdentitySettingsResponse { - if v != nil { - return *v - } - var ret ManagedIdentitySettingsResponse - return ret - }).(ManagedIdentitySettingsResponseOutput) -} - -func (o ManagedIdentitySettingsResponsePtrOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ManagedIdentitySettingsResponse) *string { - if v == nil { - return nil - } - return v.Resource - }).(pulumi.StringPtrOutput) -} - -type NetworkACL struct { - Allow []string `pulumi:"allow"` - Deny []string `pulumi:"deny"` -} - - - - - -type NetworkACLInput interface { - pulumi.Input - - ToNetworkACLOutput() NetworkACLOutput - ToNetworkACLOutputWithContext(context.Context) NetworkACLOutput -} - -type NetworkACLArgs struct { - Allow pulumi.StringArrayInput `pulumi:"allow"` - Deny pulumi.StringArrayInput `pulumi:"deny"` -} - -func (NetworkACLArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetworkACL)(nil)).Elem() -} - -func (i NetworkACLArgs) ToNetworkACLOutput() NetworkACLOutput { - return i.ToNetworkACLOutputWithContext(context.Background()) -} - -func (i NetworkACLArgs) ToNetworkACLOutputWithContext(ctx context.Context) NetworkACLOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetworkACLOutput) -} - -func (i NetworkACLArgs) ToNetworkACLPtrOutput() NetworkACLPtrOutput { - return i.ToNetworkACLPtrOutputWithContext(context.Background()) -} - -func (i NetworkACLArgs) ToNetworkACLPtrOutputWithContext(ctx context.Context) NetworkACLPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetworkACLOutput).ToNetworkACLPtrOutputWithContext(ctx) -} - - - - - - - - - -type NetworkACLPtrInput interface { - pulumi.Input - - ToNetworkACLPtrOutput() NetworkACLPtrOutput - ToNetworkACLPtrOutputWithContext(context.Context) NetworkACLPtrOutput -} - -type networkACLPtrType NetworkACLArgs - -func NetworkACLPtr(v *NetworkACLArgs) NetworkACLPtrInput { - return (*networkACLPtrType)(v) -} - -func (*networkACLPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NetworkACL)(nil)).Elem() -} - -func (i *networkACLPtrType) ToNetworkACLPtrOutput() NetworkACLPtrOutput { - return i.ToNetworkACLPtrOutputWithContext(context.Background()) -} - -func (i *networkACLPtrType) ToNetworkACLPtrOutputWithContext(ctx context.Context) NetworkACLPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetworkACLPtrOutput) -} - -type NetworkACLOutput struct{ *pulumi.OutputState } - -func (NetworkACLOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetworkACL)(nil)).Elem() -} - -func (o NetworkACLOutput) ToNetworkACLOutput() NetworkACLOutput { - return o -} - -func (o NetworkACLOutput) ToNetworkACLOutputWithContext(ctx context.Context) NetworkACLOutput { - return o -} - -func (o NetworkACLOutput) ToNetworkACLPtrOutput() NetworkACLPtrOutput { - return o.ToNetworkACLPtrOutputWithContext(context.Background()) -} - -func (o NetworkACLOutput) ToNetworkACLPtrOutputWithContext(ctx context.Context) NetworkACLPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkACL) *NetworkACL { - return &v - }).(NetworkACLPtrOutput) -} - -func (o NetworkACLOutput) Allow() pulumi.StringArrayOutput { - return o.ApplyT(func(v NetworkACL) []string { return v.Allow }).(pulumi.StringArrayOutput) -} - -func (o NetworkACLOutput) Deny() pulumi.StringArrayOutput { - return o.ApplyT(func(v NetworkACL) []string { return v.Deny }).(pulumi.StringArrayOutput) -} - -type NetworkACLPtrOutput struct{ *pulumi.OutputState } - -func (NetworkACLPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NetworkACL)(nil)).Elem() -} - -func (o NetworkACLPtrOutput) ToNetworkACLPtrOutput() NetworkACLPtrOutput { - return o -} - -func (o NetworkACLPtrOutput) ToNetworkACLPtrOutputWithContext(ctx context.Context) NetworkACLPtrOutput { - return o -} - -func (o NetworkACLPtrOutput) Elem() NetworkACLOutput { - return o.ApplyT(func(v *NetworkACL) NetworkACL { - if v != nil { - return *v - } - var ret NetworkACL - return ret - }).(NetworkACLOutput) -} - -func (o NetworkACLPtrOutput) Allow() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NetworkACL) []string { - if v == nil { - return nil - } - return v.Allow - }).(pulumi.StringArrayOutput) -} - -func (o NetworkACLPtrOutput) Deny() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NetworkACL) []string { - if v == nil { - return nil - } - return v.Deny - }).(pulumi.StringArrayOutput) -} - -type NetworkACLResponse struct { - Allow []string `pulumi:"allow"` - Deny []string `pulumi:"deny"` -} - -type NetworkACLResponseOutput struct{ *pulumi.OutputState } - -func (NetworkACLResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetworkACLResponse)(nil)).Elem() -} - -func (o NetworkACLResponseOutput) ToNetworkACLResponseOutput() NetworkACLResponseOutput { - return o -} - -func (o NetworkACLResponseOutput) ToNetworkACLResponseOutputWithContext(ctx context.Context) NetworkACLResponseOutput { - return o -} - -func (o NetworkACLResponseOutput) Allow() pulumi.StringArrayOutput { - return o.ApplyT(func(v NetworkACLResponse) []string { return v.Allow }).(pulumi.StringArrayOutput) -} - -func (o NetworkACLResponseOutput) Deny() pulumi.StringArrayOutput { - return o.ApplyT(func(v NetworkACLResponse) []string { return v.Deny }).(pulumi.StringArrayOutput) -} - -type NetworkACLResponsePtrOutput struct{ *pulumi.OutputState } - -func (NetworkACLResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NetworkACLResponse)(nil)).Elem() -} - -func (o NetworkACLResponsePtrOutput) ToNetworkACLResponsePtrOutput() NetworkACLResponsePtrOutput { - return o -} - -func (o NetworkACLResponsePtrOutput) ToNetworkACLResponsePtrOutputWithContext(ctx context.Context) NetworkACLResponsePtrOutput { - return o -} - -func (o NetworkACLResponsePtrOutput) Elem() NetworkACLResponseOutput { - return o.ApplyT(func(v *NetworkACLResponse) NetworkACLResponse { - if v != nil { - return *v - } - var ret NetworkACLResponse - return ret - }).(NetworkACLResponseOutput) -} - -func (o NetworkACLResponsePtrOutput) Allow() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NetworkACLResponse) []string { - if v == nil { - return nil - } - return v.Allow - }).(pulumi.StringArrayOutput) -} - -func (o NetworkACLResponsePtrOutput) Deny() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NetworkACLResponse) []string { - if v == nil { - return nil - } - return v.Deny - }).(pulumi.StringArrayOutput) -} - -type PrivateEndpoint struct { - Id *string `pulumi:"id"` -} - - - - - -type PrivateEndpointInput interface { - pulumi.Input - - ToPrivateEndpointOutput() PrivateEndpointOutput - ToPrivateEndpointOutputWithContext(context.Context) PrivateEndpointOutput -} - -type PrivateEndpointArgs struct { - Id pulumi.StringPtrInput `pulumi:"id"` -} - -func (PrivateEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateEndpoint)(nil)).Elem() -} - -func (i PrivateEndpointArgs) ToPrivateEndpointOutput() PrivateEndpointOutput { - return i.ToPrivateEndpointOutputWithContext(context.Background()) -} - -func (i PrivateEndpointArgs) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointOutput) -} - -func (i PrivateEndpointArgs) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput { - return i.ToPrivateEndpointPtrOutputWithContext(context.Background()) -} - -func (i PrivateEndpointArgs) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointOutput).ToPrivateEndpointPtrOutputWithContext(ctx) -} - - - - - - - - - -type PrivateEndpointPtrInput interface { - pulumi.Input - - ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput - ToPrivateEndpointPtrOutputWithContext(context.Context) PrivateEndpointPtrOutput -} - -type privateEndpointPtrType PrivateEndpointArgs - -func PrivateEndpointPtr(v *PrivateEndpointArgs) PrivateEndpointPtrInput { - return (*privateEndpointPtrType)(v) -} - -func (*privateEndpointPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PrivateEndpoint)(nil)).Elem() -} - -func (i *privateEndpointPtrType) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput { - return i.ToPrivateEndpointPtrOutputWithContext(context.Background()) -} - -func (i *privateEndpointPtrType) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointPtrOutput) -} - -type PrivateEndpointOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateEndpoint)(nil)).Elem() -} - -func (o PrivateEndpointOutput) ToPrivateEndpointOutput() PrivateEndpointOutput { - return o -} - -func (o PrivateEndpointOutput) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput { - return o -} - -func (o PrivateEndpointOutput) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput { - return o.ToPrivateEndpointPtrOutputWithContext(context.Background()) -} - -func (o PrivateEndpointOutput) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateEndpoint) *PrivateEndpoint { - return &v - }).(PrivateEndpointPtrOutput) -} - -func (o PrivateEndpointOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateEndpoint) *string { return v.Id }).(pulumi.StringPtrOutput) -} - -type PrivateEndpointPtrOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PrivateEndpoint)(nil)).Elem() -} - -func (o PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput { - return o -} - -func (o PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput { - return o -} - -func (o PrivateEndpointPtrOutput) Elem() PrivateEndpointOutput { - return o.ApplyT(func(v *PrivateEndpoint) PrivateEndpoint { - if v != nil { - return *v - } - var ret PrivateEndpoint - return ret - }).(PrivateEndpointOutput) -} - -func (o PrivateEndpointPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateEndpoint) *string { - if v == nil { - return nil - } - return v.Id - }).(pulumi.StringPtrOutput) -} - -type PrivateEndpointACL struct { - Allow []string `pulumi:"allow"` - Deny []string `pulumi:"deny"` - Name string `pulumi:"name"` -} - - - - - -type PrivateEndpointACLInput interface { - pulumi.Input - - ToPrivateEndpointACLOutput() PrivateEndpointACLOutput - ToPrivateEndpointACLOutputWithContext(context.Context) PrivateEndpointACLOutput -} - -type PrivateEndpointACLArgs struct { - Allow pulumi.StringArrayInput `pulumi:"allow"` - Deny pulumi.StringArrayInput `pulumi:"deny"` - Name pulumi.StringInput `pulumi:"name"` -} - -func (PrivateEndpointACLArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateEndpointACL)(nil)).Elem() -} - -func (i PrivateEndpointACLArgs) ToPrivateEndpointACLOutput() PrivateEndpointACLOutput { - return i.ToPrivateEndpointACLOutputWithContext(context.Background()) -} - -func (i PrivateEndpointACLArgs) ToPrivateEndpointACLOutputWithContext(ctx context.Context) PrivateEndpointACLOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointACLOutput) -} - - - - - -type PrivateEndpointACLArrayInput interface { - pulumi.Input - - ToPrivateEndpointACLArrayOutput() PrivateEndpointACLArrayOutput - ToPrivateEndpointACLArrayOutputWithContext(context.Context) PrivateEndpointACLArrayOutput -} - -type PrivateEndpointACLArray []PrivateEndpointACLInput - -func (PrivateEndpointACLArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PrivateEndpointACL)(nil)).Elem() -} - -func (i PrivateEndpointACLArray) ToPrivateEndpointACLArrayOutput() PrivateEndpointACLArrayOutput { - return i.ToPrivateEndpointACLArrayOutputWithContext(context.Background()) -} - -func (i PrivateEndpointACLArray) ToPrivateEndpointACLArrayOutputWithContext(ctx context.Context) PrivateEndpointACLArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointACLArrayOutput) -} - -type PrivateEndpointACLOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointACLOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateEndpointACL)(nil)).Elem() -} - -func (o PrivateEndpointACLOutput) ToPrivateEndpointACLOutput() PrivateEndpointACLOutput { - return o -} - -func (o PrivateEndpointACLOutput) ToPrivateEndpointACLOutputWithContext(ctx context.Context) PrivateEndpointACLOutput { - return o -} - -func (o PrivateEndpointACLOutput) Allow() pulumi.StringArrayOutput { - return o.ApplyT(func(v PrivateEndpointACL) []string { return v.Allow }).(pulumi.StringArrayOutput) -} - -func (o PrivateEndpointACLOutput) Deny() pulumi.StringArrayOutput { - return o.ApplyT(func(v PrivateEndpointACL) []string { return v.Deny }).(pulumi.StringArrayOutput) -} - -func (o PrivateEndpointACLOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PrivateEndpointACL) string { return v.Name }).(pulumi.StringOutput) -} - -type PrivateEndpointACLArrayOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointACLArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PrivateEndpointACL)(nil)).Elem() -} - -func (o PrivateEndpointACLArrayOutput) ToPrivateEndpointACLArrayOutput() PrivateEndpointACLArrayOutput { - return o -} - -func (o PrivateEndpointACLArrayOutput) ToPrivateEndpointACLArrayOutputWithContext(ctx context.Context) PrivateEndpointACLArrayOutput { - return o -} - -func (o PrivateEndpointACLArrayOutput) Index(i pulumi.IntInput) PrivateEndpointACLOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointACL { - return vs[0].([]PrivateEndpointACL)[vs[1].(int)] - }).(PrivateEndpointACLOutput) -} - -type PrivateEndpointACLResponse struct { - Allow []string `pulumi:"allow"` - Deny []string `pulumi:"deny"` - Name string `pulumi:"name"` -} - -type PrivateEndpointACLResponseOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointACLResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateEndpointACLResponse)(nil)).Elem() -} - -func (o PrivateEndpointACLResponseOutput) ToPrivateEndpointACLResponseOutput() PrivateEndpointACLResponseOutput { - return o -} - -func (o PrivateEndpointACLResponseOutput) ToPrivateEndpointACLResponseOutputWithContext(ctx context.Context) PrivateEndpointACLResponseOutput { - return o -} - -func (o PrivateEndpointACLResponseOutput) Allow() pulumi.StringArrayOutput { - return o.ApplyT(func(v PrivateEndpointACLResponse) []string { return v.Allow }).(pulumi.StringArrayOutput) -} - -func (o PrivateEndpointACLResponseOutput) Deny() pulumi.StringArrayOutput { - return o.ApplyT(func(v PrivateEndpointACLResponse) []string { return v.Deny }).(pulumi.StringArrayOutput) -} - -func (o PrivateEndpointACLResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PrivateEndpointACLResponse) string { return v.Name }).(pulumi.StringOutput) -} - -type PrivateEndpointACLResponseArrayOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointACLResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PrivateEndpointACLResponse)(nil)).Elem() -} - -func (o PrivateEndpointACLResponseArrayOutput) ToPrivateEndpointACLResponseArrayOutput() PrivateEndpointACLResponseArrayOutput { - return o -} - -func (o PrivateEndpointACLResponseArrayOutput) ToPrivateEndpointACLResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointACLResponseArrayOutput { - return o -} - -func (o PrivateEndpointACLResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointACLResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointACLResponse { - return vs[0].([]PrivateEndpointACLResponse)[vs[1].(int)] - }).(PrivateEndpointACLResponseOutput) -} - -type PrivateEndpointConnectionResponse struct { - GroupIds []string `pulumi:"groupIds"` - Id string `pulumi:"id"` - Name string `pulumi:"name"` - PrivateEndpoint *PrivateEndpointResponse `pulumi:"privateEndpoint"` - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` - ProvisioningState string `pulumi:"provisioningState"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -type PrivateEndpointConnectionResponseOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointConnectionResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateEndpointConnectionResponse)(nil)).Elem() -} - -func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput { - return o -} - -func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseOutput { - return o -} - -func (o PrivateEndpointConnectionResponseOutput) GroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) []string { return v.GroupIds }).(pulumi.StringArrayOutput) -} - -func (o PrivateEndpointConnectionResponseOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Id }).(pulumi.StringOutput) -} - -func (o PrivateEndpointConnectionResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Name }).(pulumi.StringOutput) -} - -func (o PrivateEndpointConnectionResponseOutput) PrivateEndpoint() PrivateEndpointResponsePtrOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) *PrivateEndpointResponse { return v.PrivateEndpoint }).(PrivateEndpointResponsePtrOutput) -} - -func (o PrivateEndpointConnectionResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) *PrivateLinkServiceConnectionStateResponse { - return v.PrivateLinkServiceConnectionState - }).(PrivateLinkServiceConnectionStateResponsePtrOutput) -} - -func (o PrivateEndpointConnectionResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o PrivateEndpointConnectionResponseOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o PrivateEndpointConnectionResponseOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Type }).(pulumi.StringOutput) -} - -type PrivateEndpointConnectionResponseArrayOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointConnectionResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PrivateEndpointConnectionResponse)(nil)).Elem() -} - -func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput { - return o -} - -func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseArrayOutput { - return o -} - -func (o PrivateEndpointConnectionResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionResponse { - return vs[0].([]PrivateEndpointConnectionResponse)[vs[1].(int)] - }).(PrivateEndpointConnectionResponseOutput) -} - -type PrivateEndpointResponse struct { - Id *string `pulumi:"id"` -} - -type PrivateEndpointResponseOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateEndpointResponse)(nil)).Elem() -} - -func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput { - return o -} - -func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutputWithContext(ctx context.Context) PrivateEndpointResponseOutput { - return o -} - -func (o PrivateEndpointResponseOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput) -} - -type PrivateEndpointResponsePtrOutput struct{ *pulumi.OutputState } - -func (PrivateEndpointResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PrivateEndpointResponse)(nil)).Elem() -} - -func (o PrivateEndpointResponsePtrOutput) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { - return o -} - -func (o PrivateEndpointResponsePtrOutput) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { - return o -} - -func (o PrivateEndpointResponsePtrOutput) Elem() PrivateEndpointResponseOutput { - return o.ApplyT(func(v *PrivateEndpointResponse) PrivateEndpointResponse { - if v != nil { - return *v - } - var ret PrivateEndpointResponse - return ret - }).(PrivateEndpointResponseOutput) -} - -func (o PrivateEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateEndpointResponse) *string { - if v == nil { - return nil - } - return v.Id - }).(pulumi.StringPtrOutput) -} - -type PrivateLinkServiceConnectionState struct { - ActionsRequired *string `pulumi:"actionsRequired"` - Description *string `pulumi:"description"` - Status *string `pulumi:"status"` -} - - - - - -type PrivateLinkServiceConnectionStateInput interface { - pulumi.Input - - ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput - ToPrivateLinkServiceConnectionStateOutputWithContext(context.Context) PrivateLinkServiceConnectionStateOutput -} - -type PrivateLinkServiceConnectionStateArgs struct { - ActionsRequired pulumi.StringPtrInput `pulumi:"actionsRequired"` - Description pulumi.StringPtrInput `pulumi:"description"` - Status pulumi.StringPtrInput `pulumi:"status"` -} - -func (PrivateLinkServiceConnectionStateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem() -} - -func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput { - return i.ToPrivateLinkServiceConnectionStateOutputWithContext(context.Background()) -} - -func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput) -} - -func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { - return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) -} - -func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput).ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx) -} - - - - - - - - - -type PrivateLinkServiceConnectionStatePtrInput interface { - pulumi.Input - - ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput - ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Context) PrivateLinkServiceConnectionStatePtrOutput -} - -type privateLinkServiceConnectionStatePtrType PrivateLinkServiceConnectionStateArgs - -func PrivateLinkServiceConnectionStatePtr(v *PrivateLinkServiceConnectionStateArgs) PrivateLinkServiceConnectionStatePtrInput { - return (*privateLinkServiceConnectionStatePtrType)(v) -} - -func (*privateLinkServiceConnectionStatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem() -} - -func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { - return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) -} - -func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStatePtrOutput) -} - -type PrivateLinkServiceConnectionStateOutput struct{ *pulumi.OutputState } - -func (PrivateLinkServiceConnectionStateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem() -} - -func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput { - return o -} - -func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput { - return o -} - -func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { - return o.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) -} - -func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServiceConnectionState) *PrivateLinkServiceConnectionState { - return &v - }).(PrivateLinkServiceConnectionStatePtrOutput) -} - -func (o PrivateLinkServiceConnectionStateOutput) ActionsRequired() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStateOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStateOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Status }).(pulumi.StringPtrOutput) -} - -type PrivateLinkServiceConnectionStatePtrOutput struct{ *pulumi.OutputState } - -func (PrivateLinkServiceConnectionStatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem() -} - -func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { - return o -} - -func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { - return o -} - -func (o PrivateLinkServiceConnectionStatePtrOutput) Elem() PrivateLinkServiceConnectionStateOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionState) PrivateLinkServiceConnectionState { - if v != nil { - return *v - } - var ret PrivateLinkServiceConnectionState - return ret - }).(PrivateLinkServiceConnectionStateOutput) -} - -func (o PrivateLinkServiceConnectionStatePtrOutput) ActionsRequired() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { - if v == nil { - return nil - } - return v.ActionsRequired - }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStatePtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStatePtrOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { - if v == nil { - return nil - } - return v.Status - }).(pulumi.StringPtrOutput) -} - -type PrivateLinkServiceConnectionStateResponse struct { - ActionsRequired *string `pulumi:"actionsRequired"` - Description *string `pulumi:"description"` - Status *string `pulumi:"status"` -} - -type PrivateLinkServiceConnectionStateResponseOutput struct{ *pulumi.OutputState } - -func (PrivateLinkServiceConnectionStateResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PrivateLinkServiceConnectionStateResponse)(nil)).Elem() -} - -func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput { - return o -} - -func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponseOutput { - return o -} - -func (o PrivateLinkServiceConnectionStateResponseOutput) ActionsRequired() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStateResponseOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStateResponseOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Status }).(pulumi.StringPtrOutput) -} - -type PrivateLinkServiceConnectionStateResponsePtrOutput struct{ *pulumi.OutputState } - -func (PrivateLinkServiceConnectionStateResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PrivateLinkServiceConnectionStateResponse)(nil)).Elem() -} - -func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { - return o -} - -func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { - return o -} - -func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Elem() PrivateLinkServiceConnectionStateResponseOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) PrivateLinkServiceConnectionStateResponse { - if v != nil { - return *v - } - var ret PrivateLinkServiceConnectionStateResponse - return ret - }).(PrivateLinkServiceConnectionStateResponseOutput) -} - -func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ActionsRequired() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { - if v == nil { - return nil - } - return v.ActionsRequired - }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) -} - -func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { - if v == nil { - return nil - } - return v.Status - }).(pulumi.StringPtrOutput) -} - -type ResourceLogCategory struct { - Enabled *string `pulumi:"enabled"` - Name *string `pulumi:"name"` -} - - - - - -type ResourceLogCategoryInput interface { - pulumi.Input - - ToResourceLogCategoryOutput() ResourceLogCategoryOutput - ToResourceLogCategoryOutputWithContext(context.Context) ResourceLogCategoryOutput -} - -type ResourceLogCategoryArgs struct { - Enabled pulumi.StringPtrInput `pulumi:"enabled"` - Name pulumi.StringPtrInput `pulumi:"name"` -} - -func (ResourceLogCategoryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceLogCategory)(nil)).Elem() -} - -func (i ResourceLogCategoryArgs) ToResourceLogCategoryOutput() ResourceLogCategoryOutput { - return i.ToResourceLogCategoryOutputWithContext(context.Background()) -} - -func (i ResourceLogCategoryArgs) ToResourceLogCategoryOutputWithContext(ctx context.Context) ResourceLogCategoryOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceLogCategoryOutput) -} - - - - - -type ResourceLogCategoryArrayInput interface { - pulumi.Input - - ToResourceLogCategoryArrayOutput() ResourceLogCategoryArrayOutput - ToResourceLogCategoryArrayOutputWithContext(context.Context) ResourceLogCategoryArrayOutput -} - -type ResourceLogCategoryArray []ResourceLogCategoryInput - -func (ResourceLogCategoryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ResourceLogCategory)(nil)).Elem() -} - -func (i ResourceLogCategoryArray) ToResourceLogCategoryArrayOutput() ResourceLogCategoryArrayOutput { - return i.ToResourceLogCategoryArrayOutputWithContext(context.Background()) -} - -func (i ResourceLogCategoryArray) ToResourceLogCategoryArrayOutputWithContext(ctx context.Context) ResourceLogCategoryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceLogCategoryArrayOutput) -} - -type ResourceLogCategoryOutput struct{ *pulumi.OutputState } - -func (ResourceLogCategoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceLogCategory)(nil)).Elem() -} - -func (o ResourceLogCategoryOutput) ToResourceLogCategoryOutput() ResourceLogCategoryOutput { - return o -} - -func (o ResourceLogCategoryOutput) ToResourceLogCategoryOutputWithContext(ctx context.Context) ResourceLogCategoryOutput { - return o -} - -func (o ResourceLogCategoryOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceLogCategory) *string { return v.Enabled }).(pulumi.StringPtrOutput) -} - -func (o ResourceLogCategoryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceLogCategory) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -type ResourceLogCategoryArrayOutput struct{ *pulumi.OutputState } - -func (ResourceLogCategoryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ResourceLogCategory)(nil)).Elem() -} - -func (o ResourceLogCategoryArrayOutput) ToResourceLogCategoryArrayOutput() ResourceLogCategoryArrayOutput { - return o -} - -func (o ResourceLogCategoryArrayOutput) ToResourceLogCategoryArrayOutputWithContext(ctx context.Context) ResourceLogCategoryArrayOutput { - return o -} - -func (o ResourceLogCategoryArrayOutput) Index(i pulumi.IntInput) ResourceLogCategoryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceLogCategory { - return vs[0].([]ResourceLogCategory)[vs[1].(int)] - }).(ResourceLogCategoryOutput) -} - -type ResourceLogCategoryResponse struct { - Enabled *string `pulumi:"enabled"` - Name *string `pulumi:"name"` -} - -type ResourceLogCategoryResponseOutput struct{ *pulumi.OutputState } - -func (ResourceLogCategoryResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceLogCategoryResponse)(nil)).Elem() -} - -func (o ResourceLogCategoryResponseOutput) ToResourceLogCategoryResponseOutput() ResourceLogCategoryResponseOutput { - return o -} - -func (o ResourceLogCategoryResponseOutput) ToResourceLogCategoryResponseOutputWithContext(ctx context.Context) ResourceLogCategoryResponseOutput { - return o -} - -func (o ResourceLogCategoryResponseOutput) Enabled() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceLogCategoryResponse) *string { return v.Enabled }).(pulumi.StringPtrOutput) -} - -func (o ResourceLogCategoryResponseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceLogCategoryResponse) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -type ResourceLogCategoryResponseArrayOutput struct{ *pulumi.OutputState } - -func (ResourceLogCategoryResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ResourceLogCategoryResponse)(nil)).Elem() -} - -func (o ResourceLogCategoryResponseArrayOutput) ToResourceLogCategoryResponseArrayOutput() ResourceLogCategoryResponseArrayOutput { - return o -} - -func (o ResourceLogCategoryResponseArrayOutput) ToResourceLogCategoryResponseArrayOutputWithContext(ctx context.Context) ResourceLogCategoryResponseArrayOutput { - return o -} - -func (o ResourceLogCategoryResponseArrayOutput) Index(i pulumi.IntInput) ResourceLogCategoryResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceLogCategoryResponse { - return vs[0].([]ResourceLogCategoryResponse)[vs[1].(int)] - }).(ResourceLogCategoryResponseOutput) -} - -type ResourceLogConfiguration struct { - Categories []ResourceLogCategory `pulumi:"categories"` -} - - - - - -type ResourceLogConfigurationInput interface { - pulumi.Input - - ToResourceLogConfigurationOutput() ResourceLogConfigurationOutput - ToResourceLogConfigurationOutputWithContext(context.Context) ResourceLogConfigurationOutput -} - -type ResourceLogConfigurationArgs struct { - Categories ResourceLogCategoryArrayInput `pulumi:"categories"` -} - -func (ResourceLogConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceLogConfiguration)(nil)).Elem() -} - -func (i ResourceLogConfigurationArgs) ToResourceLogConfigurationOutput() ResourceLogConfigurationOutput { - return i.ToResourceLogConfigurationOutputWithContext(context.Background()) -} - -func (i ResourceLogConfigurationArgs) ToResourceLogConfigurationOutputWithContext(ctx context.Context) ResourceLogConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceLogConfigurationOutput) -} - -func (i ResourceLogConfigurationArgs) ToResourceLogConfigurationPtrOutput() ResourceLogConfigurationPtrOutput { - return i.ToResourceLogConfigurationPtrOutputWithContext(context.Background()) -} - -func (i ResourceLogConfigurationArgs) ToResourceLogConfigurationPtrOutputWithContext(ctx context.Context) ResourceLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceLogConfigurationOutput).ToResourceLogConfigurationPtrOutputWithContext(ctx) -} - - - - - - - - - -type ResourceLogConfigurationPtrInput interface { - pulumi.Input - - ToResourceLogConfigurationPtrOutput() ResourceLogConfigurationPtrOutput - ToResourceLogConfigurationPtrOutputWithContext(context.Context) ResourceLogConfigurationPtrOutput -} - -type resourceLogConfigurationPtrType ResourceLogConfigurationArgs - -func ResourceLogConfigurationPtr(v *ResourceLogConfigurationArgs) ResourceLogConfigurationPtrInput { - return (*resourceLogConfigurationPtrType)(v) -} - -func (*resourceLogConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ResourceLogConfiguration)(nil)).Elem() -} - -func (i *resourceLogConfigurationPtrType) ToResourceLogConfigurationPtrOutput() ResourceLogConfigurationPtrOutput { - return i.ToResourceLogConfigurationPtrOutputWithContext(context.Background()) -} - -func (i *resourceLogConfigurationPtrType) ToResourceLogConfigurationPtrOutputWithContext(ctx context.Context) ResourceLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceLogConfigurationPtrOutput) -} - -type ResourceLogConfigurationOutput struct{ *pulumi.OutputState } - -func (ResourceLogConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceLogConfiguration)(nil)).Elem() -} - -func (o ResourceLogConfigurationOutput) ToResourceLogConfigurationOutput() ResourceLogConfigurationOutput { - return o -} - -func (o ResourceLogConfigurationOutput) ToResourceLogConfigurationOutputWithContext(ctx context.Context) ResourceLogConfigurationOutput { - return o -} - -func (o ResourceLogConfigurationOutput) ToResourceLogConfigurationPtrOutput() ResourceLogConfigurationPtrOutput { - return o.ToResourceLogConfigurationPtrOutputWithContext(context.Background()) -} - -func (o ResourceLogConfigurationOutput) ToResourceLogConfigurationPtrOutputWithContext(ctx context.Context) ResourceLogConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ResourceLogConfiguration) *ResourceLogConfiguration { - return &v - }).(ResourceLogConfigurationPtrOutput) -} - -func (o ResourceLogConfigurationOutput) Categories() ResourceLogCategoryArrayOutput { - return o.ApplyT(func(v ResourceLogConfiguration) []ResourceLogCategory { return v.Categories }).(ResourceLogCategoryArrayOutput) -} - -type ResourceLogConfigurationPtrOutput struct{ *pulumi.OutputState } - -func (ResourceLogConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ResourceLogConfiguration)(nil)).Elem() -} - -func (o ResourceLogConfigurationPtrOutput) ToResourceLogConfigurationPtrOutput() ResourceLogConfigurationPtrOutput { - return o -} - -func (o ResourceLogConfigurationPtrOutput) ToResourceLogConfigurationPtrOutputWithContext(ctx context.Context) ResourceLogConfigurationPtrOutput { - return o -} - -func (o ResourceLogConfigurationPtrOutput) Elem() ResourceLogConfigurationOutput { - return o.ApplyT(func(v *ResourceLogConfiguration) ResourceLogConfiguration { - if v != nil { - return *v - } - var ret ResourceLogConfiguration - return ret - }).(ResourceLogConfigurationOutput) -} - -func (o ResourceLogConfigurationPtrOutput) Categories() ResourceLogCategoryArrayOutput { - return o.ApplyT(func(v *ResourceLogConfiguration) []ResourceLogCategory { - if v == nil { - return nil - } - return v.Categories - }).(ResourceLogCategoryArrayOutput) -} - -type ResourceLogConfigurationResponse struct { - Categories []ResourceLogCategoryResponse `pulumi:"categories"` -} - -type ResourceLogConfigurationResponseOutput struct{ *pulumi.OutputState } - -func (ResourceLogConfigurationResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceLogConfigurationResponse)(nil)).Elem() -} - -func (o ResourceLogConfigurationResponseOutput) ToResourceLogConfigurationResponseOutput() ResourceLogConfigurationResponseOutput { - return o -} - -func (o ResourceLogConfigurationResponseOutput) ToResourceLogConfigurationResponseOutputWithContext(ctx context.Context) ResourceLogConfigurationResponseOutput { - return o -} - -func (o ResourceLogConfigurationResponseOutput) Categories() ResourceLogCategoryResponseArrayOutput { - return o.ApplyT(func(v ResourceLogConfigurationResponse) []ResourceLogCategoryResponse { return v.Categories }).(ResourceLogCategoryResponseArrayOutput) -} - -type ResourceLogConfigurationResponsePtrOutput struct{ *pulumi.OutputState } - -func (ResourceLogConfigurationResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ResourceLogConfigurationResponse)(nil)).Elem() -} - -func (o ResourceLogConfigurationResponsePtrOutput) ToResourceLogConfigurationResponsePtrOutput() ResourceLogConfigurationResponsePtrOutput { - return o -} - -func (o ResourceLogConfigurationResponsePtrOutput) ToResourceLogConfigurationResponsePtrOutputWithContext(ctx context.Context) ResourceLogConfigurationResponsePtrOutput { - return o -} - -func (o ResourceLogConfigurationResponsePtrOutput) Elem() ResourceLogConfigurationResponseOutput { - return o.ApplyT(func(v *ResourceLogConfigurationResponse) ResourceLogConfigurationResponse { - if v != nil { - return *v - } - var ret ResourceLogConfigurationResponse - return ret - }).(ResourceLogConfigurationResponseOutput) -} - -func (o ResourceLogConfigurationResponsePtrOutput) Categories() ResourceLogCategoryResponseArrayOutput { - return o.ApplyT(func(v *ResourceLogConfigurationResponse) []ResourceLogCategoryResponse { - if v == nil { - return nil - } - return v.Categories - }).(ResourceLogCategoryResponseArrayOutput) -} - -type ResourceReference struct { - Id *string `pulumi:"id"` -} - - - - - -type ResourceReferenceInput interface { - pulumi.Input - - ToResourceReferenceOutput() ResourceReferenceOutput - ToResourceReferenceOutputWithContext(context.Context) ResourceReferenceOutput -} - -type ResourceReferenceArgs struct { - Id pulumi.StringPtrInput `pulumi:"id"` -} - -func (ResourceReferenceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceReference)(nil)).Elem() -} - -func (i ResourceReferenceArgs) ToResourceReferenceOutput() ResourceReferenceOutput { - return i.ToResourceReferenceOutputWithContext(context.Background()) -} - -func (i ResourceReferenceArgs) ToResourceReferenceOutputWithContext(ctx context.Context) ResourceReferenceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceReferenceOutput) -} - -type ResourceReferenceOutput struct{ *pulumi.OutputState } - -func (ResourceReferenceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceReference)(nil)).Elem() -} - -func (o ResourceReferenceOutput) ToResourceReferenceOutput() ResourceReferenceOutput { - return o -} - -func (o ResourceReferenceOutput) ToResourceReferenceOutputWithContext(ctx context.Context) ResourceReferenceOutput { - return o -} - -func (o ResourceReferenceOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceReference) *string { return v.Id }).(pulumi.StringPtrOutput) -} - -type ResourceReferenceResponse struct { - Id *string `pulumi:"id"` -} - -type ResourceReferenceResponseOutput struct{ *pulumi.OutputState } - -func (ResourceReferenceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceReferenceResponse)(nil)).Elem() -} - -func (o ResourceReferenceResponseOutput) ToResourceReferenceResponseOutput() ResourceReferenceResponseOutput { - return o -} - -func (o ResourceReferenceResponseOutput) ToResourceReferenceResponseOutputWithContext(ctx context.Context) ResourceReferenceResponseOutput { - return o -} - -func (o ResourceReferenceResponseOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceReferenceResponse) *string { return v.Id }).(pulumi.StringPtrOutput) -} - -type ResourceSku struct { - Capacity *int `pulumi:"capacity"` - Name string `pulumi:"name"` - Tier *string `pulumi:"tier"` -} - - - - - -type ResourceSkuInput interface { - pulumi.Input - - ToResourceSkuOutput() ResourceSkuOutput - ToResourceSkuOutputWithContext(context.Context) ResourceSkuOutput -} - -type ResourceSkuArgs struct { - Capacity pulumi.IntPtrInput `pulumi:"capacity"` - Name pulumi.StringInput `pulumi:"name"` - Tier pulumi.StringPtrInput `pulumi:"tier"` -} - -func (ResourceSkuArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceSku)(nil)).Elem() -} - -func (i ResourceSkuArgs) ToResourceSkuOutput() ResourceSkuOutput { - return i.ToResourceSkuOutputWithContext(context.Background()) -} - -func (i ResourceSkuArgs) ToResourceSkuOutputWithContext(ctx context.Context) ResourceSkuOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceSkuOutput) -} - -func (i ResourceSkuArgs) ToResourceSkuPtrOutput() ResourceSkuPtrOutput { - return i.ToResourceSkuPtrOutputWithContext(context.Background()) -} - -func (i ResourceSkuArgs) ToResourceSkuPtrOutputWithContext(ctx context.Context) ResourceSkuPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceSkuOutput).ToResourceSkuPtrOutputWithContext(ctx) -} - - - - - - - - - -type ResourceSkuPtrInput interface { - pulumi.Input - - ToResourceSkuPtrOutput() ResourceSkuPtrOutput - ToResourceSkuPtrOutputWithContext(context.Context) ResourceSkuPtrOutput -} - -type resourceSkuPtrType ResourceSkuArgs - -func ResourceSkuPtr(v *ResourceSkuArgs) ResourceSkuPtrInput { - return (*resourceSkuPtrType)(v) -} - -func (*resourceSkuPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ResourceSku)(nil)).Elem() -} - -func (i *resourceSkuPtrType) ToResourceSkuPtrOutput() ResourceSkuPtrOutput { - return i.ToResourceSkuPtrOutputWithContext(context.Background()) -} - -func (i *resourceSkuPtrType) ToResourceSkuPtrOutputWithContext(ctx context.Context) ResourceSkuPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ResourceSkuPtrOutput) -} - -type ResourceSkuOutput struct{ *pulumi.OutputState } - -func (ResourceSkuOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceSku)(nil)).Elem() -} - -func (o ResourceSkuOutput) ToResourceSkuOutput() ResourceSkuOutput { - return o -} - -func (o ResourceSkuOutput) ToResourceSkuOutputWithContext(ctx context.Context) ResourceSkuOutput { - return o -} - -func (o ResourceSkuOutput) ToResourceSkuPtrOutput() ResourceSkuPtrOutput { - return o.ToResourceSkuPtrOutputWithContext(context.Background()) -} - -func (o ResourceSkuOutput) ToResourceSkuPtrOutputWithContext(ctx context.Context) ResourceSkuPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ResourceSku) *ResourceSku { - return &v - }).(ResourceSkuPtrOutput) -} - -func (o ResourceSkuOutput) Capacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v ResourceSku) *int { return v.Capacity }).(pulumi.IntPtrOutput) -} - -func (o ResourceSkuOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ResourceSku) string { return v.Name }).(pulumi.StringOutput) -} - -func (o ResourceSkuOutput) Tier() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceSku) *string { return v.Tier }).(pulumi.StringPtrOutput) -} - -type ResourceSkuPtrOutput struct{ *pulumi.OutputState } - -func (ResourceSkuPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ResourceSku)(nil)).Elem() -} - -func (o ResourceSkuPtrOutput) ToResourceSkuPtrOutput() ResourceSkuPtrOutput { - return o -} - -func (o ResourceSkuPtrOutput) ToResourceSkuPtrOutputWithContext(ctx context.Context) ResourceSkuPtrOutput { - return o -} - -func (o ResourceSkuPtrOutput) Elem() ResourceSkuOutput { - return o.ApplyT(func(v *ResourceSku) ResourceSku { - if v != nil { - return *v - } - var ret ResourceSku - return ret - }).(ResourceSkuOutput) -} - -func (o ResourceSkuPtrOutput) Capacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ResourceSku) *int { - if v == nil { - return nil - } - return v.Capacity - }).(pulumi.IntPtrOutput) -} - -func (o ResourceSkuPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ResourceSku) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -func (o ResourceSkuPtrOutput) Tier() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ResourceSku) *string { - if v == nil { - return nil - } - return v.Tier - }).(pulumi.StringPtrOutput) -} - -type ResourceSkuResponse struct { - Capacity *int `pulumi:"capacity"` - Family string `pulumi:"family"` - Name string `pulumi:"name"` - Size string `pulumi:"size"` - Tier *string `pulumi:"tier"` -} - -type ResourceSkuResponseOutput struct{ *pulumi.OutputState } - -func (ResourceSkuResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ResourceSkuResponse)(nil)).Elem() -} - -func (o ResourceSkuResponseOutput) ToResourceSkuResponseOutput() ResourceSkuResponseOutput { - return o -} - -func (o ResourceSkuResponseOutput) ToResourceSkuResponseOutputWithContext(ctx context.Context) ResourceSkuResponseOutput { - return o -} - -func (o ResourceSkuResponseOutput) Capacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v ResourceSkuResponse) *int { return v.Capacity }).(pulumi.IntPtrOutput) -} - -func (o ResourceSkuResponseOutput) Family() pulumi.StringOutput { - return o.ApplyT(func(v ResourceSkuResponse) string { return v.Family }).(pulumi.StringOutput) -} - -func (o ResourceSkuResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ResourceSkuResponse) string { return v.Name }).(pulumi.StringOutput) -} - -func (o ResourceSkuResponseOutput) Size() pulumi.StringOutput { - return o.ApplyT(func(v ResourceSkuResponse) string { return v.Size }).(pulumi.StringOutput) -} - -func (o ResourceSkuResponseOutput) Tier() pulumi.StringPtrOutput { - return o.ApplyT(func(v ResourceSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput) -} - -type ResourceSkuResponsePtrOutput struct{ *pulumi.OutputState } - -func (ResourceSkuResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ResourceSkuResponse)(nil)).Elem() -} - -func (o ResourceSkuResponsePtrOutput) ToResourceSkuResponsePtrOutput() ResourceSkuResponsePtrOutput { - return o -} - -func (o ResourceSkuResponsePtrOutput) ToResourceSkuResponsePtrOutputWithContext(ctx context.Context) ResourceSkuResponsePtrOutput { - return o -} - -func (o ResourceSkuResponsePtrOutput) Elem() ResourceSkuResponseOutput { - return o.ApplyT(func(v *ResourceSkuResponse) ResourceSkuResponse { - if v != nil { - return *v - } - var ret ResourceSkuResponse - return ret - }).(ResourceSkuResponseOutput) -} - -func (o ResourceSkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ResourceSkuResponse) *int { - if v == nil { - return nil - } - return v.Capacity - }).(pulumi.IntPtrOutput) -} - -func (o ResourceSkuResponsePtrOutput) Family() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ResourceSkuResponse) *string { - if v == nil { - return nil - } - return &v.Family - }).(pulumi.StringPtrOutput) -} - -func (o ResourceSkuResponsePtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ResourceSkuResponse) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -func (o ResourceSkuResponsePtrOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ResourceSkuResponse) *string { - if v == nil { - return nil - } - return &v.Size - }).(pulumi.StringPtrOutput) -} - -func (o ResourceSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ResourceSkuResponse) *string { - if v == nil { - return nil - } - return v.Tier - }).(pulumi.StringPtrOutput) -} - -type SharedPrivateLinkResourceResponse struct { - GroupId string `pulumi:"groupId"` - Id string `pulumi:"id"` - Name string `pulumi:"name"` - PrivateLinkResourceId string `pulumi:"privateLinkResourceId"` - ProvisioningState string `pulumi:"provisioningState"` - RequestMessage *string `pulumi:"requestMessage"` - Status string `pulumi:"status"` - SystemData SystemDataResponse `pulumi:"systemData"` - Type string `pulumi:"type"` -} - -type SharedPrivateLinkResourceResponseOutput struct{ *pulumi.OutputState } - -func (SharedPrivateLinkResourceResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SharedPrivateLinkResourceResponse)(nil)).Elem() -} - -func (o SharedPrivateLinkResourceResponseOutput) ToSharedPrivateLinkResourceResponseOutput() SharedPrivateLinkResourceResponseOutput { - return o -} - -func (o SharedPrivateLinkResourceResponseOutput) ToSharedPrivateLinkResourceResponseOutputWithContext(ctx context.Context) SharedPrivateLinkResourceResponseOutput { - return o -} - -func (o SharedPrivateLinkResourceResponseOutput) GroupId() pulumi.StringOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) string { return v.GroupId }).(pulumi.StringOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) string { return v.Id }).(pulumi.StringOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) string { return v.Name }).(pulumi.StringOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) PrivateLinkResourceId() pulumi.StringOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) string { return v.PrivateLinkResourceId }).(pulumi.StringOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) RequestMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) *string { return v.RequestMessage }).(pulumi.StringPtrOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) string { return v.Status }).(pulumi.StringOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) SystemDataResponse { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o SharedPrivateLinkResourceResponseOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v SharedPrivateLinkResourceResponse) string { return v.Type }).(pulumi.StringOutput) -} - -type SharedPrivateLinkResourceResponseArrayOutput struct{ *pulumi.OutputState } - -func (SharedPrivateLinkResourceResponseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SharedPrivateLinkResourceResponse)(nil)).Elem() -} - -func (o SharedPrivateLinkResourceResponseArrayOutput) ToSharedPrivateLinkResourceResponseArrayOutput() SharedPrivateLinkResourceResponseArrayOutput { - return o -} - -func (o SharedPrivateLinkResourceResponseArrayOutput) ToSharedPrivateLinkResourceResponseArrayOutputWithContext(ctx context.Context) SharedPrivateLinkResourceResponseArrayOutput { - return o -} - -func (o SharedPrivateLinkResourceResponseArrayOutput) Index(i pulumi.IntInput) SharedPrivateLinkResourceResponseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SharedPrivateLinkResourceResponse { - return vs[0].([]SharedPrivateLinkResourceResponse)[vs[1].(int)] - }).(SharedPrivateLinkResourceResponseOutput) -} - -type SystemDataResponse struct { - CreatedAt *string `pulumi:"createdAt"` - CreatedBy *string `pulumi:"createdBy"` - CreatedByType *string `pulumi:"createdByType"` - LastModifiedAt *string `pulumi:"lastModifiedAt"` - LastModifiedBy *string `pulumi:"lastModifiedBy"` - LastModifiedByType *string `pulumi:"lastModifiedByType"` -} - -type SystemDataResponseOutput struct{ *pulumi.OutputState } - -func (SystemDataResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() -} - -func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput { - return o -} - -func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { - return o -} - -func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput) -} - -func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput { - return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput) -} - -type UpstreamAuthSettings struct { - ManagedIdentity *ManagedIdentitySettings `pulumi:"managedIdentity"` - Type *string `pulumi:"type"` -} - - - - - -type UpstreamAuthSettingsInput interface { - pulumi.Input - - ToUpstreamAuthSettingsOutput() UpstreamAuthSettingsOutput - ToUpstreamAuthSettingsOutputWithContext(context.Context) UpstreamAuthSettingsOutput -} - -type UpstreamAuthSettingsArgs struct { - ManagedIdentity ManagedIdentitySettingsPtrInput `pulumi:"managedIdentity"` - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (UpstreamAuthSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UpstreamAuthSettings)(nil)).Elem() -} - -func (i UpstreamAuthSettingsArgs) ToUpstreamAuthSettingsOutput() UpstreamAuthSettingsOutput { - return i.ToUpstreamAuthSettingsOutputWithContext(context.Background()) -} - -func (i UpstreamAuthSettingsArgs) ToUpstreamAuthSettingsOutputWithContext(ctx context.Context) UpstreamAuthSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(UpstreamAuthSettingsOutput) -} - -func (i UpstreamAuthSettingsArgs) ToUpstreamAuthSettingsPtrOutput() UpstreamAuthSettingsPtrOutput { - return i.ToUpstreamAuthSettingsPtrOutputWithContext(context.Background()) -} - -func (i UpstreamAuthSettingsArgs) ToUpstreamAuthSettingsPtrOutputWithContext(ctx context.Context) UpstreamAuthSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UpstreamAuthSettingsOutput).ToUpstreamAuthSettingsPtrOutputWithContext(ctx) -} - - - - - - - - - -type UpstreamAuthSettingsPtrInput interface { - pulumi.Input - - ToUpstreamAuthSettingsPtrOutput() UpstreamAuthSettingsPtrOutput - ToUpstreamAuthSettingsPtrOutputWithContext(context.Context) UpstreamAuthSettingsPtrOutput -} - -type upstreamAuthSettingsPtrType UpstreamAuthSettingsArgs - -func UpstreamAuthSettingsPtr(v *UpstreamAuthSettingsArgs) UpstreamAuthSettingsPtrInput { - return (*upstreamAuthSettingsPtrType)(v) -} - -func (*upstreamAuthSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**UpstreamAuthSettings)(nil)).Elem() -} - -func (i *upstreamAuthSettingsPtrType) ToUpstreamAuthSettingsPtrOutput() UpstreamAuthSettingsPtrOutput { - return i.ToUpstreamAuthSettingsPtrOutputWithContext(context.Background()) -} - -func (i *upstreamAuthSettingsPtrType) ToUpstreamAuthSettingsPtrOutputWithContext(ctx context.Context) UpstreamAuthSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UpstreamAuthSettingsPtrOutput) -} - -type UpstreamAuthSettingsOutput struct{ *pulumi.OutputState } - -func (UpstreamAuthSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UpstreamAuthSettings)(nil)).Elem() -} - -func (o UpstreamAuthSettingsOutput) ToUpstreamAuthSettingsOutput() UpstreamAuthSettingsOutput { - return o -} - -func (o UpstreamAuthSettingsOutput) ToUpstreamAuthSettingsOutputWithContext(ctx context.Context) UpstreamAuthSettingsOutput { - return o -} - -func (o UpstreamAuthSettingsOutput) ToUpstreamAuthSettingsPtrOutput() UpstreamAuthSettingsPtrOutput { - return o.ToUpstreamAuthSettingsPtrOutputWithContext(context.Background()) -} - -func (o UpstreamAuthSettingsOutput) ToUpstreamAuthSettingsPtrOutputWithContext(ctx context.Context) UpstreamAuthSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v UpstreamAuthSettings) *UpstreamAuthSettings { - return &v - }).(UpstreamAuthSettingsPtrOutput) -} - -func (o UpstreamAuthSettingsOutput) ManagedIdentity() ManagedIdentitySettingsPtrOutput { - return o.ApplyT(func(v UpstreamAuthSettings) *ManagedIdentitySettings { return v.ManagedIdentity }).(ManagedIdentitySettingsPtrOutput) -} - -func (o UpstreamAuthSettingsOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v UpstreamAuthSettings) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -type UpstreamAuthSettingsPtrOutput struct{ *pulumi.OutputState } - -func (UpstreamAuthSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**UpstreamAuthSettings)(nil)).Elem() -} - -func (o UpstreamAuthSettingsPtrOutput) ToUpstreamAuthSettingsPtrOutput() UpstreamAuthSettingsPtrOutput { - return o -} - -func (o UpstreamAuthSettingsPtrOutput) ToUpstreamAuthSettingsPtrOutputWithContext(ctx context.Context) UpstreamAuthSettingsPtrOutput { - return o -} - -func (o UpstreamAuthSettingsPtrOutput) Elem() UpstreamAuthSettingsOutput { - return o.ApplyT(func(v *UpstreamAuthSettings) UpstreamAuthSettings { - if v != nil { - return *v - } - var ret UpstreamAuthSettings - return ret - }).(UpstreamAuthSettingsOutput) -} - -func (o UpstreamAuthSettingsPtrOutput) ManagedIdentity() ManagedIdentitySettingsPtrOutput { - return o.ApplyT(func(v *UpstreamAuthSettings) *ManagedIdentitySettings { - if v == nil { - return nil - } - return v.ManagedIdentity - }).(ManagedIdentitySettingsPtrOutput) -} - -func (o UpstreamAuthSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UpstreamAuthSettings) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -type UpstreamAuthSettingsResponse struct { - ManagedIdentity *ManagedIdentitySettingsResponse `pulumi:"managedIdentity"` - Type *string `pulumi:"type"` -} - -type UpstreamAuthSettingsResponseOutput struct{ *pulumi.OutputState } - -func (UpstreamAuthSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UpstreamAuthSettingsResponse)(nil)).Elem() -} - -func (o UpstreamAuthSettingsResponseOutput) ToUpstreamAuthSettingsResponseOutput() UpstreamAuthSettingsResponseOutput { - return o -} - -func (o UpstreamAuthSettingsResponseOutput) ToUpstreamAuthSettingsResponseOutputWithContext(ctx context.Context) UpstreamAuthSettingsResponseOutput { - return o -} - -func (o UpstreamAuthSettingsResponseOutput) ManagedIdentity() ManagedIdentitySettingsResponsePtrOutput { - return o.ApplyT(func(v UpstreamAuthSettingsResponse) *ManagedIdentitySettingsResponse { return v.ManagedIdentity }).(ManagedIdentitySettingsResponsePtrOutput) -} - -func (o UpstreamAuthSettingsResponseOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v UpstreamAuthSettingsResponse) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -type UpstreamAuthSettingsResponsePtrOutput struct{ *pulumi.OutputState } - -func (UpstreamAuthSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**UpstreamAuthSettingsResponse)(nil)).Elem() -} - -func (o UpstreamAuthSettingsResponsePtrOutput) ToUpstreamAuthSettingsResponsePtrOutput() UpstreamAuthSettingsResponsePtrOutput { - return o -} - -func (o UpstreamAuthSettingsResponsePtrOutput) ToUpstreamAuthSettingsResponsePtrOutputWithContext(ctx context.Context) UpstreamAuthSettingsResponsePtrOutput { - return o -} - -func (o UpstreamAuthSettingsResponsePtrOutput) Elem() UpstreamAuthSettingsResponseOutput { - return o.ApplyT(func(v *UpstreamAuthSettingsResponse) UpstreamAuthSettingsResponse { - if v != nil { - return *v - } - var ret UpstreamAuthSettingsResponse - return ret - }).(UpstreamAuthSettingsResponseOutput) -} - -func (o UpstreamAuthSettingsResponsePtrOutput) ManagedIdentity() ManagedIdentitySettingsResponsePtrOutput { - return o.ApplyT(func(v *UpstreamAuthSettingsResponse) *ManagedIdentitySettingsResponse { - if v == nil { - return nil - } - return v.ManagedIdentity - }).(ManagedIdentitySettingsResponsePtrOutput) -} - -func (o UpstreamAuthSettingsResponsePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UpstreamAuthSettingsResponse) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -type UserAssignedIdentityPropertyResponse struct { - ClientId string `pulumi:"clientId"` - PrincipalId string `pulumi:"principalId"` -} - -type UserAssignedIdentityPropertyResponseOutput struct{ *pulumi.OutputState } - -func (UserAssignedIdentityPropertyResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserAssignedIdentityPropertyResponse)(nil)).Elem() -} - -func (o UserAssignedIdentityPropertyResponseOutput) ToUserAssignedIdentityPropertyResponseOutput() UserAssignedIdentityPropertyResponseOutput { - return o -} - -func (o UserAssignedIdentityPropertyResponseOutput) ToUserAssignedIdentityPropertyResponseOutputWithContext(ctx context.Context) UserAssignedIdentityPropertyResponseOutput { - return o -} - -func (o UserAssignedIdentityPropertyResponseOutput) ClientId() pulumi.StringOutput { - return o.ApplyT(func(v UserAssignedIdentityPropertyResponse) string { return v.ClientId }).(pulumi.StringOutput) -} - -func (o UserAssignedIdentityPropertyResponseOutput) PrincipalId() pulumi.StringOutput { - return o.ApplyT(func(v UserAssignedIdentityPropertyResponse) string { return v.PrincipalId }).(pulumi.StringOutput) -} - -type UserAssignedIdentityPropertyResponseMapOutput struct{ *pulumi.OutputState } - -func (UserAssignedIdentityPropertyResponseMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]UserAssignedIdentityPropertyResponse)(nil)).Elem() -} - -func (o UserAssignedIdentityPropertyResponseMapOutput) ToUserAssignedIdentityPropertyResponseMapOutput() UserAssignedIdentityPropertyResponseMapOutput { - return o -} - -func (o UserAssignedIdentityPropertyResponseMapOutput) ToUserAssignedIdentityPropertyResponseMapOutputWithContext(ctx context.Context) UserAssignedIdentityPropertyResponseMapOutput { - return o -} - -func (o UserAssignedIdentityPropertyResponseMapOutput) MapIndex(k pulumi.StringInput) UserAssignedIdentityPropertyResponseOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserAssignedIdentityPropertyResponse { - return vs[0].(map[string]UserAssignedIdentityPropertyResponse)[vs[1].(string)] - }).(UserAssignedIdentityPropertyResponseOutput) -} - -type WebPubSubHubProperties struct { - AnonymousConnectPolicy *string `pulumi:"anonymousConnectPolicy"` - EventHandlers []EventHandler `pulumi:"eventHandlers"` - EventListeners []EventListener `pulumi:"eventListeners"` -} - - -func (val *WebPubSubHubProperties) Defaults() *WebPubSubHubProperties { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.AnonymousConnectPolicy) { - anonymousConnectPolicy_ := "deny" - tmp.AnonymousConnectPolicy = &anonymousConnectPolicy_ - } - return &tmp -} - - - - - -type WebPubSubHubPropertiesInput interface { - pulumi.Input - - ToWebPubSubHubPropertiesOutput() WebPubSubHubPropertiesOutput - ToWebPubSubHubPropertiesOutputWithContext(context.Context) WebPubSubHubPropertiesOutput -} - -type WebPubSubHubPropertiesArgs struct { - AnonymousConnectPolicy pulumi.StringPtrInput `pulumi:"anonymousConnectPolicy"` - EventHandlers EventHandlerArrayInput `pulumi:"eventHandlers"` - EventListeners EventListenerArrayInput `pulumi:"eventListeners"` -} - - -func (val *WebPubSubHubPropertiesArgs) Defaults() *WebPubSubHubPropertiesArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.AnonymousConnectPolicy) { - tmp.AnonymousConnectPolicy = pulumi.StringPtr("deny") - } - return &tmp -} -func (WebPubSubHubPropertiesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubHubProperties)(nil)).Elem() -} - -func (i WebPubSubHubPropertiesArgs) ToWebPubSubHubPropertiesOutput() WebPubSubHubPropertiesOutput { - return i.ToWebPubSubHubPropertiesOutputWithContext(context.Background()) -} - -func (i WebPubSubHubPropertiesArgs) ToWebPubSubHubPropertiesOutputWithContext(ctx context.Context) WebPubSubHubPropertiesOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubHubPropertiesOutput) -} - -type WebPubSubHubPropertiesOutput struct{ *pulumi.OutputState } - -func (WebPubSubHubPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubHubProperties)(nil)).Elem() -} - -func (o WebPubSubHubPropertiesOutput) ToWebPubSubHubPropertiesOutput() WebPubSubHubPropertiesOutput { - return o -} - -func (o WebPubSubHubPropertiesOutput) ToWebPubSubHubPropertiesOutputWithContext(ctx context.Context) WebPubSubHubPropertiesOutput { - return o -} - -func (o WebPubSubHubPropertiesOutput) AnonymousConnectPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v WebPubSubHubProperties) *string { return v.AnonymousConnectPolicy }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubHubPropertiesOutput) EventHandlers() EventHandlerArrayOutput { - return o.ApplyT(func(v WebPubSubHubProperties) []EventHandler { return v.EventHandlers }).(EventHandlerArrayOutput) -} - -func (o WebPubSubHubPropertiesOutput) EventListeners() EventListenerArrayOutput { - return o.ApplyT(func(v WebPubSubHubProperties) []EventListener { return v.EventListeners }).(EventListenerArrayOutput) -} - -type WebPubSubHubPropertiesResponse struct { - AnonymousConnectPolicy *string `pulumi:"anonymousConnectPolicy"` - EventHandlers []EventHandlerResponse `pulumi:"eventHandlers"` - EventListeners []EventListenerResponse `pulumi:"eventListeners"` -} - - -func (val *WebPubSubHubPropertiesResponse) Defaults() *WebPubSubHubPropertiesResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.AnonymousConnectPolicy) { - anonymousConnectPolicy_ := "deny" - tmp.AnonymousConnectPolicy = &anonymousConnectPolicy_ - } - return &tmp -} - -type WebPubSubHubPropertiesResponseOutput struct{ *pulumi.OutputState } - -func (WebPubSubHubPropertiesResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubHubPropertiesResponse)(nil)).Elem() -} - -func (o WebPubSubHubPropertiesResponseOutput) ToWebPubSubHubPropertiesResponseOutput() WebPubSubHubPropertiesResponseOutput { - return o -} - -func (o WebPubSubHubPropertiesResponseOutput) ToWebPubSubHubPropertiesResponseOutputWithContext(ctx context.Context) WebPubSubHubPropertiesResponseOutput { - return o -} - -func (o WebPubSubHubPropertiesResponseOutput) AnonymousConnectPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v WebPubSubHubPropertiesResponse) *string { return v.AnonymousConnectPolicy }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubHubPropertiesResponseOutput) EventHandlers() EventHandlerResponseArrayOutput { - return o.ApplyT(func(v WebPubSubHubPropertiesResponse) []EventHandlerResponse { return v.EventHandlers }).(EventHandlerResponseArrayOutput) -} - -func (o WebPubSubHubPropertiesResponseOutput) EventListeners() EventListenerResponseArrayOutput { - return o.ApplyT(func(v WebPubSubHubPropertiesResponse) []EventListenerResponse { return v.EventListeners }).(EventListenerResponseArrayOutput) -} - -type WebPubSubNetworkACLs struct { - DefaultAction *string `pulumi:"defaultAction"` - PrivateEndpoints []PrivateEndpointACL `pulumi:"privateEndpoints"` - PublicNetwork *NetworkACL `pulumi:"publicNetwork"` -} - - - - - -type WebPubSubNetworkACLsInput interface { - pulumi.Input - - ToWebPubSubNetworkACLsOutput() WebPubSubNetworkACLsOutput - ToWebPubSubNetworkACLsOutputWithContext(context.Context) WebPubSubNetworkACLsOutput -} - -type WebPubSubNetworkACLsArgs struct { - DefaultAction pulumi.StringPtrInput `pulumi:"defaultAction"` - PrivateEndpoints PrivateEndpointACLArrayInput `pulumi:"privateEndpoints"` - PublicNetwork NetworkACLPtrInput `pulumi:"publicNetwork"` -} - -func (WebPubSubNetworkACLsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubNetworkACLs)(nil)).Elem() -} - -func (i WebPubSubNetworkACLsArgs) ToWebPubSubNetworkACLsOutput() WebPubSubNetworkACLsOutput { - return i.ToWebPubSubNetworkACLsOutputWithContext(context.Background()) -} - -func (i WebPubSubNetworkACLsArgs) ToWebPubSubNetworkACLsOutputWithContext(ctx context.Context) WebPubSubNetworkACLsOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubNetworkACLsOutput) -} - -func (i WebPubSubNetworkACLsArgs) ToWebPubSubNetworkACLsPtrOutput() WebPubSubNetworkACLsPtrOutput { - return i.ToWebPubSubNetworkACLsPtrOutputWithContext(context.Background()) -} - -func (i WebPubSubNetworkACLsArgs) ToWebPubSubNetworkACLsPtrOutputWithContext(ctx context.Context) WebPubSubNetworkACLsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubNetworkACLsOutput).ToWebPubSubNetworkACLsPtrOutputWithContext(ctx) -} - - - - - - - - - -type WebPubSubNetworkACLsPtrInput interface { - pulumi.Input - - ToWebPubSubNetworkACLsPtrOutput() WebPubSubNetworkACLsPtrOutput - ToWebPubSubNetworkACLsPtrOutputWithContext(context.Context) WebPubSubNetworkACLsPtrOutput -} - -type webPubSubNetworkACLsPtrType WebPubSubNetworkACLsArgs - -func WebPubSubNetworkACLsPtr(v *WebPubSubNetworkACLsArgs) WebPubSubNetworkACLsPtrInput { - return (*webPubSubNetworkACLsPtrType)(v) -} - -func (*webPubSubNetworkACLsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubNetworkACLs)(nil)).Elem() -} - -func (i *webPubSubNetworkACLsPtrType) ToWebPubSubNetworkACLsPtrOutput() WebPubSubNetworkACLsPtrOutput { - return i.ToWebPubSubNetworkACLsPtrOutputWithContext(context.Background()) -} - -func (i *webPubSubNetworkACLsPtrType) ToWebPubSubNetworkACLsPtrOutputWithContext(ctx context.Context) WebPubSubNetworkACLsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubNetworkACLsPtrOutput) -} - -type WebPubSubNetworkACLsOutput struct{ *pulumi.OutputState } - -func (WebPubSubNetworkACLsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubNetworkACLs)(nil)).Elem() -} - -func (o WebPubSubNetworkACLsOutput) ToWebPubSubNetworkACLsOutput() WebPubSubNetworkACLsOutput { - return o -} - -func (o WebPubSubNetworkACLsOutput) ToWebPubSubNetworkACLsOutputWithContext(ctx context.Context) WebPubSubNetworkACLsOutput { - return o -} - -func (o WebPubSubNetworkACLsOutput) ToWebPubSubNetworkACLsPtrOutput() WebPubSubNetworkACLsPtrOutput { - return o.ToWebPubSubNetworkACLsPtrOutputWithContext(context.Background()) -} - -func (o WebPubSubNetworkACLsOutput) ToWebPubSubNetworkACLsPtrOutputWithContext(ctx context.Context) WebPubSubNetworkACLsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v WebPubSubNetworkACLs) *WebPubSubNetworkACLs { - return &v - }).(WebPubSubNetworkACLsPtrOutput) -} - -func (o WebPubSubNetworkACLsOutput) DefaultAction() pulumi.StringPtrOutput { - return o.ApplyT(func(v WebPubSubNetworkACLs) *string { return v.DefaultAction }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubNetworkACLsOutput) PrivateEndpoints() PrivateEndpointACLArrayOutput { - return o.ApplyT(func(v WebPubSubNetworkACLs) []PrivateEndpointACL { return v.PrivateEndpoints }).(PrivateEndpointACLArrayOutput) -} - -func (o WebPubSubNetworkACLsOutput) PublicNetwork() NetworkACLPtrOutput { - return o.ApplyT(func(v WebPubSubNetworkACLs) *NetworkACL { return v.PublicNetwork }).(NetworkACLPtrOutput) -} - -type WebPubSubNetworkACLsPtrOutput struct{ *pulumi.OutputState } - -func (WebPubSubNetworkACLsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubNetworkACLs)(nil)).Elem() -} - -func (o WebPubSubNetworkACLsPtrOutput) ToWebPubSubNetworkACLsPtrOutput() WebPubSubNetworkACLsPtrOutput { - return o -} - -func (o WebPubSubNetworkACLsPtrOutput) ToWebPubSubNetworkACLsPtrOutputWithContext(ctx context.Context) WebPubSubNetworkACLsPtrOutput { - return o -} - -func (o WebPubSubNetworkACLsPtrOutput) Elem() WebPubSubNetworkACLsOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLs) WebPubSubNetworkACLs { - if v != nil { - return *v - } - var ret WebPubSubNetworkACLs - return ret - }).(WebPubSubNetworkACLsOutput) -} - -func (o WebPubSubNetworkACLsPtrOutput) DefaultAction() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLs) *string { - if v == nil { - return nil - } - return v.DefaultAction - }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubNetworkACLsPtrOutput) PrivateEndpoints() PrivateEndpointACLArrayOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLs) []PrivateEndpointACL { - if v == nil { - return nil - } - return v.PrivateEndpoints - }).(PrivateEndpointACLArrayOutput) -} - -func (o WebPubSubNetworkACLsPtrOutput) PublicNetwork() NetworkACLPtrOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLs) *NetworkACL { - if v == nil { - return nil - } - return v.PublicNetwork - }).(NetworkACLPtrOutput) -} - -type WebPubSubNetworkACLsResponse struct { - DefaultAction *string `pulumi:"defaultAction"` - PrivateEndpoints []PrivateEndpointACLResponse `pulumi:"privateEndpoints"` - PublicNetwork *NetworkACLResponse `pulumi:"publicNetwork"` -} - -type WebPubSubNetworkACLsResponseOutput struct{ *pulumi.OutputState } - -func (WebPubSubNetworkACLsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubNetworkACLsResponse)(nil)).Elem() -} - -func (o WebPubSubNetworkACLsResponseOutput) ToWebPubSubNetworkACLsResponseOutput() WebPubSubNetworkACLsResponseOutput { - return o -} - -func (o WebPubSubNetworkACLsResponseOutput) ToWebPubSubNetworkACLsResponseOutputWithContext(ctx context.Context) WebPubSubNetworkACLsResponseOutput { - return o -} - -func (o WebPubSubNetworkACLsResponseOutput) DefaultAction() pulumi.StringPtrOutput { - return o.ApplyT(func(v WebPubSubNetworkACLsResponse) *string { return v.DefaultAction }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubNetworkACLsResponseOutput) PrivateEndpoints() PrivateEndpointACLResponseArrayOutput { - return o.ApplyT(func(v WebPubSubNetworkACLsResponse) []PrivateEndpointACLResponse { return v.PrivateEndpoints }).(PrivateEndpointACLResponseArrayOutput) -} - -func (o WebPubSubNetworkACLsResponseOutput) PublicNetwork() NetworkACLResponsePtrOutput { - return o.ApplyT(func(v WebPubSubNetworkACLsResponse) *NetworkACLResponse { return v.PublicNetwork }).(NetworkACLResponsePtrOutput) -} - -type WebPubSubNetworkACLsResponsePtrOutput struct{ *pulumi.OutputState } - -func (WebPubSubNetworkACLsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubNetworkACLsResponse)(nil)).Elem() -} - -func (o WebPubSubNetworkACLsResponsePtrOutput) ToWebPubSubNetworkACLsResponsePtrOutput() WebPubSubNetworkACLsResponsePtrOutput { - return o -} - -func (o WebPubSubNetworkACLsResponsePtrOutput) ToWebPubSubNetworkACLsResponsePtrOutputWithContext(ctx context.Context) WebPubSubNetworkACLsResponsePtrOutput { - return o -} - -func (o WebPubSubNetworkACLsResponsePtrOutput) Elem() WebPubSubNetworkACLsResponseOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLsResponse) WebPubSubNetworkACLsResponse { - if v != nil { - return *v - } - var ret WebPubSubNetworkACLsResponse - return ret - }).(WebPubSubNetworkACLsResponseOutput) -} - -func (o WebPubSubNetworkACLsResponsePtrOutput) DefaultAction() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLsResponse) *string { - if v == nil { - return nil - } - return v.DefaultAction - }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubNetworkACLsResponsePtrOutput) PrivateEndpoints() PrivateEndpointACLResponseArrayOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLsResponse) []PrivateEndpointACLResponse { - if v == nil { - return nil - } - return v.PrivateEndpoints - }).(PrivateEndpointACLResponseArrayOutput) -} - -func (o WebPubSubNetworkACLsResponsePtrOutput) PublicNetwork() NetworkACLResponsePtrOutput { - return o.ApplyT(func(v *WebPubSubNetworkACLsResponse) *NetworkACLResponse { - if v == nil { - return nil - } - return v.PublicNetwork - }).(NetworkACLResponsePtrOutput) -} - -type WebPubSubTlsSettings struct { - ClientCertEnabled *bool `pulumi:"clientCertEnabled"` -} - - -func (val *WebPubSubTlsSettings) Defaults() *WebPubSubTlsSettings { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ClientCertEnabled) { - clientCertEnabled_ := true - tmp.ClientCertEnabled = &clientCertEnabled_ - } - return &tmp -} - - - - - -type WebPubSubTlsSettingsInput interface { - pulumi.Input - - ToWebPubSubTlsSettingsOutput() WebPubSubTlsSettingsOutput - ToWebPubSubTlsSettingsOutputWithContext(context.Context) WebPubSubTlsSettingsOutput -} - -type WebPubSubTlsSettingsArgs struct { - ClientCertEnabled pulumi.BoolPtrInput `pulumi:"clientCertEnabled"` -} - - -func (val *WebPubSubTlsSettingsArgs) Defaults() *WebPubSubTlsSettingsArgs { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ClientCertEnabled) { - tmp.ClientCertEnabled = pulumi.BoolPtr(true) - } - return &tmp -} -func (WebPubSubTlsSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubTlsSettings)(nil)).Elem() -} - -func (i WebPubSubTlsSettingsArgs) ToWebPubSubTlsSettingsOutput() WebPubSubTlsSettingsOutput { - return i.ToWebPubSubTlsSettingsOutputWithContext(context.Background()) -} - -func (i WebPubSubTlsSettingsArgs) ToWebPubSubTlsSettingsOutputWithContext(ctx context.Context) WebPubSubTlsSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubTlsSettingsOutput) -} - -func (i WebPubSubTlsSettingsArgs) ToWebPubSubTlsSettingsPtrOutput() WebPubSubTlsSettingsPtrOutput { - return i.ToWebPubSubTlsSettingsPtrOutputWithContext(context.Background()) -} - -func (i WebPubSubTlsSettingsArgs) ToWebPubSubTlsSettingsPtrOutputWithContext(ctx context.Context) WebPubSubTlsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubTlsSettingsOutput).ToWebPubSubTlsSettingsPtrOutputWithContext(ctx) -} - - - - - - - - - -type WebPubSubTlsSettingsPtrInput interface { - pulumi.Input - - ToWebPubSubTlsSettingsPtrOutput() WebPubSubTlsSettingsPtrOutput - ToWebPubSubTlsSettingsPtrOutputWithContext(context.Context) WebPubSubTlsSettingsPtrOutput -} - -type webPubSubTlsSettingsPtrType WebPubSubTlsSettingsArgs - -func WebPubSubTlsSettingsPtr(v *WebPubSubTlsSettingsArgs) WebPubSubTlsSettingsPtrInput { - return (*webPubSubTlsSettingsPtrType)(v) -} - -func (*webPubSubTlsSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubTlsSettings)(nil)).Elem() -} - -func (i *webPubSubTlsSettingsPtrType) ToWebPubSubTlsSettingsPtrOutput() WebPubSubTlsSettingsPtrOutput { - return i.ToWebPubSubTlsSettingsPtrOutputWithContext(context.Background()) -} - -func (i *webPubSubTlsSettingsPtrType) ToWebPubSubTlsSettingsPtrOutputWithContext(ctx context.Context) WebPubSubTlsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubTlsSettingsPtrOutput) -} - -type WebPubSubTlsSettingsOutput struct{ *pulumi.OutputState } - -func (WebPubSubTlsSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubTlsSettings)(nil)).Elem() -} - -func (o WebPubSubTlsSettingsOutput) ToWebPubSubTlsSettingsOutput() WebPubSubTlsSettingsOutput { - return o -} - -func (o WebPubSubTlsSettingsOutput) ToWebPubSubTlsSettingsOutputWithContext(ctx context.Context) WebPubSubTlsSettingsOutput { - return o -} - -func (o WebPubSubTlsSettingsOutput) ToWebPubSubTlsSettingsPtrOutput() WebPubSubTlsSettingsPtrOutput { - return o.ToWebPubSubTlsSettingsPtrOutputWithContext(context.Background()) -} - -func (o WebPubSubTlsSettingsOutput) ToWebPubSubTlsSettingsPtrOutputWithContext(ctx context.Context) WebPubSubTlsSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v WebPubSubTlsSettings) *WebPubSubTlsSettings { - return &v - }).(WebPubSubTlsSettingsPtrOutput) -} - -func (o WebPubSubTlsSettingsOutput) ClientCertEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v WebPubSubTlsSettings) *bool { return v.ClientCertEnabled }).(pulumi.BoolPtrOutput) -} - -type WebPubSubTlsSettingsPtrOutput struct{ *pulumi.OutputState } - -func (WebPubSubTlsSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubTlsSettings)(nil)).Elem() -} - -func (o WebPubSubTlsSettingsPtrOutput) ToWebPubSubTlsSettingsPtrOutput() WebPubSubTlsSettingsPtrOutput { - return o -} - -func (o WebPubSubTlsSettingsPtrOutput) ToWebPubSubTlsSettingsPtrOutputWithContext(ctx context.Context) WebPubSubTlsSettingsPtrOutput { - return o -} - -func (o WebPubSubTlsSettingsPtrOutput) Elem() WebPubSubTlsSettingsOutput { - return o.ApplyT(func(v *WebPubSubTlsSettings) WebPubSubTlsSettings { - if v != nil { - return *v - } - var ret WebPubSubTlsSettings - return ret - }).(WebPubSubTlsSettingsOutput) -} - -func (o WebPubSubTlsSettingsPtrOutput) ClientCertEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *WebPubSubTlsSettings) *bool { - if v == nil { - return nil - } - return v.ClientCertEnabled - }).(pulumi.BoolPtrOutput) -} - -type WebPubSubTlsSettingsResponse struct { - ClientCertEnabled *bool `pulumi:"clientCertEnabled"` -} - - -func (val *WebPubSubTlsSettingsResponse) Defaults() *WebPubSubTlsSettingsResponse { - if val == nil { - return nil - } - tmp := *val - if isZero(tmp.ClientCertEnabled) { - clientCertEnabled_ := true - tmp.ClientCertEnabled = &clientCertEnabled_ - } - return &tmp -} - -type WebPubSubTlsSettingsResponseOutput struct{ *pulumi.OutputState } - -func (WebPubSubTlsSettingsResponseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WebPubSubTlsSettingsResponse)(nil)).Elem() -} - -func (o WebPubSubTlsSettingsResponseOutput) ToWebPubSubTlsSettingsResponseOutput() WebPubSubTlsSettingsResponseOutput { - return o -} - -func (o WebPubSubTlsSettingsResponseOutput) ToWebPubSubTlsSettingsResponseOutputWithContext(ctx context.Context) WebPubSubTlsSettingsResponseOutput { - return o -} - -func (o WebPubSubTlsSettingsResponseOutput) ClientCertEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v WebPubSubTlsSettingsResponse) *bool { return v.ClientCertEnabled }).(pulumi.BoolPtrOutput) -} - -type WebPubSubTlsSettingsResponsePtrOutput struct{ *pulumi.OutputState } - -func (WebPubSubTlsSettingsResponsePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubTlsSettingsResponse)(nil)).Elem() -} - -func (o WebPubSubTlsSettingsResponsePtrOutput) ToWebPubSubTlsSettingsResponsePtrOutput() WebPubSubTlsSettingsResponsePtrOutput { - return o -} - -func (o WebPubSubTlsSettingsResponsePtrOutput) ToWebPubSubTlsSettingsResponsePtrOutputWithContext(ctx context.Context) WebPubSubTlsSettingsResponsePtrOutput { - return o -} - -func (o WebPubSubTlsSettingsResponsePtrOutput) Elem() WebPubSubTlsSettingsResponseOutput { - return o.ApplyT(func(v *WebPubSubTlsSettingsResponse) WebPubSubTlsSettingsResponse { - if v != nil { - return *v - } - var ret WebPubSubTlsSettingsResponse - return ret - }).(WebPubSubTlsSettingsResponseOutput) -} - -func (o WebPubSubTlsSettingsResponsePtrOutput) ClientCertEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *WebPubSubTlsSettingsResponse) *bool { - if v == nil { - return nil - } - return v.ClientCertEnabled - }).(pulumi.BoolPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(EventHandlerOutput{}) - pulumi.RegisterOutputType(EventHandlerArrayOutput{}) - pulumi.RegisterOutputType(EventHandlerResponseOutput{}) - pulumi.RegisterOutputType(EventHandlerResponseArrayOutput{}) - pulumi.RegisterOutputType(EventHubEndpointOutput{}) - pulumi.RegisterOutputType(EventHubEndpointResponseOutput{}) - pulumi.RegisterOutputType(EventListenerOutput{}) - pulumi.RegisterOutputType(EventListenerArrayOutput{}) - pulumi.RegisterOutputType(EventListenerResponseOutput{}) - pulumi.RegisterOutputType(EventListenerResponseArrayOutput{}) - pulumi.RegisterOutputType(EventNameFilterOutput{}) - pulumi.RegisterOutputType(EventNameFilterResponseOutput{}) - pulumi.RegisterOutputType(LiveTraceCategoryOutput{}) - pulumi.RegisterOutputType(LiveTraceCategoryArrayOutput{}) - pulumi.RegisterOutputType(LiveTraceCategoryResponseOutput{}) - pulumi.RegisterOutputType(LiveTraceCategoryResponseArrayOutput{}) - pulumi.RegisterOutputType(LiveTraceConfigurationOutput{}) - pulumi.RegisterOutputType(LiveTraceConfigurationPtrOutput{}) - pulumi.RegisterOutputType(LiveTraceConfigurationResponseOutput{}) - pulumi.RegisterOutputType(LiveTraceConfigurationResponsePtrOutput{}) - pulumi.RegisterOutputType(ManagedIdentityOutput{}) - pulumi.RegisterOutputType(ManagedIdentityPtrOutput{}) - pulumi.RegisterOutputType(ManagedIdentityResponseOutput{}) - pulumi.RegisterOutputType(ManagedIdentityResponsePtrOutput{}) - pulumi.RegisterOutputType(ManagedIdentitySettingsOutput{}) - pulumi.RegisterOutputType(ManagedIdentitySettingsPtrOutput{}) - pulumi.RegisterOutputType(ManagedIdentitySettingsResponseOutput{}) - pulumi.RegisterOutputType(ManagedIdentitySettingsResponsePtrOutput{}) - pulumi.RegisterOutputType(NetworkACLOutput{}) - pulumi.RegisterOutputType(NetworkACLPtrOutput{}) - pulumi.RegisterOutputType(NetworkACLResponseOutput{}) - pulumi.RegisterOutputType(NetworkACLResponsePtrOutput{}) - pulumi.RegisterOutputType(PrivateEndpointOutput{}) - pulumi.RegisterOutputType(PrivateEndpointPtrOutput{}) - pulumi.RegisterOutputType(PrivateEndpointACLOutput{}) - pulumi.RegisterOutputType(PrivateEndpointACLArrayOutput{}) - pulumi.RegisterOutputType(PrivateEndpointACLResponseOutput{}) - pulumi.RegisterOutputType(PrivateEndpointACLResponseArrayOutput{}) - pulumi.RegisterOutputType(PrivateEndpointConnectionResponseOutput{}) - pulumi.RegisterOutputType(PrivateEndpointConnectionResponseArrayOutput{}) - pulumi.RegisterOutputType(PrivateEndpointResponseOutput{}) - pulumi.RegisterOutputType(PrivateEndpointResponsePtrOutput{}) - pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateOutput{}) - pulumi.RegisterOutputType(PrivateLinkServiceConnectionStatePtrOutput{}) - pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateResponseOutput{}) - pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateResponsePtrOutput{}) - pulumi.RegisterOutputType(ResourceLogCategoryOutput{}) - pulumi.RegisterOutputType(ResourceLogCategoryArrayOutput{}) - pulumi.RegisterOutputType(ResourceLogCategoryResponseOutput{}) - pulumi.RegisterOutputType(ResourceLogCategoryResponseArrayOutput{}) - pulumi.RegisterOutputType(ResourceLogConfigurationOutput{}) - pulumi.RegisterOutputType(ResourceLogConfigurationPtrOutput{}) - pulumi.RegisterOutputType(ResourceLogConfigurationResponseOutput{}) - pulumi.RegisterOutputType(ResourceLogConfigurationResponsePtrOutput{}) - pulumi.RegisterOutputType(ResourceReferenceOutput{}) - pulumi.RegisterOutputType(ResourceReferenceResponseOutput{}) - pulumi.RegisterOutputType(ResourceSkuOutput{}) - pulumi.RegisterOutputType(ResourceSkuPtrOutput{}) - pulumi.RegisterOutputType(ResourceSkuResponseOutput{}) - pulumi.RegisterOutputType(ResourceSkuResponsePtrOutput{}) - pulumi.RegisterOutputType(SharedPrivateLinkResourceResponseOutput{}) - pulumi.RegisterOutputType(SharedPrivateLinkResourceResponseArrayOutput{}) - pulumi.RegisterOutputType(SystemDataResponseOutput{}) - pulumi.RegisterOutputType(UpstreamAuthSettingsOutput{}) - pulumi.RegisterOutputType(UpstreamAuthSettingsPtrOutput{}) - pulumi.RegisterOutputType(UpstreamAuthSettingsResponseOutput{}) - pulumi.RegisterOutputType(UpstreamAuthSettingsResponsePtrOutput{}) - pulumi.RegisterOutputType(UserAssignedIdentityPropertyResponseOutput{}) - pulumi.RegisterOutputType(UserAssignedIdentityPropertyResponseMapOutput{}) - pulumi.RegisterOutputType(WebPubSubHubPropertiesOutput{}) - pulumi.RegisterOutputType(WebPubSubHubPropertiesResponseOutput{}) - pulumi.RegisterOutputType(WebPubSubNetworkACLsOutput{}) - pulumi.RegisterOutputType(WebPubSubNetworkACLsPtrOutput{}) - pulumi.RegisterOutputType(WebPubSubNetworkACLsResponseOutput{}) - pulumi.RegisterOutputType(WebPubSubNetworkACLsResponsePtrOutput{}) - pulumi.RegisterOutputType(WebPubSubTlsSettingsOutput{}) - pulumi.RegisterOutputType(WebPubSubTlsSettingsPtrOutput{}) - pulumi.RegisterOutputType(WebPubSubTlsSettingsResponseOutput{}) - pulumi.RegisterOutputType(WebPubSubTlsSettingsResponsePtrOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/pulumiUtilities.go b/sdk/go/azure/webpubsub/v20220801preview/pulumiUtilities.go deleted file mode 100644 index 4a4ab562d9f2..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/pulumiUtilities.go +++ /dev/null @@ -1,87 +0,0 @@ - - - -package v20220801preview - -import ( - "fmt" - "os" - "reflect" - "regexp" - "strconv" - "strings" - - "github.com/blang/semver" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type envParser func(v string) interface{} - -func parseEnvBool(v string) interface{} { - b, err := strconv.ParseBool(v) - if err != nil { - return nil - } - return b -} - -func parseEnvInt(v string) interface{} { - i, err := strconv.ParseInt(v, 0, 0) - if err != nil { - return nil - } - return int(i) -} - -func parseEnvFloat(v string) interface{} { - f, err := strconv.ParseFloat(v, 64) - if err != nil { - return nil - } - return f -} - -func parseEnvStringArray(v string) interface{} { - var result pulumi.StringArray - for _, item := range strings.Split(v, ";") { - result = append(result, pulumi.String(item)) - } - return result -} - -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { - for _, v := range vars { - if value := os.Getenv(v); value != "" { - if parser != nil { - return parser(value) - } - return value - } - } - return def -} - - - - -func PkgVersion() (semver.Version, error) { - type sentinal struct{} - pkgPath := reflect.TypeOf(sentinal{}).PkgPath() - re := regexp.MustCompile("^.*/pulumi-azure-native/sdk(/v\\d+)?") - if match := re.FindStringSubmatch(pkgPath); match != nil { - vStr := match[1] - if len(vStr) == 0 { // If the version capture group was empty, default to v1. - return semver.Version{Major: 1}, nil - } - return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil - } - return semver.Version{Major: 1}, nil -} - - -func isZero(v interface{}) bool { - if v == nil { - return true - } - return reflect.ValueOf(v).IsZero() -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/webPubSub.go b/sdk/go/azure/webpubsub/v20220801preview/webPubSub.go deleted file mode 100644 index 5a705e8249a2..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/webPubSub.go +++ /dev/null @@ -1,280 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type WebPubSub struct { - pulumi.CustomResourceState - - DisableAadAuth pulumi.BoolPtrOutput `pulumi:"disableAadAuth"` - DisableLocalAuth pulumi.BoolPtrOutput `pulumi:"disableLocalAuth"` - ExternalIP pulumi.StringOutput `pulumi:"externalIP"` - HostName pulumi.StringOutput `pulumi:"hostName"` - HostNamePrefix pulumi.StringOutput `pulumi:"hostNamePrefix"` - Identity ManagedIdentityResponsePtrOutput `pulumi:"identity"` - LiveTraceConfiguration LiveTraceConfigurationResponsePtrOutput `pulumi:"liveTraceConfiguration"` - Location pulumi.StringPtrOutput `pulumi:"location"` - Name pulumi.StringOutput `pulumi:"name"` - NetworkACLs WebPubSubNetworkACLsResponsePtrOutput `pulumi:"networkACLs"` - PrivateEndpointConnections PrivateEndpointConnectionResponseArrayOutput `pulumi:"privateEndpointConnections"` - ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` - PublicNetworkAccess pulumi.StringPtrOutput `pulumi:"publicNetworkAccess"` - PublicPort pulumi.IntOutput `pulumi:"publicPort"` - ResourceLogConfiguration ResourceLogConfigurationResponsePtrOutput `pulumi:"resourceLogConfiguration"` - ServerPort pulumi.IntOutput `pulumi:"serverPort"` - SharedPrivateLinkResources SharedPrivateLinkResourceResponseArrayOutput `pulumi:"sharedPrivateLinkResources"` - Sku ResourceSkuResponsePtrOutput `pulumi:"sku"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Tags pulumi.StringMapOutput `pulumi:"tags"` - Tls WebPubSubTlsSettingsResponsePtrOutput `pulumi:"tls"` - Type pulumi.StringOutput `pulumi:"type"` - Version pulumi.StringOutput `pulumi:"version"` -} - - -func NewWebPubSub(ctx *pulumi.Context, - name string, args *WebPubSubArgs, opts ...pulumi.ResourceOption) (*WebPubSub, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if isZero(args.DisableAadAuth) { - args.DisableAadAuth = pulumi.BoolPtr(false) - } - if isZero(args.DisableLocalAuth) { - args.DisableLocalAuth = pulumi.BoolPtr(false) - } - if args.LiveTraceConfiguration != nil { - args.LiveTraceConfiguration = args.LiveTraceConfiguration.ToLiveTraceConfigurationPtrOutput().ApplyT(func(v *LiveTraceConfiguration) *LiveTraceConfiguration { return v.Defaults() }).(LiveTraceConfigurationPtrOutput) - } - if isZero(args.PublicNetworkAccess) { - args.PublicNetworkAccess = pulumi.StringPtr("Enabled") - } - if args.Tls != nil { - args.Tls = args.Tls.ToWebPubSubTlsSettingsPtrOutput().ApplyT(func(v *WebPubSubTlsSettings) *WebPubSubTlsSettings { return v.Defaults() }).(WebPubSubTlsSettingsPtrOutput) - } - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:webpubsub:WebPubSub"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210401preview:WebPubSub"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210601preview:WebPubSub"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210901preview:WebPubSub"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSub"), - }, - }) - opts = append(opts, aliases) - var resource WebPubSub - err := ctx.RegisterResource("azure-native:webpubsub/v20220801preview:WebPubSub", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetWebPubSub(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *WebPubSubState, opts ...pulumi.ResourceOption) (*WebPubSub, error) { - var resource WebPubSub - err := ctx.ReadResource("azure-native:webpubsub/v20220801preview:WebPubSub", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type webPubSubState struct { -} - -type WebPubSubState struct { -} - -func (WebPubSubState) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubState)(nil)).Elem() -} - -type webPubSubArgs struct { - DisableAadAuth *bool `pulumi:"disableAadAuth"` - DisableLocalAuth *bool `pulumi:"disableLocalAuth"` - Identity *ManagedIdentity `pulumi:"identity"` - LiveTraceConfiguration *LiveTraceConfiguration `pulumi:"liveTraceConfiguration"` - Location *string `pulumi:"location"` - NetworkACLs *WebPubSubNetworkACLs `pulumi:"networkACLs"` - PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceLogConfiguration *ResourceLogConfiguration `pulumi:"resourceLogConfiguration"` - ResourceName *string `pulumi:"resourceName"` - Sku *ResourceSku `pulumi:"sku"` - Tags map[string]string `pulumi:"tags"` - Tls *WebPubSubTlsSettings `pulumi:"tls"` -} - - -type WebPubSubArgs struct { - DisableAadAuth pulumi.BoolPtrInput - DisableLocalAuth pulumi.BoolPtrInput - Identity ManagedIdentityPtrInput - LiveTraceConfiguration LiveTraceConfigurationPtrInput - Location pulumi.StringPtrInput - NetworkACLs WebPubSubNetworkACLsPtrInput - PublicNetworkAccess pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ResourceLogConfiguration ResourceLogConfigurationPtrInput - ResourceName pulumi.StringPtrInput - Sku ResourceSkuPtrInput - Tags pulumi.StringMapInput - Tls WebPubSubTlsSettingsPtrInput -} - -func (WebPubSubArgs) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubArgs)(nil)).Elem() -} - -type WebPubSubInput interface { - pulumi.Input - - ToWebPubSubOutput() WebPubSubOutput - ToWebPubSubOutputWithContext(ctx context.Context) WebPubSubOutput -} - -func (*WebPubSub) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSub)(nil)).Elem() -} - -func (i *WebPubSub) ToWebPubSubOutput() WebPubSubOutput { - return i.ToWebPubSubOutputWithContext(context.Background()) -} - -func (i *WebPubSub) ToWebPubSubOutputWithContext(ctx context.Context) WebPubSubOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubOutput) -} - -type WebPubSubOutput struct{ *pulumi.OutputState } - -func (WebPubSubOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSub)(nil)).Elem() -} - -func (o WebPubSubOutput) ToWebPubSubOutput() WebPubSubOutput { - return o -} - -func (o WebPubSubOutput) ToWebPubSubOutputWithContext(ctx context.Context) WebPubSubOutput { - return o -} - -func (o WebPubSubOutput) DisableAadAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.BoolPtrOutput { return v.DisableAadAuth }).(pulumi.BoolPtrOutput) -} - -func (o WebPubSubOutput) DisableLocalAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.BoolPtrOutput { return v.DisableLocalAuth }).(pulumi.BoolPtrOutput) -} - -func (o WebPubSubOutput) ExternalIP() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringOutput { return v.ExternalIP }).(pulumi.StringOutput) -} - -func (o WebPubSubOutput) HostName() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringOutput { return v.HostName }).(pulumi.StringOutput) -} - -func (o WebPubSubOutput) HostNamePrefix() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringOutput { return v.HostNamePrefix }).(pulumi.StringOutput) -} - -func (o WebPubSubOutput) Identity() ManagedIdentityResponsePtrOutput { - return o.ApplyT(func(v *WebPubSub) ManagedIdentityResponsePtrOutput { return v.Identity }).(ManagedIdentityResponsePtrOutput) -} - -func (o WebPubSubOutput) LiveTraceConfiguration() LiveTraceConfigurationResponsePtrOutput { - return o.ApplyT(func(v *WebPubSub) LiveTraceConfigurationResponsePtrOutput { return v.LiveTraceConfiguration }).(LiveTraceConfigurationResponsePtrOutput) -} - -func (o WebPubSubOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringPtrOutput { return v.Location }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o WebPubSubOutput) NetworkACLs() WebPubSubNetworkACLsResponsePtrOutput { - return o.ApplyT(func(v *WebPubSub) WebPubSubNetworkACLsResponsePtrOutput { return v.NetworkACLs }).(WebPubSubNetworkACLsResponsePtrOutput) -} - -func (o WebPubSubOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput { - return o.ApplyT(func(v *WebPubSub) PrivateEndpointConnectionResponseArrayOutput { return v.PrivateEndpointConnections }).(PrivateEndpointConnectionResponseArrayOutput) -} - -func (o WebPubSubOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringOutput { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o WebPubSubOutput) PublicNetworkAccess() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringPtrOutput { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubOutput) PublicPort() pulumi.IntOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.IntOutput { return v.PublicPort }).(pulumi.IntOutput) -} - -func (o WebPubSubOutput) ResourceLogConfiguration() ResourceLogConfigurationResponsePtrOutput { - return o.ApplyT(func(v *WebPubSub) ResourceLogConfigurationResponsePtrOutput { return v.ResourceLogConfiguration }).(ResourceLogConfigurationResponsePtrOutput) -} - -func (o WebPubSubOutput) ServerPort() pulumi.IntOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.IntOutput { return v.ServerPort }).(pulumi.IntOutput) -} - -func (o WebPubSubOutput) SharedPrivateLinkResources() SharedPrivateLinkResourceResponseArrayOutput { - return o.ApplyT(func(v *WebPubSub) SharedPrivateLinkResourceResponseArrayOutput { return v.SharedPrivateLinkResources }).(SharedPrivateLinkResourceResponseArrayOutput) -} - -func (o WebPubSubOutput) Sku() ResourceSkuResponsePtrOutput { - return o.ApplyT(func(v *WebPubSub) ResourceSkuResponsePtrOutput { return v.Sku }).(ResourceSkuResponsePtrOutput) -} - -func (o WebPubSubOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *WebPubSub) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o WebPubSubOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) -} - -func (o WebPubSubOutput) Tls() WebPubSubTlsSettingsResponsePtrOutput { - return o.ApplyT(func(v *WebPubSub) WebPubSubTlsSettingsResponsePtrOutput { return v.Tls }).(WebPubSubTlsSettingsResponsePtrOutput) -} - -func (o WebPubSubOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func (o WebPubSubOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSub) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(WebPubSubOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/webPubSubCustomCertificate.go b/sdk/go/azure/webpubsub/v20220801preview/webPubSubCustomCertificate.go deleted file mode 100644 index 1cd73d9dee34..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/webPubSubCustomCertificate.go +++ /dev/null @@ -1,162 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type WebPubSubCustomCertificate struct { - pulumi.CustomResourceState - - KeyVaultBaseUri pulumi.StringOutput `pulumi:"keyVaultBaseUri"` - KeyVaultSecretName pulumi.StringOutput `pulumi:"keyVaultSecretName"` - KeyVaultSecretVersion pulumi.StringPtrOutput `pulumi:"keyVaultSecretVersion"` - Name pulumi.StringOutput `pulumi:"name"` - ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewWebPubSubCustomCertificate(ctx *pulumi.Context, - name string, args *WebPubSubCustomCertificateArgs, opts ...pulumi.ResourceOption) (*WebPubSubCustomCertificate, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.KeyVaultBaseUri == nil { - return nil, errors.New("invalid value for required argument 'KeyVaultBaseUri'") - } - if args.KeyVaultSecretName == nil { - return nil, errors.New("invalid value for required argument 'KeyVaultSecretName'") - } - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ResourceName == nil { - return nil, errors.New("invalid value for required argument 'ResourceName'") - } - var resource WebPubSubCustomCertificate - err := ctx.RegisterResource("azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetWebPubSubCustomCertificate(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *WebPubSubCustomCertificateState, opts ...pulumi.ResourceOption) (*WebPubSubCustomCertificate, error) { - var resource WebPubSubCustomCertificate - err := ctx.ReadResource("azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type webPubSubCustomCertificateState struct { -} - -type WebPubSubCustomCertificateState struct { -} - -func (WebPubSubCustomCertificateState) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubCustomCertificateState)(nil)).Elem() -} - -type webPubSubCustomCertificateArgs struct { - CertificateName *string `pulumi:"certificateName"` - KeyVaultBaseUri string `pulumi:"keyVaultBaseUri"` - KeyVaultSecretName string `pulumi:"keyVaultSecretName"` - KeyVaultSecretVersion *string `pulumi:"keyVaultSecretVersion"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type WebPubSubCustomCertificateArgs struct { - CertificateName pulumi.StringPtrInput - KeyVaultBaseUri pulumi.StringInput - KeyVaultSecretName pulumi.StringInput - KeyVaultSecretVersion pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ResourceName pulumi.StringInput -} - -func (WebPubSubCustomCertificateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubCustomCertificateArgs)(nil)).Elem() -} - -type WebPubSubCustomCertificateInput interface { - pulumi.Input - - ToWebPubSubCustomCertificateOutput() WebPubSubCustomCertificateOutput - ToWebPubSubCustomCertificateOutputWithContext(ctx context.Context) WebPubSubCustomCertificateOutput -} - -func (*WebPubSubCustomCertificate) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubCustomCertificate)(nil)).Elem() -} - -func (i *WebPubSubCustomCertificate) ToWebPubSubCustomCertificateOutput() WebPubSubCustomCertificateOutput { - return i.ToWebPubSubCustomCertificateOutputWithContext(context.Background()) -} - -func (i *WebPubSubCustomCertificate) ToWebPubSubCustomCertificateOutputWithContext(ctx context.Context) WebPubSubCustomCertificateOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubCustomCertificateOutput) -} - -type WebPubSubCustomCertificateOutput struct{ *pulumi.OutputState } - -func (WebPubSubCustomCertificateOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubCustomCertificate)(nil)).Elem() -} - -func (o WebPubSubCustomCertificateOutput) ToWebPubSubCustomCertificateOutput() WebPubSubCustomCertificateOutput { - return o -} - -func (o WebPubSubCustomCertificateOutput) ToWebPubSubCustomCertificateOutputWithContext(ctx context.Context) WebPubSubCustomCertificateOutput { - return o -} - -func (o WebPubSubCustomCertificateOutput) KeyVaultBaseUri() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomCertificate) pulumi.StringOutput { return v.KeyVaultBaseUri }).(pulumi.StringOutput) -} - -func (o WebPubSubCustomCertificateOutput) KeyVaultSecretName() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomCertificate) pulumi.StringOutput { return v.KeyVaultSecretName }).(pulumi.StringOutput) -} - -func (o WebPubSubCustomCertificateOutput) KeyVaultSecretVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WebPubSubCustomCertificate) pulumi.StringPtrOutput { return v.KeyVaultSecretVersion }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubCustomCertificateOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomCertificate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o WebPubSubCustomCertificateOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomCertificate) pulumi.StringOutput { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o WebPubSubCustomCertificateOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *WebPubSubCustomCertificate) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o WebPubSubCustomCertificateOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomCertificate) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(WebPubSubCustomCertificateOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/webPubSubCustomDomain.go b/sdk/go/azure/webpubsub/v20220801preview/webPubSubCustomDomain.go deleted file mode 100644 index fc8df1dc184f..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/webPubSubCustomDomain.go +++ /dev/null @@ -1,155 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type WebPubSubCustomDomain struct { - pulumi.CustomResourceState - - CustomCertificate ResourceReferenceResponseOutput `pulumi:"customCertificate"` - DomainName pulumi.StringOutput `pulumi:"domainName"` - Name pulumi.StringOutput `pulumi:"name"` - ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewWebPubSubCustomDomain(ctx *pulumi.Context, - name string, args *WebPubSubCustomDomainArgs, opts ...pulumi.ResourceOption) (*WebPubSubCustomDomain, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.CustomCertificate == nil { - return nil, errors.New("invalid value for required argument 'CustomCertificate'") - } - if args.DomainName == nil { - return nil, errors.New("invalid value for required argument 'DomainName'") - } - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ResourceName == nil { - return nil, errors.New("invalid value for required argument 'ResourceName'") - } - var resource WebPubSubCustomDomain - err := ctx.RegisterResource("azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetWebPubSubCustomDomain(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *WebPubSubCustomDomainState, opts ...pulumi.ResourceOption) (*WebPubSubCustomDomain, error) { - var resource WebPubSubCustomDomain - err := ctx.ReadResource("azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type webPubSubCustomDomainState struct { -} - -type WebPubSubCustomDomainState struct { -} - -func (WebPubSubCustomDomainState) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubCustomDomainState)(nil)).Elem() -} - -type webPubSubCustomDomainArgs struct { - CustomCertificate ResourceReference `pulumi:"customCertificate"` - DomainName string `pulumi:"domainName"` - Name *string `pulumi:"name"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type WebPubSubCustomDomainArgs struct { - CustomCertificate ResourceReferenceInput - DomainName pulumi.StringInput - Name pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ResourceName pulumi.StringInput -} - -func (WebPubSubCustomDomainArgs) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubCustomDomainArgs)(nil)).Elem() -} - -type WebPubSubCustomDomainInput interface { - pulumi.Input - - ToWebPubSubCustomDomainOutput() WebPubSubCustomDomainOutput - ToWebPubSubCustomDomainOutputWithContext(ctx context.Context) WebPubSubCustomDomainOutput -} - -func (*WebPubSubCustomDomain) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubCustomDomain)(nil)).Elem() -} - -func (i *WebPubSubCustomDomain) ToWebPubSubCustomDomainOutput() WebPubSubCustomDomainOutput { - return i.ToWebPubSubCustomDomainOutputWithContext(context.Background()) -} - -func (i *WebPubSubCustomDomain) ToWebPubSubCustomDomainOutputWithContext(ctx context.Context) WebPubSubCustomDomainOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubCustomDomainOutput) -} - -type WebPubSubCustomDomainOutput struct{ *pulumi.OutputState } - -func (WebPubSubCustomDomainOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubCustomDomain)(nil)).Elem() -} - -func (o WebPubSubCustomDomainOutput) ToWebPubSubCustomDomainOutput() WebPubSubCustomDomainOutput { - return o -} - -func (o WebPubSubCustomDomainOutput) ToWebPubSubCustomDomainOutputWithContext(ctx context.Context) WebPubSubCustomDomainOutput { - return o -} - -func (o WebPubSubCustomDomainOutput) CustomCertificate() ResourceReferenceResponseOutput { - return o.ApplyT(func(v *WebPubSubCustomDomain) ResourceReferenceResponseOutput { return v.CustomCertificate }).(ResourceReferenceResponseOutput) -} - -func (o WebPubSubCustomDomainOutput) DomainName() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomDomain) pulumi.StringOutput { return v.DomainName }).(pulumi.StringOutput) -} - -func (o WebPubSubCustomDomainOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomDomain) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o WebPubSubCustomDomainOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomDomain) pulumi.StringOutput { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o WebPubSubCustomDomainOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *WebPubSubCustomDomain) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o WebPubSubCustomDomainOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubCustomDomain) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(WebPubSubCustomDomainOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/webPubSubHub.go b/sdk/go/azure/webpubsub/v20220801preview/webPubSubHub.go deleted file mode 100644 index 8d8cde1e1b7a..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/webPubSubHub.go +++ /dev/null @@ -1,150 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type WebPubSubHub struct { - pulumi.CustomResourceState - - Name pulumi.StringOutput `pulumi:"name"` - Properties WebPubSubHubPropertiesResponseOutput `pulumi:"properties"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewWebPubSubHub(ctx *pulumi.Context, - name string, args *WebPubSubHubArgs, opts ...pulumi.ResourceOption) (*WebPubSubHub, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.Properties == nil { - return nil, errors.New("invalid value for required argument 'Properties'") - } - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ResourceName == nil { - return nil, errors.New("invalid value for required argument 'ResourceName'") - } - args.Properties = args.Properties.ToWebPubSubHubPropertiesOutput().ApplyT(func(v WebPubSubHubProperties) WebPubSubHubProperties { return *v.Defaults() }).(WebPubSubHubPropertiesOutput) - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:webpubsub:WebPubSubHub"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubHub"), - }, - }) - opts = append(opts, aliases) - var resource WebPubSubHub - err := ctx.RegisterResource("azure-native:webpubsub/v20220801preview:WebPubSubHub", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetWebPubSubHub(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *WebPubSubHubState, opts ...pulumi.ResourceOption) (*WebPubSubHub, error) { - var resource WebPubSubHub - err := ctx.ReadResource("azure-native:webpubsub/v20220801preview:WebPubSubHub", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type webPubSubHubState struct { -} - -type WebPubSubHubState struct { -} - -func (WebPubSubHubState) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubHubState)(nil)).Elem() -} - -type webPubSubHubArgs struct { - HubName *string `pulumi:"hubName"` - Properties WebPubSubHubProperties `pulumi:"properties"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type WebPubSubHubArgs struct { - HubName pulumi.StringPtrInput - Properties WebPubSubHubPropertiesInput - ResourceGroupName pulumi.StringInput - ResourceName pulumi.StringInput -} - -func (WebPubSubHubArgs) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubHubArgs)(nil)).Elem() -} - -type WebPubSubHubInput interface { - pulumi.Input - - ToWebPubSubHubOutput() WebPubSubHubOutput - ToWebPubSubHubOutputWithContext(ctx context.Context) WebPubSubHubOutput -} - -func (*WebPubSubHub) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubHub)(nil)).Elem() -} - -func (i *WebPubSubHub) ToWebPubSubHubOutput() WebPubSubHubOutput { - return i.ToWebPubSubHubOutputWithContext(context.Background()) -} - -func (i *WebPubSubHub) ToWebPubSubHubOutputWithContext(ctx context.Context) WebPubSubHubOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubHubOutput) -} - -type WebPubSubHubOutput struct{ *pulumi.OutputState } - -func (WebPubSubHubOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubHub)(nil)).Elem() -} - -func (o WebPubSubHubOutput) ToWebPubSubHubOutput() WebPubSubHubOutput { - return o -} - -func (o WebPubSubHubOutput) ToWebPubSubHubOutputWithContext(ctx context.Context) WebPubSubHubOutput { - return o -} - -func (o WebPubSubHubOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubHub) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o WebPubSubHubOutput) Properties() WebPubSubHubPropertiesResponseOutput { - return o.ApplyT(func(v *WebPubSubHub) WebPubSubHubPropertiesResponseOutput { return v.Properties }).(WebPubSubHubPropertiesResponseOutput) -} - -func (o WebPubSubHubOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *WebPubSubHub) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o WebPubSubHubOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubHub) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(WebPubSubHubOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/webPubSubPrivateEndpointConnection.go b/sdk/go/azure/webpubsub/v20220801preview/webPubSubPrivateEndpointConnection.go deleted file mode 100644 index ef151ed28ac9..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/webPubSubPrivateEndpointConnection.go +++ /dev/null @@ -1,174 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type WebPubSubPrivateEndpointConnection struct { - pulumi.CustomResourceState - - GroupIds pulumi.StringArrayOutput `pulumi:"groupIds"` - Name pulumi.StringOutput `pulumi:"name"` - PrivateEndpoint PrivateEndpointResponsePtrOutput `pulumi:"privateEndpoint"` - PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponsePtrOutput `pulumi:"privateLinkServiceConnectionState"` - ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, - name string, args *WebPubSubPrivateEndpointConnectionArgs, opts ...pulumi.ResourceOption) (*WebPubSubPrivateEndpointConnection, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ResourceName == nil { - return nil, errors.New("invalid value for required argument 'ResourceName'") - } - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), - }, - }) - opts = append(opts, aliases) - var resource WebPubSubPrivateEndpointConnection - err := ctx.RegisterResource("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *WebPubSubPrivateEndpointConnectionState, opts ...pulumi.ResourceOption) (*WebPubSubPrivateEndpointConnection, error) { - var resource WebPubSubPrivateEndpointConnection - err := ctx.ReadResource("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type webPubSubPrivateEndpointConnectionState struct { -} - -type WebPubSubPrivateEndpointConnectionState struct { -} - -func (WebPubSubPrivateEndpointConnectionState) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubPrivateEndpointConnectionState)(nil)).Elem() -} - -type webPubSubPrivateEndpointConnectionArgs struct { - PrivateEndpoint *PrivateEndpoint `pulumi:"privateEndpoint"` - PrivateEndpointConnectionName *string `pulumi:"privateEndpointConnectionName"` - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `pulumi:"privateLinkServiceConnectionState"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` -} - - -type WebPubSubPrivateEndpointConnectionArgs struct { - PrivateEndpoint PrivateEndpointPtrInput - PrivateEndpointConnectionName pulumi.StringPtrInput - PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStatePtrInput - ResourceGroupName pulumi.StringInput - ResourceName pulumi.StringInput -} - -func (WebPubSubPrivateEndpointConnectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubPrivateEndpointConnectionArgs)(nil)).Elem() -} - -type WebPubSubPrivateEndpointConnectionInput interface { - pulumi.Input - - ToWebPubSubPrivateEndpointConnectionOutput() WebPubSubPrivateEndpointConnectionOutput - ToWebPubSubPrivateEndpointConnectionOutputWithContext(ctx context.Context) WebPubSubPrivateEndpointConnectionOutput -} - -func (*WebPubSubPrivateEndpointConnection) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubPrivateEndpointConnection)(nil)).Elem() -} - -func (i *WebPubSubPrivateEndpointConnection) ToWebPubSubPrivateEndpointConnectionOutput() WebPubSubPrivateEndpointConnectionOutput { - return i.ToWebPubSubPrivateEndpointConnectionOutputWithContext(context.Background()) -} - -func (i *WebPubSubPrivateEndpointConnection) ToWebPubSubPrivateEndpointConnectionOutputWithContext(ctx context.Context) WebPubSubPrivateEndpointConnectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubPrivateEndpointConnectionOutput) -} - -type WebPubSubPrivateEndpointConnectionOutput struct{ *pulumi.OutputState } - -func (WebPubSubPrivateEndpointConnectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubPrivateEndpointConnection)(nil)).Elem() -} - -func (o WebPubSubPrivateEndpointConnectionOutput) ToWebPubSubPrivateEndpointConnectionOutput() WebPubSubPrivateEndpointConnectionOutput { - return o -} - -func (o WebPubSubPrivateEndpointConnectionOutput) ToWebPubSubPrivateEndpointConnectionOutputWithContext(ctx context.Context) WebPubSubPrivateEndpointConnectionOutput { - return o -} - -func (o WebPubSubPrivateEndpointConnectionOutput) GroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *WebPubSubPrivateEndpointConnection) pulumi.StringArrayOutput { return v.GroupIds }).(pulumi.StringArrayOutput) -} - -func (o WebPubSubPrivateEndpointConnectionOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubPrivateEndpointConnection) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o WebPubSubPrivateEndpointConnectionOutput) PrivateEndpoint() PrivateEndpointResponsePtrOutput { - return o.ApplyT(func(v *WebPubSubPrivateEndpointConnection) PrivateEndpointResponsePtrOutput { return v.PrivateEndpoint }).(PrivateEndpointResponsePtrOutput) -} - -func (o WebPubSubPrivateEndpointConnectionOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput { - return o.ApplyT(func(v *WebPubSubPrivateEndpointConnection) PrivateLinkServiceConnectionStateResponsePtrOutput { - return v.PrivateLinkServiceConnectionState - }).(PrivateLinkServiceConnectionStateResponsePtrOutput) -} - -func (o WebPubSubPrivateEndpointConnectionOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubPrivateEndpointConnection) pulumi.StringOutput { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o WebPubSubPrivateEndpointConnectionOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *WebPubSubPrivateEndpointConnection) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o WebPubSubPrivateEndpointConnectionOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubPrivateEndpointConnection) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(WebPubSubPrivateEndpointConnectionOutput{}) -} diff --git a/sdk/go/azure/webpubsub/v20220801preview/webPubSubSharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/v20220801preview/webPubSubSharedPrivateLinkResource.go deleted file mode 100644 index 1664aa95d2ca..000000000000 --- a/sdk/go/azure/webpubsub/v20220801preview/webPubSubSharedPrivateLinkResource.go +++ /dev/null @@ -1,185 +0,0 @@ - - - -package v20220801preview - -import ( - "context" - "reflect" - - "github.com/pkg/errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type WebPubSubSharedPrivateLinkResource struct { - pulumi.CustomResourceState - - GroupId pulumi.StringOutput `pulumi:"groupId"` - Name pulumi.StringOutput `pulumi:"name"` - PrivateLinkResourceId pulumi.StringOutput `pulumi:"privateLinkResourceId"` - ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` - RequestMessage pulumi.StringPtrOutput `pulumi:"requestMessage"` - Status pulumi.StringOutput `pulumi:"status"` - SystemData SystemDataResponseOutput `pulumi:"systemData"` - Type pulumi.StringOutput `pulumi:"type"` -} - - -func NewWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, - name string, args *WebPubSubSharedPrivateLinkResourceArgs, opts ...pulumi.ResourceOption) (*WebPubSubSharedPrivateLinkResource, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.GroupId == nil { - return nil, errors.New("invalid value for required argument 'GroupId'") - } - if args.PrivateLinkResourceId == nil { - return nil, errors.New("invalid value for required argument 'PrivateLinkResourceId'") - } - if args.ResourceGroupName == nil { - return nil, errors.New("invalid value for required argument 'ResourceGroupName'") - } - if args.ResourceName == nil { - return nil, errors.New("invalid value for required argument 'ResourceName'") - } - aliases := pulumi.Aliases([]pulumi.Alias{ - { - Type: pulumi.String("azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), - }, - { - Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), - }, - }) - opts = append(opts, aliases) - var resource WebPubSubSharedPrivateLinkResource - err := ctx.RegisterResource("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - - -func GetWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *WebPubSubSharedPrivateLinkResourceState, opts ...pulumi.ResourceOption) (*WebPubSubSharedPrivateLinkResource, error) { - var resource WebPubSubSharedPrivateLinkResource - err := ctx.ReadResource("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - - -type webPubSubSharedPrivateLinkResourceState struct { -} - -type WebPubSubSharedPrivateLinkResourceState struct { -} - -func (WebPubSubSharedPrivateLinkResourceState) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubSharedPrivateLinkResourceState)(nil)).Elem() -} - -type webPubSubSharedPrivateLinkResourceArgs struct { - GroupId string `pulumi:"groupId"` - PrivateLinkResourceId string `pulumi:"privateLinkResourceId"` - RequestMessage *string `pulumi:"requestMessage"` - ResourceGroupName string `pulumi:"resourceGroupName"` - ResourceName string `pulumi:"resourceName"` - SharedPrivateLinkResourceName *string `pulumi:"sharedPrivateLinkResourceName"` -} - - -type WebPubSubSharedPrivateLinkResourceArgs struct { - GroupId pulumi.StringInput - PrivateLinkResourceId pulumi.StringInput - RequestMessage pulumi.StringPtrInput - ResourceGroupName pulumi.StringInput - ResourceName pulumi.StringInput - SharedPrivateLinkResourceName pulumi.StringPtrInput -} - -func (WebPubSubSharedPrivateLinkResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*webPubSubSharedPrivateLinkResourceArgs)(nil)).Elem() -} - -type WebPubSubSharedPrivateLinkResourceInput interface { - pulumi.Input - - ToWebPubSubSharedPrivateLinkResourceOutput() WebPubSubSharedPrivateLinkResourceOutput - ToWebPubSubSharedPrivateLinkResourceOutputWithContext(ctx context.Context) WebPubSubSharedPrivateLinkResourceOutput -} - -func (*WebPubSubSharedPrivateLinkResource) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubSharedPrivateLinkResource)(nil)).Elem() -} - -func (i *WebPubSubSharedPrivateLinkResource) ToWebPubSubSharedPrivateLinkResourceOutput() WebPubSubSharedPrivateLinkResourceOutput { - return i.ToWebPubSubSharedPrivateLinkResourceOutputWithContext(context.Background()) -} - -func (i *WebPubSubSharedPrivateLinkResource) ToWebPubSubSharedPrivateLinkResourceOutputWithContext(ctx context.Context) WebPubSubSharedPrivateLinkResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(WebPubSubSharedPrivateLinkResourceOutput) -} - -type WebPubSubSharedPrivateLinkResourceOutput struct{ *pulumi.OutputState } - -func (WebPubSubSharedPrivateLinkResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WebPubSubSharedPrivateLinkResource)(nil)).Elem() -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) ToWebPubSubSharedPrivateLinkResourceOutput() WebPubSubSharedPrivateLinkResourceOutput { - return o -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) ToWebPubSubSharedPrivateLinkResourceOutputWithContext(ctx context.Context) WebPubSubSharedPrivateLinkResourceOutput { - return o -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) GroupId() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) PrivateLinkResourceId() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) pulumi.StringOutput { return v.PrivateLinkResourceId }).(pulumi.StringOutput) -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) ProvisioningState() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) pulumi.StringOutput { return v.ProvisioningState }).(pulumi.StringOutput) -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) RequestMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) pulumi.StringPtrOutput { return v.RequestMessage }).(pulumi.StringPtrOutput) -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) SystemData() SystemDataResponseOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) SystemDataResponseOutput { return v.SystemData }).(SystemDataResponseOutput) -} - -func (o WebPubSubSharedPrivateLinkResourceOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *WebPubSubSharedPrivateLinkResource) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(WebPubSubSharedPrivateLinkResourceOutput{}) -} diff --git a/sdk/go/azure/webpubsub/webPubSub.go b/sdk/go/azure/webpubsub/webPubSub.go index 870f1f12d780..ad4053c60e27 100644 --- a/sdk/go/azure/webpubsub/webPubSub.go +++ b/sdk/go/azure/webpubsub/webPubSub.go @@ -68,9 +68,6 @@ func NewWebPubSub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSub"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSub"), - }, }) opts = append(opts, aliases) var resource WebPubSub diff --git a/sdk/go/azure/webpubsub/webPubSubHub.go b/sdk/go/azure/webpubsub/webPubSubHub.go index 34deadd59298..b03b3839656e 100644 --- a/sdk/go/azure/webpubsub/webPubSubHub.go +++ b/sdk/go/azure/webpubsub/webPubSubHub.go @@ -41,9 +41,6 @@ func NewWebPubSubHub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubHub"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubHub"), - }, }) opts = append(opts, aliases) var resource WebPubSubHub diff --git a/sdk/go/azure/webpubsub/webPubSubPrivateEndpointConnection.go b/sdk/go/azure/webpubsub/webPubSubPrivateEndpointConnection.go index 48faa9a5d70b..8ddfe9a4d3a2 100644 --- a/sdk/go/azure/webpubsub/webPubSubPrivateEndpointConnection.go +++ b/sdk/go/azure/webpubsub/webPubSubPrivateEndpointConnection.go @@ -48,9 +48,6 @@ func NewWebPubSubPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection"), - }, }) opts = append(opts, aliases) var resource WebPubSubPrivateEndpointConnection diff --git a/sdk/go/azure/webpubsub/webPubSubSharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/webPubSubSharedPrivateLinkResource.go index 6e1c9c800de6..658af8423669 100644 --- a/sdk/go/azure/webpubsub/webPubSubSharedPrivateLinkResource.go +++ b/sdk/go/azure/webpubsub/webPubSubSharedPrivateLinkResource.go @@ -56,9 +56,6 @@ func NewWebPubSubSharedPrivateLinkResource(ctx *pulumi.Context, { Type: pulumi.String("azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), }, - { - Type: pulumi.String("azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource"), - }, }) opts = append(opts, aliases) var resource WebPubSubSharedPrivateLinkResource diff --git a/sdk/nodejs/appplatform/buildServiceAgentPool.ts b/sdk/nodejs/appplatform/buildServiceAgentPool.ts new file mode 100644 index 000000000000..4a90f0d8a49f --- /dev/null +++ b/sdk/nodejs/appplatform/buildServiceAgentPool.ts @@ -0,0 +1,123 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * The build service agent pool resource + * API Version: 2022-01-01-preview. + */ +export class BuildServiceAgentPool extends pulumi.CustomResource { + /** + * Get an existing BuildServiceAgentPool resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildServiceAgentPool { + return new BuildServiceAgentPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform:BuildServiceAgentPool'; + + /** + * Returns true if the given object is an instance of BuildServiceAgentPool. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is BuildServiceAgentPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BuildServiceAgentPool.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * build service agent pool properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BuildServiceAgentPool resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: BuildServiceAgentPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.buildServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'buildServiceName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined; + resourceInputs["buildServiceName"] = args ? args.buildServiceName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { 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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BuildServiceAgentPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BuildServiceAgentPool resource. + */ +export interface BuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName?: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * build service agent pool properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/configServer.ts b/sdk/nodejs/appplatform/configServer.ts new file mode 100644 index 000000000000..af64fdb68ac9 --- /dev/null +++ b/sdk/nodejs/appplatform/configServer.ts @@ -0,0 +1,104 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Config Server resource + * API Version: 2020-07-01. + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { 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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/getBuildServiceAgentPool.ts b/sdk/nodejs/appplatform/getBuildServiceAgentPool.ts new file mode 100644 index 000000000000..b76d9ddd38c6 --- /dev/null +++ b/sdk/nodejs/appplatform/getBuildServiceAgentPool.ts @@ -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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * The build service agent pool resource + * API Version: 2022-01-01-preview. + */ +export function getBuildServiceAgentPool(args: GetBuildServiceAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform:getBuildServiceAgentPool", { + "agentPoolName": args.agentPoolName, + "buildServiceName": args.buildServiceName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetBuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: string; + /** + * The name of the build service resource. + */ + buildServiceName: string; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * The build service agent pool resource + */ +export interface GetBuildServiceAgentPoolResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * build service agent pool properties + */ + readonly properties: outputs.appplatform.BuildServiceAgentPoolPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getBuildServiceAgentPoolOutput(args: GetBuildServiceAgentPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getBuildServiceAgentPool(a, opts)) +} + +export interface GetBuildServiceAgentPoolOutputArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/getConfigServer.ts b/sdk/nodejs/appplatform/getConfigServer.ts new file mode 100644 index 000000000000..45b3f6770676 --- /dev/null +++ b/sdk/nodejs/appplatform/getConfigServer.ts @@ -0,0 +1,72 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Config Server resource + * API Version: 2020-07-01. + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.ConfigServerPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/getMonitoringSetting.ts b/sdk/nodejs/appplatform/getMonitoringSetting.ts new file mode 100644 index 000000000000..1fa0a53c42d4 --- /dev/null +++ b/sdk/nodejs/appplatform/getMonitoringSetting.ts @@ -0,0 +1,72 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Monitoring Setting resource + * API Version: 2020-07-01. + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.MonitoringSettingPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/index.ts b/sdk/nodejs/appplatform/index.ts index 483a03912585..e64e6157b1db 100644 --- a/sdk/nodejs/appplatform/index.ts +++ b/sdk/nodejs/appplatform/index.ts @@ -25,6 +25,11 @@ export type Binding = import("./binding").Binding; export const Binding: typeof import("./binding").Binding = null as any; utilities.lazyLoad(exports, ["Binding"], () => require("./binding")); +export { BuildServiceAgentPoolArgs } from "./buildServiceAgentPool"; +export type BuildServiceAgentPool = import("./buildServiceAgentPool").BuildServiceAgentPool; +export const BuildServiceAgentPool: typeof import("./buildServiceAgentPool").BuildServiceAgentPool = null as any; +utilities.lazyLoad(exports, ["BuildServiceAgentPool"], () => require("./buildServiceAgentPool")); + export { BuildServiceBuilderArgs } from "./buildServiceBuilder"; export type BuildServiceBuilder = import("./buildServiceBuilder").BuildServiceBuilder; export const BuildServiceBuilder: typeof import("./buildServiceBuilder").BuildServiceBuilder = null as any; @@ -40,6 +45,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { ConfigurationServiceArgs } from "./configurationService"; export type ConfigurationService = import("./configurationService").ConfigurationService; export const ConfigurationService: typeof import("./configurationService").ConfigurationService = null as any; @@ -95,6 +105,11 @@ export const getBinding: typeof import("./getBinding").getBinding = null as any; export const getBindingOutput: typeof import("./getBinding").getBindingOutput = null as any; utilities.lazyLoad(exports, ["getBinding","getBindingOutput"], () => require("./getBinding")); +export { GetBuildServiceAgentPoolArgs, GetBuildServiceAgentPoolResult, GetBuildServiceAgentPoolOutputArgs } from "./getBuildServiceAgentPool"; +export const getBuildServiceAgentPool: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPool = null as any; +export const getBuildServiceAgentPoolOutput: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPoolOutput = null as any; +utilities.lazyLoad(exports, ["getBuildServiceAgentPool","getBuildServiceAgentPoolOutput"], () => require("./getBuildServiceAgentPool")); + export { GetBuildServiceBuildResultLogArgs, GetBuildServiceBuildResultLogResult, GetBuildServiceBuildResultLogOutputArgs } from "./getBuildServiceBuildResultLog"; export const getBuildServiceBuildResultLog: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLog = null as any; export const getBuildServiceBuildResultLogOutput: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLogOutput = null as any; @@ -120,6 +135,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetConfigurationServiceArgs, GetConfigurationServiceResult, GetConfigurationServiceOutputArgs } from "./getConfigurationService"; export const getConfigurationService: typeof import("./getConfigurationService").getConfigurationService = null as any; export const getConfigurationServiceOutput: typeof import("./getConfigurationService").getConfigurationServiceOutput = null as any; @@ -155,6 +175,11 @@ export const getGatewayRouteConfig: typeof import("./getGatewayRouteConfig").get export const getGatewayRouteConfigOutput: typeof import("./getGatewayRouteConfig").getGatewayRouteConfigOutput = null as any; utilities.lazyLoad(exports, ["getGatewayRouteConfig","getGatewayRouteConfigOutput"], () => require("./getGatewayRouteConfig")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -175,6 +200,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -229,12 +259,16 @@ const _module = { return new App(name, undefined, { urn }) case "azure-native:appplatform:Binding": return new Binding(name, undefined, { urn }) + case "azure-native:appplatform:BuildServiceAgentPool": + return new BuildServiceAgentPool(name, undefined, { urn }) case "azure-native:appplatform:BuildServiceBuilder": return new BuildServiceBuilder(name, undefined, { urn }) case "azure-native:appplatform:BuildpackBinding": return new BuildpackBinding(name, undefined, { urn }) case "azure-native:appplatform:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform:ConfigurationService": return new ConfigurationService(name, undefined, { urn }) case "azure-native:appplatform:CustomDomain": @@ -247,6 +281,8 @@ const _module = { return new GatewayCustomDomain(name, undefined, { urn }) case "azure-native:appplatform:GatewayRouteConfig": return new GatewayRouteConfig(name, undefined, { urn }) + case "azure-native:appplatform:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform:Service": return new Service(name, undefined, { urn }) case "azure-native:appplatform:ServiceRegistry": diff --git a/sdk/nodejs/appplatform/monitoringSetting.ts b/sdk/nodejs/appplatform/monitoringSetting.ts new file mode 100644 index 000000000000..597256747b02 --- /dev/null +++ b/sdk/nodejs/appplatform/monitoringSetting.ts @@ -0,0 +1,104 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Monitoring Setting resource + * API Version: 2020-07-01. + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20200701/configServer.ts b/sdk/nodejs/appplatform/v20200701/configServer.ts new file mode 100644 index 000000000000..b14b34da44fe --- /dev/null +++ b/sdk/nodejs/appplatform/v20200701/configServer.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20200701:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform: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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20200701/getConfigServer.ts b/sdk/nodejs/appplatform/v20200701/getConfigServer.ts new file mode 100644 index 000000000000..bd9bca12bd0b --- /dev/null +++ b/sdk/nodejs/appplatform/v20200701/getConfigServer.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20200701:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20200701.ConfigServerPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20200701/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20200701/getMonitoringSetting.ts new file mode 100644 index 000000000000..db6e937efacd --- /dev/null +++ b/sdk/nodejs/appplatform/v20200701/getMonitoringSetting.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20200701:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20200701.MonitoringSettingPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20200701/index.ts b/sdk/nodejs/appplatform/v20200701/index.ts index 145ef45c629e..900841d09231 100644 --- a/sdk/nodejs/appplatform/v20200701/index.ts +++ b/sdk/nodejs/appplatform/v20200701/index.ts @@ -20,6 +20,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { CustomDomainArgs } from "./customDomain"; export type CustomDomain = import("./customDomain").CustomDomain; export const CustomDomain: typeof import("./customDomain").CustomDomain = null as any; @@ -50,6 +55,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetCustomDomainArgs, GetCustomDomainResult, GetCustomDomainOutputArgs } from "./getCustomDomain"; export const getCustomDomain: typeof import("./getCustomDomain").getCustomDomain = null as any; export const getCustomDomainOutput: typeof import("./getCustomDomain").getCustomDomainOutput = null as any; @@ -65,6 +75,11 @@ export const getDeploymentLogFileUrl: typeof import("./getDeploymentLogFileUrl") export const getDeploymentLogFileUrlOutput: typeof import("./getDeploymentLogFileUrl").getDeploymentLogFileUrlOutput = null as any; utilities.lazyLoad(exports, ["getDeploymentLogFileUrl","getDeploymentLogFileUrlOutput"], () => require("./getDeploymentLogFileUrl")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -75,6 +90,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -94,10 +114,14 @@ const _module = { return new Binding(name, undefined, { urn }) case "azure-native:appplatform/v20200701:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20200701:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20200701:CustomDomain": return new CustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20200701:Deployment": return new Deployment(name, undefined, { urn }) + case "azure-native:appplatform/v20200701:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20200701:Service": return new Service(name, undefined, { urn }) default: diff --git a/sdk/nodejs/appplatform/v20200701/monitoringSetting.ts b/sdk/nodejs/appplatform/v20200701/monitoringSetting.ts new file mode 100644 index 000000000000..0b6e6335014e --- /dev/null +++ b/sdk/nodejs/appplatform/v20200701/monitoringSetting.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20200701:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20201101preview/configServer.ts b/sdk/nodejs/appplatform/v20201101preview/configServer.ts new file mode 100644 index 000000000000..a1a9767ce77d --- /dev/null +++ b/sdk/nodejs/appplatform/v20201101preview/configServer.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20201101preview:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { type: "azure-native:appplatform/v20200701: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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20201101preview/getConfigServer.ts b/sdk/nodejs/appplatform/v20201101preview/getConfigServer.ts new file mode 100644 index 000000000000..ed84fa8d1f55 --- /dev/null +++ b/sdk/nodejs/appplatform/v20201101preview/getConfigServer.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20201101preview:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20201101preview.ConfigServerPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20201101preview/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20201101preview/getMonitoringSetting.ts new file mode 100644 index 000000000000..08d176fdda82 --- /dev/null +++ b/sdk/nodejs/appplatform/v20201101preview/getMonitoringSetting.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20201101preview:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20201101preview.MonitoringSettingPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20201101preview/index.ts b/sdk/nodejs/appplatform/v20201101preview/index.ts index cc56ea733e49..cd192269a77e 100644 --- a/sdk/nodejs/appplatform/v20201101preview/index.ts +++ b/sdk/nodejs/appplatform/v20201101preview/index.ts @@ -20,6 +20,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { CustomDomainArgs } from "./customDomain"; export type CustomDomain = import("./customDomain").CustomDomain; export const CustomDomain: typeof import("./customDomain").CustomDomain = null as any; @@ -50,6 +55,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetCustomDomainArgs, GetCustomDomainResult, GetCustomDomainOutputArgs } from "./getCustomDomain"; export const getCustomDomain: typeof import("./getCustomDomain").getCustomDomain = null as any; export const getCustomDomainOutput: typeof import("./getCustomDomain").getCustomDomainOutput = null as any; @@ -65,6 +75,11 @@ export const getDeploymentLogFileUrl: typeof import("./getDeploymentLogFileUrl") export const getDeploymentLogFileUrlOutput: typeof import("./getDeploymentLogFileUrl").getDeploymentLogFileUrlOutput = null as any; utilities.lazyLoad(exports, ["getDeploymentLogFileUrl","getDeploymentLogFileUrlOutput"], () => require("./getDeploymentLogFileUrl")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -75,6 +90,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -94,10 +114,14 @@ const _module = { return new Binding(name, undefined, { urn }) case "azure-native:appplatform/v20201101preview:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20201101preview:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20201101preview:CustomDomain": return new CustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20201101preview:Deployment": return new Deployment(name, undefined, { urn }) + case "azure-native:appplatform/v20201101preview:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20201101preview:Service": return new Service(name, undefined, { urn }) default: diff --git a/sdk/nodejs/appplatform/v20201101preview/monitoringSetting.ts b/sdk/nodejs/appplatform/v20201101preview/monitoringSetting.ts new file mode 100644 index 000000000000..1c1453852bb9 --- /dev/null +++ b/sdk/nodejs/appplatform/v20201101preview/monitoringSetting.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20201101preview:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210601preview/configServer.ts b/sdk/nodejs/appplatform/v20210601preview/configServer.ts new file mode 100644 index 000000000000..36fa1a673720 --- /dev/null +++ b/sdk/nodejs/appplatform/v20210601preview/configServer.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20210601preview:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { type: "azure-native:appplatform/v20200701:ConfigServer" }, { type: "azure-native:appplatform/v20201101preview: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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210601preview/getConfigServer.ts b/sdk/nodejs/appplatform/v20210601preview/getConfigServer.ts new file mode 100644 index 000000000000..746290f1f958 --- /dev/null +++ b/sdk/nodejs/appplatform/v20210601preview/getConfigServer.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20210601preview:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20210601preview.ConfigServerPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210601preview/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20210601preview/getMonitoringSetting.ts new file mode 100644 index 000000000000..a14ef22b0dc7 --- /dev/null +++ b/sdk/nodejs/appplatform/v20210601preview/getMonitoringSetting.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20210601preview:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20210601preview.MonitoringSettingPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210601preview/index.ts b/sdk/nodejs/appplatform/v20210601preview/index.ts index 2083d4a4ac17..03b2458b388b 100644 --- a/sdk/nodejs/appplatform/v20210601preview/index.ts +++ b/sdk/nodejs/appplatform/v20210601preview/index.ts @@ -20,6 +20,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { CustomDomainArgs } from "./customDomain"; export type CustomDomain = import("./customDomain").CustomDomain; export const CustomDomain: typeof import("./customDomain").CustomDomain = null as any; @@ -50,6 +55,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetCustomDomainArgs, GetCustomDomainResult, GetCustomDomainOutputArgs } from "./getCustomDomain"; export const getCustomDomain: typeof import("./getCustomDomain").getCustomDomain = null as any; export const getCustomDomainOutput: typeof import("./getCustomDomain").getCustomDomainOutput = null as any; @@ -65,6 +75,11 @@ export const getDeploymentLogFileUrl: typeof import("./getDeploymentLogFileUrl") export const getDeploymentLogFileUrlOutput: typeof import("./getDeploymentLogFileUrl").getDeploymentLogFileUrlOutput = null as any; utilities.lazyLoad(exports, ["getDeploymentLogFileUrl","getDeploymentLogFileUrlOutput"], () => require("./getDeploymentLogFileUrl")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -75,6 +90,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -94,10 +114,14 @@ const _module = { return new Binding(name, undefined, { urn }) case "azure-native:appplatform/v20210601preview:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20210601preview:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20210601preview:CustomDomain": return new CustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20210601preview:Deployment": return new Deployment(name, undefined, { urn }) + case "azure-native:appplatform/v20210601preview:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20210601preview:Service": return new Service(name, undefined, { urn }) default: diff --git a/sdk/nodejs/appplatform/v20210601preview/monitoringSetting.ts b/sdk/nodejs/appplatform/v20210601preview/monitoringSetting.ts new file mode 100644 index 000000000000..0b8b33845e6e --- /dev/null +++ b/sdk/nodejs/appplatform/v20210601preview/monitoringSetting.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20210601preview:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210901preview/configServer.ts b/sdk/nodejs/appplatform/v20210901preview/configServer.ts new file mode 100644 index 000000000000..380188d25614 --- /dev/null +++ b/sdk/nodejs/appplatform/v20210901preview/configServer.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20210901preview:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { type: "azure-native:appplatform/v20200701:ConfigServer" }, { type: "azure-native:appplatform/v20201101preview:ConfigServer" }, { type: "azure-native:appplatform/v20210601preview: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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210901preview/getConfigServer.ts b/sdk/nodejs/appplatform/v20210901preview/getConfigServer.ts new file mode 100644 index 000000000000..9cd218421c52 --- /dev/null +++ b/sdk/nodejs/appplatform/v20210901preview/getConfigServer.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20210901preview:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20210901preview.ConfigServerPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210901preview/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20210901preview/getMonitoringSetting.ts new file mode 100644 index 000000000000..927d9bd9797a --- /dev/null +++ b/sdk/nodejs/appplatform/v20210901preview/getMonitoringSetting.ts @@ -0,0 +1,71 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20210901preview:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20210901preview.MonitoringSettingPropertiesResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20210901preview/index.ts b/sdk/nodejs/appplatform/v20210901preview/index.ts index f785a78ec57b..dcb30777417e 100644 --- a/sdk/nodejs/appplatform/v20210901preview/index.ts +++ b/sdk/nodejs/appplatform/v20210901preview/index.ts @@ -20,6 +20,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { CustomDomainArgs } from "./customDomain"; export type CustomDomain = import("./customDomain").CustomDomain; export const CustomDomain: typeof import("./customDomain").CustomDomain = null as any; @@ -50,6 +55,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetCustomDomainArgs, GetCustomDomainResult, GetCustomDomainOutputArgs } from "./getCustomDomain"; export const getCustomDomain: typeof import("./getCustomDomain").getCustomDomain = null as any; export const getCustomDomainOutput: typeof import("./getCustomDomain").getCustomDomainOutput = null as any; @@ -65,6 +75,11 @@ export const getDeploymentLogFileUrl: typeof import("./getDeploymentLogFileUrl") export const getDeploymentLogFileUrlOutput: typeof import("./getDeploymentLogFileUrl").getDeploymentLogFileUrlOutput = null as any; utilities.lazyLoad(exports, ["getDeploymentLogFileUrl","getDeploymentLogFileUrlOutput"], () => require("./getDeploymentLogFileUrl")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -80,6 +95,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -104,10 +124,14 @@ const _module = { return new Binding(name, undefined, { urn }) case "azure-native:appplatform/v20210901preview:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20210901preview:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20210901preview:CustomDomain": return new CustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20210901preview:Deployment": return new Deployment(name, undefined, { urn }) + case "azure-native:appplatform/v20210901preview:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20210901preview:Service": return new Service(name, undefined, { urn }) case "azure-native:appplatform/v20210901preview:Storage": diff --git a/sdk/nodejs/appplatform/v20210901preview/monitoringSetting.ts b/sdk/nodejs/appplatform/v20210901preview/monitoringSetting.ts new file mode 100644 index 000000000000..c744333ca765 --- /dev/null +++ b/sdk/nodejs/appplatform/v20210901preview/monitoringSetting.ts @@ -0,0 +1,103 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20210901preview:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220101preview/buildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220101preview/buildServiceAgentPool.ts new file mode 100644 index 000000000000..c4040d75a226 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220101preview/buildServiceAgentPool.ts @@ -0,0 +1,122 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export class BuildServiceAgentPool extends pulumi.CustomResource { + /** + * Get an existing BuildServiceAgentPool resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildServiceAgentPool { + return new BuildServiceAgentPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220101preview:BuildServiceAgentPool'; + + /** + * Returns true if the given object is an instance of BuildServiceAgentPool. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is BuildServiceAgentPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BuildServiceAgentPool.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * build service agent pool properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BuildServiceAgentPool resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: BuildServiceAgentPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.buildServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'buildServiceName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined; + resourceInputs["buildServiceName"] = args ? args.buildServiceName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform: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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BuildServiceAgentPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BuildServiceAgentPool resource. + */ +export interface BuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName?: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * build service agent pool properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220101preview/configServer.ts b/sdk/nodejs/appplatform/v20220101preview/configServer.ts new file mode 100644 index 000000000000..c5ba3abb006f --- /dev/null +++ b/sdk/nodejs/appplatform/v20220101preview/configServer.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220101preview:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { 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/v20220301preview:ConfigServer" }, { type: "azure-native:appplatform/v20220401:ConfigServer" }, { type: "azure-native:appplatform/v20220501preview:ConfigServer" }, { type: "azure-native:appplatform/v20220901preview:ConfigServer" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220101preview/getBuildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220101preview/getBuildServiceAgentPool.ts new file mode 100644 index 000000000000..59848d5ee9b8 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220101preview/getBuildServiceAgentPool.ts @@ -0,0 +1,93 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export function getBuildServiceAgentPool(args: GetBuildServiceAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220101preview:getBuildServiceAgentPool", { + "agentPoolName": args.agentPoolName, + "buildServiceName": args.buildServiceName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetBuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: string; + /** + * The name of the build service resource. + */ + buildServiceName: string; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * The build service agent pool resource + */ +export interface GetBuildServiceAgentPoolResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * build service agent pool properties + */ + readonly properties: outputs.appplatform.v20220101preview.BuildServiceAgentPoolPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220101preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getBuildServiceAgentPoolOutput(args: GetBuildServiceAgentPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getBuildServiceAgentPool(a, opts)) +} + +export interface GetBuildServiceAgentPoolOutputArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubHub.ts b/sdk/nodejs/appplatform/v20220101preview/getConfigServer.ts similarity index 53% rename from sdk/nodejs/webpubsub/v20220801preview/getWebPubSubHub.ts rename to sdk/nodejs/appplatform/v20220101preview/getConfigServer.ts index 89ecc819af1a..d2438af8ac82 100644 --- a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubHub.ts +++ b/sdk/nodejs/appplatform/v20220101preview/getConfigServer.ts @@ -8,40 +8,35 @@ import * as enums from "../../types/enums"; import * as utilities from "../../utilities"; /** - * A hub setting + * Config Server resource */ -export function getWebPubSubHub(args: GetWebPubSubHubArgs, opts?: pulumi.InvokeOptions): Promise { +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { if (!opts) { opts = {} } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:webpubsub/v20220801preview:getWebPubSubHub", { - "hubName": args.hubName, + return pulumi.runtime.invoke("azure-native:appplatform/v20220101preview:getConfigServer", { "resourceGroupName": args.resourceGroupName, - "resourceName": args.resourceName, + "serviceName": args.serviceName, }, opts); } -export interface GetWebPubSubHubArgs { - /** - * The hub name. - */ - hubName: string; +export interface GetConfigServerArgs { /** * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. */ resourceGroupName: string; /** - * The name of the resource. + * The name of the Service resource. */ - resourceName: string; + serviceName: string; } /** - * A hub setting + * Config Server resource */ -export interface GetWebPubSubHubResult { +export interface GetConfigServerResult { /** * Fully qualified resource Id for the resource. */ @@ -51,34 +46,30 @@ export interface GetWebPubSubHubResult { */ readonly name: string; /** - * Properties of a hub. + * Properties of the Config Server resource */ - readonly properties: outputs.webpubsub.v20220801preview.WebPubSubHubPropertiesResponse; + readonly properties: outputs.appplatform.v20220101preview.ConfigServerPropertiesResponse; /** * Metadata pertaining to creation and last modification of the resource. */ - readonly systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; + readonly systemData: outputs.appplatform.v20220101preview.SystemDataResponse; /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" + * The type of the resource. */ readonly type: string; } -export function getWebPubSubHubOutput(args: GetWebPubSubHubOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getWebPubSubHub(a, opts)) +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) } -export interface GetWebPubSubHubOutputArgs { - /** - * The hub name. - */ - hubName: pulumi.Input; +export interface GetConfigServerOutputArgs { /** * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. */ resourceGroupName: pulumi.Input; /** - * The name of the resource. + * The name of the Service resource. */ - resourceName: pulumi.Input; + serviceName: pulumi.Input; } diff --git a/sdk/nodejs/appplatform/v20220101preview/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20220101preview/getMonitoringSetting.ts new file mode 100644 index 000000000000..5b8c649ae490 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220101preview/getMonitoringSetting.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220101preview:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20220101preview.MonitoringSettingPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220101preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220101preview/index.ts b/sdk/nodejs/appplatform/v20220101preview/index.ts index 3a71c3143c2a..152009282ee1 100644 --- a/sdk/nodejs/appplatform/v20220101preview/index.ts +++ b/sdk/nodejs/appplatform/v20220101preview/index.ts @@ -25,6 +25,11 @@ export type Binding = import("./binding").Binding; export const Binding: typeof import("./binding").Binding = null as any; utilities.lazyLoad(exports, ["Binding"], () => require("./binding")); +export { BuildServiceAgentPoolArgs } from "./buildServiceAgentPool"; +export type BuildServiceAgentPool = import("./buildServiceAgentPool").BuildServiceAgentPool; +export const BuildServiceAgentPool: typeof import("./buildServiceAgentPool").BuildServiceAgentPool = null as any; +utilities.lazyLoad(exports, ["BuildServiceAgentPool"], () => require("./buildServiceAgentPool")); + export { BuildServiceBuilderArgs } from "./buildServiceBuilder"; export type BuildServiceBuilder = import("./buildServiceBuilder").BuildServiceBuilder; export const BuildServiceBuilder: typeof import("./buildServiceBuilder").BuildServiceBuilder = null as any; @@ -40,6 +45,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { ConfigurationServiceArgs } from "./configurationService"; export type ConfigurationService = import("./configurationService").ConfigurationService; export const ConfigurationService: typeof import("./configurationService").ConfigurationService = null as any; @@ -95,6 +105,11 @@ export const getBinding: typeof import("./getBinding").getBinding = null as any; export const getBindingOutput: typeof import("./getBinding").getBindingOutput = null as any; utilities.lazyLoad(exports, ["getBinding","getBindingOutput"], () => require("./getBinding")); +export { GetBuildServiceAgentPoolArgs, GetBuildServiceAgentPoolResult, GetBuildServiceAgentPoolOutputArgs } from "./getBuildServiceAgentPool"; +export const getBuildServiceAgentPool: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPool = null as any; +export const getBuildServiceAgentPoolOutput: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPoolOutput = null as any; +utilities.lazyLoad(exports, ["getBuildServiceAgentPool","getBuildServiceAgentPoolOutput"], () => require("./getBuildServiceAgentPool")); + export { GetBuildServiceBuildResultLogArgs, GetBuildServiceBuildResultLogResult, GetBuildServiceBuildResultLogOutputArgs } from "./getBuildServiceBuildResultLog"; export const getBuildServiceBuildResultLog: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLog = null as any; export const getBuildServiceBuildResultLogOutput: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLogOutput = null as any; @@ -120,6 +135,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetConfigurationServiceArgs, GetConfigurationServiceResult, GetConfigurationServiceOutputArgs } from "./getConfigurationService"; export const getConfigurationService: typeof import("./getConfigurationService").getConfigurationService = null as any; export const getConfigurationServiceOutput: typeof import("./getConfigurationService").getConfigurationServiceOutput = null as any; @@ -155,6 +175,11 @@ export const getGatewayRouteConfig: typeof import("./getGatewayRouteConfig").get export const getGatewayRouteConfigOutput: typeof import("./getGatewayRouteConfig").getGatewayRouteConfigOutput = null as any; utilities.lazyLoad(exports, ["getGatewayRouteConfig","getGatewayRouteConfigOutput"], () => require("./getGatewayRouteConfig")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -175,6 +200,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -206,12 +236,16 @@ const _module = { return new App(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:Binding": return new Binding(name, undefined, { urn }) + case "azure-native:appplatform/v20220101preview:BuildServiceAgentPool": + return new BuildServiceAgentPool(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:BuildServiceBuilder": return new BuildServiceBuilder(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:BuildpackBinding": return new BuildpackBinding(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20220101preview:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:ConfigurationService": return new ConfigurationService(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:CustomDomain": @@ -224,6 +258,8 @@ const _module = { return new GatewayCustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:GatewayRouteConfig": return new GatewayRouteConfig(name, undefined, { urn }) + case "azure-native:appplatform/v20220101preview:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:Service": return new Service(name, undefined, { urn }) case "azure-native:appplatform/v20220101preview:ServiceRegistry": diff --git a/sdk/nodejs/appplatform/v20220101preview/monitoringSetting.ts b/sdk/nodejs/appplatform/v20220101preview/monitoringSetting.ts new file mode 100644 index 000000000000..58c532cdbed6 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220101preview/monitoringSetting.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220101preview:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220301preview/buildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220301preview/buildServiceAgentPool.ts new file mode 100644 index 000000000000..bfc85dc7b15f --- /dev/null +++ b/sdk/nodejs/appplatform/v20220301preview/buildServiceAgentPool.ts @@ -0,0 +1,122 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export class BuildServiceAgentPool extends pulumi.CustomResource { + /** + * Get an existing BuildServiceAgentPool resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildServiceAgentPool { + return new BuildServiceAgentPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220301preview:BuildServiceAgentPool'; + + /** + * Returns true if the given object is an instance of BuildServiceAgentPool. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is BuildServiceAgentPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BuildServiceAgentPool.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * build service agent pool properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BuildServiceAgentPool resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: BuildServiceAgentPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.buildServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'buildServiceName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined; + resourceInputs["buildServiceName"] = args ? args.buildServiceName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220101preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220401:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220501preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220901preview:BuildServiceAgentPool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BuildServiceAgentPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BuildServiceAgentPool resource. + */ +export interface BuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName?: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * build service agent pool properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220301preview/configServer.ts b/sdk/nodejs/appplatform/v20220301preview/configServer.ts new file mode 100644 index 000000000000..7c28e406d32a --- /dev/null +++ b/sdk/nodejs/appplatform/v20220301preview/configServer.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220301preview:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { 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/v20220401:ConfigServer" }, { type: "azure-native:appplatform/v20220501preview:ConfigServer" }, { type: "azure-native:appplatform/v20220901preview:ConfigServer" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220301preview/getBuildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220301preview/getBuildServiceAgentPool.ts new file mode 100644 index 000000000000..f8172c11d157 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220301preview/getBuildServiceAgentPool.ts @@ -0,0 +1,93 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export function getBuildServiceAgentPool(args: GetBuildServiceAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220301preview:getBuildServiceAgentPool", { + "agentPoolName": args.agentPoolName, + "buildServiceName": args.buildServiceName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetBuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: string; + /** + * The name of the build service resource. + */ + buildServiceName: string; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * The build service agent pool resource + */ +export interface GetBuildServiceAgentPoolResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * build service agent pool properties + */ + readonly properties: outputs.appplatform.v20220301preview.BuildServiceAgentPoolPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220301preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getBuildServiceAgentPoolOutput(args: GetBuildServiceAgentPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getBuildServiceAgentPool(a, opts)) +} + +export interface GetBuildServiceAgentPoolOutputArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220301preview/getConfigServer.ts b/sdk/nodejs/appplatform/v20220301preview/getConfigServer.ts new file mode 100644 index 000000000000..37ae22b6c20e --- /dev/null +++ b/sdk/nodejs/appplatform/v20220301preview/getConfigServer.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220301preview:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20220301preview.ConfigServerPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220301preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220301preview/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20220301preview/getMonitoringSetting.ts new file mode 100644 index 000000000000..cfdfa1b87b0f --- /dev/null +++ b/sdk/nodejs/appplatform/v20220301preview/getMonitoringSetting.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220301preview:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20220301preview.MonitoringSettingPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220301preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220301preview/index.ts b/sdk/nodejs/appplatform/v20220301preview/index.ts index c3bfdbd2038e..c37c796af697 100644 --- a/sdk/nodejs/appplatform/v20220301preview/index.ts +++ b/sdk/nodejs/appplatform/v20220301preview/index.ts @@ -25,6 +25,11 @@ export type Binding = import("./binding").Binding; export const Binding: typeof import("./binding").Binding = null as any; utilities.lazyLoad(exports, ["Binding"], () => require("./binding")); +export { BuildServiceAgentPoolArgs } from "./buildServiceAgentPool"; +export type BuildServiceAgentPool = import("./buildServiceAgentPool").BuildServiceAgentPool; +export const BuildServiceAgentPool: typeof import("./buildServiceAgentPool").BuildServiceAgentPool = null as any; +utilities.lazyLoad(exports, ["BuildServiceAgentPool"], () => require("./buildServiceAgentPool")); + export { BuildServiceBuilderArgs } from "./buildServiceBuilder"; export type BuildServiceBuilder = import("./buildServiceBuilder").BuildServiceBuilder; export const BuildServiceBuilder: typeof import("./buildServiceBuilder").BuildServiceBuilder = null as any; @@ -40,6 +45,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { ConfigurationServiceArgs } from "./configurationService"; export type ConfigurationService = import("./configurationService").ConfigurationService; export const ConfigurationService: typeof import("./configurationService").ConfigurationService = null as any; @@ -95,6 +105,11 @@ export const getBinding: typeof import("./getBinding").getBinding = null as any; export const getBindingOutput: typeof import("./getBinding").getBindingOutput = null as any; utilities.lazyLoad(exports, ["getBinding","getBindingOutput"], () => require("./getBinding")); +export { GetBuildServiceAgentPoolArgs, GetBuildServiceAgentPoolResult, GetBuildServiceAgentPoolOutputArgs } from "./getBuildServiceAgentPool"; +export const getBuildServiceAgentPool: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPool = null as any; +export const getBuildServiceAgentPoolOutput: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPoolOutput = null as any; +utilities.lazyLoad(exports, ["getBuildServiceAgentPool","getBuildServiceAgentPoolOutput"], () => require("./getBuildServiceAgentPool")); + export { GetBuildServiceBuildResultLogArgs, GetBuildServiceBuildResultLogResult, GetBuildServiceBuildResultLogOutputArgs } from "./getBuildServiceBuildResultLog"; export const getBuildServiceBuildResultLog: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLog = null as any; export const getBuildServiceBuildResultLogOutput: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLogOutput = null as any; @@ -120,6 +135,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetConfigurationServiceArgs, GetConfigurationServiceResult, GetConfigurationServiceOutputArgs } from "./getConfigurationService"; export const getConfigurationService: typeof import("./getConfigurationService").getConfigurationService = null as any; export const getConfigurationServiceOutput: typeof import("./getConfigurationService").getConfigurationServiceOutput = null as any; @@ -155,6 +175,11 @@ export const getGatewayRouteConfig: typeof import("./getGatewayRouteConfig").get export const getGatewayRouteConfigOutput: typeof import("./getGatewayRouteConfig").getGatewayRouteConfigOutput = null as any; utilities.lazyLoad(exports, ["getGatewayRouteConfig","getGatewayRouteConfigOutput"], () => require("./getGatewayRouteConfig")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -175,6 +200,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -206,12 +236,16 @@ const _module = { return new App(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:Binding": return new Binding(name, undefined, { urn }) + case "azure-native:appplatform/v20220301preview:BuildServiceAgentPool": + return new BuildServiceAgentPool(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:BuildServiceBuilder": return new BuildServiceBuilder(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:BuildpackBinding": return new BuildpackBinding(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20220301preview:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:ConfigurationService": return new ConfigurationService(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:CustomDomain": @@ -224,6 +258,8 @@ const _module = { return new GatewayCustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:GatewayRouteConfig": return new GatewayRouteConfig(name, undefined, { urn }) + case "azure-native:appplatform/v20220301preview:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:Service": return new Service(name, undefined, { urn }) case "azure-native:appplatform/v20220301preview:ServiceRegistry": diff --git a/sdk/nodejs/appplatform/v20220301preview/monitoringSetting.ts b/sdk/nodejs/appplatform/v20220301preview/monitoringSetting.ts new file mode 100644 index 000000000000..66e66fd0929c --- /dev/null +++ b/sdk/nodejs/appplatform/v20220301preview/monitoringSetting.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220301preview:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220401/buildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220401/buildServiceAgentPool.ts new file mode 100644 index 000000000000..d85bc6482900 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220401/buildServiceAgentPool.ts @@ -0,0 +1,122 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export class BuildServiceAgentPool extends pulumi.CustomResource { + /** + * Get an existing BuildServiceAgentPool resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildServiceAgentPool { + return new BuildServiceAgentPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220401:BuildServiceAgentPool'; + + /** + * Returns true if the given object is an instance of BuildServiceAgentPool. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is BuildServiceAgentPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BuildServiceAgentPool.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * build service agent pool properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BuildServiceAgentPool resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: BuildServiceAgentPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.buildServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'buildServiceName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined; + resourceInputs["buildServiceName"] = args ? args.buildServiceName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220101preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220301preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220501preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220901preview:BuildServiceAgentPool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BuildServiceAgentPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BuildServiceAgentPool resource. + */ +export interface BuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName?: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * build service agent pool properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/webpubsub/v20220801preview/webPubSubHub.ts b/sdk/nodejs/appplatform/v20220401/configServer.ts similarity index 54% rename from sdk/nodejs/webpubsub/v20220801preview/webPubSubHub.ts rename to sdk/nodejs/appplatform/v20220401/configServer.ts index f3fa817fecc6..36b60e5d4aff 100644 --- a/sdk/nodejs/webpubsub/v20220801preview/webPubSubHub.ts +++ b/sdk/nodejs/appplatform/v20220401/configServer.ts @@ -8,33 +8,33 @@ import * as enums from "../../types/enums"; import * as utilities from "../../utilities"; /** - * A hub setting + * Config Server resource */ -export class WebPubSubHub extends pulumi.CustomResource { +export class ConfigServer extends pulumi.CustomResource { /** - * Get an existing WebPubSubHub resource's state with the given name, ID, and optional extra + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WebPubSubHub { - return new WebPubSubHub(name, undefined as any, { ...opts, id: id }); + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); } /** @internal */ - public static readonly __pulumiType = 'azure-native:webpubsub/v20220801preview:WebPubSubHub'; + public static readonly __pulumiType = 'azure-native:appplatform/v20220401:ConfigServer'; /** - * Returns true if the given object is an instance of WebPubSubHub. This is designed to work even + * Returns true if the given object is an instance of ConfigServer. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ - public static isInstance(obj: any): obj is WebPubSubHub { + public static isInstance(obj: any): obj is ConfigServer { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === WebPubSubHub.__pulumiType; + return obj['__pulumiType'] === ConfigServer.__pulumiType; } /** @@ -42,42 +42,38 @@ export class WebPubSubHub extends pulumi.CustomResource { */ public /*out*/ readonly name!: pulumi.Output; /** - * Properties of a hub. + * Properties of the Config Server resource */ - public readonly properties!: pulumi.Output; + public readonly properties!: pulumi.Output; /** * Metadata pertaining to creation and last modification of the resource. */ - public /*out*/ readonly systemData!: pulumi.Output; + public /*out*/ readonly systemData!: pulumi.Output; /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" + * The type of the resource. */ public /*out*/ readonly type!: pulumi.Output; /** - * Create a WebPubSubHub resource with the given unique name, arguments, and options. + * Create a ConfigServer resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ - constructor(name: string, args: WebPubSubHubArgs, opts?: pulumi.CustomResourceOptions) { + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (!opts.id) { - if ((!args || args.properties === undefined) && !opts.urn) { - throw new Error("Missing required property 'properties'"); - } if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } - if ((!args || args.resourceName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceName'"); + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); } - resourceInputs["hubName"] = args ? args.hubName : undefined; - resourceInputs["properties"] = args ? (args.properties ? pulumi.output(args.properties).apply(inputs.webpubsub.v20220801preview.webPubSubHubPropertiesArgsProvideDefaults) : undefined) : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["resourceName"] = args ? args.resourceName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; resourceInputs["name"] = undefined /*out*/; resourceInputs["systemData"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; @@ -88,30 +84,26 @@ export class WebPubSubHub extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubHub" }, { type: "azure-native:webpubsub/v20211001:WebPubSubHub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { 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/v20220501preview:ConfigServer" }, { type: "azure-native:appplatform/v20220901preview:ConfigServer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); - super(WebPubSubHub.__pulumiType, name, resourceInputs, opts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); } } /** - * The set of arguments for constructing a WebPubSubHub resource. + * The set of arguments for constructing a ConfigServer resource. */ -export interface WebPubSubHubArgs { - /** - * The hub name. - */ - hubName?: pulumi.Input; +export interface ConfigServerArgs { /** - * Properties of a hub. + * Properties of the Config Server resource */ - properties: pulumi.Input; + properties?: pulumi.Input; /** * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. */ resourceGroupName: pulumi.Input; /** - * The name of the resource. + * The name of the Service resource. */ - resourceName: pulumi.Input; + serviceName: pulumi.Input; } diff --git a/sdk/nodejs/appplatform/v20220401/getBuildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220401/getBuildServiceAgentPool.ts new file mode 100644 index 000000000000..cf4a4493e0ac --- /dev/null +++ b/sdk/nodejs/appplatform/v20220401/getBuildServiceAgentPool.ts @@ -0,0 +1,93 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export function getBuildServiceAgentPool(args: GetBuildServiceAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220401:getBuildServiceAgentPool", { + "agentPoolName": args.agentPoolName, + "buildServiceName": args.buildServiceName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetBuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: string; + /** + * The name of the build service resource. + */ + buildServiceName: string; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * The build service agent pool resource + */ +export interface GetBuildServiceAgentPoolResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * build service agent pool properties + */ + readonly properties: outputs.appplatform.v20220401.BuildServiceAgentPoolPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220401.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getBuildServiceAgentPoolOutput(args: GetBuildServiceAgentPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getBuildServiceAgentPool(a, opts)) +} + +export interface GetBuildServiceAgentPoolOutputArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220401/getConfigServer.ts b/sdk/nodejs/appplatform/v20220401/getConfigServer.ts new file mode 100644 index 000000000000..b0289f9f8501 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220401/getConfigServer.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220401:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20220401.ConfigServerPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220401.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220401/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20220401/getMonitoringSetting.ts new file mode 100644 index 000000000000..a474da64fac7 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220401/getMonitoringSetting.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220401:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20220401.MonitoringSettingPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220401.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220401/index.ts b/sdk/nodejs/appplatform/v20220401/index.ts index 6bc18da69074..ddbe1f0eddce 100644 --- a/sdk/nodejs/appplatform/v20220401/index.ts +++ b/sdk/nodejs/appplatform/v20220401/index.ts @@ -15,6 +15,11 @@ export type Binding = import("./binding").Binding; export const Binding: typeof import("./binding").Binding = null as any; utilities.lazyLoad(exports, ["Binding"], () => require("./binding")); +export { BuildServiceAgentPoolArgs } from "./buildServiceAgentPool"; +export type BuildServiceAgentPool = import("./buildServiceAgentPool").BuildServiceAgentPool; +export const BuildServiceAgentPool: typeof import("./buildServiceAgentPool").BuildServiceAgentPool = null as any; +utilities.lazyLoad(exports, ["BuildServiceAgentPool"], () => require("./buildServiceAgentPool")); + export { BuildServiceBuilderArgs } from "./buildServiceBuilder"; export type BuildServiceBuilder = import("./buildServiceBuilder").BuildServiceBuilder; export const BuildServiceBuilder: typeof import("./buildServiceBuilder").BuildServiceBuilder = null as any; @@ -30,6 +35,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { ConfigurationServiceArgs } from "./configurationService"; export type ConfigurationService = import("./configurationService").ConfigurationService; export const ConfigurationService: typeof import("./configurationService").ConfigurationService = null as any; @@ -60,6 +70,11 @@ export const getBinding: typeof import("./getBinding").getBinding = null as any; export const getBindingOutput: typeof import("./getBinding").getBindingOutput = null as any; utilities.lazyLoad(exports, ["getBinding","getBindingOutput"], () => require("./getBinding")); +export { GetBuildServiceAgentPoolArgs, GetBuildServiceAgentPoolResult, GetBuildServiceAgentPoolOutputArgs } from "./getBuildServiceAgentPool"; +export const getBuildServiceAgentPool: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPool = null as any; +export const getBuildServiceAgentPoolOutput: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPoolOutput = null as any; +utilities.lazyLoad(exports, ["getBuildServiceAgentPool","getBuildServiceAgentPoolOutput"], () => require("./getBuildServiceAgentPool")); + export { GetBuildServiceBuildResultLogArgs, GetBuildServiceBuildResultLogResult, GetBuildServiceBuildResultLogOutputArgs } from "./getBuildServiceBuildResultLog"; export const getBuildServiceBuildResultLog: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLog = null as any; export const getBuildServiceBuildResultLogOutput: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLogOutput = null as any; @@ -85,6 +100,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetConfigurationServiceArgs, GetConfigurationServiceResult, GetConfigurationServiceOutputArgs } from "./getConfigurationService"; export const getConfigurationService: typeof import("./getConfigurationService").getConfigurationService = null as any; export const getConfigurationServiceOutput: typeof import("./getConfigurationService").getConfigurationServiceOutput = null as any; @@ -105,6 +125,11 @@ export const getDeploymentLogFileUrl: typeof import("./getDeploymentLogFileUrl") export const getDeploymentLogFileUrlOutput: typeof import("./getDeploymentLogFileUrl").getDeploymentLogFileUrlOutput = null as any; utilities.lazyLoad(exports, ["getDeploymentLogFileUrl","getDeploymentLogFileUrlOutput"], () => require("./getDeploymentLogFileUrl")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -120,6 +145,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -142,18 +172,24 @@ const _module = { return new App(name, undefined, { urn }) case "azure-native:appplatform/v20220401:Binding": return new Binding(name, undefined, { urn }) + case "azure-native:appplatform/v20220401:BuildServiceAgentPool": + return new BuildServiceAgentPool(name, undefined, { urn }) case "azure-native:appplatform/v20220401:BuildServiceBuilder": return new BuildServiceBuilder(name, undefined, { urn }) case "azure-native:appplatform/v20220401:BuildpackBinding": return new BuildpackBinding(name, undefined, { urn }) case "azure-native:appplatform/v20220401:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20220401:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20220401:ConfigurationService": return new ConfigurationService(name, undefined, { urn }) case "azure-native:appplatform/v20220401:CustomDomain": return new CustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20220401:Deployment": return new Deployment(name, undefined, { urn }) + case "azure-native:appplatform/v20220401:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20220401:Service": return new Service(name, undefined, { urn }) case "azure-native:appplatform/v20220401:ServiceRegistry": diff --git a/sdk/nodejs/appplatform/v20220401/monitoringSetting.ts b/sdk/nodejs/appplatform/v20220401/monitoringSetting.ts new file mode 100644 index 000000000000..bd10729d5b73 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220401/monitoringSetting.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220401:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220501preview/buildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220501preview/buildServiceAgentPool.ts new file mode 100644 index 000000000000..802226dd7e9c --- /dev/null +++ b/sdk/nodejs/appplatform/v20220501preview/buildServiceAgentPool.ts @@ -0,0 +1,122 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export class BuildServiceAgentPool extends pulumi.CustomResource { + /** + * Get an existing BuildServiceAgentPool resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildServiceAgentPool { + return new BuildServiceAgentPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220501preview:BuildServiceAgentPool'; + + /** + * Returns true if the given object is an instance of BuildServiceAgentPool. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is BuildServiceAgentPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BuildServiceAgentPool.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * build service agent pool properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BuildServiceAgentPool resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: BuildServiceAgentPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.buildServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'buildServiceName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined; + resourceInputs["buildServiceName"] = args ? args.buildServiceName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220101preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220301preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220401:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220901preview:BuildServiceAgentPool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BuildServiceAgentPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BuildServiceAgentPool resource. + */ +export interface BuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName?: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * build service agent pool properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220501preview/configServer.ts b/sdk/nodejs/appplatform/v20220501preview/configServer.ts new file mode 100644 index 000000000000..4c2adadad8ab --- /dev/null +++ b/sdk/nodejs/appplatform/v20220501preview/configServer.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220501preview:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { 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/v20220901preview:ConfigServer" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220501preview/getBuildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220501preview/getBuildServiceAgentPool.ts new file mode 100644 index 000000000000..a1b72c99dfb9 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220501preview/getBuildServiceAgentPool.ts @@ -0,0 +1,93 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export function getBuildServiceAgentPool(args: GetBuildServiceAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220501preview:getBuildServiceAgentPool", { + "agentPoolName": args.agentPoolName, + "buildServiceName": args.buildServiceName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetBuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: string; + /** + * The name of the build service resource. + */ + buildServiceName: string; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * The build service agent pool resource + */ +export interface GetBuildServiceAgentPoolResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * build service agent pool properties + */ + readonly properties: outputs.appplatform.v20220501preview.BuildServiceAgentPoolPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220501preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getBuildServiceAgentPoolOutput(args: GetBuildServiceAgentPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getBuildServiceAgentPool(a, opts)) +} + +export interface GetBuildServiceAgentPoolOutputArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220501preview/getConfigServer.ts b/sdk/nodejs/appplatform/v20220501preview/getConfigServer.ts new file mode 100644 index 000000000000..aeb5d2914f2d --- /dev/null +++ b/sdk/nodejs/appplatform/v20220501preview/getConfigServer.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220501preview:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20220501preview.ConfigServerPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220501preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220501preview/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20220501preview/getMonitoringSetting.ts new file mode 100644 index 000000000000..56d5cdbcb6d3 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220501preview/getMonitoringSetting.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220501preview:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20220501preview.MonitoringSettingPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220501preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220501preview/index.ts b/sdk/nodejs/appplatform/v20220501preview/index.ts index a7f00dd66f47..e7b05d410cdc 100644 --- a/sdk/nodejs/appplatform/v20220501preview/index.ts +++ b/sdk/nodejs/appplatform/v20220501preview/index.ts @@ -25,6 +25,11 @@ export type Binding = import("./binding").Binding; export const Binding: typeof import("./binding").Binding = null as any; utilities.lazyLoad(exports, ["Binding"], () => require("./binding")); +export { BuildServiceAgentPoolArgs } from "./buildServiceAgentPool"; +export type BuildServiceAgentPool = import("./buildServiceAgentPool").BuildServiceAgentPool; +export const BuildServiceAgentPool: typeof import("./buildServiceAgentPool").BuildServiceAgentPool = null as any; +utilities.lazyLoad(exports, ["BuildServiceAgentPool"], () => require("./buildServiceAgentPool")); + export { BuildServiceBuilderArgs } from "./buildServiceBuilder"; export type BuildServiceBuilder = import("./buildServiceBuilder").BuildServiceBuilder; export const BuildServiceBuilder: typeof import("./buildServiceBuilder").BuildServiceBuilder = null as any; @@ -40,6 +45,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { ConfigurationServiceArgs } from "./configurationService"; export type ConfigurationService = import("./configurationService").ConfigurationService; export const ConfigurationService: typeof import("./configurationService").ConfigurationService = null as any; @@ -95,6 +105,11 @@ export const getBinding: typeof import("./getBinding").getBinding = null as any; export const getBindingOutput: typeof import("./getBinding").getBindingOutput = null as any; utilities.lazyLoad(exports, ["getBinding","getBindingOutput"], () => require("./getBinding")); +export { GetBuildServiceAgentPoolArgs, GetBuildServiceAgentPoolResult, GetBuildServiceAgentPoolOutputArgs } from "./getBuildServiceAgentPool"; +export const getBuildServiceAgentPool: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPool = null as any; +export const getBuildServiceAgentPoolOutput: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPoolOutput = null as any; +utilities.lazyLoad(exports, ["getBuildServiceAgentPool","getBuildServiceAgentPoolOutput"], () => require("./getBuildServiceAgentPool")); + export { GetBuildServiceBuildResultLogArgs, GetBuildServiceBuildResultLogResult, GetBuildServiceBuildResultLogOutputArgs } from "./getBuildServiceBuildResultLog"; export const getBuildServiceBuildResultLog: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLog = null as any; export const getBuildServiceBuildResultLogOutput: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLogOutput = null as any; @@ -120,6 +135,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetConfigurationServiceArgs, GetConfigurationServiceResult, GetConfigurationServiceOutputArgs } from "./getConfigurationService"; export const getConfigurationService: typeof import("./getConfigurationService").getConfigurationService = null as any; export const getConfigurationServiceOutput: typeof import("./getConfigurationService").getConfigurationServiceOutput = null as any; @@ -155,6 +175,11 @@ export const getGatewayRouteConfig: typeof import("./getGatewayRouteConfig").get export const getGatewayRouteConfigOutput: typeof import("./getGatewayRouteConfig").getGatewayRouteConfigOutput = null as any; utilities.lazyLoad(exports, ["getGatewayRouteConfig","getGatewayRouteConfigOutput"], () => require("./getGatewayRouteConfig")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -175,6 +200,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -206,12 +236,16 @@ const _module = { return new App(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:Binding": return new Binding(name, undefined, { urn }) + case "azure-native:appplatform/v20220501preview:BuildServiceAgentPool": + return new BuildServiceAgentPool(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:BuildServiceBuilder": return new BuildServiceBuilder(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:BuildpackBinding": return new BuildpackBinding(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20220501preview:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:ConfigurationService": return new ConfigurationService(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:CustomDomain": @@ -224,6 +258,8 @@ const _module = { return new GatewayCustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:GatewayRouteConfig": return new GatewayRouteConfig(name, undefined, { urn }) + case "azure-native:appplatform/v20220501preview:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:Service": return new Service(name, undefined, { urn }) case "azure-native:appplatform/v20220501preview:ServiceRegistry": diff --git a/sdk/nodejs/appplatform/v20220501preview/monitoringSetting.ts b/sdk/nodejs/appplatform/v20220501preview/monitoringSetting.ts new file mode 100644 index 000000000000..766679db2482 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220501preview/monitoringSetting.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220501preview:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220901preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220901preview/buildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220901preview/buildServiceAgentPool.ts new file mode 100644 index 000000000000..f7f789cf8c7c --- /dev/null +++ b/sdk/nodejs/appplatform/v20220901preview/buildServiceAgentPool.ts @@ -0,0 +1,122 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export class BuildServiceAgentPool extends pulumi.CustomResource { + /** + * Get an existing BuildServiceAgentPool resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildServiceAgentPool { + return new BuildServiceAgentPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220901preview:BuildServiceAgentPool'; + + /** + * Returns true if the given object is an instance of BuildServiceAgentPool. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is BuildServiceAgentPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BuildServiceAgentPool.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * build service agent pool properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BuildServiceAgentPool resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: BuildServiceAgentPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.buildServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'buildServiceName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined; + resourceInputs["buildServiceName"] = args ? args.buildServiceName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220101preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220301preview:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220401:BuildServiceAgentPool" }, { type: "azure-native:appplatform/v20220501preview:BuildServiceAgentPool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BuildServiceAgentPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BuildServiceAgentPool resource. + */ +export interface BuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName?: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * build service agent pool properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220901preview/configServer.ts b/sdk/nodejs/appplatform/v20220901preview/configServer.ts new file mode 100644 index 000000000000..c3c49496a4ff --- /dev/null +++ b/sdk/nodejs/appplatform/v20220901preview/configServer.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export class ConfigServer extends pulumi.CustomResource { + /** + * Get an existing ConfigServer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConfigServer { + return new ConfigServer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220901preview:ConfigServer'; + + /** + * Returns true if the given object is an instance of ConfigServer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ConfigServer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ConfigServer.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Config Server resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ConfigServer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ConfigServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:ConfigServer" }, { 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" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ConfigServer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ConfigServer resource. + */ +export interface ConfigServerArgs { + /** + * Properties of the Config Server resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220901preview/getBuildServiceAgentPool.ts b/sdk/nodejs/appplatform/v20220901preview/getBuildServiceAgentPool.ts new file mode 100644 index 000000000000..be417212cf81 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220901preview/getBuildServiceAgentPool.ts @@ -0,0 +1,93 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The build service agent pool resource + */ +export function getBuildServiceAgentPool(args: GetBuildServiceAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220901preview:getBuildServiceAgentPool", { + "agentPoolName": args.agentPoolName, + "buildServiceName": args.buildServiceName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetBuildServiceAgentPoolArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: string; + /** + * The name of the build service resource. + */ + buildServiceName: string; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * The build service agent pool resource + */ +export interface GetBuildServiceAgentPoolResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * build service agent pool properties + */ + readonly properties: outputs.appplatform.v20220901preview.BuildServiceAgentPoolPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220901preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getBuildServiceAgentPoolOutput(args: GetBuildServiceAgentPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getBuildServiceAgentPool(a, opts)) +} + +export interface GetBuildServiceAgentPoolOutputArgs { + /** + * The name of the build service agent pool resource. + */ + agentPoolName: pulumi.Input; + /** + * The name of the build service resource. + */ + buildServiceName: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220901preview/getConfigServer.ts b/sdk/nodejs/appplatform/v20220901preview/getConfigServer.ts new file mode 100644 index 000000000000..4fbdcae22297 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220901preview/getConfigServer.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Config Server resource + */ +export function getConfigServer(args: GetConfigServerArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220901preview:getConfigServer", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetConfigServerArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Config Server resource + */ +export interface GetConfigServerResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Config Server resource + */ + readonly properties: outputs.appplatform.v20220901preview.ConfigServerPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220901preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getConfigServerOutput(args: GetConfigServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getConfigServer(a, opts)) +} + +export interface GetConfigServerOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220901preview/getMonitoringSetting.ts b/sdk/nodejs/appplatform/v20220901preview/getMonitoringSetting.ts new file mode 100644 index 000000000000..d0bb8e24abc0 --- /dev/null +++ b/sdk/nodejs/appplatform/v20220901preview/getMonitoringSetting.ts @@ -0,0 +1,75 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export function getMonitoringSetting(args: GetMonitoringSettingArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + return pulumi.runtime.invoke("azure-native:appplatform/v20220901preview:getMonitoringSetting", { + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetMonitoringSettingArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Service resource. + */ + serviceName: string; +} + +/** + * Monitoring Setting resource + */ +export interface GetMonitoringSettingResult { + /** + * Fully qualified resource Id for the resource. + */ + readonly id: string; + /** + * The name of the resource. + */ + readonly name: string; + /** + * Properties of the Monitoring Setting resource + */ + readonly properties: outputs.appplatform.v20220901preview.MonitoringSettingPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.appplatform.v20220901preview.SystemDataResponse; + /** + * The type of the resource. + */ + readonly type: string; +} + +export function getMonitoringSettingOutput(args: GetMonitoringSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply(a => getMonitoringSetting(a, opts)) +} + +export interface GetMonitoringSettingOutputArgs { + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/appplatform/v20220901preview/index.ts b/sdk/nodejs/appplatform/v20220901preview/index.ts index 4607c2dbe51d..183f4172d029 100644 --- a/sdk/nodejs/appplatform/v20220901preview/index.ts +++ b/sdk/nodejs/appplatform/v20220901preview/index.ts @@ -25,6 +25,11 @@ export type Binding = import("./binding").Binding; export const Binding: typeof import("./binding").Binding = null as any; utilities.lazyLoad(exports, ["Binding"], () => require("./binding")); +export { BuildServiceAgentPoolArgs } from "./buildServiceAgentPool"; +export type BuildServiceAgentPool = import("./buildServiceAgentPool").BuildServiceAgentPool; +export const BuildServiceAgentPool: typeof import("./buildServiceAgentPool").BuildServiceAgentPool = null as any; +utilities.lazyLoad(exports, ["BuildServiceAgentPool"], () => require("./buildServiceAgentPool")); + export { BuildServiceBuilderArgs } from "./buildServiceBuilder"; export type BuildServiceBuilder = import("./buildServiceBuilder").BuildServiceBuilder; export const BuildServiceBuilder: typeof import("./buildServiceBuilder").BuildServiceBuilder = null as any; @@ -40,6 +45,11 @@ export type Certificate = import("./certificate").Certificate; export const Certificate: typeof import("./certificate").Certificate = null as any; utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); +export { ConfigServerArgs } from "./configServer"; +export type ConfigServer = import("./configServer").ConfigServer; +export const ConfigServer: typeof import("./configServer").ConfigServer = null as any; +utilities.lazyLoad(exports, ["ConfigServer"], () => require("./configServer")); + export { ConfigurationServiceArgs } from "./configurationService"; export type ConfigurationService = import("./configurationService").ConfigurationService; export const ConfigurationService: typeof import("./configurationService").ConfigurationService = null as any; @@ -95,6 +105,11 @@ export const getBinding: typeof import("./getBinding").getBinding = null as any; export const getBindingOutput: typeof import("./getBinding").getBindingOutput = null as any; utilities.lazyLoad(exports, ["getBinding","getBindingOutput"], () => require("./getBinding")); +export { GetBuildServiceAgentPoolArgs, GetBuildServiceAgentPoolResult, GetBuildServiceAgentPoolOutputArgs } from "./getBuildServiceAgentPool"; +export const getBuildServiceAgentPool: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPool = null as any; +export const getBuildServiceAgentPoolOutput: typeof import("./getBuildServiceAgentPool").getBuildServiceAgentPoolOutput = null as any; +utilities.lazyLoad(exports, ["getBuildServiceAgentPool","getBuildServiceAgentPoolOutput"], () => require("./getBuildServiceAgentPool")); + export { GetBuildServiceBuildResultLogArgs, GetBuildServiceBuildResultLogResult, GetBuildServiceBuildResultLogOutputArgs } from "./getBuildServiceBuildResultLog"; export const getBuildServiceBuildResultLog: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLog = null as any; export const getBuildServiceBuildResultLogOutput: typeof import("./getBuildServiceBuildResultLog").getBuildServiceBuildResultLogOutput = null as any; @@ -120,6 +135,11 @@ export const getCertificate: typeof import("./getCertificate").getCertificate = export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); +export { GetConfigServerArgs, GetConfigServerResult, GetConfigServerOutputArgs } from "./getConfigServer"; +export const getConfigServer: typeof import("./getConfigServer").getConfigServer = null as any; +export const getConfigServerOutput: typeof import("./getConfigServer").getConfigServerOutput = null as any; +utilities.lazyLoad(exports, ["getConfigServer","getConfigServerOutput"], () => require("./getConfigServer")); + export { GetConfigurationServiceArgs, GetConfigurationServiceResult, GetConfigurationServiceOutputArgs } from "./getConfigurationService"; export const getConfigurationService: typeof import("./getConfigurationService").getConfigurationService = null as any; export const getConfigurationServiceOutput: typeof import("./getConfigurationService").getConfigurationServiceOutput = null as any; @@ -160,6 +180,11 @@ export const getGatewayRouteConfig: typeof import("./getGatewayRouteConfig").get export const getGatewayRouteConfigOutput: typeof import("./getGatewayRouteConfig").getGatewayRouteConfigOutput = null as any; utilities.lazyLoad(exports, ["getGatewayRouteConfig","getGatewayRouteConfigOutput"], () => require("./getGatewayRouteConfig")); +export { GetMonitoringSettingArgs, GetMonitoringSettingResult, GetMonitoringSettingOutputArgs } from "./getMonitoringSetting"; +export const getMonitoringSetting: typeof import("./getMonitoringSetting").getMonitoringSetting = null as any; +export const getMonitoringSettingOutput: typeof import("./getMonitoringSetting").getMonitoringSettingOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringSetting","getMonitoringSettingOutput"], () => require("./getMonitoringSetting")); + export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; export const getService: typeof import("./getService").getService = null as any; export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; @@ -185,6 +210,11 @@ export const listServiceTestKeys: typeof import("./listServiceTestKeys").listSer export const listServiceTestKeysOutput: typeof import("./listServiceTestKeys").listServiceTestKeysOutput = null as any; utilities.lazyLoad(exports, ["listServiceTestKeys","listServiceTestKeysOutput"], () => require("./listServiceTestKeys")); +export { MonitoringSettingArgs } from "./monitoringSetting"; +export type MonitoringSetting = import("./monitoringSetting").MonitoringSetting; +export const MonitoringSetting: typeof import("./monitoringSetting").MonitoringSetting = null as any; +utilities.lazyLoad(exports, ["MonitoringSetting"], () => require("./monitoringSetting")); + export { ServiceArgs } from "./service"; export type Service = import("./service").Service; export const Service: typeof import("./service").Service = null as any; @@ -216,12 +246,16 @@ const _module = { return new App(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:Binding": return new Binding(name, undefined, { urn }) + case "azure-native:appplatform/v20220901preview:BuildServiceAgentPool": + return new BuildServiceAgentPool(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:BuildServiceBuilder": return new BuildServiceBuilder(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:BuildpackBinding": return new BuildpackBinding(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:Certificate": return new Certificate(name, undefined, { urn }) + case "azure-native:appplatform/v20220901preview:ConfigServer": + return new ConfigServer(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:ConfigurationService": return new ConfigurationService(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:CustomDomain": @@ -234,6 +268,8 @@ const _module = { return new GatewayCustomDomain(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:GatewayRouteConfig": return new GatewayRouteConfig(name, undefined, { urn }) + case "azure-native:appplatform/v20220901preview:MonitoringSetting": + return new MonitoringSetting(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:Service": return new Service(name, undefined, { urn }) case "azure-native:appplatform/v20220901preview:ServiceRegistry": diff --git a/sdk/nodejs/appplatform/v20220901preview/monitoringSetting.ts b/sdk/nodejs/appplatform/v20220901preview/monitoringSetting.ts new file mode 100644 index 000000000000..3233ef00c15a --- /dev/null +++ b/sdk/nodejs/appplatform/v20220901preview/monitoringSetting.ts @@ -0,0 +1,109 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Monitoring Setting resource + */ +export class MonitoringSetting extends pulumi.CustomResource { + /** + * Get an existing MonitoringSetting resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MonitoringSetting { + return new MonitoringSetting(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:appplatform/v20220901preview:MonitoringSetting'; + + /** + * Returns true if the given object is an instance of MonitoringSetting. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MonitoringSetting { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringSetting.__pulumiType; + } + + /** + * The name of the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the Monitoring Setting resource + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MonitoringSetting resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MonitoringSettingArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serviceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:appplatform:MonitoringSetting" }, { type: "azure-native:appplatform/v20200701:MonitoringSetting" }, { type: "azure-native:appplatform/v20201101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210601preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20210901preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220101preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220301preview:MonitoringSetting" }, { type: "azure-native:appplatform/v20220401:MonitoringSetting" }, { type: "azure-native:appplatform/v20220501preview:MonitoringSetting" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MonitoringSetting.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MonitoringSetting resource. + */ +export interface MonitoringSettingArgs { + /** + * Properties of the Monitoring Setting resource + */ + properties?: pulumi.Input; + /** + * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Service resource. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/dbforpostgresql/index.ts b/sdk/nodejs/dbforpostgresql/index.ts index bd9f9d30bdb7..9829fde29973 100644 --- a/sdk/nodejs/dbforpostgresql/index.ts +++ b/sdk/nodejs/dbforpostgresql/index.ts @@ -115,7 +115,6 @@ import * as v20210601 from "./v20210601"; import * as v20210601preview from "./v20210601preview"; import * as v20210615privatepreview from "./v20210615privatepreview"; import * as v20220120preview from "./v20220120preview"; -import * as v20220308preview from "./v20220308preview"; import * as v20220308privatepreview from "./v20220308privatepreview"; export { @@ -134,7 +133,6 @@ export { v20210601preview, v20210615privatepreview, v20220120preview, - v20220308preview, v20220308privatepreview, }; diff --git a/sdk/nodejs/dbforpostgresql/v20200214preview/configuration.ts b/sdk/nodejs/dbforpostgresql/v20200214preview/configuration.ts index 530793d04ffe..9d80d9e33e72 100644 --- a/sdk/nodejs/dbforpostgresql/v20200214preview/configuration.ts +++ b/sdk/nodejs/dbforpostgresql/v20200214preview/configuration.ts @@ -106,7 +106,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220308preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20200214preview/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20200214preview/firewallRule.ts index caffa1502b9a..d92a1bbb37a1 100644 --- a/sdk/nodejs/dbforpostgresql/v20200214preview/firewallRule.ts +++ b/sdk/nodejs/dbforpostgresql/v20200214preview/firewallRule.ts @@ -88,7 +88,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220308preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20200214preview/server.ts b/sdk/nodejs/dbforpostgresql/v20200214preview/server.ts index ce211185c0ae..e1208b7f085f 100644 --- a/sdk/nodejs/dbforpostgresql/v20200214preview/server.ts +++ b/sdk/nodejs/dbforpostgresql/v20200214preview/server.ts @@ -227,7 +227,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }, { type: "azure-native:dbforpostgresql/v20220308preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20200214privatepreview/configuration.ts b/sdk/nodejs/dbforpostgresql/v20200214privatepreview/configuration.ts index 9240cf9c6074..03098caef767 100644 --- a/sdk/nodejs/dbforpostgresql/v20200214privatepreview/configuration.ts +++ b/sdk/nodejs/dbforpostgresql/v20200214privatepreview/configuration.ts @@ -106,7 +106,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220308preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20200214privatepreview/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20200214privatepreview/firewallRule.ts index c3697934e2ed..4e02169d732f 100644 --- a/sdk/nodejs/dbforpostgresql/v20200214privatepreview/firewallRule.ts +++ b/sdk/nodejs/dbforpostgresql/v20200214privatepreview/firewallRule.ts @@ -88,7 +88,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220308preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20200214privatepreview/server.ts b/sdk/nodejs/dbforpostgresql/v20200214privatepreview/server.ts index 98a5cc4b3fa0..c63ab2535c6d 100644 --- a/sdk/nodejs/dbforpostgresql/v20200214privatepreview/server.ts +++ b/sdk/nodejs/dbforpostgresql/v20200214privatepreview/server.ts @@ -203,7 +203,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }, { type: "azure-native:dbforpostgresql/v20220308preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20201105preview/database.ts b/sdk/nodejs/dbforpostgresql/v20201105preview/database.ts index 47ed742fcc1c..b1ca37469c43 100644 --- a/sdk/nodejs/dbforpostgresql/v20201105preview/database.ts +++ b/sdk/nodejs/dbforpostgresql/v20201105preview/database.ts @@ -82,7 +82,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20210601:Database" }, { type: "azure-native:dbforpostgresql/v20210601preview:Database" }, { type: "azure-native:dbforpostgresql/v20220120preview:Database" }, { type: "azure-native:dbforpostgresql/v20220308preview:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20210601:Database" }, { type: "azure-native:dbforpostgresql/v20210601preview:Database" }, { type: "azure-native:dbforpostgresql/v20220120preview:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210410privatepreview/configuration.ts b/sdk/nodejs/dbforpostgresql/v20210410privatepreview/configuration.ts index 0146320d222d..b2ff9a3d90d4 100644 --- a/sdk/nodejs/dbforpostgresql/v20210410privatepreview/configuration.ts +++ b/sdk/nodejs/dbforpostgresql/v20210410privatepreview/configuration.ts @@ -106,7 +106,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220308preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210410privatepreview/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20210410privatepreview/firewallRule.ts index 5a35418285ed..739f581f8c35 100644 --- a/sdk/nodejs/dbforpostgresql/v20210410privatepreview/firewallRule.ts +++ b/sdk/nodejs/dbforpostgresql/v20210410privatepreview/firewallRule.ts @@ -88,7 +88,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220308preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210410privatepreview/server.ts b/sdk/nodejs/dbforpostgresql/v20210410privatepreview/server.ts index 06c664031751..5e44baab645b 100644 --- a/sdk/nodejs/dbforpostgresql/v20210410privatepreview/server.ts +++ b/sdk/nodejs/dbforpostgresql/v20210410privatepreview/server.ts @@ -203,7 +203,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }, { type: "azure-native:dbforpostgresql/v20220308preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601/configuration.ts b/sdk/nodejs/dbforpostgresql/v20210601/configuration.ts index 3eb4de53d636..069c88fc840a 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601/configuration.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601/configuration.ts @@ -145,7 +145,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220308preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601/database.ts b/sdk/nodejs/dbforpostgresql/v20210601/database.ts index 174e252e9908..40e4479b2834 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601/database.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601/database.ts @@ -91,7 +91,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20201105preview:Database" }, { type: "azure-native:dbforpostgresql/v20210601preview:Database" }, { type: "azure-native:dbforpostgresql/v20220120preview:Database" }, { type: "azure-native:dbforpostgresql/v20220308preview:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20201105preview:Database" }, { type: "azure-native:dbforpostgresql/v20210601preview:Database" }, { type: "azure-native:dbforpostgresql/v20220120preview:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20210601/firewallRule.ts index d9d13515c82f..406557cab066 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601/firewallRule.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601/firewallRule.ts @@ -97,7 +97,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220308preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601/server.ts b/sdk/nodejs/dbforpostgresql/v20210601/server.ts index d0287f29baeb..9aae3ecf5ac0 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601/server.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601/server.ts @@ -163,7 +163,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }, { type: "azure-native:dbforpostgresql/v20220308preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601preview/configuration.ts b/sdk/nodejs/dbforpostgresql/v20210601preview/configuration.ts index 43a622269864..3ef4250536f9 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601preview/configuration.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601preview/configuration.ts @@ -145,7 +145,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220308preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601preview/database.ts b/sdk/nodejs/dbforpostgresql/v20210601preview/database.ts index 0fd0549007d7..bbc6ed050107 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601preview/database.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601preview/database.ts @@ -91,7 +91,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20201105preview:Database" }, { type: "azure-native:dbforpostgresql/v20210601:Database" }, { type: "azure-native:dbforpostgresql/v20220120preview:Database" }, { type: "azure-native:dbforpostgresql/v20220308preview:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20201105preview:Database" }, { type: "azure-native:dbforpostgresql/v20210601:Database" }, { type: "azure-native:dbforpostgresql/v20220120preview:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601preview/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20210601preview/firewallRule.ts index c80491015471..7271a0bc1c1e 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601preview/firewallRule.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601preview/firewallRule.ts @@ -97,7 +97,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220308preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210601preview/server.ts b/sdk/nodejs/dbforpostgresql/v20210601preview/server.ts index 55faa1a38138..491ea69bbdfb 100644 --- a/sdk/nodejs/dbforpostgresql/v20210601preview/server.ts +++ b/sdk/nodejs/dbforpostgresql/v20210601preview/server.ts @@ -163,7 +163,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }, { type: "azure-native:dbforpostgresql/v20220308preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210615privatepreview/configuration.ts b/sdk/nodejs/dbforpostgresql/v20210615privatepreview/configuration.ts index 54e5157c6077..5be8ba508f28 100644 --- a/sdk/nodejs/dbforpostgresql/v20210615privatepreview/configuration.ts +++ b/sdk/nodejs/dbforpostgresql/v20210615privatepreview/configuration.ts @@ -115,7 +115,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220308preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210615privatepreview/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20210615privatepreview/firewallRule.ts index 69456b33c9fb..f8f829646a21 100644 --- a/sdk/nodejs/dbforpostgresql/v20210615privatepreview/firewallRule.ts +++ b/sdk/nodejs/dbforpostgresql/v20210615privatepreview/firewallRule.ts @@ -97,7 +97,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220308preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20210615privatepreview/server.ts b/sdk/nodejs/dbforpostgresql/v20210615privatepreview/server.ts index e8bec6c43e1a..75397a9a541c 100644 --- a/sdk/nodejs/dbforpostgresql/v20210615privatepreview/server.ts +++ b/sdk/nodejs/dbforpostgresql/v20210615privatepreview/server.ts @@ -169,7 +169,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }, { type: "azure-native:dbforpostgresql/v20220308preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20220120preview/configuration.ts b/sdk/nodejs/dbforpostgresql/v20220120preview/configuration.ts index b3c0a53ee52a..5f1b74f9e382 100644 --- a/sdk/nodejs/dbforpostgresql/v20220120preview/configuration.ts +++ b/sdk/nodejs/dbforpostgresql/v20220120preview/configuration.ts @@ -145,7 +145,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220308preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20220120preview/database.ts b/sdk/nodejs/dbforpostgresql/v20220120preview/database.ts index be75d156038f..e29e318aa1f9 100644 --- a/sdk/nodejs/dbforpostgresql/v20220120preview/database.ts +++ b/sdk/nodejs/dbforpostgresql/v20220120preview/database.ts @@ -91,7 +91,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20201105preview:Database" }, { type: "azure-native:dbforpostgresql/v20210601:Database" }, { type: "azure-native:dbforpostgresql/v20210601preview:Database" }, { type: "azure-native:dbforpostgresql/v20220308preview:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20201105preview:Database" }, { type: "azure-native:dbforpostgresql/v20210601:Database" }, { type: "azure-native:dbforpostgresql/v20210601preview:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20220120preview/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20220120preview/firewallRule.ts index 9a195cc813dd..8bce84bb0be4 100644 --- a/sdk/nodejs/dbforpostgresql/v20220120preview/firewallRule.ts +++ b/sdk/nodejs/dbforpostgresql/v20220120preview/firewallRule.ts @@ -97,7 +97,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220308preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20220120preview/server.ts b/sdk/nodejs/dbforpostgresql/v20220120preview/server.ts index 95fca5c185ce..43d98c1c9cc3 100644 --- a/sdk/nodejs/dbforpostgresql/v20220120preview/server.ts +++ b/sdk/nodejs/dbforpostgresql/v20220120preview/server.ts @@ -163,7 +163,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220308preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/administrator.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/administrator.ts deleted file mode 100644 index bdcd99c25a26..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/administrator.ts +++ /dev/null @@ -1,137 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents an Active Directory administrator. - */ -export class Administrator extends pulumi.CustomResource { - /** - * Get an existing Administrator resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Administrator { - return new Administrator(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:dbforpostgresql/v20220308preview:Administrator'; - - /** - * Returns true if the given object is an instance of Administrator. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is Administrator { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Administrator.__pulumiType; - } - - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The objectId of the Active Directory administrator. - */ - public readonly objectId!: pulumi.Output; - /** - * Active Directory administrator principal name. - */ - public readonly principalName!: pulumi.Output; - /** - * The principal type used to represent the type of Active Directory Administrator. - */ - public readonly principalType!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The tenantId of the Active Directory administrator. - */ - public readonly tenantId!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a Administrator resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: AdministratorArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.serverName === undefined) && !opts.urn) { - throw new Error("Missing required property 'serverName'"); - } - resourceInputs["objectId"] = args ? args.objectId : undefined; - resourceInputs["principalName"] = args ? args.principalName : undefined; - resourceInputs["principalType"] = args ? args.principalType : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["serverName"] = args ? args.serverName : undefined; - resourceInputs["tenantId"] = args ? args.tenantId : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["name"] = undefined /*out*/; - resourceInputs["objectId"] = undefined /*out*/; - resourceInputs["principalName"] = undefined /*out*/; - resourceInputs["principalType"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tenantId"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - super(Administrator.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Administrator resource. - */ -export interface AdministratorArgs { - /** - * Guid of the objectId for the administrator. - */ - objectId?: pulumi.Input; - /** - * Active Directory administrator principal name. - */ - principalName?: pulumi.Input; - /** - * The principal type used to represent the type of Active Directory Administrator. - */ - principalType?: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; - /** - * The tenantId of the Active Directory administrator. - */ - tenantId?: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/configuration.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/configuration.ts deleted file mode 100644 index fe21bc142449..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/configuration.ts +++ /dev/null @@ -1,178 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a Configuration. - */ -export class Configuration extends pulumi.CustomResource { - /** - * Get an existing Configuration resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Configuration { - return new Configuration(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:dbforpostgresql/v20220308preview:Configuration'; - - /** - * Returns true if the given object is an instance of Configuration. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is Configuration { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Configuration.__pulumiType; - } - - /** - * Allowed values of the configuration. - */ - public /*out*/ readonly allowedValues!: pulumi.Output; - /** - * Data type of the configuration. - */ - public /*out*/ readonly dataType!: pulumi.Output; - /** - * Default value of the configuration. - */ - public /*out*/ readonly defaultValue!: pulumi.Output; - /** - * Description of the configuration. - */ - public /*out*/ readonly description!: pulumi.Output; - /** - * Configuration documentation link. - */ - public /*out*/ readonly documentationLink!: pulumi.Output; - /** - * Configuration is pending restart or not. - */ - public /*out*/ readonly isConfigPendingRestart!: pulumi.Output; - /** - * Configuration dynamic or static. - */ - public /*out*/ readonly isDynamicConfig!: pulumi.Output; - /** - * Configuration read-only or not. - */ - public /*out*/ readonly isReadOnly!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Source of the configuration. - */ - public readonly source!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - /** - * Configuration unit. - */ - public /*out*/ readonly unit!: pulumi.Output; - /** - * Value of the configuration. - */ - public readonly value!: pulumi.Output; - - /** - * Create a Configuration resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: ConfigurationArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.serverName === undefined) && !opts.urn) { - throw new Error("Missing required property 'serverName'"); - } - resourceInputs["configurationName"] = args ? args.configurationName : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["serverName"] = args ? args.serverName : undefined; - resourceInputs["source"] = args ? args.source : undefined; - resourceInputs["value"] = args ? args.value : undefined; - resourceInputs["allowedValues"] = undefined /*out*/; - resourceInputs["dataType"] = undefined /*out*/; - resourceInputs["defaultValue"] = undefined /*out*/; - resourceInputs["description"] = undefined /*out*/; - resourceInputs["documentationLink"] = undefined /*out*/; - resourceInputs["isConfigPendingRestart"] = undefined /*out*/; - resourceInputs["isDynamicConfig"] = undefined /*out*/; - resourceInputs["isReadOnly"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - resourceInputs["unit"] = undefined /*out*/; - } else { - resourceInputs["allowedValues"] = undefined /*out*/; - resourceInputs["dataType"] = undefined /*out*/; - resourceInputs["defaultValue"] = undefined /*out*/; - resourceInputs["description"] = undefined /*out*/; - resourceInputs["documentationLink"] = undefined /*out*/; - resourceInputs["isConfigPendingRestart"] = undefined /*out*/; - resourceInputs["isDynamicConfig"] = undefined /*out*/; - resourceInputs["isReadOnly"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["source"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - resourceInputs["unit"] = undefined /*out*/; - resourceInputs["value"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601:Configuration" }, { type: "azure-native:dbforpostgresql/v20210601preview:Configuration" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Configuration" }, { type: "azure-native:dbforpostgresql/v20220120preview:Configuration" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Configuration.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Configuration resource. - */ -export interface ConfigurationArgs { - /** - * The name of the server configuration. - */ - configurationName?: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; - /** - * Source of the configuration. - */ - source?: pulumi.Input; - /** - * Value of the configuration. - */ - value?: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/database.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/database.ts deleted file mode 100644 index 21a49700bf42..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/database.ts +++ /dev/null @@ -1,124 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a Database. - */ -export class Database extends pulumi.CustomResource { - /** - * Get an existing Database resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Database { - return new Database(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:dbforpostgresql/v20220308preview:Database'; - - /** - * Returns true if the given object is an instance of Database. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is Database { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Database.__pulumiType; - } - - /** - * The charset of the database. - */ - public readonly charset!: pulumi.Output; - /** - * The collation of the database. - */ - public readonly collation!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a Database resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: DatabaseArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.serverName === undefined) && !opts.urn) { - throw new Error("Missing required property 'serverName'"); - } - resourceInputs["charset"] = args ? args.charset : undefined; - resourceInputs["collation"] = args ? args.collation : undefined; - resourceInputs["databaseName"] = args ? args.databaseName : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["serverName"] = args ? args.serverName : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["charset"] = undefined /*out*/; - resourceInputs["collation"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20201105preview:Database" }, { type: "azure-native:dbforpostgresql/v20210601:Database" }, { type: "azure-native:dbforpostgresql/v20210601preview:Database" }, { type: "azure-native:dbforpostgresql/v20220120preview:Database" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Database.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Database resource. - */ -export interface DatabaseArgs { - /** - * The charset of the database. - */ - charset?: pulumi.Input; - /** - * The collation of the database. - */ - collation?: pulumi.Input; - /** - * The name of the database. - */ - databaseName?: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/firewallRule.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/firewallRule.ts deleted file mode 100644 index 58a032e8e580..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/firewallRule.ts +++ /dev/null @@ -1,130 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a server firewall rule. - */ -export class FirewallRule extends pulumi.CustomResource { - /** - * Get an existing FirewallRule resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FirewallRule { - return new FirewallRule(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:dbforpostgresql/v20220308preview:FirewallRule'; - - /** - * Returns true if the given object is an instance of FirewallRule. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is FirewallRule { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === FirewallRule.__pulumiType; - } - - /** - * The end IP address of the server firewall rule. Must be IPv4 format. - */ - public readonly endIpAddress!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The start IP address of the server firewall rule. Must be IPv4 format. - */ - public readonly startIpAddress!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a FirewallRule resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: FirewallRuleArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.endIpAddress === undefined) && !opts.urn) { - throw new Error("Missing required property 'endIpAddress'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.serverName === undefined) && !opts.urn) { - throw new Error("Missing required property 'serverName'"); - } - if ((!args || args.startIpAddress === undefined) && !opts.urn) { - throw new Error("Missing required property 'startIpAddress'"); - } - resourceInputs["endIpAddress"] = args ? args.endIpAddress : undefined; - resourceInputs["firewallRuleName"] = args ? args.firewallRuleName : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["serverName"] = args ? args.serverName : undefined; - resourceInputs["startIpAddress"] = args ? args.startIpAddress : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["endIpAddress"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["startIpAddress"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210601preview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule" }, { type: "azure-native:dbforpostgresql/v20220120preview:FirewallRule" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(FirewallRule.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a FirewallRule resource. - */ -export interface FirewallRuleArgs { - /** - * The end IP address of the server firewall rule. Must be IPv4 format. - */ - endIpAddress: pulumi.Input; - /** - * The name of the server firewall rule. - */ - firewallRuleName?: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; - /** - * The start IP address of the server firewall rule. Must be IPv4 format. - */ - startIpAddress: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/getAdministrator.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/getAdministrator.ts deleted file mode 100644 index e3422332909a..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/getAdministrator.ts +++ /dev/null @@ -1,96 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents an Active Directory administrator. - */ -export function getAdministrator(args: GetAdministratorArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:dbforpostgresql/v20220308preview:getAdministrator", { - "objectId": args.objectId, - "resourceGroupName": args.resourceGroupName, - "serverName": args.serverName, - }, opts); -} - -export interface GetAdministratorArgs { - /** - * Guid of the objectId for the administrator. - */ - objectId: string; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: string; - /** - * The name of the server. - */ - serverName: string; -} - -/** - * Represents an Active Directory administrator. - */ -export interface GetAdministratorResult { - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * The objectId of the Active Directory administrator. - */ - readonly objectId?: string; - /** - * Active Directory administrator principal name. - */ - readonly principalName?: string; - /** - * The principal type used to represent the type of Active Directory Administrator. - */ - readonly principalType?: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.dbforpostgresql.v20220308preview.SystemDataResponse; - /** - * The tenantId of the Active Directory administrator. - */ - readonly tenantId?: string; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} - -export function getAdministratorOutput(args: GetAdministratorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getAdministrator(a, opts)) -} - -export interface GetAdministratorOutputArgs { - /** - * Guid of the objectId for the administrator. - */ - objectId: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/getConfiguration.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/getConfiguration.ts deleted file mode 100644 index 2ee8907900f9..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/getConfiguration.ts +++ /dev/null @@ -1,124 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a Configuration. - */ -export function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:dbforpostgresql/v20220308preview:getConfiguration", { - "configurationName": args.configurationName, - "resourceGroupName": args.resourceGroupName, - "serverName": args.serverName, - }, opts); -} - -export interface GetConfigurationArgs { - /** - * The name of the server configuration. - */ - configurationName: string; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: string; - /** - * The name of the server. - */ - serverName: string; -} - -/** - * Represents a Configuration. - */ -export interface GetConfigurationResult { - /** - * Allowed values of the configuration. - */ - readonly allowedValues: string; - /** - * Data type of the configuration. - */ - readonly dataType: string; - /** - * Default value of the configuration. - */ - readonly defaultValue: string; - /** - * Description of the configuration. - */ - readonly description: string; - /** - * Configuration documentation link. - */ - readonly documentationLink: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * Configuration is pending restart or not. - */ - readonly isConfigPendingRestart: boolean; - /** - * Configuration dynamic or static. - */ - readonly isDynamicConfig: boolean; - /** - * Configuration read-only or not. - */ - readonly isReadOnly: boolean; - /** - * The name of the resource - */ - readonly name: string; - /** - * Source of the configuration. - */ - readonly source?: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.dbforpostgresql.v20220308preview.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; - /** - * Configuration unit. - */ - readonly unit: string; - /** - * Value of the configuration. - */ - readonly value?: string; -} - -export function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getConfiguration(a, opts)) -} - -export interface GetConfigurationOutputArgs { - /** - * The name of the server configuration. - */ - configurationName: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/getDatabase.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/getDatabase.ts deleted file mode 100644 index b67f19691946..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/getDatabase.ts +++ /dev/null @@ -1,88 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a Database. - */ -export function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:dbforpostgresql/v20220308preview:getDatabase", { - "databaseName": args.databaseName, - "resourceGroupName": args.resourceGroupName, - "serverName": args.serverName, - }, opts); -} - -export interface GetDatabaseArgs { - /** - * The name of the database. - */ - databaseName: string; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: string; - /** - * The name of the server. - */ - serverName: string; -} - -/** - * Represents a Database. - */ -export interface GetDatabaseResult { - /** - * The charset of the database. - */ - readonly charset?: string; - /** - * The collation of the database. - */ - readonly collation?: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.dbforpostgresql.v20220308preview.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} - -export function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getDatabase(a, opts)) -} - -export interface GetDatabaseOutputArgs { - /** - * The name of the database. - */ - databaseName: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/getFirewallRule.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/getFirewallRule.ts deleted file mode 100644 index 32980f40ac61..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/getFirewallRule.ts +++ /dev/null @@ -1,88 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a server firewall rule. - */ -export function getFirewallRule(args: GetFirewallRuleArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:dbforpostgresql/v20220308preview:getFirewallRule", { - "firewallRuleName": args.firewallRuleName, - "resourceGroupName": args.resourceGroupName, - "serverName": args.serverName, - }, opts); -} - -export interface GetFirewallRuleArgs { - /** - * The name of the server firewall rule. - */ - firewallRuleName: string; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: string; - /** - * The name of the server. - */ - serverName: string; -} - -/** - * Represents a server firewall rule. - */ -export interface GetFirewallRuleResult { - /** - * The end IP address of the server firewall rule. Must be IPv4 format. - */ - readonly endIpAddress: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * The start IP address of the server firewall rule. Must be IPv4 format. - */ - readonly startIpAddress: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.dbforpostgresql.v20220308preview.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} - -export function getFirewallRuleOutput(args: GetFirewallRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getFirewallRule(a, opts)) -} - -export interface GetFirewallRuleOutputArgs { - /** - * The name of the server firewall rule. - */ - firewallRuleName: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/getServer.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/getServer.ts deleted file mode 100644 index cb61893ed185..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/getServer.ts +++ /dev/null @@ -1,147 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a server. - */ -export function getServer(args: GetServerArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:dbforpostgresql/v20220308preview:getServer", { - "resourceGroupName": args.resourceGroupName, - "serverName": args.serverName, - }, opts); -} - -export interface GetServerArgs { - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: string; - /** - * The name of the server. - */ - serverName: string; -} - -/** - * Represents a server. - */ -export interface GetServerResult { - /** - * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - */ - readonly administratorLogin?: string; - /** - * AuthConfig properties of a server. - */ - readonly authConfig?: outputs.dbforpostgresql.v20220308preview.AuthConfigResponse; - /** - * availability zone information of the server. - */ - readonly availabilityZone?: string; - /** - * Backup properties of a server. - */ - readonly backup?: outputs.dbforpostgresql.v20220308preview.BackupResponse; - /** - * Data encryption properties of a server. - */ - readonly dataEncryption?: outputs.dbforpostgresql.v20220308preview.DataEncryptionResponse; - /** - * The fully qualified domain name of a server. - */ - readonly fullyQualifiedDomainName: string; - /** - * High availability properties of a server. - */ - readonly highAvailability?: outputs.dbforpostgresql.v20220308preview.HighAvailabilityResponse; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * Describes the identity of the application. - */ - readonly identity?: outputs.dbforpostgresql.v20220308preview.UserAssignedIdentityResponse; - /** - * The geo-location where the resource lives - */ - readonly location: string; - /** - * Maintenance window properties of a server. - */ - readonly maintenanceWindow?: outputs.dbforpostgresql.v20220308preview.MaintenanceWindowResponse; - /** - * The minor version of the server. - */ - readonly minorVersion: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Network properties of a server. - */ - readonly network?: outputs.dbforpostgresql.v20220308preview.NetworkResponse; - /** - * Replicas allowed for a server. - */ - readonly replicaCapacity?: number; - /** - * Replication role of the server - */ - readonly replicationRole?: string; - /** - * The SKU (pricing tier) of the server. - */ - readonly sku?: outputs.dbforpostgresql.v20220308preview.PostgreSqlSkuResponse; - /** - * A state of a server that is visible to user. - */ - readonly state: string; - /** - * Storage properties of a server. - */ - readonly storage?: outputs.dbforpostgresql.v20220308preview.StorageResponse; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.dbforpostgresql.v20220308preview.SystemDataResponse; - /** - * Resource tags. - */ - readonly tags?: {[key: string]: string}; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; - /** - * PostgreSQL Server version. - */ - readonly version?: string; -} - -export function getServerOutput(args: GetServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getServer(a, opts)) -} - -export interface GetServerOutputArgs { - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName: pulumi.Input; -} diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/index.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/index.ts deleted file mode 100644 index b7d1e638a4f6..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/index.ts +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../../utilities"; - -// Export members: -export { AdministratorArgs } from "./administrator"; -export type Administrator = import("./administrator").Administrator; -export const Administrator: typeof import("./administrator").Administrator = null as any; -utilities.lazyLoad(exports, ["Administrator"], () => require("./administrator")); - -export { ConfigurationArgs } from "./configuration"; -export type Configuration = import("./configuration").Configuration; -export const Configuration: typeof import("./configuration").Configuration = null as any; -utilities.lazyLoad(exports, ["Configuration"], () => require("./configuration")); - -export { DatabaseArgs } from "./database"; -export type Database = import("./database").Database; -export const Database: typeof import("./database").Database = null as any; -utilities.lazyLoad(exports, ["Database"], () => require("./database")); - -export { FirewallRuleArgs } from "./firewallRule"; -export type FirewallRule = import("./firewallRule").FirewallRule; -export const FirewallRule: typeof import("./firewallRule").FirewallRule = null as any; -utilities.lazyLoad(exports, ["FirewallRule"], () => require("./firewallRule")); - -export { GetAdministratorArgs, GetAdministratorResult, GetAdministratorOutputArgs } from "./getAdministrator"; -export const getAdministrator: typeof import("./getAdministrator").getAdministrator = null as any; -export const getAdministratorOutput: typeof import("./getAdministrator").getAdministratorOutput = null as any; -utilities.lazyLoad(exports, ["getAdministrator","getAdministratorOutput"], () => require("./getAdministrator")); - -export { GetConfigurationArgs, GetConfigurationResult, GetConfigurationOutputArgs } from "./getConfiguration"; -export const getConfiguration: typeof import("./getConfiguration").getConfiguration = null as any; -export const getConfigurationOutput: typeof import("./getConfiguration").getConfigurationOutput = null as any; -utilities.lazyLoad(exports, ["getConfiguration","getConfigurationOutput"], () => require("./getConfiguration")); - -export { GetDatabaseArgs, GetDatabaseResult, GetDatabaseOutputArgs } from "./getDatabase"; -export const getDatabase: typeof import("./getDatabase").getDatabase = null as any; -export const getDatabaseOutput: typeof import("./getDatabase").getDatabaseOutput = null as any; -utilities.lazyLoad(exports, ["getDatabase","getDatabaseOutput"], () => require("./getDatabase")); - -export { GetFirewallRuleArgs, GetFirewallRuleResult, GetFirewallRuleOutputArgs } from "./getFirewallRule"; -export const getFirewallRule: typeof import("./getFirewallRule").getFirewallRule = null as any; -export const getFirewallRuleOutput: typeof import("./getFirewallRule").getFirewallRuleOutput = null as any; -utilities.lazyLoad(exports, ["getFirewallRule","getFirewallRuleOutput"], () => require("./getFirewallRule")); - -export { GetServerArgs, GetServerResult, GetServerOutputArgs } from "./getServer"; -export const getServer: typeof import("./getServer").getServer = null as any; -export const getServerOutput: typeof import("./getServer").getServerOutput = null as any; -utilities.lazyLoad(exports, ["getServer","getServerOutput"], () => require("./getServer")); - -export { ServerArgs } from "./server"; -export type Server = import("./server").Server; -export const Server: typeof import("./server").Server = null as any; -utilities.lazyLoad(exports, ["Server"], () => require("./server")); - - -// Export enums: -export * from "../../types/enums/dbforpostgresql/v20220308preview"; - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:dbforpostgresql/v20220308preview:Administrator": - return new Administrator(name, undefined, { urn }) - case "azure-native:dbforpostgresql/v20220308preview:Configuration": - return new Configuration(name, undefined, { urn }) - case "azure-native:dbforpostgresql/v20220308preview:Database": - return new Database(name, undefined, { urn }) - case "azure-native:dbforpostgresql/v20220308preview:FirewallRule": - return new FirewallRule(name, undefined, { urn }) - case "azure-native:dbforpostgresql/v20220308preview:Server": - return new Server(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "dbforpostgresql/v20220308preview", _module) diff --git a/sdk/nodejs/dbforpostgresql/v20220308preview/server.ts b/sdk/nodejs/dbforpostgresql/v20220308preview/server.ts deleted file mode 100644 index 3df478695938..000000000000 --- a/sdk/nodejs/dbforpostgresql/v20220308preview/server.ts +++ /dev/null @@ -1,294 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents a server. - */ -export class Server extends pulumi.CustomResource { - /** - * Get an existing Server resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Server { - return new Server(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:dbforpostgresql/v20220308preview:Server'; - - /** - * Returns true if the given object is an instance of Server. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is Server { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Server.__pulumiType; - } - - /** - * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - */ - public readonly administratorLogin!: pulumi.Output; - /** - * AuthConfig properties of a server. - */ - public readonly authConfig!: pulumi.Output; - /** - * availability zone information of the server. - */ - public readonly availabilityZone!: pulumi.Output; - /** - * Backup properties of a server. - */ - public readonly backup!: pulumi.Output; - /** - * Data encryption properties of a server. - */ - public readonly dataEncryption!: pulumi.Output; - /** - * The fully qualified domain name of a server. - */ - public /*out*/ readonly fullyQualifiedDomainName!: pulumi.Output; - /** - * High availability properties of a server. - */ - public readonly highAvailability!: pulumi.Output; - /** - * Describes the identity of the application. - */ - public readonly identity!: pulumi.Output; - /** - * The geo-location where the resource lives - */ - public readonly location!: pulumi.Output; - /** - * Maintenance window properties of a server. - */ - public readonly maintenanceWindow!: pulumi.Output; - /** - * The minor version of the server. - */ - public /*out*/ readonly minorVersion!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Network properties of a server. - */ - public readonly network!: pulumi.Output; - /** - * Replicas allowed for a server. - */ - public readonly replicaCapacity!: pulumi.Output; - /** - * Replication role of the server - */ - public readonly replicationRole!: pulumi.Output; - /** - * The SKU (pricing tier) of the server. - */ - public readonly sku!: pulumi.Output; - /** - * A state of a server that is visible to user. - */ - public /*out*/ readonly state!: pulumi.Output; - /** - * Storage properties of a server. - */ - public readonly storage!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * Resource tags. - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - /** - * PostgreSQL Server version. - */ - public readonly version!: pulumi.Output; - - /** - * Create a Server resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: ServerArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - resourceInputs["administratorLogin"] = args ? args.administratorLogin : undefined; - resourceInputs["administratorLoginPassword"] = args ? args.administratorLoginPassword : undefined; - resourceInputs["authConfig"] = args ? (args.authConfig ? pulumi.output(args.authConfig).apply(inputs.dbforpostgresql.v20220308preview.authConfigArgsProvideDefaults) : undefined) : undefined; - resourceInputs["availabilityZone"] = (args ? args.availabilityZone : undefined) ?? ""; - resourceInputs["backup"] = args ? (args.backup ? pulumi.output(args.backup).apply(inputs.dbforpostgresql.v20220308preview.backupArgsProvideDefaults) : undefined) : undefined; - resourceInputs["createMode"] = args ? args.createMode : undefined; - resourceInputs["dataEncryption"] = args ? args.dataEncryption : undefined; - resourceInputs["highAvailability"] = args ? (args.highAvailability ? pulumi.output(args.highAvailability).apply(inputs.dbforpostgresql.v20220308preview.highAvailabilityArgsProvideDefaults) : undefined) : undefined; - resourceInputs["identity"] = args ? args.identity : undefined; - resourceInputs["location"] = args ? args.location : undefined; - resourceInputs["maintenanceWindow"] = args ? (args.maintenanceWindow ? pulumi.output(args.maintenanceWindow).apply(inputs.dbforpostgresql.v20220308preview.maintenanceWindowArgsProvideDefaults) : undefined) : undefined; - resourceInputs["network"] = args ? (args.network ? pulumi.output(args.network).apply(inputs.dbforpostgresql.v20220308preview.networkArgsProvideDefaults) : undefined) : undefined; - resourceInputs["pointInTimeUTC"] = args ? args.pointInTimeUTC : undefined; - resourceInputs["replicaCapacity"] = args ? args.replicaCapacity : undefined; - resourceInputs["replicationRole"] = args ? args.replicationRole : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["serverName"] = args ? args.serverName : undefined; - resourceInputs["sku"] = args ? args.sku : undefined; - resourceInputs["sourceServerResourceId"] = args ? args.sourceServerResourceId : undefined; - resourceInputs["storage"] = args ? args.storage : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["version"] = args ? args.version : undefined; - resourceInputs["fullyQualifiedDomainName"] = undefined /*out*/; - resourceInputs["minorVersion"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["state"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["administratorLogin"] = undefined /*out*/; - resourceInputs["authConfig"] = undefined /*out*/; - resourceInputs["availabilityZone"] = undefined /*out*/; - resourceInputs["backup"] = undefined /*out*/; - resourceInputs["dataEncryption"] = undefined /*out*/; - resourceInputs["fullyQualifiedDomainName"] = undefined /*out*/; - resourceInputs["highAvailability"] = undefined /*out*/; - resourceInputs["identity"] = undefined /*out*/; - resourceInputs["location"] = undefined /*out*/; - resourceInputs["maintenanceWindow"] = undefined /*out*/; - resourceInputs["minorVersion"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["network"] = undefined /*out*/; - resourceInputs["replicaCapacity"] = undefined /*out*/; - resourceInputs["replicationRole"] = undefined /*out*/; - resourceInputs["sku"] = undefined /*out*/; - resourceInputs["state"] = undefined /*out*/; - resourceInputs["storage"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - resourceInputs["version"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbforpostgresql/v20200214preview:Server" }, { type: "azure-native:dbforpostgresql/v20200214privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210410privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20210601:Server" }, { type: "azure-native:dbforpostgresql/v20210601preview:Server" }, { type: "azure-native:dbforpostgresql/v20210615privatepreview:Server" }, { type: "azure-native:dbforpostgresql/v20220120preview:Server" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Server.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Server resource. - */ -export interface ServerArgs { - /** - * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - */ - administratorLogin?: pulumi.Input; - /** - * The administrator login password (required for server creation). - */ - administratorLoginPassword?: pulumi.Input; - /** - * AuthConfig properties of a server. - */ - authConfig?: pulumi.Input; - /** - * availability zone information of the server. - */ - availabilityZone?: pulumi.Input; - /** - * Backup properties of a server. - */ - backup?: pulumi.Input; - /** - * The mode to create a new PostgreSQL server. - */ - createMode?: pulumi.Input; - /** - * Data encryption properties of a server. - */ - dataEncryption?: pulumi.Input; - /** - * High availability properties of a server. - */ - highAvailability?: pulumi.Input; - /** - * Describes the identity of the application. - */ - identity?: pulumi.Input; - /** - * The geo-location where the resource lives - */ - location?: pulumi.Input; - /** - * Maintenance window properties of a server. - */ - maintenanceWindow?: pulumi.Input; - /** - * Network properties of a server. - */ - network?: pulumi.Input; - /** - * Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'. - */ - pointInTimeUTC?: pulumi.Input; - /** - * Replicas allowed for a server. - */ - replicaCapacity?: pulumi.Input; - /** - * Replication role of the server - */ - replicationRole?: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the server. - */ - serverName?: pulumi.Input; - /** - * The SKU (pricing tier) of the server. - */ - sku?: pulumi.Input; - /** - * The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. - */ - sourceServerResourceId?: pulumi.Input; - /** - * Storage properties of a server. - */ - storage?: pulumi.Input; - /** - * Resource tags. - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * PostgreSQL Server version. - */ - version?: pulumi.Input; -} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index c8b022ba3f79..4193f3a2ee4e 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -1592,9 +1592,11 @@ "appplatform/apiPortalCustomDomain.ts", "appplatform/app.ts", "appplatform/binding.ts", + "appplatform/buildServiceAgentPool.ts", "appplatform/buildServiceBuilder.ts", "appplatform/buildpackBinding.ts", "appplatform/certificate.ts", + "appplatform/configServer.ts", "appplatform/configurationService.ts", "appplatform/customDomain.ts", "appplatform/deployment.ts", @@ -1606,11 +1608,13 @@ "appplatform/getApp.ts", "appplatform/getAppResourceUploadUrl.ts", "appplatform/getBinding.ts", + "appplatform/getBuildServiceAgentPool.ts", "appplatform/getBuildServiceBuildResultLog.ts", "appplatform/getBuildServiceBuilder.ts", "appplatform/getBuildServiceResourceUploadUrl.ts", "appplatform/getBuildpackBinding.ts", "appplatform/getCertificate.ts", + "appplatform/getConfigServer.ts", "appplatform/getConfigurationService.ts", "appplatform/getCustomDomain.ts", "appplatform/getDeployment.ts", @@ -1618,87 +1622,107 @@ "appplatform/getGateway.ts", "appplatform/getGatewayCustomDomain.ts", "appplatform/getGatewayRouteConfig.ts", + "appplatform/getMonitoringSetting.ts", "appplatform/getService.ts", "appplatform/getServiceRegistry.ts", "appplatform/getStorage.ts", "appplatform/index.ts", "appplatform/listServiceTestKeys.ts", + "appplatform/monitoringSetting.ts", "appplatform/service.ts", "appplatform/serviceRegistry.ts", "appplatform/storage.ts", "appplatform/v20200701/app.ts", "appplatform/v20200701/binding.ts", "appplatform/v20200701/certificate.ts", + "appplatform/v20200701/configServer.ts", "appplatform/v20200701/customDomain.ts", "appplatform/v20200701/deployment.ts", "appplatform/v20200701/getApp.ts", "appplatform/v20200701/getAppResourceUploadUrl.ts", "appplatform/v20200701/getBinding.ts", "appplatform/v20200701/getCertificate.ts", + "appplatform/v20200701/getConfigServer.ts", "appplatform/v20200701/getCustomDomain.ts", "appplatform/v20200701/getDeployment.ts", "appplatform/v20200701/getDeploymentLogFileUrl.ts", + "appplatform/v20200701/getMonitoringSetting.ts", "appplatform/v20200701/getService.ts", "appplatform/v20200701/index.ts", "appplatform/v20200701/listServiceTestKeys.ts", + "appplatform/v20200701/monitoringSetting.ts", "appplatform/v20200701/service.ts", "appplatform/v20201101preview/app.ts", "appplatform/v20201101preview/binding.ts", "appplatform/v20201101preview/certificate.ts", + "appplatform/v20201101preview/configServer.ts", "appplatform/v20201101preview/customDomain.ts", "appplatform/v20201101preview/deployment.ts", "appplatform/v20201101preview/getApp.ts", "appplatform/v20201101preview/getAppResourceUploadUrl.ts", "appplatform/v20201101preview/getBinding.ts", "appplatform/v20201101preview/getCertificate.ts", + "appplatform/v20201101preview/getConfigServer.ts", "appplatform/v20201101preview/getCustomDomain.ts", "appplatform/v20201101preview/getDeployment.ts", "appplatform/v20201101preview/getDeploymentLogFileUrl.ts", + "appplatform/v20201101preview/getMonitoringSetting.ts", "appplatform/v20201101preview/getService.ts", "appplatform/v20201101preview/index.ts", "appplatform/v20201101preview/listServiceTestKeys.ts", + "appplatform/v20201101preview/monitoringSetting.ts", "appplatform/v20201101preview/service.ts", "appplatform/v20210601preview/app.ts", "appplatform/v20210601preview/binding.ts", "appplatform/v20210601preview/certificate.ts", + "appplatform/v20210601preview/configServer.ts", "appplatform/v20210601preview/customDomain.ts", "appplatform/v20210601preview/deployment.ts", "appplatform/v20210601preview/getApp.ts", "appplatform/v20210601preview/getAppResourceUploadUrl.ts", "appplatform/v20210601preview/getBinding.ts", "appplatform/v20210601preview/getCertificate.ts", + "appplatform/v20210601preview/getConfigServer.ts", "appplatform/v20210601preview/getCustomDomain.ts", "appplatform/v20210601preview/getDeployment.ts", "appplatform/v20210601preview/getDeploymentLogFileUrl.ts", + "appplatform/v20210601preview/getMonitoringSetting.ts", "appplatform/v20210601preview/getService.ts", "appplatform/v20210601preview/index.ts", "appplatform/v20210601preview/listServiceTestKeys.ts", + "appplatform/v20210601preview/monitoringSetting.ts", "appplatform/v20210601preview/service.ts", "appplatform/v20210901preview/app.ts", "appplatform/v20210901preview/binding.ts", "appplatform/v20210901preview/certificate.ts", + "appplatform/v20210901preview/configServer.ts", "appplatform/v20210901preview/customDomain.ts", "appplatform/v20210901preview/deployment.ts", "appplatform/v20210901preview/getApp.ts", "appplatform/v20210901preview/getAppResourceUploadUrl.ts", "appplatform/v20210901preview/getBinding.ts", "appplatform/v20210901preview/getCertificate.ts", + "appplatform/v20210901preview/getConfigServer.ts", "appplatform/v20210901preview/getCustomDomain.ts", "appplatform/v20210901preview/getDeployment.ts", "appplatform/v20210901preview/getDeploymentLogFileUrl.ts", + "appplatform/v20210901preview/getMonitoringSetting.ts", "appplatform/v20210901preview/getService.ts", "appplatform/v20210901preview/getStorage.ts", "appplatform/v20210901preview/index.ts", "appplatform/v20210901preview/listServiceTestKeys.ts", + "appplatform/v20210901preview/monitoringSetting.ts", "appplatform/v20210901preview/service.ts", "appplatform/v20210901preview/storage.ts", "appplatform/v20220101preview/apiPortal.ts", "appplatform/v20220101preview/apiPortalCustomDomain.ts", "appplatform/v20220101preview/app.ts", "appplatform/v20220101preview/binding.ts", + "appplatform/v20220101preview/buildServiceAgentPool.ts", "appplatform/v20220101preview/buildServiceBuilder.ts", "appplatform/v20220101preview/buildpackBinding.ts", "appplatform/v20220101preview/certificate.ts", + "appplatform/v20220101preview/configServer.ts", "appplatform/v20220101preview/configurationService.ts", "appplatform/v20220101preview/customDomain.ts", "appplatform/v20220101preview/deployment.ts", @@ -1710,11 +1734,13 @@ "appplatform/v20220101preview/getApp.ts", "appplatform/v20220101preview/getAppResourceUploadUrl.ts", "appplatform/v20220101preview/getBinding.ts", + "appplatform/v20220101preview/getBuildServiceAgentPool.ts", "appplatform/v20220101preview/getBuildServiceBuildResultLog.ts", "appplatform/v20220101preview/getBuildServiceBuilder.ts", "appplatform/v20220101preview/getBuildServiceResourceUploadUrl.ts", "appplatform/v20220101preview/getBuildpackBinding.ts", "appplatform/v20220101preview/getCertificate.ts", + "appplatform/v20220101preview/getConfigServer.ts", "appplatform/v20220101preview/getConfigurationService.ts", "appplatform/v20220101preview/getCustomDomain.ts", "appplatform/v20220101preview/getDeployment.ts", @@ -1722,11 +1748,13 @@ "appplatform/v20220101preview/getGateway.ts", "appplatform/v20220101preview/getGatewayCustomDomain.ts", "appplatform/v20220101preview/getGatewayRouteConfig.ts", + "appplatform/v20220101preview/getMonitoringSetting.ts", "appplatform/v20220101preview/getService.ts", "appplatform/v20220101preview/getServiceRegistry.ts", "appplatform/v20220101preview/getStorage.ts", "appplatform/v20220101preview/index.ts", "appplatform/v20220101preview/listServiceTestKeys.ts", + "appplatform/v20220101preview/monitoringSetting.ts", "appplatform/v20220101preview/service.ts", "appplatform/v20220101preview/serviceRegistry.ts", "appplatform/v20220101preview/storage.ts", @@ -1734,9 +1762,11 @@ "appplatform/v20220301preview/apiPortalCustomDomain.ts", "appplatform/v20220301preview/app.ts", "appplatform/v20220301preview/binding.ts", + "appplatform/v20220301preview/buildServiceAgentPool.ts", "appplatform/v20220301preview/buildServiceBuilder.ts", "appplatform/v20220301preview/buildpackBinding.ts", "appplatform/v20220301preview/certificate.ts", + "appplatform/v20220301preview/configServer.ts", "appplatform/v20220301preview/configurationService.ts", "appplatform/v20220301preview/customDomain.ts", "appplatform/v20220301preview/deployment.ts", @@ -1748,11 +1778,13 @@ "appplatform/v20220301preview/getApp.ts", "appplatform/v20220301preview/getAppResourceUploadUrl.ts", "appplatform/v20220301preview/getBinding.ts", + "appplatform/v20220301preview/getBuildServiceAgentPool.ts", "appplatform/v20220301preview/getBuildServiceBuildResultLog.ts", "appplatform/v20220301preview/getBuildServiceBuilder.ts", "appplatform/v20220301preview/getBuildServiceResourceUploadUrl.ts", "appplatform/v20220301preview/getBuildpackBinding.ts", "appplatform/v20220301preview/getCertificate.ts", + "appplatform/v20220301preview/getConfigServer.ts", "appplatform/v20220301preview/getConfigurationService.ts", "appplatform/v20220301preview/getCustomDomain.ts", "appplatform/v20220301preview/getDeployment.ts", @@ -1760,47 +1792,57 @@ "appplatform/v20220301preview/getGateway.ts", "appplatform/v20220301preview/getGatewayCustomDomain.ts", "appplatform/v20220301preview/getGatewayRouteConfig.ts", + "appplatform/v20220301preview/getMonitoringSetting.ts", "appplatform/v20220301preview/getService.ts", "appplatform/v20220301preview/getServiceRegistry.ts", "appplatform/v20220301preview/getStorage.ts", "appplatform/v20220301preview/index.ts", "appplatform/v20220301preview/listServiceTestKeys.ts", + "appplatform/v20220301preview/monitoringSetting.ts", "appplatform/v20220301preview/service.ts", "appplatform/v20220301preview/serviceRegistry.ts", "appplatform/v20220301preview/storage.ts", "appplatform/v20220401/app.ts", "appplatform/v20220401/binding.ts", + "appplatform/v20220401/buildServiceAgentPool.ts", "appplatform/v20220401/buildServiceBuilder.ts", "appplatform/v20220401/buildpackBinding.ts", "appplatform/v20220401/certificate.ts", + "appplatform/v20220401/configServer.ts", "appplatform/v20220401/configurationService.ts", "appplatform/v20220401/customDomain.ts", "appplatform/v20220401/deployment.ts", "appplatform/v20220401/getApp.ts", "appplatform/v20220401/getAppResourceUploadUrl.ts", "appplatform/v20220401/getBinding.ts", + "appplatform/v20220401/getBuildServiceAgentPool.ts", "appplatform/v20220401/getBuildServiceBuildResultLog.ts", "appplatform/v20220401/getBuildServiceBuilder.ts", "appplatform/v20220401/getBuildServiceResourceUploadUrl.ts", "appplatform/v20220401/getBuildpackBinding.ts", "appplatform/v20220401/getCertificate.ts", + "appplatform/v20220401/getConfigServer.ts", "appplatform/v20220401/getConfigurationService.ts", "appplatform/v20220401/getCustomDomain.ts", "appplatform/v20220401/getDeployment.ts", "appplatform/v20220401/getDeploymentLogFileUrl.ts", + "appplatform/v20220401/getMonitoringSetting.ts", "appplatform/v20220401/getService.ts", "appplatform/v20220401/getServiceRegistry.ts", "appplatform/v20220401/index.ts", "appplatform/v20220401/listServiceTestKeys.ts", + "appplatform/v20220401/monitoringSetting.ts", "appplatform/v20220401/service.ts", "appplatform/v20220401/serviceRegistry.ts", "appplatform/v20220501preview/apiPortal.ts", "appplatform/v20220501preview/apiPortalCustomDomain.ts", "appplatform/v20220501preview/app.ts", "appplatform/v20220501preview/binding.ts", + "appplatform/v20220501preview/buildServiceAgentPool.ts", "appplatform/v20220501preview/buildServiceBuilder.ts", "appplatform/v20220501preview/buildpackBinding.ts", "appplatform/v20220501preview/certificate.ts", + "appplatform/v20220501preview/configServer.ts", "appplatform/v20220501preview/configurationService.ts", "appplatform/v20220501preview/customDomain.ts", "appplatform/v20220501preview/deployment.ts", @@ -1812,11 +1854,13 @@ "appplatform/v20220501preview/getApp.ts", "appplatform/v20220501preview/getAppResourceUploadUrl.ts", "appplatform/v20220501preview/getBinding.ts", + "appplatform/v20220501preview/getBuildServiceAgentPool.ts", "appplatform/v20220501preview/getBuildServiceBuildResultLog.ts", "appplatform/v20220501preview/getBuildServiceBuilder.ts", "appplatform/v20220501preview/getBuildServiceResourceUploadUrl.ts", "appplatform/v20220501preview/getBuildpackBinding.ts", "appplatform/v20220501preview/getCertificate.ts", + "appplatform/v20220501preview/getConfigServer.ts", "appplatform/v20220501preview/getConfigurationService.ts", "appplatform/v20220501preview/getCustomDomain.ts", "appplatform/v20220501preview/getDeployment.ts", @@ -1824,11 +1868,13 @@ "appplatform/v20220501preview/getGateway.ts", "appplatform/v20220501preview/getGatewayCustomDomain.ts", "appplatform/v20220501preview/getGatewayRouteConfig.ts", + "appplatform/v20220501preview/getMonitoringSetting.ts", "appplatform/v20220501preview/getService.ts", "appplatform/v20220501preview/getServiceRegistry.ts", "appplatform/v20220501preview/getStorage.ts", "appplatform/v20220501preview/index.ts", "appplatform/v20220501preview/listServiceTestKeys.ts", + "appplatform/v20220501preview/monitoringSetting.ts", "appplatform/v20220501preview/service.ts", "appplatform/v20220501preview/serviceRegistry.ts", "appplatform/v20220501preview/storage.ts", @@ -1836,9 +1882,11 @@ "appplatform/v20220901preview/apiPortalCustomDomain.ts", "appplatform/v20220901preview/app.ts", "appplatform/v20220901preview/binding.ts", + "appplatform/v20220901preview/buildServiceAgentPool.ts", "appplatform/v20220901preview/buildServiceBuilder.ts", "appplatform/v20220901preview/buildpackBinding.ts", "appplatform/v20220901preview/certificate.ts", + "appplatform/v20220901preview/configServer.ts", "appplatform/v20220901preview/configurationService.ts", "appplatform/v20220901preview/customDomain.ts", "appplatform/v20220901preview/deployment.ts", @@ -1850,11 +1898,13 @@ "appplatform/v20220901preview/getApp.ts", "appplatform/v20220901preview/getAppResourceUploadUrl.ts", "appplatform/v20220901preview/getBinding.ts", + "appplatform/v20220901preview/getBuildServiceAgentPool.ts", "appplatform/v20220901preview/getBuildServiceBuildResultLog.ts", "appplatform/v20220901preview/getBuildServiceBuilder.ts", "appplatform/v20220901preview/getBuildServiceResourceUploadUrl.ts", "appplatform/v20220901preview/getBuildpackBinding.ts", "appplatform/v20220901preview/getCertificate.ts", + "appplatform/v20220901preview/getConfigServer.ts", "appplatform/v20220901preview/getConfigurationService.ts", "appplatform/v20220901preview/getCustomDomain.ts", "appplatform/v20220901preview/getDeployment.ts", @@ -1863,12 +1913,14 @@ "appplatform/v20220901preview/getGateway.ts", "appplatform/v20220901preview/getGatewayCustomDomain.ts", "appplatform/v20220901preview/getGatewayRouteConfig.ts", + "appplatform/v20220901preview/getMonitoringSetting.ts", "appplatform/v20220901preview/getService.ts", "appplatform/v20220901preview/getServiceRegistry.ts", "appplatform/v20220901preview/getStorage.ts", "appplatform/v20220901preview/index.ts", "appplatform/v20220901preview/listBuildServiceBuilderDeployments.ts", "appplatform/v20220901preview/listServiceTestKeys.ts", + "appplatform/v20220901preview/monitoringSetting.ts", "appplatform/v20220901preview/service.ts", "appplatform/v20220901preview/serviceRegistry.ts", "appplatform/v20220901preview/storage.ts", @@ -7521,17 +7573,6 @@ "dbforpostgresql/v20220120preview/getServer.ts", "dbforpostgresql/v20220120preview/index.ts", "dbforpostgresql/v20220120preview/server.ts", - "dbforpostgresql/v20220308preview/administrator.ts", - "dbforpostgresql/v20220308preview/configuration.ts", - "dbforpostgresql/v20220308preview/database.ts", - "dbforpostgresql/v20220308preview/firewallRule.ts", - "dbforpostgresql/v20220308preview/getAdministrator.ts", - "dbforpostgresql/v20220308preview/getConfiguration.ts", - "dbforpostgresql/v20220308preview/getDatabase.ts", - "dbforpostgresql/v20220308preview/getFirewallRule.ts", - "dbforpostgresql/v20220308preview/getServer.ts", - "dbforpostgresql/v20220308preview/index.ts", - "dbforpostgresql/v20220308preview/server.ts", "dbforpostgresql/v20220308privatepreview/getGetCachedServerNameExecute.ts", "dbforpostgresql/v20220308privatepreview/index.ts", "dbforpostgresql/virtualNetworkRule.ts", @@ -26178,7 +26219,6 @@ "types/enums/dbforpostgresql/v20210601preview/index.ts", "types/enums/dbforpostgresql/v20210615privatepreview/index.ts", "types/enums/dbforpostgresql/v20220120preview/index.ts", - "types/enums/dbforpostgresql/v20220308preview/index.ts", "types/enums/dbforpostgresql/v20220308privatepreview/index.ts", "types/enums/delegatednetwork/index.ts", "types/enums/delegatednetwork/v20200808preview/index.ts", @@ -27066,7 +27106,6 @@ "types/enums/webpubsub/v20210601preview/index.ts", "types/enums/webpubsub/v20210901preview/index.ts", "types/enums/webpubsub/v20211001/index.ts", - "types/enums/webpubsub/v20220801preview/index.ts", "types/enums/windowsesu/index.ts", "types/enums/windowsesu/v20190916preview/index.ts", "types/enums/workloads/index.ts", @@ -29062,20 +29101,6 @@ "webpubsub/v20211001/webPubSubHub.ts", "webpubsub/v20211001/webPubSubPrivateEndpointConnection.ts", "webpubsub/v20211001/webPubSubSharedPrivateLinkResource.ts", - "webpubsub/v20220801preview/getWebPubSub.ts", - "webpubsub/v20220801preview/getWebPubSubCustomCertificate.ts", - "webpubsub/v20220801preview/getWebPubSubCustomDomain.ts", - "webpubsub/v20220801preview/getWebPubSubHub.ts", - "webpubsub/v20220801preview/getWebPubSubPrivateEndpointConnection.ts", - "webpubsub/v20220801preview/getWebPubSubSharedPrivateLinkResource.ts", - "webpubsub/v20220801preview/index.ts", - "webpubsub/v20220801preview/listWebPubSubKeys.ts", - "webpubsub/v20220801preview/webPubSub.ts", - "webpubsub/v20220801preview/webPubSubCustomCertificate.ts", - "webpubsub/v20220801preview/webPubSubCustomDomain.ts", - "webpubsub/v20220801preview/webPubSubHub.ts", - "webpubsub/v20220801preview/webPubSubPrivateEndpointConnection.ts", - "webpubsub/v20220801preview/webPubSubSharedPrivateLinkResource.ts", "webpubsub/webPubSub.ts", "webpubsub/webPubSubHub.ts", "webpubsub/webPubSubPrivateEndpointConnection.ts", diff --git a/sdk/nodejs/types/enums/dbforpostgresql/index.ts b/sdk/nodejs/types/enums/dbforpostgresql/index.ts index 6ff2f9c1f4b7..db6c70433bd4 100644 --- a/sdk/nodejs/types/enums/dbforpostgresql/index.ts +++ b/sdk/nodejs/types/enums/dbforpostgresql/index.ts @@ -14,7 +14,6 @@ import * as v20210601 from "./v20210601"; import * as v20210601preview from "./v20210601preview"; import * as v20210615privatepreview from "./v20210615privatepreview"; import * as v20220120preview from "./v20220120preview"; -import * as v20220308preview from "./v20220308preview"; import * as v20220308privatepreview from "./v20220308privatepreview"; export { @@ -30,7 +29,6 @@ export { v20210601preview, v20210615privatepreview, v20220120preview, - v20220308preview, v20220308privatepreview, }; diff --git a/sdk/nodejs/types/enums/dbforpostgresql/v20220308preview/index.ts b/sdk/nodejs/types/enums/dbforpostgresql/v20220308preview/index.ts deleted file mode 100644 index bc5c6352662f..000000000000 --- a/sdk/nodejs/types/enums/dbforpostgresql/v20220308preview/index.ts +++ /dev/null @@ -1,109 +0,0 @@ -// *** 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! *** - - -export const ArmServerKeyType = { - SystemAssigned: "SystemAssigned", - AzureKeyVault: "AzureKeyVault", -} as const; - -/** - * Data encryption type to depict if it is System assigned vs Azure Key vault. - */ -export type ArmServerKeyType = (typeof ArmServerKeyType)[keyof typeof ArmServerKeyType]; - -export const CreateMode = { - Default: "Default", - Create: "Create", - Update: "Update", - PointInTimeRestore: "PointInTimeRestore", - GeoRestore: "GeoRestore", - Replica: "Replica", -} as const; - -/** - * The mode to create a new PostgreSQL server. - */ -export type CreateMode = (typeof CreateMode)[keyof typeof CreateMode]; - -export const GeoRedundantBackupEnum = { - Enabled: "Enabled", - Disabled: "Disabled", -} as const; - -/** - * A value indicating whether Geo-Redundant backup is enabled on the server. - */ -export type GeoRedundantBackupEnum = (typeof GeoRedundantBackupEnum)[keyof typeof GeoRedundantBackupEnum]; - -export const HighAvailabilityMode = { - Disabled: "Disabled", - ZoneRedundant: "ZoneRedundant", - SameZone: "SameZone", -} as const; - -/** - * The HA mode for the server. - */ -export type HighAvailabilityMode = (typeof HighAvailabilityMode)[keyof typeof HighAvailabilityMode]; - -export const IdentityType = { - None: "None", - SystemAssigned: "SystemAssigned", - UserAssigned: "UserAssigned", -} as const; - -/** - * the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - */ -export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType]; - -export const PrincipalType = { - Unknown: "Unknown", - User: "User", - Group: "Group", - ServicePrincipal: "ServicePrincipal", -} as const; - -/** - * The principal type used to represent the type of Active Directory Administrator. - */ -export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType]; - -export const ReplicationRole = { - Primary: "Primary", - Secondary: "Secondary", - WalReplica: "WalReplica", - SyncReplica: "SyncReplica", - AsyncReplica: "AsyncReplica", - GeoSyncReplica: "GeoSyncReplica", - GeoAsyncReplica: "GeoAsyncReplica", -} as const; - -/** - * Replication role of the server - */ -export type ReplicationRole = (typeof ReplicationRole)[keyof typeof ReplicationRole]; - -export const ServerVersion = { - ServerVersion_14: "14", - ServerVersion_13: "13", - ServerVersion_12: "12", - ServerVersion_11: "11", -} as const; - -/** - * PostgreSQL Server version. - */ -export type ServerVersion = (typeof ServerVersion)[keyof typeof ServerVersion]; - -export const SkuTier = { - Burstable: "Burstable", - GeneralPurpose: "GeneralPurpose", - MemoryOptimized: "MemoryOptimized", -} as const; - -/** - * The tier of the particular SKU, e.g. Burstable. - */ -export type SkuTier = (typeof SkuTier)[keyof typeof SkuTier]; diff --git a/sdk/nodejs/types/enums/webpubsub/index.ts b/sdk/nodejs/types/enums/webpubsub/index.ts index 52507d03d373..c58ad4cf0ac4 100644 --- a/sdk/nodejs/types/enums/webpubsub/index.ts +++ b/sdk/nodejs/types/enums/webpubsub/index.ts @@ -6,14 +6,12 @@ import * as v20210401preview from "./v20210401preview"; import * as v20210601preview from "./v20210601preview"; import * as v20210901preview from "./v20210901preview"; import * as v20211001 from "./v20211001"; -import * as v20220801preview from "./v20220801preview"; export { v20210401preview, v20210601preview, v20210901preview, v20211001, - v20220801preview, }; export const ACLAction = { diff --git a/sdk/nodejs/types/enums/webpubsub/v20220801preview/index.ts b/sdk/nodejs/types/enums/webpubsub/v20220801preview/index.ts deleted file mode 100644 index cf09e7e07b9c..000000000000 --- a/sdk/nodejs/types/enums/webpubsub/v20220801preview/index.ts +++ /dev/null @@ -1,84 +0,0 @@ -// *** 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! *** - - -export const ACLAction = { - Allow: "Allow", - Deny: "Deny", -} as const; - -/** - * Azure Networking ACL Action. - */ -export type ACLAction = (typeof ACLAction)[keyof typeof ACLAction]; - -export const EventListenerEndpointDiscriminator = { - EventHub: "EventHub", -} as const; - -export type EventListenerEndpointDiscriminator = (typeof EventListenerEndpointDiscriminator)[keyof typeof EventListenerEndpointDiscriminator]; - -export const EventListenerFilterDiscriminator = { - EventName: "EventName", -} as const; - -export type EventListenerFilterDiscriminator = (typeof EventListenerFilterDiscriminator)[keyof typeof EventListenerFilterDiscriminator]; - -export const ManagedIdentityType = { - None: "None", - SystemAssigned: "SystemAssigned", - UserAssigned: "UserAssigned", -} as const; - -/** - * Represents the identity type: systemAssigned, userAssigned, None - */ -export type ManagedIdentityType = (typeof ManagedIdentityType)[keyof typeof ManagedIdentityType]; - -export const PrivateLinkServiceConnectionStatus = { - Pending: "Pending", - Approved: "Approved", - Rejected: "Rejected", - Disconnected: "Disconnected", -} as const; - -/** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - */ -export type PrivateLinkServiceConnectionStatus = (typeof PrivateLinkServiceConnectionStatus)[keyof typeof PrivateLinkServiceConnectionStatus]; - -export const UpstreamAuthType = { - None: "None", - ManagedIdentity: "ManagedIdentity", -} as const; - -/** - * Upstream auth type enum. - */ -export type UpstreamAuthType = (typeof UpstreamAuthType)[keyof typeof UpstreamAuthType]; - -export const WebPubSubRequestType = { - ClientConnection: "ClientConnection", - ServerConnection: "ServerConnection", - RESTAPI: "RESTAPI", - Trace: "Trace", -} as const; - -/** - * The incoming request type to the service - */ -export type WebPubSubRequestType = (typeof WebPubSubRequestType)[keyof typeof WebPubSubRequestType]; - -export const WebPubSubSkuTier = { - Free: "Free", - Basic: "Basic", - Standard: "Standard", - Premium: "Premium", -} as const; - -/** - * Optional tier of this particular SKU. 'Standard' or 'Free'. - * - * `Basic` is deprecated, use `Standard` instead. - */ -export type WebPubSubSkuTier = (typeof WebPubSubSkuTier)[keyof typeof WebPubSubSkuTier]; diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 4021eb0d0fa2..c6d0ecb0d089 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -18716,6 +18716,26 @@ export namespace appplatform { resourceId?: pulumi.Input; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesArgs { + /** + * build service agent pool size properties + */ + poolSize?: pulumi.Input; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesArgs { + /** + * The name of build service agent pool size + */ + name?: pulumi.Input; + } + /** * KPack Builder properties payload */ @@ -18810,6 +18830,76 @@ export namespace appplatform { networkProfile?: pulumi.Input; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Property of git environment. */ @@ -18968,6 +19058,20 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + /** * API metadata property for Spring Cloud Gateway */ @@ -19155,6 +19259,56 @@ export namespace appplatform { routes?: pulumi.Input[]>; } + /** + * Git repository property payload + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Managed identity properties retrieved from ARM request headers. */ @@ -19173,6 +19327,24 @@ export namespace appplatform { type?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * Indicates whether enable the trace functionality + */ + traceEnabled?: pulumi.Input; + } + /** * Service network profile payload */ @@ -19419,6 +19591,76 @@ export namespace appplatform { networkProfile?: pulumi.Input; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Custom domain of app resource payload. */ @@ -19497,6 +19739,70 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Managed identity properties retrieved from ARM request headers. */ @@ -19515,6 +19821,24 @@ export namespace appplatform { type?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * Indicates whether enable the trace functionality + */ + traceEnabled?: pulumi.Input; + } + /** * Service network profile payload */ @@ -19713,6 +20037,76 @@ export namespace appplatform { networkProfile?: pulumi.Input; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Custom domain of app resource payload. */ @@ -19791,6 +20185,70 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Managed identity properties retrieved from ARM request headers. */ @@ -19809,6 +20267,28 @@ export namespace appplatform { type?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Service network profile payload */ @@ -20017,6 +20497,76 @@ export namespace appplatform { networkProfile?: pulumi.Input; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Custom container payload */ @@ -20125,6 +20675,70 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Credential of the image registry */ @@ -20157,6 +20771,28 @@ export namespace appplatform { type?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Service network profile payload */ @@ -20400,6 +21036,76 @@ export namespace appplatform { networkProfile?: pulumi.Input; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Properties of certificate imported from key vault. */ @@ -20551,6 +21257,70 @@ export namespace appplatform { disableProbe?: pulumi.Input; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Credential of the image registry */ @@ -20642,6 +21412,28 @@ export namespace appplatform { type?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Service network profile payload */ @@ -20959,6 +21751,26 @@ export namespace appplatform { version?: pulumi.Input; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesArgs { + /** + * build service agent pool size properties + */ + poolSize?: pulumi.Input; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesArgs { + /** + * The name of build service agent pool size + */ + name?: pulumi.Input; + } + /** * KPack Builder properties payload */ @@ -21045,6 +21857,76 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Property of git environment. */ @@ -21263,6 +22145,20 @@ export namespace appplatform { resourceRequests?: pulumi.Input; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + /** * API metadata property for Spring Cloud Gateway */ @@ -21450,6 +22346,56 @@ export namespace appplatform { routes?: pulumi.Input[]>; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Credential of the image registry */ @@ -21568,6 +22514,28 @@ export namespace appplatform { type?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Uploaded Jar binary for a deployment */ @@ -21968,6 +22936,26 @@ export namespace appplatform { version?: pulumi.Input; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesArgs { + /** + * build service agent pool size properties + */ + poolSize?: pulumi.Input; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesArgs { + /** + * The name of build service agent pool size + */ + name?: pulumi.Input; + } + /** * KPack Builder properties payload */ @@ -22054,6 +23042,76 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Property of git environment. */ @@ -22276,6 +23334,20 @@ export namespace appplatform { resourceRequests?: pulumi.Input; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + /** * API metadata property for Spring Cloud Gateway */ @@ -22463,6 +23535,56 @@ export namespace appplatform { routes?: pulumi.Input[]>; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Credential of the image registry */ @@ -22585,6 +23707,28 @@ export namespace appplatform { userAssignedIdentities?: pulumi.Input<{[key: string]: any}>; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Uploaded Jar binary for a deployment */ @@ -22908,6 +24052,26 @@ export namespace appplatform { version?: pulumi.Input; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesArgs { + /** + * build service agent pool size properties + */ + poolSize?: pulumi.Input; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesArgs { + /** + * The name of build service agent pool size + */ + name?: pulumi.Input; + } + /** * KPack Builder properties payload */ @@ -22994,6 +24158,76 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Property of git environment. */ @@ -23139,6 +24373,70 @@ export namespace appplatform { resourceRequests?: pulumi.Input; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * Uploaded Jar binary for a deployment */ @@ -23243,6 +24541,28 @@ export namespace appplatform { type?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Uploaded Jar binary for a deployment */ @@ -23626,6 +24946,26 @@ export namespace appplatform { version?: pulumi.Input; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesArgs { + /** + * build service agent pool size properties + */ + poolSize?: pulumi.Input; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesArgs { + /** + * The name of build service agent pool size + */ + name?: pulumi.Input; + } + /** * KPack Builder properties payload */ @@ -23721,6 +25061,76 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Property of git environment. */ @@ -23980,6 +25390,20 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + /** * ExecAction describes a "run in container" action. */ @@ -24196,6 +25620,56 @@ export namespace appplatform { routes?: pulumi.Input[]>; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * HTTPGetAction describes an action based on HTTP Get requests. */ @@ -24369,6 +25843,28 @@ export namespace appplatform { publisher?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Uploaded Jar binary for a deployment */ @@ -24870,6 +26366,26 @@ export namespace appplatform { version?: pulumi.Input; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesArgs { + /** + * build service agent pool size properties + */ + poolSize?: pulumi.Input; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesArgs { + /** + * The name of build service agent pool size + */ + name?: pulumi.Input; + } + /** * KPack Builder properties payload */ @@ -24965,6 +26481,76 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Repositories of git. + */ + repositories?: pulumi.Input[]>; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesArgs { + /** + * Settings of config server. + */ + configServer?: pulumi.Input; + /** + * Error when apply config server settings. + */ + error?: pulumi.Input; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsArgs { + /** + * Property of git environment. + */ + gitProperty?: pulumi.Input; + } + /** * Property of git environment. */ @@ -25224,6 +26810,20 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorArgs { + /** + * The code of error. + */ + code?: pulumi.Input; + /** + * The message of error. + */ + message?: pulumi.Input; + } + /** * ExecAction describes a "run in container" action. */ @@ -25453,6 +27053,56 @@ export namespace appplatform { }; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryArgs { + /** + * Public sshKey of git repository. + */ + hostKey?: pulumi.Input; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: pulumi.Input; + /** + * Label of the repository + */ + label?: pulumi.Input; + /** + * Name of the repository + */ + name: pulumi.Input; + /** + * Password of git repository basic auth. + */ + password?: pulumi.Input; + /** + * Collection of pattern of the repository + */ + pattern?: pulumi.Input[]>; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: pulumi.Input; + /** + * Searching path of the repository + */ + searchPaths?: pulumi.Input[]>; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: pulumi.Input; + /** + * URI of the repository + */ + uri: pulumi.Input; + /** + * Username of git repository basic auth. + */ + username?: pulumi.Input; + } + /** * HTTPGetAction describes an action based on HTTP Get requests. */ @@ -25666,6 +27316,28 @@ export namespace appplatform { publisher?: pulumi.Input; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesArgs { + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: pulumi.Input; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: pulumi.Input; + /** + * Error when apply Monitoring Setting changes. + */ + error?: pulumi.Input; + /** + * 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 + */ + traceEnabled?: pulumi.Input; + } + /** * Uploaded Jar binary for a deployment */ @@ -255858,186 +257530,7 @@ export namespace dbforpostgresql { /** * Sku information related properties of a server. */ - export interface SkuArgs { - /** - * The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - */ - name: pulumi.Input; - /** - * The tier of the particular SKU, e.g. Burstable. - */ - tier: pulumi.Input; - } - - /** - * Storage properties of a server - */ - export interface StorageArgs { - /** - * Max storage allowed for a server. - */ - storageSizeGB?: pulumi.Input; - } - - } - - export namespace v20220308preview { - /** - * Authentication configuration properties of a server - */ - export interface AuthConfigArgs { - /** - * If true, Azure Active Directory authentication is enabled. - */ - activeDirectoryAuthEnabled?: pulumi.Input; - /** - * If true, Password authentication is enabled. - */ - passwordAuthEnabled?: pulumi.Input; - /** - * Tenant id of the server. - */ - tenantId?: pulumi.Input; - } - /** - * authConfigArgsProvideDefaults sets the appropriate defaults for AuthConfigArgs - */ - export function authConfigArgsProvideDefaults(val: AuthConfigArgs): AuthConfigArgs { - return { - ...val, - passwordAuthEnabled: (val.passwordAuthEnabled) ?? true, - tenantId: (val.tenantId) ?? "", - }; - } - - /** - * Backup properties of a server - */ - export interface BackupArgs { - /** - * Backup retention days for the server. - */ - backupRetentionDays?: pulumi.Input; - /** - * A value indicating whether Geo-Redundant backup is enabled on the server. - */ - geoRedundantBackup?: pulumi.Input; - } - /** - * backupArgsProvideDefaults sets the appropriate defaults for BackupArgs - */ - export function backupArgsProvideDefaults(val: BackupArgs): BackupArgs { - return { - ...val, - backupRetentionDays: (val.backupRetentionDays) ?? 7, - geoRedundantBackup: (val.geoRedundantBackup) ?? "Disabled", - }; - } - - /** - * Data encryption properties of a server - */ - export interface DataEncryptionArgs { - /** - * URI for the key for data encryption for primary server. - */ - primaryKeyURI?: pulumi.Input; - /** - * Resource Id for the User assigned identity to be used for data encryption for primary server. - */ - primaryUserAssignedIdentityId?: pulumi.Input; - /** - * Data encryption type to depict if it is System assigned vs Azure Key vault. - */ - type?: pulumi.Input; - } - - /** - * High availability properties of a server - */ - export interface HighAvailabilityArgs { - /** - * The HA mode for the server. - */ - mode?: pulumi.Input; - /** - * availability zone information of the standby. - */ - standbyAvailabilityZone?: pulumi.Input; - } - /** - * highAvailabilityArgsProvideDefaults sets the appropriate defaults for HighAvailabilityArgs - */ - export function highAvailabilityArgsProvideDefaults(val: HighAvailabilityArgs): HighAvailabilityArgs { - return { - ...val, - mode: (val.mode) ?? "Disabled", - standbyAvailabilityZone: (val.standbyAvailabilityZone) ?? "", - }; - } - - /** - * Maintenance window properties of a server. - */ - export interface MaintenanceWindowArgs { - /** - * indicates whether custom window is enabled or disabled - */ - customWindow?: pulumi.Input; - /** - * day of week for maintenance window - */ - dayOfWeek?: pulumi.Input; - /** - * start hour for maintenance window - */ - startHour?: pulumi.Input; - /** - * start minute for maintenance window - */ - startMinute?: pulumi.Input; - } - /** - * maintenanceWindowArgsProvideDefaults sets the appropriate defaults for MaintenanceWindowArgs - */ - export function maintenanceWindowArgsProvideDefaults(val: MaintenanceWindowArgs): MaintenanceWindowArgs { - return { - ...val, - customWindow: (val.customWindow) ?? "Disabled", - dayOfWeek: (val.dayOfWeek) ?? 0, - startHour: (val.startHour) ?? 0, - startMinute: (val.startMinute) ?? 0, - }; - } - - /** - * Network properties of a server - */ - export interface NetworkArgs { - /** - * delegated subnet arm resource id. - */ - delegatedSubnetResourceId?: pulumi.Input; - /** - * private dns zone arm resource id. - */ - privateDnsZoneArmResourceId?: pulumi.Input; - } - /** - * networkArgsProvideDefaults sets the appropriate defaults for NetworkArgs - */ - export function networkArgsProvideDefaults(val: NetworkArgs): NetworkArgs { - return { - ...val, - delegatedSubnetResourceId: (val.delegatedSubnetResourceId) ?? "", - privateDnsZoneArmResourceId: (val.privateDnsZoneArmResourceId) ?? "", - }; - } - - /** - * Sku information related properties of a server. - */ - export interface PostgreSqlSkuArgs { + export interface SkuArgs { /** * The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */ @@ -256045,7 +257538,7 @@ export namespace dbforpostgresql { /** * The tier of the particular SKU, e.g. Burstable. */ - tier: pulumi.Input; + tier: pulumi.Input; } /** @@ -256058,34 +257551,6 @@ export namespace dbforpostgresql { storageSizeGB?: pulumi.Input; } - /** - * Information describing the identities associated with this application. - */ - export interface UserAssignedIdentityArgs { - /** - * the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - */ - type: pulumi.Input; - /** - * represents user assigned identities map. - */ - userAssignedIdentities?: pulumi.Input<{[key: string]: pulumi.Input}>; - } - - /** - * Describes a single user-assigned identity associated with the application. - */ - export interface UserIdentityArgs { - /** - * the client identifier of the Service Principal which this identity represents. - */ - clientId?: pulumi.Input; - /** - * the object identifier of the Service Principal which this identity represents. - */ - principalId?: pulumi.Input; - } - } export namespace v20220308privatepreview { @@ -821144,246 +822609,32 @@ export namespace webpubsub { } - export namespace v20210601preview { - /** - * Diagnostic configuration of a Microsoft.SignalRService resource. Used together with Azure monitor DiagnosticSettings. - */ - export interface DiagnosticConfigurationArgs { - /** - * Indicate whether or not enable Connectivity logs. - * Available values: Enabled, Disabled. - * Case insensitive. - */ - enableConnectivityLogs?: pulumi.Input; - /** - * Indicate whether or not enable Live Trace. - * Available values: Enabled, Disabled. - * Case insensitive. - * Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. - */ - enableLiveTrace?: pulumi.Input; - /** - * Indicate whether or not enable Messaging logs. - * Available values: Enabled, Disabled. - * Case insensitive. - */ - enableMessagingLogs?: pulumi.Input; - } - - /** - * The settings for event handler in webpubsub service - */ - export interface EventHandlerSettingsArgs { - /** - * Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate. - */ - items?: pulumi.Input<{[key: string]: pulumi.Input[]>}>; - } - - /** - * EventHandler template item settings. - */ - export interface EventHandlerTemplateArgs { - /** - * Gets or sets the auth settings for an event handler. If not set, no auth is used. - */ - auth?: pulumi.Input; - /** - * Gets ot sets the system event pattern. - * There are 2 kind of patterns supported: - * 1. The single event name, for example, "connect", it matches "connect" - * 2. Combine multiple events with ",", for example "connect,disconnected", it matches event "connect" and "disconnected" - */ - systemEventPattern?: pulumi.Input; - /** - * Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - * For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - */ - urlTemplate: pulumi.Input; - /** - * Gets or sets the matching pattern for event names. - * There are 3 kind of patterns supported: - * 1. "*", it to matches any event name - * 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - * 3. The single event name, for example, "event1", it matches "event1" - */ - userEventPattern?: pulumi.Input; - } - - /** - * A class represent managed identities used for request and response - */ - export interface ManagedIdentityArgs { - /** - * Represent the identity type: systemAssigned, userAssigned, None - */ - type?: pulumi.Input; - /** - * Get or set the user assigned identities - */ - userAssignedIdentities?: pulumi.Input<{[key: string]: any}>; - } - - /** - * Managed identity settings for upstream. - */ - export interface ManagedIdentitySettingsArgs { - /** - * The Resource indicating the App ID URI of the target resource. - * It also appears in the aud (audience) claim of the issued token. - */ - resource?: pulumi.Input; - } - - /** - * Network ACL - */ - export interface NetworkACLArgs { - /** - * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - allow?: pulumi.Input[]>; - /** - * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - deny?: pulumi.Input[]>; - } - - /** - * Private endpoint - */ - export interface PrivateEndpointArgs { - /** - * Full qualified Id of the private endpoint - */ - id?: pulumi.Input; - } - - /** - * ACL for a private endpoint - */ - export interface PrivateEndpointACLArgs { - /** - * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - allow?: pulumi.Input[]>; - /** - * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - deny?: pulumi.Input[]>; - /** - * Name of the private endpoint connection - */ - name: pulumi.Input; - } - - /** - * Connection state of the private endpoint connection - */ - export interface PrivateLinkServiceConnectionStateArgs { - /** - * A message indicating if changes on the service provider require any updates on the consumer. - */ - actionsRequired?: pulumi.Input; - /** - * The reason for approval/rejection of the connection. - */ - description?: pulumi.Input; - /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - */ - status?: pulumi.Input; - } - - /** - * The billing information of the resource. - */ - export interface ResourceSkuArgs { - /** - * Optional, integer. The unit count of the resource. 1 by default. - * - * If present, following values are allowed: - * Free: 1 - * Standard: 1,2,5,10,20,50,100 - */ - capacity?: pulumi.Input; - /** - * The name of the SKU. Required. - * - * Allowed values: Standard_S1, Free_F1 - */ - name: pulumi.Input; - /** - * Optional tier of this particular SKU. 'Standard' or 'Free'. - * - * `Basic` is deprecated, use `Standard` instead. - */ - tier?: pulumi.Input; - } - - /** - * Upstream auth settings. - */ - export interface UpstreamAuthSettingsArgs { - /** - * Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. - */ - managedIdentity?: pulumi.Input; - /** - * Gets or sets the type of auth. None or ManagedIdentity is supported now. - */ - type?: pulumi.Input; - } - - /** - * Network ACLs for the resource - */ - export interface WebPubSubNetworkACLsArgs { - /** - * Default action when no other rule matches - */ - defaultAction?: pulumi.Input; - /** - * ACLs for requests from private endpoints - */ - privateEndpoints?: pulumi.Input[]>; - /** - * ACL for requests from public network - */ - publicNetwork?: pulumi.Input; - } - /** - * webPubSubNetworkACLsArgsProvideDefaults sets the appropriate defaults for WebPubSubNetworkACLsArgs - */ - export function webPubSubNetworkACLsArgsProvideDefaults(val: WebPubSubNetworkACLsArgs): WebPubSubNetworkACLsArgs { - return { - ...val, - defaultAction: (val.defaultAction) ?? "Deny", - }; - } - - /** - * TLS settings for the resource - */ - export interface WebPubSubTlsSettingsArgs { - /** - * Request client certificate during TLS handshake if enabled - */ - clientCertEnabled?: pulumi.Input; - } - /** - * webPubSubTlsSettingsArgsProvideDefaults sets the appropriate defaults for WebPubSubTlsSettingsArgs - */ - export function webPubSubTlsSettingsArgsProvideDefaults(val: WebPubSubTlsSettingsArgs): WebPubSubTlsSettingsArgs { - return { - ...val, - clientCertEnabled: (val.clientCertEnabled) ?? true, - }; - } - - } - - export namespace v20210901preview { + export namespace v20210601preview { + /** + * Diagnostic configuration of a Microsoft.SignalRService resource. Used together with Azure monitor DiagnosticSettings. + */ + export interface DiagnosticConfigurationArgs { + /** + * Indicate whether or not enable Connectivity logs. + * Available values: Enabled, Disabled. + * Case insensitive. + */ + enableConnectivityLogs?: pulumi.Input; + /** + * Indicate whether or not enable Live Trace. + * Available values: Enabled, Disabled. + * Case insensitive. + * Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. + */ + enableLiveTrace?: pulumi.Input; + /** + * Indicate whether or not enable Messaging logs. + * Available values: Enabled, Disabled. + * Case insensitive. + */ + enableMessagingLogs?: pulumi.Input; + } + /** * The settings for event handler in webpubsub service */ @@ -821391,7 +822642,7 @@ export namespace webpubsub { /** * Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate. */ - items?: pulumi.Input<{[key: string]: pulumi.Input[]>}>; + items?: pulumi.Input<{[key: string]: pulumi.Input[]>}>; } /** @@ -821401,7 +822652,7 @@ export namespace webpubsub { /** * Gets or sets the auth settings for an event handler. If not set, no auth is used. */ - auth?: pulumi.Input; + auth?: pulumi.Input; /** * Gets ot sets the system event pattern. * There are 2 kind of patterns supported: @@ -821424,51 +822675,6 @@ export namespace webpubsub { userEventPattern?: pulumi.Input; } - /** - * live trace category configuration of a Microsoft.SignalRService resource. - */ - export interface LiveTraceCategoryArgs { - /** - * Indicates whether or the log category is enabled. - * Available values: true, false. - * Case insensitive. - */ - enabled?: pulumi.Input; - /** - * Gets or sets the log category's name. - * Available values: ConnectivityLogs, MessagingLogs. - * Case insensitive. - */ - name?: pulumi.Input; - } - - /** - * Live trace configuration of a Microsoft.SignalRService resource. - */ - export interface LiveTraceConfigurationArgs { - /** - * Gets or sets the list of category configurations. - */ - categories?: pulumi.Input[]>; - /** - * Indicates whether or not enable live trace. - * When it's set to true, live trace client can connect to the service. - * Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - * Available values: true, false. - * Case insensitive. - */ - enabled?: pulumi.Input; - } - /** - * liveTraceConfigurationArgsProvideDefaults sets the appropriate defaults for LiveTraceConfigurationArgs - */ - export function liveTraceConfigurationArgsProvideDefaults(val: LiveTraceConfigurationArgs): LiveTraceConfigurationArgs { - return { - ...val, - enabled: (val.enabled) ?? "false", - }; - } - /** * A class represent managed identities used for request and response */ @@ -821476,7 +822682,7 @@ export namespace webpubsub { /** * Represent the identity type: systemAssigned, userAssigned, None */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Get or set the user assigned identities */ @@ -821501,11 +822707,11 @@ export namespace webpubsub { /** * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - allow?: pulumi.Input[]>; + allow?: pulumi.Input[]>; /** * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - deny?: pulumi.Input[]>; + deny?: pulumi.Input[]>; } /** @@ -821525,11 +822731,11 @@ export namespace webpubsub { /** * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - allow?: pulumi.Input[]>; + allow?: pulumi.Input[]>; /** * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - deny?: pulumi.Input[]>; + deny?: pulumi.Input[]>; /** * Name of the private endpoint connection */ @@ -821551,7 +822757,7 @@ export namespace webpubsub { /** * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -821577,7 +822783,7 @@ export namespace webpubsub { * * `Basic` is deprecated, use `Standard` instead. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -821587,11 +822793,11 @@ export namespace webpubsub { /** * Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. */ - managedIdentity?: pulumi.Input; + managedIdentity?: pulumi.Input; /** * Gets or sets the type of auth. None or ManagedIdentity is supported now. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -821601,15 +822807,15 @@ export namespace webpubsub { /** * Default action when no other rule matches */ - defaultAction?: pulumi.Input; + defaultAction?: pulumi.Input; /** * ACLs for requests from private endpoints */ - privateEndpoints?: pulumi.Input[]>; + privateEndpoints?: pulumi.Input[]>; /** * ACL for requests from public network */ - publicNetwork?: pulumi.Input; + publicNetwork?: pulumi.Input; } /** * webPubSubNetworkACLsArgsProvideDefaults sets the appropriate defaults for WebPubSubNetworkACLsArgs @@ -821642,19 +822848,32 @@ export namespace webpubsub { } - export namespace v20211001 { + export namespace v20210901preview { /** - * Properties of event handler. + * The settings for event handler in webpubsub service */ - export interface EventHandlerArgs { + export interface EventHandlerSettingsArgs { /** - * Upstream auth settings. If not set, no auth is used for upstream messages. + * Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate. */ - auth?: pulumi.Input; + items?: pulumi.Input<{[key: string]: pulumi.Input[]>}>; + } + + /** + * EventHandler template item settings. + */ + export interface EventHandlerTemplateArgs { /** - * Gets ot sets the list of system events. + * Gets or sets the auth settings for an event handler. If not set, no auth is used. */ - systemEvents?: pulumi.Input[]>; + auth?: pulumi.Input; + /** + * Gets ot sets the system event pattern. + * There are 2 kind of patterns supported: + * 1. The single event name, for example, "connect", it matches "connect" + * 2. Combine multiple events with ",", for example "connect,disconnected", it matches event "connect" and "disconnected" + */ + systemEventPattern?: pulumi.Input; /** * Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. * For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. @@ -821671,17 +822890,17 @@ export namespace webpubsub { } /** - * Live trace category configuration of a Microsoft.SignalRService resource. + * live trace category configuration of a Microsoft.SignalRService resource. */ export interface LiveTraceCategoryArgs { /** - * Indicates whether or the live trace category is enabled. + * Indicates whether or the log category is enabled. * Available values: true, false. * Case insensitive. */ enabled?: pulumi.Input; /** - * Gets or sets the live trace category's name. + * Gets or sets the log category's name. * Available values: ConnectivityLogs, MessagingLogs. * Case insensitive. */ @@ -821695,7 +822914,7 @@ export namespace webpubsub { /** * Gets or sets the list of category configurations. */ - categories?: pulumi.Input[]>; + categories?: pulumi.Input[]>; /** * Indicates whether or not enable live trace. * When it's set to true, live trace client can connect to the service. @@ -821720,9 +822939,9 @@ export namespace webpubsub { */ export interface ManagedIdentityArgs { /** - * Represents the identity type: systemAssigned, userAssigned, None + * Represent the identity type: systemAssigned, userAssigned, None */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Get or set the user assigned identities */ @@ -821747,11 +822966,11 @@ export namespace webpubsub { /** * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - allow?: pulumi.Input[]>; + allow?: pulumi.Input[]>; /** * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - deny?: pulumi.Input[]>; + deny?: pulumi.Input[]>; } /** @@ -821771,11 +822990,11 @@ export namespace webpubsub { /** * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - allow?: pulumi.Input[]>; + allow?: pulumi.Input[]>; /** * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - deny?: pulumi.Input[]>; + deny?: pulumi.Input[]>; /** * Name of the private endpoint connection */ @@ -821797,35 +823016,7 @@ export namespace webpubsub { /** * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: pulumi.Input; - } - - /** - * Resource log category configuration of a Microsoft.SignalRService resource. - */ - export interface ResourceLogCategoryArgs { - /** - * Indicates whether or the resource log category is enabled. - * Available values: true, false. - * Case insensitive. - */ - enabled?: pulumi.Input; - /** - * Gets or sets the resource log category's name. - * Available values: ConnectivityLogs, MessagingLogs. - * Case insensitive. - */ - name?: pulumi.Input; - } - - /** - * Resource log configuration of a Microsoft.SignalRService resource. - */ - export interface ResourceLogConfigurationArgs { - /** - * Gets or sets the list of category configurations. - */ - categories?: pulumi.Input[]>; + status?: pulumi.Input; } /** @@ -821851,64 +823042,50 @@ export namespace webpubsub { * * `Basic` is deprecated, use `Standard` instead. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** - * Upstream auth settings. If not set, no auth is used for upstream messages. + * Upstream auth settings. */ export interface UpstreamAuthSettingsArgs { /** - * Managed identity settings for upstream. + * Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. */ - managedIdentity?: pulumi.Input; + managedIdentity?: pulumi.Input; /** - * Upstream auth type enum. + * Gets or sets the type of auth. None or ManagedIdentity is supported now. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** - * Properties of a hub. + * Network ACLs for the resource */ - export interface WebPubSubHubPropertiesArgs { + export interface WebPubSubNetworkACLsArgs { /** - * The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". + * Default action when no other rule matches */ - anonymousConnectPolicy?: pulumi.Input; + defaultAction?: pulumi.Input; /** - * Event handler of a hub. + * ACLs for requests from private endpoints */ - eventHandlers?: pulumi.Input[]>; + privateEndpoints?: pulumi.Input[]>; + /** + * ACL for requests from public network + */ + publicNetwork?: pulumi.Input; } /** - * webPubSubHubPropertiesArgsProvideDefaults sets the appropriate defaults for WebPubSubHubPropertiesArgs + * webPubSubNetworkACLsArgsProvideDefaults sets the appropriate defaults for WebPubSubNetworkACLsArgs */ - export function webPubSubHubPropertiesArgsProvideDefaults(val: WebPubSubHubPropertiesArgs): WebPubSubHubPropertiesArgs { + export function webPubSubNetworkACLsArgsProvideDefaults(val: WebPubSubNetworkACLsArgs): WebPubSubNetworkACLsArgs { return { ...val, - anonymousConnectPolicy: (val.anonymousConnectPolicy) ?? "deny", + defaultAction: (val.defaultAction) ?? "Deny", }; } - /** - * Network ACLs for the resource - */ - export interface WebPubSubNetworkACLsArgs { - /** - * Azure Networking ACL Action. - */ - defaultAction?: pulumi.Input; - /** - * ACLs for requests from private endpoints - */ - privateEndpoints?: pulumi.Input[]>; - /** - * Network ACL - */ - publicNetwork?: pulumi.Input; - } - /** * TLS settings for the resource */ @@ -821930,7 +823107,7 @@ export namespace webpubsub { } - export namespace v20220801preview { + export namespace v20211001 { /** * Properties of event handler. */ @@ -821938,9 +823115,9 @@ export namespace webpubsub { /** * Upstream auth settings. If not set, no auth is used for upstream messages. */ - auth?: pulumi.Input; + auth?: pulumi.Input; /** - * Gets or sets the list of system events. + * Gets ot sets the list of system events. */ systemEvents?: pulumi.Input[]>; /** @@ -821950,67 +823127,10 @@ export namespace webpubsub { urlTemplate: pulumi.Input; /** * Gets or sets the matching pattern for event names. - * There are 3 kinds of patterns supported: - * 1. "*", it matches any event name + * There are 3 kind of patterns supported: + * 1. "*", it to matches any event name * 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - * 3. A single event name, for example, "event1", it matches "event1" - */ - userEventPattern?: pulumi.Input; - } - - /** - * An Event Hub endpoint. - * The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. - */ - export interface EventHubEndpointArgs { - /** - * The name of the Event Hub. - */ - eventHubName: pulumi.Input; - /** - * The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - */ - fullyQualifiedNamespace: pulumi.Input; - /** - * - * Expected value is 'EventHub'. - */ - type: pulumi.Input<"EventHub">; - } - - /** - * A setting defines which kinds of events should be sent to which endpoint. - */ - export interface EventListenerArgs { - /** - * An endpoint specifying where Web PubSub should send events to. - */ - endpoint: pulumi.Input; - /** - * A base class for event filter which determines whether an event should be sent to an event listener. - */ - filter: pulumi.Input; - } - - /** - * Filter events by their name. - */ - export interface EventNameFilterArgs { - /** - * Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - */ - systemEvents?: pulumi.Input[]>; - /** - * - * Expected value is 'EventName'. - */ - type: pulumi.Input<"EventName">; - /** - * Gets or sets a matching pattern for event names. - * There are 3 kinds of patterns supported: - * 1. "*", it matches any event name - * 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - * 3. A single event name, for example, "event1", it matches "event1" + * 3. The single event name, for example, "event1", it matches "event1" */ userEventPattern?: pulumi.Input; } @@ -822040,7 +823160,7 @@ export namespace webpubsub { /** * Gets or sets the list of category configurations. */ - categories?: pulumi.Input[]>; + categories?: pulumi.Input[]>; /** * Indicates whether or not enable live trace. * When it's set to true, live trace client can connect to the service. @@ -822067,7 +823187,7 @@ export namespace webpubsub { /** * Represents the identity type: systemAssigned, userAssigned, None */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Get or set the user assigned identities */ @@ -822092,11 +823212,11 @@ export namespace webpubsub { /** * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - allow?: pulumi.Input[]>; + allow?: pulumi.Input[]>; /** * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - deny?: pulumi.Input[]>; + deny?: pulumi.Input[]>; } /** @@ -822116,11 +823236,11 @@ export namespace webpubsub { /** * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - allow?: pulumi.Input[]>; + allow?: pulumi.Input[]>; /** * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */ - deny?: pulumi.Input[]>; + deny?: pulumi.Input[]>; /** * Name of the private endpoint connection */ @@ -822142,7 +823262,7 @@ export namespace webpubsub { /** * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -822170,17 +823290,7 @@ export namespace webpubsub { /** * Gets or sets the list of category configurations. */ - categories?: pulumi.Input[]>; - } - - /** - * Reference to a resource. - */ - export interface ResourceReferenceArgs { - /** - * Resource ID. - */ - id?: pulumi.Input; + categories?: pulumi.Input[]>; } /** @@ -822191,15 +823301,14 @@ export namespace webpubsub { * Optional, integer. The unit count of the resource. 1 by default. * * If present, following values are allowed: - * Free: 1; - * Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - * Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; + * Free: 1 + * Standard: 1,2,5,10,20,50,100 */ capacity?: pulumi.Input; /** * The name of the SKU. Required. * - * Allowed values: Standard_S1, Free_F1, Premium_P1 + * Allowed values: Standard_S1, Free_F1 */ name: pulumi.Input; /** @@ -822207,7 +823316,7 @@ export namespace webpubsub { * * `Basic` is deprecated, use `Standard` instead. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -822217,11 +823326,11 @@ export namespace webpubsub { /** * Managed identity settings for upstream. */ - managedIdentity?: pulumi.Input; + managedIdentity?: pulumi.Input; /** * Upstream auth type enum. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -822235,14 +823344,7 @@ export namespace webpubsub { /** * Event handler of a hub. */ - eventHandlers?: pulumi.Input[]>; - /** - * Event listener settings for forwarding your client events to listeners. - * Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - * One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - * Maximum count of event listeners among all hubs is 10. - */ - eventListeners?: pulumi.Input[]>; + eventHandlers?: pulumi.Input[]>; } /** * webPubSubHubPropertiesArgsProvideDefaults sets the appropriate defaults for WebPubSubHubPropertiesArgs @@ -822261,15 +823363,15 @@ export namespace webpubsub { /** * Azure Networking ACL Action. */ - defaultAction?: pulumi.Input; + defaultAction?: pulumi.Input; /** * ACLs for requests from private endpoints */ - privateEndpoints?: pulumi.Input[]>; + privateEndpoints?: pulumi.Input[]>; /** * Network ACL */ - publicNetwork?: pulumi.Input; + publicNetwork?: pulumi.Input; } /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 5506e22e104e..0be31512993d 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -22574,6 +22574,38 @@ export namespace appplatform { updatedAt: string; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesResponse { + /** + * build service agent pool size properties + */ + poolSize?: outputs.appplatform.BuildServiceAgentPoolSizePropertiesResponse; + /** + * Provisioning state of the build service agent pool + */ + provisioningState: string; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesResponse { + /** + * The cpu property of build service agent pool size + */ + cpu: string; + /** + * The memory property of build service agent pool size + */ + memory: string; + /** + * The name of build service agent pool size + */ + name?: string; + } + /** * KPack Builder properties payload */ @@ -22716,6 +22748,80 @@ export namespace appplatform { version: number; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.ConfigServerGitPropertyResponse; + } + /** * Property of git environment. */ @@ -22972,6 +23078,20 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + /** * API metadata property for Spring Cloud Gateway */ @@ -23225,6 +23345,56 @@ export namespace appplatform { routes?: outputs.appplatform.GatewayApiRouteResponse[]; } + /** + * Git repository property payload + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Managed identity properties retrieved from ARM request headers. */ @@ -23243,6 +23413,28 @@ export namespace appplatform { type?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Target application insight instrumentation key + */ + appInsightsInstrumentationKey?: string; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * Indicates whether enable the trace functionality + */ + traceEnabled?: boolean; + } + /** * Service network profile payload */ @@ -23685,6 +23877,80 @@ export namespace appplatform { version: number; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20200701.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20200701.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20200701.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20200701.ConfigServerGitPropertyResponse; + } + /** * Custom domain of app resource payload. */ @@ -23817,6 +24083,70 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Managed identity properties retrieved from ARM request headers. */ @@ -23835,6 +24165,28 @@ export namespace appplatform { type?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Target application insight instrumentation key + */ + appInsightsInstrumentationKey?: string; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20200701.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * Indicates whether enable the trace functionality + */ + traceEnabled?: boolean; + } + /** * Service network profile payload */ @@ -24047,6 +24399,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * Binding resource properties payload */ @@ -24153,6 +24515,80 @@ export namespace appplatform { version: number; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20201101preview.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20201101preview.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20201101preview.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20201101preview.ConfigServerGitPropertyResponse; + } + /** * Custom domain of app resource payload. */ @@ -24285,6 +24721,70 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Managed identity properties retrieved from ARM request headers. */ @@ -24303,6 +24803,36 @@ export namespace appplatform { type?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20201101preview.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20201101preview.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Service network profile payload */ @@ -24525,6 +25055,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * Binding resource properties payload */ @@ -24631,6 +25171,80 @@ export namespace appplatform { version: number; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20210601preview.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20210601preview.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20210601preview.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20210601preview.ConfigServerGitPropertyResponse; + } + /** * Custom container payload */ @@ -24793,6 +25407,70 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Credential of the image registry */ @@ -24825,6 +25503,36 @@ export namespace appplatform { type?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20210601preview.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20210601preview.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Service network profile payload */ @@ -25073,6 +25781,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * The properties of the Azure File volume. Azure File shares are mounted as volumes. */ @@ -25164,6 +25882,80 @@ export namespace appplatform { version: number; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20210901preview.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20210901preview.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20210901preview.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20210901preview.ConfigServerGitPropertyResponse; + } + /** * Properties of certificate imported from key vault. */ @@ -25393,6 +26185,70 @@ export namespace appplatform { disableProbe?: boolean; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + + /** + * Git repository property payload + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Credential of the image registry */ @@ -25512,6 +26368,36 @@ export namespace appplatform { type?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20210901preview.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20210901preview.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Service network profile payload */ @@ -25891,6 +26777,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * The properties of the Azure File volume. Azure File shares are mounted as volumes. */ @@ -25975,6 +26871,38 @@ export namespace appplatform { version?: string; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesResponse { + /** + * build service agent pool size properties + */ + poolSize?: outputs.appplatform.v20220101preview.BuildServiceAgentPoolSizePropertiesResponse; + /** + * Provisioning state of the build service agent pool + */ + provisioningState: string; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesResponse { + /** + * The cpu property of build service agent pool size + */ + cpu: string; + /** + * The memory property of build service agent pool size + */ + memory: string; + /** + * The name of build service agent pool size + */ + name?: string; + } + /** * KPack Builder properties payload */ @@ -26089,6 +27017,80 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20220101preview.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20220101preview.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20220101preview.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20220101preview.ConfigServerGitPropertyResponse; + } + /** * Property of git environment. */ @@ -26421,6 +27423,20 @@ export namespace appplatform { resourceRequests?: outputs.appplatform.v20220101preview.ResourceRequestsResponse; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + /** * API metadata property for Spring Cloud Gateway */ @@ -26674,6 +27690,56 @@ export namespace appplatform { routes?: outputs.appplatform.v20220101preview.GatewayApiRouteResponse[]; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Credential of the image registry */ @@ -26820,6 +27886,36 @@ export namespace appplatform { type?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20220101preview.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20220101preview.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Uploaded Jar binary for a deployment */ @@ -27332,6 +28428,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * The properties of the Azure File volume. Azure File shares are mounted as volumes. */ @@ -27416,6 +28522,38 @@ export namespace appplatform { version?: string; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesResponse { + /** + * build service agent pool size properties + */ + poolSize?: outputs.appplatform.v20220301preview.BuildServiceAgentPoolSizePropertiesResponse; + /** + * Provisioning state of the build service agent pool + */ + provisioningState: string; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesResponse { + /** + * The cpu property of build service agent pool size + */ + cpu: string; + /** + * The memory property of build service agent pool size + */ + memory: string; + /** + * The name of build service agent pool size + */ + name?: string; + } + /** * KPack Builder properties payload */ @@ -27530,6 +28668,80 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20220301preview.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20220301preview.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20220301preview.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20220301preview.ConfigServerGitPropertyResponse; + } + /** * Property of git environment. */ @@ -27866,6 +29078,20 @@ export namespace appplatform { resourceRequests?: outputs.appplatform.v20220301preview.ResourceRequestsResponse; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + /** * API metadata property for Spring Cloud Gateway */ @@ -28119,6 +29345,56 @@ export namespace appplatform { routes?: outputs.appplatform.v20220301preview.GatewayApiRouteResponse[]; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Credential of the image registry */ @@ -28269,6 +29545,36 @@ export namespace appplatform { userAssignedIdentities?: {[key: string]: outputs.appplatform.v20220301preview.UserAssignedManagedIdentityResponse}; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20220301preview.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20220301preview.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Uploaded Jar binary for a deployment */ @@ -28701,6 +30007,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * Binding resource properties payload */ @@ -28758,6 +30074,38 @@ export namespace appplatform { version?: string; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesResponse { + /** + * build service agent pool size properties + */ + poolSize?: outputs.appplatform.v20220401.BuildServiceAgentPoolSizePropertiesResponse; + /** + * Provisioning state of the build service agent pool + */ + provisioningState: string; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesResponse { + /** + * The cpu property of build service agent pool size + */ + cpu: string; + /** + * The memory property of build service agent pool size + */ + memory: string; + /** + * The name of build service agent pool size + */ + name?: string; + } + /** * KPack Builder properties payload */ @@ -28868,6 +30216,80 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20220401.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20220401.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20220401.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20220401.ConfigServerGitPropertyResponse; + } + /** * Property of git environment. */ @@ -29127,6 +30549,70 @@ export namespace appplatform { resourceRequests?: outputs.appplatform.v20220401.ResourceRequestsResponse; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * Uploaded Jar binary for a deployment */ @@ -29259,6 +30745,36 @@ export namespace appplatform { type?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20220401.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20220401.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Uploaded Jar binary for a deployment */ @@ -29762,6 +31278,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * The properties of the Azure File volume. Azure File shares are mounted as volumes. */ @@ -29846,6 +31372,38 @@ export namespace appplatform { version?: string; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesResponse { + /** + * build service agent pool size properties + */ + poolSize?: outputs.appplatform.v20220501preview.BuildServiceAgentPoolSizePropertiesResponse; + /** + * Provisioning state of the build service agent pool + */ + provisioningState: string; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesResponse { + /** + * The cpu property of build service agent pool size + */ + cpu: string; + /** + * The memory property of build service agent pool size + */ + memory: string; + /** + * The name of build service agent pool size + */ + name?: string; + } + /** * KPack Builder properties payload */ @@ -29969,6 +31527,80 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20220501preview.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20220501preview.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20220501preview.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20220501preview.ConfigServerGitPropertyResponse; + } + /** * Property of git environment. */ @@ -30350,6 +31982,20 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + /** * ExecAction describes a "run in container" action. */ @@ -30632,6 +32278,56 @@ export namespace appplatform { routes?: outputs.appplatform.v20220501preview.GatewayApiRouteResponse[]; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * HTTPGetAction describes an action based on HTTP Get requests. */ @@ -30837,6 +32533,36 @@ export namespace appplatform { publisher?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20220501preview.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20220501preview.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Uploaded Jar binary for a deployment */ @@ -31472,6 +33198,16 @@ export namespace appplatform { }; } + /** + * Application Insights agent versions properties payload + */ + export interface ApplicationInsightsAgentVersionsResponse { + /** + * Indicates the version of application insight java agent + */ + java: string; + } + /** * The properties of the Azure File volume. Azure File shares are mounted as volumes. */ @@ -31556,6 +33292,38 @@ export namespace appplatform { version?: string; } + /** + * Build service agent pool properties + */ + export interface BuildServiceAgentPoolPropertiesResponse { + /** + * build service agent pool size properties + */ + poolSize?: outputs.appplatform.v20220901preview.BuildServiceAgentPoolSizePropertiesResponse; + /** + * Provisioning state of the build service agent pool + */ + provisioningState: string; + } + + /** + * Build service agent pool size properties + */ + export interface BuildServiceAgentPoolSizePropertiesResponse { + /** + * The cpu property of build service agent pool size + */ + cpu: string; + /** + * The memory property of build service agent pool size + */ + memory: string; + /** + * The name of build service agent pool size + */ + name?: string; + } + /** * KPack Builder properties payload */ @@ -31679,6 +33447,80 @@ export namespace appplatform { }; } + /** + * Property of git. + */ + export interface ConfigServerGitPropertyResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Repositories of git. + */ + repositories?: outputs.appplatform.v20220901preview.GitPatternRepositoryResponse[]; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + + /** + * Config server git properties payload + */ + export interface ConfigServerPropertiesResponse { + /** + * Settings of config server. + */ + configServer?: outputs.appplatform.v20220901preview.ConfigServerSettingsResponse; + /** + * Error when apply config server settings. + */ + error?: outputs.appplatform.v20220901preview.ErrorResponse; + /** + * State of the config server. + */ + provisioningState: string; + } + + /** + * The settings of config server. + */ + export interface ConfigServerSettingsResponse { + /** + * Property of git environment. + */ + gitProperty?: outputs.appplatform.v20220901preview.ConfigServerGitPropertyResponse; + } + /** * Property of git environment. */ @@ -32060,6 +33902,20 @@ export namespace appplatform { }; } + /** + * The error code compose of code and message. + */ + export interface ErrorResponse { + /** + * The code of error. + */ + code?: string; + /** + * The message of error. + */ + message?: string; + } + /** * ExecAction describes a "run in container" action. */ @@ -32355,6 +34211,56 @@ export namespace appplatform { }; } + /** + * Git repository property payload for config server + */ + export interface GitPatternRepositoryResponse { + /** + * Public sshKey of git repository. + */ + hostKey?: string; + /** + * SshKey algorithm of git repository. + */ + hostKeyAlgorithm?: string; + /** + * Label of the repository + */ + label?: string; + /** + * Name of the repository + */ + name: string; + /** + * Password of git repository basic auth. + */ + password?: string; + /** + * Collection of pattern of the repository + */ + pattern?: string[]; + /** + * Private sshKey algorithm of git repository. + */ + privateKey?: string; + /** + * Searching path of the repository + */ + searchPaths?: string[]; + /** + * Strict host key checking or not. + */ + strictHostKeyChecking?: boolean; + /** + * URI of the repository + */ + uri: string; + /** + * Username of git repository basic auth. + */ + username?: string; + } + /** * HTTPGetAction describes an action based on HTTP Get requests. */ @@ -32600,6 +34506,36 @@ export namespace appplatform { publisher?: string; } + /** + * Monitoring Setting properties payload + */ + export interface MonitoringSettingPropertiesResponse { + /** + * Indicates the versions of application insight agent + */ + appInsightsAgentVersions?: outputs.appplatform.v20220901preview.ApplicationInsightsAgentVersionsResponse; + /** + * Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + */ + appInsightsInstrumentationKey?: string; + /** + * Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + */ + appInsightsSamplingRate?: number; + /** + * Error when apply Monitoring Setting changes. + */ + error?: outputs.appplatform.v20220901preview.ErrorResponse; + /** + * State of the Monitoring Setting. + */ + provisioningState: string; + /** + * 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 + */ + traceEnabled?: boolean; + } + /** * Uploaded Jar binary for a deployment */ @@ -350026,255 +351962,6 @@ export namespace dbforpostgresql { } - export namespace v20220308preview { - /** - * Authentication configuration properties of a server - */ - export interface AuthConfigResponse { - /** - * If true, Azure Active Directory authentication is enabled. - */ - activeDirectoryAuthEnabled?: boolean; - /** - * If true, Password authentication is enabled. - */ - passwordAuthEnabled?: boolean; - /** - * Tenant id of the server. - */ - tenantId?: string; - } - /** - * authConfigResponseProvideDefaults sets the appropriate defaults for AuthConfigResponse - */ - export function authConfigResponseProvideDefaults(val: AuthConfigResponse): AuthConfigResponse { - return { - ...val, - passwordAuthEnabled: (val.passwordAuthEnabled) ?? true, - tenantId: (val.tenantId) ?? "", - }; - } - - /** - * Backup properties of a server - */ - export interface BackupResponse { - /** - * Backup retention days for the server. - */ - backupRetentionDays?: number; - /** - * The earliest restore point time (ISO8601 format) for server. - */ - earliestRestoreDate: string; - /** - * A value indicating whether Geo-Redundant backup is enabled on the server. - */ - geoRedundantBackup?: string; - } - /** - * backupResponseProvideDefaults sets the appropriate defaults for BackupResponse - */ - export function backupResponseProvideDefaults(val: BackupResponse): BackupResponse { - return { - ...val, - backupRetentionDays: (val.backupRetentionDays) ?? 7, - geoRedundantBackup: (val.geoRedundantBackup) ?? "Disabled", - }; - } - - /** - * Data encryption properties of a server - */ - export interface DataEncryptionResponse { - /** - * URI for the key for data encryption for primary server. - */ - primaryKeyURI?: string; - /** - * Resource Id for the User assigned identity to be used for data encryption for primary server. - */ - primaryUserAssignedIdentityId?: string; - /** - * Data encryption type to depict if it is System assigned vs Azure Key vault. - */ - type?: string; - } - - /** - * High availability properties of a server - */ - export interface HighAvailabilityResponse { - /** - * The HA mode for the server. - */ - mode?: string; - /** - * availability zone information of the standby. - */ - standbyAvailabilityZone?: string; - /** - * A state of a HA server that is visible to user. - */ - state: string; - } - /** - * highAvailabilityResponseProvideDefaults sets the appropriate defaults for HighAvailabilityResponse - */ - export function highAvailabilityResponseProvideDefaults(val: HighAvailabilityResponse): HighAvailabilityResponse { - return { - ...val, - mode: (val.mode) ?? "Disabled", - standbyAvailabilityZone: (val.standbyAvailabilityZone) ?? "", - }; - } - - /** - * Maintenance window properties of a server. - */ - export interface MaintenanceWindowResponse { - /** - * indicates whether custom window is enabled or disabled - */ - customWindow?: string; - /** - * day of week for maintenance window - */ - dayOfWeek?: number; - /** - * start hour for maintenance window - */ - startHour?: number; - /** - * start minute for maintenance window - */ - startMinute?: number; - } - /** - * maintenanceWindowResponseProvideDefaults sets the appropriate defaults for MaintenanceWindowResponse - */ - export function maintenanceWindowResponseProvideDefaults(val: MaintenanceWindowResponse): MaintenanceWindowResponse { - return { - ...val, - customWindow: (val.customWindow) ?? "Disabled", - dayOfWeek: (val.dayOfWeek) ?? 0, - startHour: (val.startHour) ?? 0, - startMinute: (val.startMinute) ?? 0, - }; - } - - /** - * Network properties of a server - */ - export interface NetworkResponse { - /** - * delegated subnet arm resource id. - */ - delegatedSubnetResourceId?: string; - /** - * private dns zone arm resource id. - */ - privateDnsZoneArmResourceId?: string; - /** - * public network access is enabled or not - */ - publicNetworkAccess: string; - } - /** - * networkResponseProvideDefaults sets the appropriate defaults for NetworkResponse - */ - export function networkResponseProvideDefaults(val: NetworkResponse): NetworkResponse { - return { - ...val, - delegatedSubnetResourceId: (val.delegatedSubnetResourceId) ?? "", - privateDnsZoneArmResourceId: (val.privateDnsZoneArmResourceId) ?? "", - }; - } - - /** - * Sku information related properties of a server. - */ - export interface PostgreSqlSkuResponse { - /** - * The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - */ - name: string; - /** - * The tier of the particular SKU, e.g. Burstable. - */ - tier: string; - } - - /** - * Storage properties of a server - */ - export interface StorageResponse { - /** - * Max storage allowed for a server. - */ - storageSizeGB?: number; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - /** - * Information describing the identities associated with this application. - */ - export interface UserAssignedIdentityResponse { - /** - * the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - */ - type: string; - /** - * represents user assigned identities map. - */ - userAssignedIdentities?: {[key: string]: outputs.dbforpostgresql.v20220308preview.UserIdentityResponse}; - } - - /** - * Describes a single user-assigned identity associated with the application. - */ - export interface UserIdentityResponse { - /** - * the client identifier of the Service Principal which this identity represents. - */ - clientId?: string; - /** - * the object identifier of the Service Principal which this identity represents. - */ - principalId?: string; - } - - } - export namespace v20220308privatepreview { } } @@ -1157232,384 +1158919,32 @@ export namespace webpubsub { } - export namespace v20210601preview { - /** - * Diagnostic configuration of a Microsoft.SignalRService resource. Used together with Azure monitor DiagnosticSettings. - */ - export interface DiagnosticConfigurationResponse { - /** - * Indicate whether or not enable Connectivity logs. - * Available values: Enabled, Disabled. - * Case insensitive. - */ - enableConnectivityLogs?: string; - /** - * Indicate whether or not enable Live Trace. - * Available values: Enabled, Disabled. - * Case insensitive. - * Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. - */ - enableLiveTrace?: string; - /** - * Indicate whether or not enable Messaging logs. - * Available values: Enabled, Disabled. - * Case insensitive. - */ - enableMessagingLogs?: string; - } - - /** - * The settings for event handler in webpubsub service - */ - export interface EventHandlerSettingsResponse { - /** - * Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate. - */ - items?: {[key: string]: outputs.webpubsub.v20210601preview.EventHandlerTemplateResponse[]}; - } - - /** - * EventHandler template item settings. - */ - export interface EventHandlerTemplateResponse { - /** - * Gets or sets the auth settings for an event handler. If not set, no auth is used. - */ - auth?: outputs.webpubsub.v20210601preview.UpstreamAuthSettingsResponse; - /** - * Gets ot sets the system event pattern. - * There are 2 kind of patterns supported: - * 1. The single event name, for example, "connect", it matches "connect" - * 2. Combine multiple events with ",", for example "connect,disconnected", it matches event "connect" and "disconnected" - */ - systemEventPattern?: string; - /** - * Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - * For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - */ - urlTemplate: string; - /** - * Gets or sets the matching pattern for event names. - * There are 3 kind of patterns supported: - * 1. "*", it to matches any event name - * 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - * 3. The single event name, for example, "event1", it matches "event1" - */ - userEventPattern?: string; - } - - /** - * A class represent managed identities used for request and response - */ - export interface ManagedIdentityResponse { - /** - * Get the principal id for the system assigned identity. - * Only be used in response. - */ - principalId: string; - /** - * Get the tenant id for the system assigned identity. - * Only be used in response - */ - tenantId: string; - /** - * Represent the identity type: systemAssigned, userAssigned, None - */ - type?: string; - /** - * Get or set the user assigned identities - */ - userAssignedIdentities?: {[key: string]: outputs.webpubsub.v20210601preview.UserAssignedIdentityPropertyResponse}; - } - - /** - * Managed identity settings for upstream. - */ - export interface ManagedIdentitySettingsResponse { - /** - * The Resource indicating the App ID URI of the target resource. - * It also appears in the aud (audience) claim of the issued token. - */ - resource?: string; - } - - /** - * Network ACL - */ - export interface NetworkACLResponse { - /** - * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - allow?: string[]; - /** - * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - deny?: string[]; - } - - /** - * ACL for a private endpoint - */ - export interface PrivateEndpointACLResponse { - /** - * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - allow?: string[]; - /** - * Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - */ - deny?: string[]; - /** - * Name of the private endpoint connection - */ - name: string; - } - - /** - * A private endpoint connection to an azure resource - */ - export interface PrivateEndpointConnectionResponse { - /** - * Fully qualified resource Id for the resource. - */ - id: string; - /** - * The name of the resource. - */ - name: string; - /** - * Private endpoint associated with the private endpoint connection - */ - privateEndpoint?: outputs.webpubsub.v20210601preview.PrivateEndpointResponse; - /** - * Connection state - */ - privateLinkServiceConnectionState?: outputs.webpubsub.v20210601preview.PrivateLinkServiceConnectionStateResponse; - /** - * Provisioning state of the private endpoint connection - */ - provisioningState: string; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - systemData: outputs.webpubsub.v20210601preview.SystemDataResponse; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - type: string; - } - - /** - * Private endpoint - */ - export interface PrivateEndpointResponse { - /** - * Full qualified Id of the private endpoint - */ - id?: string; - } - - /** - * Connection state of the private endpoint connection - */ - export interface PrivateLinkServiceConnectionStateResponse { - /** - * A message indicating if changes on the service provider require any updates on the consumer. - */ - actionsRequired?: string; - /** - * The reason for approval/rejection of the connection. - */ - description?: string; - /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - */ - status?: string; - } - - /** - * The billing information of the resource. - */ - export interface ResourceSkuResponse { - /** - * Optional, integer. The unit count of the resource. 1 by default. - * - * If present, following values are allowed: - * Free: 1 - * Standard: 1,2,5,10,20,50,100 - */ - capacity?: number; - /** - * Not used. Retained for future use. - */ - family: string; - /** - * The name of the SKU. Required. - * - * Allowed values: Standard_S1, Free_F1 - */ - name: string; - /** - * Not used. Retained for future use. - */ - size: string; - /** - * Optional tier of this particular SKU. 'Standard' or 'Free'. - * - * `Basic` is deprecated, use `Standard` instead. - */ - tier?: string; - } - - /** - * Describes a Shared Private Link Resource - */ - export interface SharedPrivateLinkResourceResponse { - /** - * The group id from the provider of resource the shared private link resource is for - */ - groupId: string; - /** - * Fully qualified resource Id for the resource. - */ - id: string; - /** - * The name of the resource. - */ - name: string; - /** - * The resource id of the resource the shared private link resource is for - */ - privateLinkResourceId: string; - /** - * Provisioning state of the shared private link resource - */ - provisioningState: string; - /** - * The request message for requesting approval of the shared private link resource - */ - requestMessage?: string; - /** - * Status of the shared private link resource - */ - status: string; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - systemData: outputs.webpubsub.v20210601preview.SystemDataResponse; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - type: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - /** - * Upstream auth settings. - */ - export interface UpstreamAuthSettingsResponse { - /** - * Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. - */ - managedIdentity?: outputs.webpubsub.v20210601preview.ManagedIdentitySettingsResponse; - /** - * Gets or sets the type of auth. None or ManagedIdentity is supported now. - */ - type?: string; - } - - /** - * Properties of user assigned identity. - */ - export interface UserAssignedIdentityPropertyResponse { - /** - * Get the client id for the user assigned identity - */ - clientId: string; - /** - * Get the principal id for the user assigned identity - */ - principalId: string; - } - - /** - * Network ACLs for the resource - */ - export interface WebPubSubNetworkACLsResponse { - /** - * Default action when no other rule matches - */ - defaultAction?: string; - /** - * ACLs for requests from private endpoints - */ - privateEndpoints?: outputs.webpubsub.v20210601preview.PrivateEndpointACLResponse[]; - /** - * ACL for requests from public network - */ - publicNetwork?: outputs.webpubsub.v20210601preview.NetworkACLResponse; - } - /** - * webPubSubNetworkACLsResponseProvideDefaults sets the appropriate defaults for WebPubSubNetworkACLsResponse - */ - export function webPubSubNetworkACLsResponseProvideDefaults(val: WebPubSubNetworkACLsResponse): WebPubSubNetworkACLsResponse { - return { - ...val, - defaultAction: (val.defaultAction) ?? "Deny", - }; - } - - /** - * TLS settings for the resource - */ - export interface WebPubSubTlsSettingsResponse { - /** - * Request client certificate during TLS handshake if enabled - */ - clientCertEnabled?: boolean; - } - /** - * webPubSubTlsSettingsResponseProvideDefaults sets the appropriate defaults for WebPubSubTlsSettingsResponse - */ - export function webPubSubTlsSettingsResponseProvideDefaults(val: WebPubSubTlsSettingsResponse): WebPubSubTlsSettingsResponse { - return { - ...val, - clientCertEnabled: (val.clientCertEnabled) ?? true, - }; - } - - } - - export namespace v20210901preview { + export namespace v20210601preview { + /** + * Diagnostic configuration of a Microsoft.SignalRService resource. Used together with Azure monitor DiagnosticSettings. + */ + export interface DiagnosticConfigurationResponse { + /** + * Indicate whether or not enable Connectivity logs. + * Available values: Enabled, Disabled. + * Case insensitive. + */ + enableConnectivityLogs?: string; + /** + * Indicate whether or not enable Live Trace. + * Available values: Enabled, Disabled. + * Case insensitive. + * Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. + */ + enableLiveTrace?: string; + /** + * Indicate whether or not enable Messaging logs. + * Available values: Enabled, Disabled. + * Case insensitive. + */ + enableMessagingLogs?: string; + } + /** * The settings for event handler in webpubsub service */ @@ -1157617,7 +1158952,7 @@ export namespace webpubsub { /** * Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate. */ - items?: {[key: string]: outputs.webpubsub.v20210901preview.EventHandlerTemplateResponse[]}; + items?: {[key: string]: outputs.webpubsub.v20210601preview.EventHandlerTemplateResponse[]}; } /** @@ -1157627,7 +1158962,7 @@ export namespace webpubsub { /** * Gets or sets the auth settings for an event handler. If not set, no auth is used. */ - auth?: outputs.webpubsub.v20210901preview.UpstreamAuthSettingsResponse; + auth?: outputs.webpubsub.v20210601preview.UpstreamAuthSettingsResponse; /** * Gets ot sets the system event pattern. * There are 2 kind of patterns supported: @@ -1157650,51 +1158985,6 @@ export namespace webpubsub { userEventPattern?: string; } - /** - * live trace category configuration of a Microsoft.SignalRService resource. - */ - export interface LiveTraceCategoryResponse { - /** - * Indicates whether or the log category is enabled. - * Available values: true, false. - * Case insensitive. - */ - enabled?: string; - /** - * Gets or sets the log category's name. - * Available values: ConnectivityLogs, MessagingLogs. - * Case insensitive. - */ - name?: string; - } - - /** - * Live trace configuration of a Microsoft.SignalRService resource. - */ - export interface LiveTraceConfigurationResponse { - /** - * Gets or sets the list of category configurations. - */ - categories?: outputs.webpubsub.v20210901preview.LiveTraceCategoryResponse[]; - /** - * Indicates whether or not enable live trace. - * When it's set to true, live trace client can connect to the service. - * Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - * Available values: true, false. - * Case insensitive. - */ - enabled?: string; - } - /** - * liveTraceConfigurationResponseProvideDefaults sets the appropriate defaults for LiveTraceConfigurationResponse - */ - export function liveTraceConfigurationResponseProvideDefaults(val: LiveTraceConfigurationResponse): LiveTraceConfigurationResponse { - return { - ...val, - enabled: (val.enabled) ?? "false", - }; - } - /** * A class represent managed identities used for request and response */ @@ -1157716,7 +1159006,7 @@ export namespace webpubsub { /** * Get or set the user assigned identities */ - userAssignedIdentities?: {[key: string]: outputs.webpubsub.v20210901preview.UserAssignedIdentityPropertyResponse}; + userAssignedIdentities?: {[key: string]: outputs.webpubsub.v20210601preview.UserAssignedIdentityPropertyResponse}; } /** @@ -1157777,11 +1159067,11 @@ export namespace webpubsub { /** * Private endpoint associated with the private endpoint connection */ - privateEndpoint?: outputs.webpubsub.v20210901preview.PrivateEndpointResponse; + privateEndpoint?: outputs.webpubsub.v20210601preview.PrivateEndpointResponse; /** * Connection state */ - privateLinkServiceConnectionState?: outputs.webpubsub.v20210901preview.PrivateLinkServiceConnectionStateResponse; + privateLinkServiceConnectionState?: outputs.webpubsub.v20210601preview.PrivateLinkServiceConnectionStateResponse; /** * Provisioning state of the private endpoint connection */ @@ -1157789,7 +1159079,7 @@ export namespace webpubsub { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.webpubsub.v20210901preview.SystemDataResponse; + systemData: outputs.webpubsub.v20210601preview.SystemDataResponse; /** * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" */ @@ -1157893,7 +1159183,7 @@ export namespace webpubsub { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.webpubsub.v20210901preview.SystemDataResponse; + systemData: outputs.webpubsub.v20210601preview.SystemDataResponse; /** * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" */ @@ -1157937,7 +1159227,7 @@ export namespace webpubsub { /** * Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. */ - managedIdentity?: outputs.webpubsub.v20210901preview.ManagedIdentitySettingsResponse; + managedIdentity?: outputs.webpubsub.v20210601preview.ManagedIdentitySettingsResponse; /** * Gets or sets the type of auth. None or ManagedIdentity is supported now. */ @@ -1157969,11 +1159259,11 @@ export namespace webpubsub { /** * ACLs for requests from private endpoints */ - privateEndpoints?: outputs.webpubsub.v20210901preview.PrivateEndpointACLResponse[]; + privateEndpoints?: outputs.webpubsub.v20210601preview.PrivateEndpointACLResponse[]; /** * ACL for requests from public network */ - publicNetwork?: outputs.webpubsub.v20210901preview.NetworkACLResponse; + publicNetwork?: outputs.webpubsub.v20210601preview.NetworkACLResponse; } /** * webPubSubNetworkACLsResponseProvideDefaults sets the appropriate defaults for WebPubSubNetworkACLsResponse @@ -1158006,19 +1159296,32 @@ export namespace webpubsub { } - export namespace v20211001 { + export namespace v20210901preview { /** - * Properties of event handler. + * The settings for event handler in webpubsub service */ - export interface EventHandlerResponse { + export interface EventHandlerSettingsResponse { /** - * Upstream auth settings. If not set, no auth is used for upstream messages. + * Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate. */ - auth?: outputs.webpubsub.v20211001.UpstreamAuthSettingsResponse; + items?: {[key: string]: outputs.webpubsub.v20210901preview.EventHandlerTemplateResponse[]}; + } + + /** + * EventHandler template item settings. + */ + export interface EventHandlerTemplateResponse { /** - * Gets ot sets the list of system events. + * Gets or sets the auth settings for an event handler. If not set, no auth is used. */ - systemEvents?: string[]; + auth?: outputs.webpubsub.v20210901preview.UpstreamAuthSettingsResponse; + /** + * Gets ot sets the system event pattern. + * There are 2 kind of patterns supported: + * 1. The single event name, for example, "connect", it matches "connect" + * 2. Combine multiple events with ",", for example "connect,disconnected", it matches event "connect" and "disconnected" + */ + systemEventPattern?: string; /** * Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. * For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. @@ -1158035,17 +1159338,17 @@ export namespace webpubsub { } /** - * Live trace category configuration of a Microsoft.SignalRService resource. + * live trace category configuration of a Microsoft.SignalRService resource. */ export interface LiveTraceCategoryResponse { /** - * Indicates whether or the live trace category is enabled. + * Indicates whether or the log category is enabled. * Available values: true, false. * Case insensitive. */ enabled?: string; /** - * Gets or sets the live trace category's name. + * Gets or sets the log category's name. * Available values: ConnectivityLogs, MessagingLogs. * Case insensitive. */ @@ -1158059,7 +1159362,7 @@ export namespace webpubsub { /** * Gets or sets the list of category configurations. */ - categories?: outputs.webpubsub.v20211001.LiveTraceCategoryResponse[]; + categories?: outputs.webpubsub.v20210901preview.LiveTraceCategoryResponse[]; /** * Indicates whether or not enable live trace. * When it's set to true, live trace client can connect to the service. @@ -1158094,13 +1159397,13 @@ export namespace webpubsub { */ tenantId: string; /** - * Represents the identity type: systemAssigned, userAssigned, None + * Represent the identity type: systemAssigned, userAssigned, None */ type?: string; /** * Get or set the user assigned identities */ - userAssignedIdentities?: {[key: string]: outputs.webpubsub.v20211001.UserAssignedIdentityPropertyResponse}; + userAssignedIdentities?: {[key: string]: outputs.webpubsub.v20210901preview.UserAssignedIdentityPropertyResponse}; } /** @@ -1158150,10 +1159453,6 @@ export namespace webpubsub { * A private endpoint connection to an azure resource */ export interface PrivateEndpointConnectionResponse { - /** - * Group IDs - */ - groupIds: string[]; /** * Fully qualified resource Id for the resource. */ @@ -1158163,21 +1159462,21 @@ export namespace webpubsub { */ name: string; /** - * Private endpoint + * Private endpoint associated with the private endpoint connection */ - privateEndpoint?: outputs.webpubsub.v20211001.PrivateEndpointResponse; + privateEndpoint?: outputs.webpubsub.v20210901preview.PrivateEndpointResponse; /** - * Connection state of the private endpoint connection + * Connection state */ - privateLinkServiceConnectionState?: outputs.webpubsub.v20211001.PrivateLinkServiceConnectionStateResponse; + privateLinkServiceConnectionState?: outputs.webpubsub.v20210901preview.PrivateLinkServiceConnectionStateResponse; /** - * Provisioning state of the resource. + * Provisioning state of the private endpoint connection */ provisioningState: string; /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.webpubsub.v20211001.SystemDataResponse; + systemData: outputs.webpubsub.v20210901preview.SystemDataResponse; /** * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" */ @@ -1158212,34 +1159511,6 @@ export namespace webpubsub { status?: string; } - /** - * Resource log category configuration of a Microsoft.SignalRService resource. - */ - export interface ResourceLogCategoryResponse { - /** - * Indicates whether or the resource log category is enabled. - * Available values: true, false. - * Case insensitive. - */ - enabled?: string; - /** - * Gets or sets the resource log category's name. - * Available values: ConnectivityLogs, MessagingLogs. - * Case insensitive. - */ - name?: string; - } - - /** - * Resource log configuration of a Microsoft.SignalRService resource. - */ - export interface ResourceLogConfigurationResponse { - /** - * Gets or sets the list of category configurations. - */ - categories?: outputs.webpubsub.v20211001.ResourceLogCategoryResponse[]; - } - /** * The billing information of the resource. */ @@ -1158295,7 +1159566,7 @@ export namespace webpubsub { */ privateLinkResourceId: string; /** - * Provisioning state of the resource. + * Provisioning state of the shared private link resource */ provisioningState: string; /** @@ -1158309,7 +1159580,7 @@ export namespace webpubsub { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.webpubsub.v20211001.SystemDataResponse; + systemData: outputs.webpubsub.v20210901preview.SystemDataResponse; /** * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" */ @@ -1158347,15 +1159618,15 @@ export namespace webpubsub { } /** - * Upstream auth settings. If not set, no auth is used for upstream messages. + * Upstream auth settings. */ export interface UpstreamAuthSettingsResponse { /** - * Managed identity settings for upstream. + * Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. */ - managedIdentity?: outputs.webpubsub.v20211001.ManagedIdentitySettingsResponse; + managedIdentity?: outputs.webpubsub.v20210901preview.ManagedIdentitySettingsResponse; /** - * Upstream auth type enum. + * Gets or sets the type of auth. None or ManagedIdentity is supported now. */ type?: string; } @@ -1158374,45 +1159645,31 @@ export namespace webpubsub { principalId: string; } - /** - * Properties of a hub. - */ - export interface WebPubSubHubPropertiesResponse { - /** - * The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". - */ - anonymousConnectPolicy?: string; - /** - * Event handler of a hub. - */ - eventHandlers?: outputs.webpubsub.v20211001.EventHandlerResponse[]; - } - /** - * webPubSubHubPropertiesResponseProvideDefaults sets the appropriate defaults for WebPubSubHubPropertiesResponse - */ - export function webPubSubHubPropertiesResponseProvideDefaults(val: WebPubSubHubPropertiesResponse): WebPubSubHubPropertiesResponse { - return { - ...val, - anonymousConnectPolicy: (val.anonymousConnectPolicy) ?? "deny", - }; - } - /** * Network ACLs for the resource */ export interface WebPubSubNetworkACLsResponse { /** - * Azure Networking ACL Action. + * Default action when no other rule matches */ defaultAction?: string; /** * ACLs for requests from private endpoints */ - privateEndpoints?: outputs.webpubsub.v20211001.PrivateEndpointACLResponse[]; + privateEndpoints?: outputs.webpubsub.v20210901preview.PrivateEndpointACLResponse[]; /** - * Network ACL + * ACL for requests from public network */ - publicNetwork?: outputs.webpubsub.v20211001.NetworkACLResponse; + publicNetwork?: outputs.webpubsub.v20210901preview.NetworkACLResponse; + } + /** + * webPubSubNetworkACLsResponseProvideDefaults sets the appropriate defaults for WebPubSubNetworkACLsResponse + */ + export function webPubSubNetworkACLsResponseProvideDefaults(val: WebPubSubNetworkACLsResponse): WebPubSubNetworkACLsResponse { + return { + ...val, + defaultAction: (val.defaultAction) ?? "Deny", + }; } /** @@ -1158436,7 +1159693,7 @@ export namespace webpubsub { } - export namespace v20220801preview { + export namespace v20211001 { /** * Properties of event handler. */ @@ -1158444,9 +1159701,9 @@ export namespace webpubsub { /** * Upstream auth settings. If not set, no auth is used for upstream messages. */ - auth?: outputs.webpubsub.v20220801preview.UpstreamAuthSettingsResponse; + auth?: outputs.webpubsub.v20211001.UpstreamAuthSettingsResponse; /** - * Gets or sets the list of system events. + * Gets ot sets the list of system events. */ systemEvents?: string[]; /** @@ -1158456,67 +1159713,10 @@ export namespace webpubsub { urlTemplate: string; /** * Gets or sets the matching pattern for event names. - * There are 3 kinds of patterns supported: - * 1. "*", it matches any event name + * There are 3 kind of patterns supported: + * 1. "*", it to matches any event name * 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - * 3. A single event name, for example, "event1", it matches "event1" - */ - userEventPattern?: string; - } - - /** - * An Event Hub endpoint. - * The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. - */ - export interface EventHubEndpointResponse { - /** - * The name of the Event Hub. - */ - eventHubName: string; - /** - * The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - */ - fullyQualifiedNamespace: string; - /** - * - * Expected value is 'EventHub'. - */ - type: "EventHub"; - } - - /** - * A setting defines which kinds of events should be sent to which endpoint. - */ - export interface EventListenerResponse { - /** - * An endpoint specifying where Web PubSub should send events to. - */ - endpoint: outputs.webpubsub.v20220801preview.EventHubEndpointResponse; - /** - * A base class for event filter which determines whether an event should be sent to an event listener. - */ - filter: outputs.webpubsub.v20220801preview.EventNameFilterResponse; - } - - /** - * Filter events by their name. - */ - export interface EventNameFilterResponse { - /** - * Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - */ - systemEvents?: string[]; - /** - * - * Expected value is 'EventName'. - */ - type: "EventName"; - /** - * Gets or sets a matching pattern for event names. - * There are 3 kinds of patterns supported: - * 1. "*", it matches any event name - * 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - * 3. A single event name, for example, "event1", it matches "event1" + * 3. The single event name, for example, "event1", it matches "event1" */ userEventPattern?: string; } @@ -1158546,7 +1159746,7 @@ export namespace webpubsub { /** * Gets or sets the list of category configurations. */ - categories?: outputs.webpubsub.v20220801preview.LiveTraceCategoryResponse[]; + categories?: outputs.webpubsub.v20211001.LiveTraceCategoryResponse[]; /** * Indicates whether or not enable live trace. * When it's set to true, live trace client can connect to the service. @@ -1158587,7 +1159787,7 @@ export namespace webpubsub { /** * Get or set the user assigned identities */ - userAssignedIdentities?: {[key: string]: outputs.webpubsub.v20220801preview.UserAssignedIdentityPropertyResponse}; + userAssignedIdentities?: {[key: string]: outputs.webpubsub.v20211001.UserAssignedIdentityPropertyResponse}; } /** @@ -1158652,11 +1159852,11 @@ export namespace webpubsub { /** * Private endpoint */ - privateEndpoint?: outputs.webpubsub.v20220801preview.PrivateEndpointResponse; + privateEndpoint?: outputs.webpubsub.v20211001.PrivateEndpointResponse; /** * Connection state of the private endpoint connection */ - privateLinkServiceConnectionState?: outputs.webpubsub.v20220801preview.PrivateLinkServiceConnectionStateResponse; + privateLinkServiceConnectionState?: outputs.webpubsub.v20211001.PrivateLinkServiceConnectionStateResponse; /** * Provisioning state of the resource. */ @@ -1158664,7 +1159864,7 @@ export namespace webpubsub { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; + systemData: outputs.webpubsub.v20211001.SystemDataResponse; /** * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" */ @@ -1158724,17 +1159924,7 @@ export namespace webpubsub { /** * Gets or sets the list of category configurations. */ - categories?: outputs.webpubsub.v20220801preview.ResourceLogCategoryResponse[]; - } - - /** - * Reference to a resource. - */ - export interface ResourceReferenceResponse { - /** - * Resource ID. - */ - id?: string; + categories?: outputs.webpubsub.v20211001.ResourceLogCategoryResponse[]; } /** @@ -1158745,9 +1159935,8 @@ export namespace webpubsub { * Optional, integer. The unit count of the resource. 1 by default. * * If present, following values are allowed: - * Free: 1; - * Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - * Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; + * Free: 1 + * Standard: 1,2,5,10,20,50,100 */ capacity?: number; /** @@ -1158757,7 +1159946,7 @@ export namespace webpubsub { /** * The name of the SKU. Required. * - * Allowed values: Standard_S1, Free_F1, Premium_P1 + * Allowed values: Standard_S1, Free_F1 */ name: string; /** @@ -1158807,7 +1159996,7 @@ export namespace webpubsub { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; + systemData: outputs.webpubsub.v20211001.SystemDataResponse; /** * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" */ @@ -1158851,7 +1160040,7 @@ export namespace webpubsub { /** * Managed identity settings for upstream. */ - managedIdentity?: outputs.webpubsub.v20220801preview.ManagedIdentitySettingsResponse; + managedIdentity?: outputs.webpubsub.v20211001.ManagedIdentitySettingsResponse; /** * Upstream auth type enum. */ @@ -1158883,14 +1160072,7 @@ export namespace webpubsub { /** * Event handler of a hub. */ - eventHandlers?: outputs.webpubsub.v20220801preview.EventHandlerResponse[]; - /** - * Event listener settings for forwarding your client events to listeners. - * Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - * One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - * Maximum count of event listeners among all hubs is 10. - */ - eventListeners?: outputs.webpubsub.v20220801preview.EventListenerResponse[]; + eventHandlers?: outputs.webpubsub.v20211001.EventHandlerResponse[]; } /** * webPubSubHubPropertiesResponseProvideDefaults sets the appropriate defaults for WebPubSubHubPropertiesResponse @@ -1158913,11 +1160095,11 @@ export namespace webpubsub { /** * ACLs for requests from private endpoints */ - privateEndpoints?: outputs.webpubsub.v20220801preview.PrivateEndpointACLResponse[]; + privateEndpoints?: outputs.webpubsub.v20211001.PrivateEndpointACLResponse[]; /** * Network ACL */ - publicNetwork?: outputs.webpubsub.v20220801preview.NetworkACLResponse; + publicNetwork?: outputs.webpubsub.v20211001.NetworkACLResponse; } /** diff --git a/sdk/nodejs/webpubsub/index.ts b/sdk/nodejs/webpubsub/index.ts index 94a6999c6010..e6e022305c42 100644 --- a/sdk/nodejs/webpubsub/index.ts +++ b/sdk/nodejs/webpubsub/index.ts @@ -59,14 +59,12 @@ import * as v20210401preview from "./v20210401preview"; import * as v20210601preview from "./v20210601preview"; import * as v20210901preview from "./v20210901preview"; import * as v20211001 from "./v20211001"; -import * as v20220801preview from "./v20220801preview"; export { v20210401preview, v20210601preview, v20210901preview, v20211001, - v20220801preview, }; const _module = { diff --git a/sdk/nodejs/webpubsub/v20210401preview/webPubSub.ts b/sdk/nodejs/webpubsub/v20210401preview/webPubSub.ts index 7d0639654ef7..7e1f41c6ca2c 100644 --- a/sdk/nodejs/webpubsub/v20210401preview/webPubSub.ts +++ b/sdk/nodejs/webpubsub/v20210401preview/webPubSub.ts @@ -184,7 +184,7 @@ export class WebPubSub extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSub.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.ts b/sdk/nodejs/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.ts index fc8c6bdbd649..c630318ce9fb 100644 --- a/sdk/nodejs/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.ts +++ b/sdk/nodejs/webpubsub/v20210401preview/webPubSubPrivateEndpointConnection.ts @@ -97,7 +97,7 @@ export class WebPubSubPrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubPrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.ts b/sdk/nodejs/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.ts index ac6bf16ca476..f0b45a8ac5f0 100644 --- a/sdk/nodejs/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.ts +++ b/sdk/nodejs/webpubsub/v20210401preview/webPubSubSharedPrivateLinkResource.ts @@ -115,7 +115,7 @@ export class WebPubSubSharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubSharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210601preview/webPubSub.ts b/sdk/nodejs/webpubsub/v20210601preview/webPubSub.ts index b59d1f427b24..a4019dd4a5f7 100644 --- a/sdk/nodejs/webpubsub/v20210601preview/webPubSub.ts +++ b/sdk/nodejs/webpubsub/v20210601preview/webPubSub.ts @@ -195,7 +195,7 @@ export class WebPubSub extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSub.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.ts b/sdk/nodejs/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.ts index 4facac796227..b91c86167402 100644 --- a/sdk/nodejs/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.ts +++ b/sdk/nodejs/webpubsub/v20210601preview/webPubSubPrivateEndpointConnection.ts @@ -97,7 +97,7 @@ export class WebPubSubPrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubPrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.ts b/sdk/nodejs/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.ts index 249b69af09d3..32d4d7271135 100644 --- a/sdk/nodejs/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.ts +++ b/sdk/nodejs/webpubsub/v20210601preview/webPubSubSharedPrivateLinkResource.ts @@ -115,7 +115,7 @@ export class WebPubSubSharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubSharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210901preview/webPubSub.ts b/sdk/nodejs/webpubsub/v20210901preview/webPubSub.ts index 1e9d5c62cb4f..a6553fecfd9f 100644 --- a/sdk/nodejs/webpubsub/v20210901preview/webPubSub.ts +++ b/sdk/nodejs/webpubsub/v20210901preview/webPubSub.ts @@ -195,7 +195,7 @@ export class WebPubSub extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSub.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.ts b/sdk/nodejs/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.ts index 9c9132e7f155..1f79c8a7fb71 100644 --- a/sdk/nodejs/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.ts +++ b/sdk/nodejs/webpubsub/v20210901preview/webPubSubPrivateEndpointConnection.ts @@ -97,7 +97,7 @@ export class WebPubSubPrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubPrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.ts b/sdk/nodejs/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.ts index 5a57baa99256..7cf170e73ec9 100644 --- a/sdk/nodejs/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.ts +++ b/sdk/nodejs/webpubsub/v20210901preview/webPubSubSharedPrivateLinkResource.ts @@ -115,7 +115,7 @@ export class WebPubSubSharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubSharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20211001/webPubSub.ts b/sdk/nodejs/webpubsub/v20211001/webPubSub.ts index 0cc45c3f4301..963494e639eb 100644 --- a/sdk/nodejs/webpubsub/v20211001/webPubSub.ts +++ b/sdk/nodejs/webpubsub/v20211001/webPubSub.ts @@ -201,7 +201,7 @@ export class WebPubSub extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSub.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20211001/webPubSubHub.ts b/sdk/nodejs/webpubsub/v20211001/webPubSubHub.ts index 8eef1d68afcb..a34636d0b271 100644 --- a/sdk/nodejs/webpubsub/v20211001/webPubSubHub.ts +++ b/sdk/nodejs/webpubsub/v20211001/webPubSubHub.ts @@ -88,7 +88,7 @@ export class WebPubSubHub extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubHub" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubHub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubHub" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubHub.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20211001/webPubSubPrivateEndpointConnection.ts b/sdk/nodejs/webpubsub/v20211001/webPubSubPrivateEndpointConnection.ts index 483ba54455e9..770464470dff 100644 --- a/sdk/nodejs/webpubsub/v20211001/webPubSubPrivateEndpointConnection.ts +++ b/sdk/nodejs/webpubsub/v20211001/webPubSubPrivateEndpointConnection.ts @@ -103,7 +103,7 @@ export class WebPubSubPrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubPrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.ts b/sdk/nodejs/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.ts index 77ea0cdfdbe5..6f5aec853585 100644 --- a/sdk/nodejs/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.ts +++ b/sdk/nodejs/webpubsub/v20211001/webPubSubSharedPrivateLinkResource.ts @@ -115,7 +115,7 @@ export class WebPubSubSharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubSharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSub.ts b/sdk/nodejs/webpubsub/v20220801preview/getWebPubSub.ts deleted file mode 100644 index 3681ed5d782c..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSub.ts +++ /dev/null @@ -1,157 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A class represent a resource. - */ -export function getWebPubSub(args: GetWebPubSubArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:webpubsub/v20220801preview:getWebPubSub", { - "resourceGroupName": args.resourceGroupName, - "resourceName": args.resourceName, - }, opts); -} - -export interface GetWebPubSubArgs { - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: string; - /** - * The name of the resource. - */ - resourceName: string; -} - -/** - * A class represent a resource. - */ -export interface GetWebPubSubResult { - /** - * DisableLocalAuth - * Enable or disable aad auth - * When set as true, connection with AuthType=aad won't work. - */ - readonly disableAadAuth?: boolean; - /** - * DisableLocalAuth - * Enable or disable local auth with AccessKey - * When set as true, connection with AccessKey=xxx won't work. - */ - readonly disableLocalAuth?: boolean; - /** - * The publicly accessible IP of the resource. - */ - readonly externalIP: string; - /** - * FQDN of the service instance. - */ - readonly hostName: string; - /** - * Deprecated. - */ - readonly hostNamePrefix: string; - /** - * Fully qualified resource Id for the resource. - */ - readonly id: string; - /** - * A class represent managed identities used for request and response - */ - readonly identity?: outputs.webpubsub.v20220801preview.ManagedIdentityResponse; - /** - * Live trace configuration of a Microsoft.SignalRService resource. - */ - readonly liveTraceConfiguration?: outputs.webpubsub.v20220801preview.LiveTraceConfigurationResponse; - /** - * The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - */ - readonly location?: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * Network ACLs for the resource - */ - readonly networkACLs?: outputs.webpubsub.v20220801preview.WebPubSubNetworkACLsResponse; - /** - * Private endpoint connections to the resource. - */ - readonly privateEndpointConnections: outputs.webpubsub.v20220801preview.PrivateEndpointConnectionResponse[]; - /** - * Provisioning state of the resource. - */ - readonly provisioningState: string; - /** - * Enable or disable public network access. Default to "Enabled". - * When it's Enabled, network ACLs still apply. - * When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - */ - readonly publicNetworkAccess?: string; - /** - * The publicly accessible port of the resource which is designed for browser/client side usage. - */ - readonly publicPort: number; - /** - * Resource log configuration of a Microsoft.SignalRService resource. - */ - readonly resourceLogConfiguration?: outputs.webpubsub.v20220801preview.ResourceLogConfigurationResponse; - /** - * The publicly accessible port of the resource which is designed for customer server side usage. - */ - readonly serverPort: number; - /** - * The list of shared private link resources. - */ - readonly sharedPrivateLinkResources: outputs.webpubsub.v20220801preview.SharedPrivateLinkResourceResponse[]; - /** - * The billing information of the resource. - */ - readonly sku?: outputs.webpubsub.v20220801preview.ResourceSkuResponse; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - readonly systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; - /** - * Tags of the service which is a list of key value pairs that describe the resource. - */ - readonly tags?: {[key: string]: string}; - /** - * TLS settings for the resource - */ - readonly tls?: outputs.webpubsub.v20220801preview.WebPubSubTlsSettingsResponse; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - readonly type: string; - /** - * Version of the resource. Probably you need the same or higher version of client SDKs. - */ - readonly version: string; -} - -export function getWebPubSubOutput(args: GetWebPubSubOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getWebPubSub(a, opts)) -} - -export interface GetWebPubSubOutputArgs { - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubCustomCertificate.ts b/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubCustomCertificate.ts deleted file mode 100644 index 9ee117d9e874..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubCustomCertificate.ts +++ /dev/null @@ -1,96 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A custom certificate. - */ -export function getWebPubSubCustomCertificate(args: GetWebPubSubCustomCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:webpubsub/v20220801preview:getWebPubSubCustomCertificate", { - "certificateName": args.certificateName, - "resourceGroupName": args.resourceGroupName, - "resourceName": args.resourceName, - }, opts); -} - -export interface GetWebPubSubCustomCertificateArgs { - /** - * Custom certificate name - */ - certificateName: string; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: string; - /** - * The name of the resource. - */ - resourceName: string; -} - -/** - * A custom certificate. - */ -export interface GetWebPubSubCustomCertificateResult { - /** - * Fully qualified resource Id for the resource. - */ - readonly id: string; - /** - * Base uri of the KeyVault that stores certificate. - */ - readonly keyVaultBaseUri: string; - /** - * Certificate secret name. - */ - readonly keyVaultSecretName: string; - /** - * Certificate secret version. - */ - readonly keyVaultSecretVersion?: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * Provisioning state of the resource. - */ - readonly provisioningState: string; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - readonly systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - readonly type: string; -} - -export function getWebPubSubCustomCertificateOutput(args: GetWebPubSubCustomCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getWebPubSubCustomCertificate(a, opts)) -} - -export interface GetWebPubSubCustomCertificateOutputArgs { - /** - * Custom certificate name - */ - certificateName: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubCustomDomain.ts b/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubCustomDomain.ts deleted file mode 100644 index 3167cd1384e6..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubCustomDomain.ts +++ /dev/null @@ -1,92 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A custom domain - */ -export function getWebPubSubCustomDomain(args: GetWebPubSubCustomDomainArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:webpubsub/v20220801preview:getWebPubSubCustomDomain", { - "name": args.name, - "resourceGroupName": args.resourceGroupName, - "resourceName": args.resourceName, - }, opts); -} - -export interface GetWebPubSubCustomDomainArgs { - /** - * Custom domain name. - */ - name: string; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: string; - /** - * The name of the resource. - */ - resourceName: string; -} - -/** - * A custom domain - */ -export interface GetWebPubSubCustomDomainResult { - /** - * Reference to a resource. - */ - readonly customCertificate: outputs.webpubsub.v20220801preview.ResourceReferenceResponse; - /** - * The custom domain name. - */ - readonly domainName: string; - /** - * Fully qualified resource Id for the resource. - */ - readonly id: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * Provisioning state of the resource. - */ - readonly provisioningState: string; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - readonly systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - readonly type: string; -} - -export function getWebPubSubCustomDomainOutput(args: GetWebPubSubCustomDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getWebPubSubCustomDomain(a, opts)) -} - -export interface GetWebPubSubCustomDomainOutputArgs { - /** - * Custom domain name. - */ - name: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubPrivateEndpointConnection.ts b/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubPrivateEndpointConnection.ts deleted file mode 100644 index 5f26bbf01934..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubPrivateEndpointConnection.ts +++ /dev/null @@ -1,96 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A private endpoint connection to an azure resource - */ -export function getWebPubSubPrivateEndpointConnection(args: GetWebPubSubPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:webpubsub/v20220801preview:getWebPubSubPrivateEndpointConnection", { - "privateEndpointConnectionName": args.privateEndpointConnectionName, - "resourceGroupName": args.resourceGroupName, - "resourceName": args.resourceName, - }, opts); -} - -export interface GetWebPubSubPrivateEndpointConnectionArgs { - /** - * The name of the private endpoint connection - */ - privateEndpointConnectionName: string; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: string; - /** - * The name of the resource. - */ - resourceName: string; -} - -/** - * A private endpoint connection to an azure resource - */ -export interface GetWebPubSubPrivateEndpointConnectionResult { - /** - * Group IDs - */ - readonly groupIds: string[]; - /** - * Fully qualified resource Id for the resource. - */ - readonly id: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * Private endpoint - */ - readonly privateEndpoint?: outputs.webpubsub.v20220801preview.PrivateEndpointResponse; - /** - * Connection state of the private endpoint connection - */ - readonly privateLinkServiceConnectionState?: outputs.webpubsub.v20220801preview.PrivateLinkServiceConnectionStateResponse; - /** - * Provisioning state of the resource. - */ - readonly provisioningState: string; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - readonly systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - readonly type: string; -} - -export function getWebPubSubPrivateEndpointConnectionOutput(args: GetWebPubSubPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getWebPubSubPrivateEndpointConnection(a, opts)) -} - -export interface GetWebPubSubPrivateEndpointConnectionOutputArgs { - /** - * The name of the private endpoint connection - */ - privateEndpointConnectionName: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubSharedPrivateLinkResource.ts b/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubSharedPrivateLinkResource.ts deleted file mode 100644 index a8de63e2b651..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/getWebPubSubSharedPrivateLinkResource.ts +++ /dev/null @@ -1,100 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Describes a Shared Private Link Resource - */ -export function getWebPubSubSharedPrivateLinkResource(args: GetWebPubSubSharedPrivateLinkResourceArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:webpubsub/v20220801preview:getWebPubSubSharedPrivateLinkResource", { - "resourceGroupName": args.resourceGroupName, - "resourceName": args.resourceName, - "sharedPrivateLinkResourceName": args.sharedPrivateLinkResourceName, - }, opts); -} - -export interface GetWebPubSubSharedPrivateLinkResourceArgs { - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: string; - /** - * The name of the resource. - */ - resourceName: string; - /** - * The name of the shared private link resource - */ - sharedPrivateLinkResourceName: string; -} - -/** - * Describes a Shared Private Link Resource - */ -export interface GetWebPubSubSharedPrivateLinkResourceResult { - /** - * The group id from the provider of resource the shared private link resource is for - */ - readonly groupId: string; - /** - * Fully qualified resource Id for the resource. - */ - readonly id: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * The resource id of the resource the shared private link resource is for - */ - readonly privateLinkResourceId: string; - /** - * Provisioning state of the resource. - */ - readonly provisioningState: string; - /** - * The request message for requesting approval of the shared private link resource - */ - readonly requestMessage?: string; - /** - * Status of the shared private link resource - */ - readonly status: string; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - readonly systemData: outputs.webpubsub.v20220801preview.SystemDataResponse; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - readonly type: string; -} - -export function getWebPubSubSharedPrivateLinkResourceOutput(args: GetWebPubSubSharedPrivateLinkResourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getWebPubSubSharedPrivateLinkResource(a, opts)) -} - -export interface GetWebPubSubSharedPrivateLinkResourceOutputArgs { - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; - /** - * The name of the shared private link resource - */ - sharedPrivateLinkResourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/index.ts b/sdk/nodejs/webpubsub/v20220801preview/index.ts deleted file mode 100644 index c690982449a9..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/index.ts +++ /dev/null @@ -1,98 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../../utilities"; - -// Export members: -export { GetWebPubSubArgs, GetWebPubSubResult, GetWebPubSubOutputArgs } from "./getWebPubSub"; -export const getWebPubSub: typeof import("./getWebPubSub").getWebPubSub = null as any; -export const getWebPubSubOutput: typeof import("./getWebPubSub").getWebPubSubOutput = null as any; -utilities.lazyLoad(exports, ["getWebPubSub","getWebPubSubOutput"], () => require("./getWebPubSub")); - -export { GetWebPubSubCustomCertificateArgs, GetWebPubSubCustomCertificateResult, GetWebPubSubCustomCertificateOutputArgs } from "./getWebPubSubCustomCertificate"; -export const getWebPubSubCustomCertificate: typeof import("./getWebPubSubCustomCertificate").getWebPubSubCustomCertificate = null as any; -export const getWebPubSubCustomCertificateOutput: typeof import("./getWebPubSubCustomCertificate").getWebPubSubCustomCertificateOutput = null as any; -utilities.lazyLoad(exports, ["getWebPubSubCustomCertificate","getWebPubSubCustomCertificateOutput"], () => require("./getWebPubSubCustomCertificate")); - -export { GetWebPubSubCustomDomainArgs, GetWebPubSubCustomDomainResult, GetWebPubSubCustomDomainOutputArgs } from "./getWebPubSubCustomDomain"; -export const getWebPubSubCustomDomain: typeof import("./getWebPubSubCustomDomain").getWebPubSubCustomDomain = null as any; -export const getWebPubSubCustomDomainOutput: typeof import("./getWebPubSubCustomDomain").getWebPubSubCustomDomainOutput = null as any; -utilities.lazyLoad(exports, ["getWebPubSubCustomDomain","getWebPubSubCustomDomainOutput"], () => require("./getWebPubSubCustomDomain")); - -export { GetWebPubSubHubArgs, GetWebPubSubHubResult, GetWebPubSubHubOutputArgs } from "./getWebPubSubHub"; -export const getWebPubSubHub: typeof import("./getWebPubSubHub").getWebPubSubHub = null as any; -export const getWebPubSubHubOutput: typeof import("./getWebPubSubHub").getWebPubSubHubOutput = null as any; -utilities.lazyLoad(exports, ["getWebPubSubHub","getWebPubSubHubOutput"], () => require("./getWebPubSubHub")); - -export { GetWebPubSubPrivateEndpointConnectionArgs, GetWebPubSubPrivateEndpointConnectionResult, GetWebPubSubPrivateEndpointConnectionOutputArgs } from "./getWebPubSubPrivateEndpointConnection"; -export const getWebPubSubPrivateEndpointConnection: typeof import("./getWebPubSubPrivateEndpointConnection").getWebPubSubPrivateEndpointConnection = null as any; -export const getWebPubSubPrivateEndpointConnectionOutput: typeof import("./getWebPubSubPrivateEndpointConnection").getWebPubSubPrivateEndpointConnectionOutput = null as any; -utilities.lazyLoad(exports, ["getWebPubSubPrivateEndpointConnection","getWebPubSubPrivateEndpointConnectionOutput"], () => require("./getWebPubSubPrivateEndpointConnection")); - -export { GetWebPubSubSharedPrivateLinkResourceArgs, GetWebPubSubSharedPrivateLinkResourceResult, GetWebPubSubSharedPrivateLinkResourceOutputArgs } from "./getWebPubSubSharedPrivateLinkResource"; -export const getWebPubSubSharedPrivateLinkResource: typeof import("./getWebPubSubSharedPrivateLinkResource").getWebPubSubSharedPrivateLinkResource = null as any; -export const getWebPubSubSharedPrivateLinkResourceOutput: typeof import("./getWebPubSubSharedPrivateLinkResource").getWebPubSubSharedPrivateLinkResourceOutput = null as any; -utilities.lazyLoad(exports, ["getWebPubSubSharedPrivateLinkResource","getWebPubSubSharedPrivateLinkResourceOutput"], () => require("./getWebPubSubSharedPrivateLinkResource")); - -export { ListWebPubSubKeysArgs, ListWebPubSubKeysResult, ListWebPubSubKeysOutputArgs } from "./listWebPubSubKeys"; -export const listWebPubSubKeys: typeof import("./listWebPubSubKeys").listWebPubSubKeys = null as any; -export const listWebPubSubKeysOutput: typeof import("./listWebPubSubKeys").listWebPubSubKeysOutput = null as any; -utilities.lazyLoad(exports, ["listWebPubSubKeys","listWebPubSubKeysOutput"], () => require("./listWebPubSubKeys")); - -export { WebPubSubArgs } from "./webPubSub"; -export type WebPubSub = import("./webPubSub").WebPubSub; -export const WebPubSub: typeof import("./webPubSub").WebPubSub = null as any; -utilities.lazyLoad(exports, ["WebPubSub"], () => require("./webPubSub")); - -export { WebPubSubCustomCertificateArgs } from "./webPubSubCustomCertificate"; -export type WebPubSubCustomCertificate = import("./webPubSubCustomCertificate").WebPubSubCustomCertificate; -export const WebPubSubCustomCertificate: typeof import("./webPubSubCustomCertificate").WebPubSubCustomCertificate = null as any; -utilities.lazyLoad(exports, ["WebPubSubCustomCertificate"], () => require("./webPubSubCustomCertificate")); - -export { WebPubSubCustomDomainArgs } from "./webPubSubCustomDomain"; -export type WebPubSubCustomDomain = import("./webPubSubCustomDomain").WebPubSubCustomDomain; -export const WebPubSubCustomDomain: typeof import("./webPubSubCustomDomain").WebPubSubCustomDomain = null as any; -utilities.lazyLoad(exports, ["WebPubSubCustomDomain"], () => require("./webPubSubCustomDomain")); - -export { WebPubSubHubArgs } from "./webPubSubHub"; -export type WebPubSubHub = import("./webPubSubHub").WebPubSubHub; -export const WebPubSubHub: typeof import("./webPubSubHub").WebPubSubHub = null as any; -utilities.lazyLoad(exports, ["WebPubSubHub"], () => require("./webPubSubHub")); - -export { WebPubSubPrivateEndpointConnectionArgs } from "./webPubSubPrivateEndpointConnection"; -export type WebPubSubPrivateEndpointConnection = import("./webPubSubPrivateEndpointConnection").WebPubSubPrivateEndpointConnection; -export const WebPubSubPrivateEndpointConnection: typeof import("./webPubSubPrivateEndpointConnection").WebPubSubPrivateEndpointConnection = null as any; -utilities.lazyLoad(exports, ["WebPubSubPrivateEndpointConnection"], () => require("./webPubSubPrivateEndpointConnection")); - -export { WebPubSubSharedPrivateLinkResourceArgs } from "./webPubSubSharedPrivateLinkResource"; -export type WebPubSubSharedPrivateLinkResource = import("./webPubSubSharedPrivateLinkResource").WebPubSubSharedPrivateLinkResource; -export const WebPubSubSharedPrivateLinkResource: typeof import("./webPubSubSharedPrivateLinkResource").WebPubSubSharedPrivateLinkResource = null as any; -utilities.lazyLoad(exports, ["WebPubSubSharedPrivateLinkResource"], () => require("./webPubSubSharedPrivateLinkResource")); - - -// Export enums: -export * from "../../types/enums/webpubsub/v20220801preview"; - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:webpubsub/v20220801preview:WebPubSub": - return new WebPubSub(name, undefined, { urn }) - case "azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate": - return new WebPubSubCustomCertificate(name, undefined, { urn }) - case "azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain": - return new WebPubSubCustomDomain(name, undefined, { urn }) - case "azure-native:webpubsub/v20220801preview:WebPubSubHub": - return new WebPubSubHub(name, undefined, { urn }) - case "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection": - return new WebPubSubPrivateEndpointConnection(name, undefined, { urn }) - case "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource": - return new WebPubSubSharedPrivateLinkResource(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "webpubsub/v20220801preview", _module) diff --git a/sdk/nodejs/webpubsub/v20220801preview/listWebPubSubKeys.ts b/sdk/nodejs/webpubsub/v20220801preview/listWebPubSubKeys.ts deleted file mode 100644 index 1e5d791bf93b..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/listWebPubSubKeys.ts +++ /dev/null @@ -1,68 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../../utilities"; - -/** - * A class represents the access keys of the resource. - */ -export function listWebPubSubKeys(args: ListWebPubSubKeysArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - return pulumi.runtime.invoke("azure-native:webpubsub/v20220801preview:listWebPubSubKeys", { - "resourceGroupName": args.resourceGroupName, - "resourceName": args.resourceName, - }, opts); -} - -export interface ListWebPubSubKeysArgs { - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: string; - /** - * The name of the resource. - */ - resourceName: string; -} - -/** - * A class represents the access keys of the resource. - */ -export interface ListWebPubSubKeysResult { - /** - * Connection string constructed via the primaryKey - */ - readonly primaryConnectionString?: string; - /** - * The primary access key. - */ - readonly primaryKey?: string; - /** - * Connection string constructed via the secondaryKey - */ - readonly secondaryConnectionString?: string; - /** - * The secondary access key. - */ - readonly secondaryKey?: string; -} - -export function listWebPubSubKeysOutput(args: ListWebPubSubKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => listWebPubSubKeys(a, opts)) -} - -export interface ListWebPubSubKeysOutputArgs { - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/webPubSub.ts b/sdk/nodejs/webpubsub/v20220801preview/webPubSub.ts deleted file mode 100644 index e6f181a4b81e..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/webPubSub.ts +++ /dev/null @@ -1,272 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A class represent a resource. - */ -export class WebPubSub extends pulumi.CustomResource { - /** - * Get an existing WebPubSub resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WebPubSub { - return new WebPubSub(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:webpubsub/v20220801preview:WebPubSub'; - - /** - * Returns true if the given object is an instance of WebPubSub. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is WebPubSub { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === WebPubSub.__pulumiType; - } - - /** - * DisableLocalAuth - * Enable or disable aad auth - * When set as true, connection with AuthType=aad won't work. - */ - public readonly disableAadAuth!: pulumi.Output; - /** - * DisableLocalAuth - * Enable or disable local auth with AccessKey - * When set as true, connection with AccessKey=xxx won't work. - */ - public readonly disableLocalAuth!: pulumi.Output; - /** - * The publicly accessible IP of the resource. - */ - public /*out*/ readonly externalIP!: pulumi.Output; - /** - * FQDN of the service instance. - */ - public /*out*/ readonly hostName!: pulumi.Output; - /** - * Deprecated. - */ - public /*out*/ readonly hostNamePrefix!: pulumi.Output; - /** - * A class represent managed identities used for request and response - */ - public readonly identity!: pulumi.Output; - /** - * Live trace configuration of a Microsoft.SignalRService resource. - */ - public readonly liveTraceConfiguration!: pulumi.Output; - /** - * The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - */ - public readonly location!: pulumi.Output; - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Network ACLs for the resource - */ - public readonly networkACLs!: pulumi.Output; - /** - * Private endpoint connections to the resource. - */ - public /*out*/ readonly privateEndpointConnections!: pulumi.Output; - /** - * Provisioning state of the resource. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * Enable or disable public network access. Default to "Enabled". - * When it's Enabled, network ACLs still apply. - * When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - */ - public readonly publicNetworkAccess!: pulumi.Output; - /** - * The publicly accessible port of the resource which is designed for browser/client side usage. - */ - public /*out*/ readonly publicPort!: pulumi.Output; - /** - * Resource log configuration of a Microsoft.SignalRService resource. - */ - public readonly resourceLogConfiguration!: pulumi.Output; - /** - * The publicly accessible port of the resource which is designed for customer server side usage. - */ - public /*out*/ readonly serverPort!: pulumi.Output; - /** - * The list of shared private link resources. - */ - public /*out*/ readonly sharedPrivateLinkResources!: pulumi.Output; - /** - * The billing information of the resource. - */ - public readonly sku!: pulumi.Output; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * Tags of the service which is a list of key value pairs that describe the resource. - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * TLS settings for the resource - */ - public readonly tls!: pulumi.Output; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - public /*out*/ readonly type!: pulumi.Output; - /** - * Version of the resource. Probably you need the same or higher version of client SDKs. - */ - public /*out*/ readonly version!: pulumi.Output; - - /** - * Create a WebPubSub resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: WebPubSubArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - resourceInputs["disableAadAuth"] = (args ? args.disableAadAuth : undefined) ?? false; - resourceInputs["disableLocalAuth"] = (args ? args.disableLocalAuth : undefined) ?? false; - resourceInputs["identity"] = args ? args.identity : undefined; - resourceInputs["liveTraceConfiguration"] = args ? (args.liveTraceConfiguration ? pulumi.output(args.liveTraceConfiguration).apply(inputs.webpubsub.v20220801preview.liveTraceConfigurationArgsProvideDefaults) : undefined) : undefined; - resourceInputs["location"] = args ? args.location : undefined; - resourceInputs["networkACLs"] = args ? args.networkACLs : undefined; - resourceInputs["publicNetworkAccess"] = (args ? args.publicNetworkAccess : undefined) ?? "Enabled"; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["resourceLogConfiguration"] = args ? args.resourceLogConfiguration : undefined; - resourceInputs["resourceName"] = args ? args.resourceName : undefined; - resourceInputs["sku"] = args ? args.sku : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["tls"] = args ? (args.tls ? pulumi.output(args.tls).apply(inputs.webpubsub.v20220801preview.webPubSubTlsSettingsArgsProvideDefaults) : undefined) : undefined; - resourceInputs["externalIP"] = undefined /*out*/; - resourceInputs["hostName"] = undefined /*out*/; - resourceInputs["hostNamePrefix"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["privateEndpointConnections"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["publicPort"] = undefined /*out*/; - resourceInputs["serverPort"] = undefined /*out*/; - resourceInputs["sharedPrivateLinkResources"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - resourceInputs["version"] = undefined /*out*/; - } else { - resourceInputs["disableAadAuth"] = undefined /*out*/; - resourceInputs["disableLocalAuth"] = undefined /*out*/; - resourceInputs["externalIP"] = undefined /*out*/; - resourceInputs["hostName"] = undefined /*out*/; - resourceInputs["hostNamePrefix"] = undefined /*out*/; - resourceInputs["identity"] = undefined /*out*/; - resourceInputs["liveTraceConfiguration"] = undefined /*out*/; - resourceInputs["location"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["networkACLs"] = undefined /*out*/; - resourceInputs["privateEndpointConnections"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["publicNetworkAccess"] = undefined /*out*/; - resourceInputs["publicPort"] = undefined /*out*/; - resourceInputs["resourceLogConfiguration"] = undefined /*out*/; - resourceInputs["serverPort"] = undefined /*out*/; - resourceInputs["sharedPrivateLinkResources"] = undefined /*out*/; - resourceInputs["sku"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["tls"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - resourceInputs["version"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSub" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(WebPubSub.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a WebPubSub resource. - */ -export interface WebPubSubArgs { - /** - * DisableLocalAuth - * Enable or disable aad auth - * When set as true, connection with AuthType=aad won't work. - */ - disableAadAuth?: pulumi.Input; - /** - * DisableLocalAuth - * Enable or disable local auth with AccessKey - * When set as true, connection with AccessKey=xxx won't work. - */ - disableLocalAuth?: pulumi.Input; - /** - * A class represent managed identities used for request and response - */ - identity?: pulumi.Input; - /** - * Live trace configuration of a Microsoft.SignalRService resource. - */ - liveTraceConfiguration?: pulumi.Input; - /** - * The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - */ - location?: pulumi.Input; - /** - * Network ACLs for the resource - */ - networkACLs?: pulumi.Input; - /** - * Enable or disable public network access. Default to "Enabled". - * When it's Enabled, network ACLs still apply. - * When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - */ - publicNetworkAccess?: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * Resource log configuration of a Microsoft.SignalRService resource. - */ - resourceLogConfiguration?: pulumi.Input; - /** - * The name of the resource. - */ - resourceName?: pulumi.Input; - /** - * The billing information of the resource. - */ - sku?: pulumi.Input; - /** - * Tags of the service which is a list of key value pairs that describe the resource. - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * TLS settings for the resource - */ - tls?: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/webPubSubCustomCertificate.ts b/sdk/nodejs/webpubsub/v20220801preview/webPubSubCustomCertificate.ts deleted file mode 100644 index 01e6942acf6d..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/webPubSubCustomCertificate.ts +++ /dev/null @@ -1,144 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A custom certificate. - */ -export class WebPubSubCustomCertificate extends pulumi.CustomResource { - /** - * Get an existing WebPubSubCustomCertificate resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WebPubSubCustomCertificate { - return new WebPubSubCustomCertificate(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate'; - - /** - * Returns true if the given object is an instance of WebPubSubCustomCertificate. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is WebPubSubCustomCertificate { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === WebPubSubCustomCertificate.__pulumiType; - } - - /** - * Base uri of the KeyVault that stores certificate. - */ - public readonly keyVaultBaseUri!: pulumi.Output; - /** - * Certificate secret name. - */ - public readonly keyVaultSecretName!: pulumi.Output; - /** - * Certificate secret version. - */ - public readonly keyVaultSecretVersion!: pulumi.Output; - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Provisioning state of the resource. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a WebPubSubCustomCertificate resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: WebPubSubCustomCertificateArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.keyVaultBaseUri === undefined) && !opts.urn) { - throw new Error("Missing required property 'keyVaultBaseUri'"); - } - if ((!args || args.keyVaultSecretName === undefined) && !opts.urn) { - throw new Error("Missing required property 'keyVaultSecretName'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.resourceName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceName'"); - } - resourceInputs["certificateName"] = args ? args.certificateName : undefined; - resourceInputs["keyVaultBaseUri"] = args ? args.keyVaultBaseUri : undefined; - resourceInputs["keyVaultSecretName"] = args ? args.keyVaultSecretName : undefined; - resourceInputs["keyVaultSecretVersion"] = args ? args.keyVaultSecretVersion : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["resourceName"] = args ? args.resourceName : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["keyVaultBaseUri"] = undefined /*out*/; - resourceInputs["keyVaultSecretName"] = undefined /*out*/; - resourceInputs["keyVaultSecretVersion"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - super(WebPubSubCustomCertificate.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a WebPubSubCustomCertificate resource. - */ -export interface WebPubSubCustomCertificateArgs { - /** - * Custom certificate name - */ - certificateName?: pulumi.Input; - /** - * Base uri of the KeyVault that stores certificate. - */ - keyVaultBaseUri: pulumi.Input; - /** - * Certificate secret name. - */ - keyVaultSecretName: pulumi.Input; - /** - * Certificate secret version. - */ - keyVaultSecretVersion?: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/webPubSubCustomDomain.ts b/sdk/nodejs/webpubsub/v20220801preview/webPubSubCustomDomain.ts deleted file mode 100644 index a45ab65c039c..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/webPubSubCustomDomain.ts +++ /dev/null @@ -1,133 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A custom domain - */ -export class WebPubSubCustomDomain extends pulumi.CustomResource { - /** - * Get an existing WebPubSubCustomDomain resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WebPubSubCustomDomain { - return new WebPubSubCustomDomain(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain'; - - /** - * Returns true if the given object is an instance of WebPubSubCustomDomain. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is WebPubSubCustomDomain { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === WebPubSubCustomDomain.__pulumiType; - } - - /** - * Reference to a resource. - */ - public readonly customCertificate!: pulumi.Output; - /** - * The custom domain name. - */ - public readonly domainName!: pulumi.Output; - /** - * The name of the resource. - */ - public readonly name!: pulumi.Output; - /** - * Provisioning state of the resource. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a WebPubSubCustomDomain resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: WebPubSubCustomDomainArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.customCertificate === undefined) && !opts.urn) { - throw new Error("Missing required property 'customCertificate'"); - } - if ((!args || args.domainName === undefined) && !opts.urn) { - throw new Error("Missing required property 'domainName'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.resourceName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceName'"); - } - resourceInputs["customCertificate"] = args ? args.customCertificate : undefined; - resourceInputs["domainName"] = args ? args.domainName : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["resourceName"] = args ? args.resourceName : undefined; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["customCertificate"] = undefined /*out*/; - resourceInputs["domainName"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - super(WebPubSubCustomDomain.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a WebPubSubCustomDomain resource. - */ -export interface WebPubSubCustomDomainArgs { - /** - * Reference to a resource. - */ - customCertificate: pulumi.Input; - /** - * The custom domain name. - */ - domainName: pulumi.Input; - /** - * Custom domain name. - */ - name?: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/webPubSubPrivateEndpointConnection.ts b/sdk/nodejs/webpubsub/v20220801preview/webPubSubPrivateEndpointConnection.ts deleted file mode 100644 index aea37780e8eb..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/webPubSubPrivateEndpointConnection.ts +++ /dev/null @@ -1,136 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * A private endpoint connection to an azure resource - */ -export class WebPubSubPrivateEndpointConnection extends pulumi.CustomResource { - /** - * Get an existing WebPubSubPrivateEndpointConnection resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WebPubSubPrivateEndpointConnection { - return new WebPubSubPrivateEndpointConnection(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection'; - - /** - * Returns true if the given object is an instance of WebPubSubPrivateEndpointConnection. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is WebPubSubPrivateEndpointConnection { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === WebPubSubPrivateEndpointConnection.__pulumiType; - } - - /** - * Group IDs - */ - public /*out*/ readonly groupIds!: pulumi.Output; - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Private endpoint - */ - public readonly privateEndpoint!: pulumi.Output; - /** - * Connection state of the private endpoint connection - */ - public readonly privateLinkServiceConnectionState!: pulumi.Output; - /** - * Provisioning state of the resource. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a WebPubSubPrivateEndpointConnection resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: WebPubSubPrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.resourceName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceName'"); - } - resourceInputs["privateEndpoint"] = args ? args.privateEndpoint : undefined; - resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; - resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["resourceName"] = args ? args.resourceName : undefined; - resourceInputs["groupIds"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["groupIds"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["privateEndpoint"] = undefined /*out*/; - resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(WebPubSubPrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a WebPubSubPrivateEndpointConnection resource. - */ -export interface WebPubSubPrivateEndpointConnectionArgs { - /** - * Private endpoint - */ - privateEndpoint?: pulumi.Input; - /** - * The name of the private endpoint connection - */ - privateEndpointConnectionName?: pulumi.Input; - /** - * Connection state of the private endpoint connection - */ - privateLinkServiceConnectionState?: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/v20220801preview/webPubSubSharedPrivateLinkResource.ts b/sdk/nodejs/webpubsub/v20220801preview/webPubSubSharedPrivateLinkResource.ts deleted file mode 100644 index b250a9f048b7..000000000000 --- a/sdk/nodejs/webpubsub/v20220801preview/webPubSubSharedPrivateLinkResource.ts +++ /dev/null @@ -1,152 +0,0 @@ -// *** 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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as inputs from "../../types/input"; -import * as outputs from "../../types/output"; -import * as enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Describes a Shared Private Link Resource - */ -export class WebPubSubSharedPrivateLinkResource extends pulumi.CustomResource { - /** - * Get an existing WebPubSubSharedPrivateLinkResource resource's state with the given name, ID, and optional extra - * properties used to qualify the lookup. - * - * @param name The _unique_ name of the resulting resource. - * @param id The _unique_ provider ID of the resource to lookup. - * @param opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WebPubSubSharedPrivateLinkResource { - return new WebPubSubSharedPrivateLinkResource(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource'; - - /** - * Returns true if the given object is an instance of WebPubSubSharedPrivateLinkResource. This is designed to work even - * when multiple copies of the Pulumi SDK have been loaded into the same process. - */ - public static isInstance(obj: any): obj is WebPubSubSharedPrivateLinkResource { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === WebPubSubSharedPrivateLinkResource.__pulumiType; - } - - /** - * The group id from the provider of resource the shared private link resource is for - */ - public readonly groupId!: pulumi.Output; - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The resource id of the resource the shared private link resource is for - */ - public readonly privateLinkResourceId!: pulumi.Output; - /** - * Provisioning state of the resource. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * The request message for requesting approval of the shared private link resource - */ - public readonly requestMessage!: pulumi.Output; - /** - * Status of the shared private link resource - */ - public /*out*/ readonly status!: pulumi.Output; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a WebPubSubSharedPrivateLinkResource resource with the given unique name, arguments, and options. - * - * @param name The _unique_ name of the resource. - * @param args The arguments to use to populate this resource's properties. - * @param opts A bag of options that control this resource's behavior. - */ - constructor(name: string, args: WebPubSubSharedPrivateLinkResourceArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.groupId === undefined) && !opts.urn) { - throw new Error("Missing required property 'groupId'"); - } - if ((!args || args.privateLinkResourceId === undefined) && !opts.urn) { - throw new Error("Missing required property 'privateLinkResourceId'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.resourceName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceName'"); - } - resourceInputs["groupId"] = args ? args.groupId : undefined; - resourceInputs["privateLinkResourceId"] = args ? args.privateLinkResourceId : undefined; - resourceInputs["requestMessage"] = args ? args.requestMessage : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["resourceName"] = args ? args.resourceName : undefined; - resourceInputs["sharedPrivateLinkResourceName"] = args ? args.sharedPrivateLinkResourceName : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["status"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["groupId"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["privateLinkResourceId"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["requestMessage"] = undefined /*out*/; - resourceInputs["status"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(WebPubSubSharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a WebPubSubSharedPrivateLinkResource resource. - */ -export interface WebPubSubSharedPrivateLinkResourceArgs { - /** - * The group id from the provider of resource the shared private link resource is for - */ - groupId: pulumi.Input; - /** - * The resource id of the resource the shared private link resource is for - */ - privateLinkResourceId: pulumi.Input; - /** - * The request message for requesting approval of the shared private link resource - */ - requestMessage?: pulumi.Input; - /** - * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the resource. - */ - resourceName: pulumi.Input; - /** - * The name of the shared private link resource - */ - sharedPrivateLinkResourceName?: pulumi.Input; -} diff --git a/sdk/nodejs/webpubsub/webPubSub.ts b/sdk/nodejs/webpubsub/webPubSub.ts index 9c0f3d203e35..f60b2b8583c4 100644 --- a/sdk/nodejs/webpubsub/webPubSub.ts +++ b/sdk/nodejs/webpubsub/webPubSub.ts @@ -185,7 +185,7 @@ export class WebPubSub extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20210401preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSub" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSub" }, { type: "azure-native:webpubsub/v20211001:WebPubSub" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSub.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/webPubSubHub.ts b/sdk/nodejs/webpubsub/webPubSubHub.ts index 453724024380..03938bfd63a8 100644 --- a/sdk/nodejs/webpubsub/webPubSubHub.ts +++ b/sdk/nodejs/webpubsub/webPubSubHub.ts @@ -89,7 +89,7 @@ export class WebPubSubHub extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20211001:WebPubSubHub" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubHub" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20211001:WebPubSubHub" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubHub.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/webPubSubPrivateEndpointConnection.ts b/sdk/nodejs/webpubsub/webPubSubPrivateEndpointConnection.ts index 999d7f0baab1..de160dd95617 100644 --- a/sdk/nodejs/webpubsub/webPubSubPrivateEndpointConnection.ts +++ b/sdk/nodejs/webpubsub/webPubSubPrivateEndpointConnection.ts @@ -98,7 +98,7 @@ export class WebPubSubPrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection" }, { type: "azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubPrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/webpubsub/webPubSubSharedPrivateLinkResource.ts b/sdk/nodejs/webpubsub/webPubSubSharedPrivateLinkResource.ts index d8ac19ca87bc..bef5e5656c23 100644 --- a/sdk/nodejs/webpubsub/webPubSubSharedPrivateLinkResource.ts +++ b/sdk/nodejs/webpubsub/webPubSubSharedPrivateLinkResource.ts @@ -116,7 +116,7 @@ export class WebPubSubSharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource" }, { type: "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WebPubSubSharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/python/pulumi_azure_native/__init__.py b/sdk/python/pulumi_azure_native/__init__.py index e7fe758f311e..a5cbd4a6a373 100644 --- a/sdk/python/pulumi_azure_native/__init__.py +++ b/sdk/python/pulumi_azure_native/__init__.py @@ -1787,15 +1787,18 @@ "azure-native:appplatform:ApiPortalCustomDomain": "ApiPortalCustomDomain", "azure-native:appplatform:App": "App", "azure-native:appplatform:Binding": "Binding", + "azure-native:appplatform:BuildServiceAgentPool": "BuildServiceAgentPool", "azure-native:appplatform:BuildServiceBuilder": "BuildServiceBuilder", "azure-native:appplatform:BuildpackBinding": "BuildpackBinding", "azure-native:appplatform:Certificate": "Certificate", + "azure-native:appplatform:ConfigServer": "ConfigServer", "azure-native:appplatform:ConfigurationService": "ConfigurationService", "azure-native:appplatform:CustomDomain": "CustomDomain", "azure-native:appplatform:Deployment": "Deployment", "azure-native:appplatform:Gateway": "Gateway", "azure-native:appplatform:GatewayCustomDomain": "GatewayCustomDomain", "azure-native:appplatform:GatewayRouteConfig": "GatewayRouteConfig", + "azure-native:appplatform:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform:Service": "Service", "azure-native:appplatform:ServiceRegistry": "ServiceRegistry", "azure-native:appplatform:Storage": "Storage" @@ -1809,8 +1812,10 @@ "azure-native:appplatform/v20200701:App": "App", "azure-native:appplatform/v20200701:Binding": "Binding", "azure-native:appplatform/v20200701:Certificate": "Certificate", + "azure-native:appplatform/v20200701:ConfigServer": "ConfigServer", "azure-native:appplatform/v20200701:CustomDomain": "CustomDomain", "azure-native:appplatform/v20200701:Deployment": "Deployment", + "azure-native:appplatform/v20200701:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20200701:Service": "Service" } }, @@ -1822,8 +1827,10 @@ "azure-native:appplatform/v20201101preview:App": "App", "azure-native:appplatform/v20201101preview:Binding": "Binding", "azure-native:appplatform/v20201101preview:Certificate": "Certificate", + "azure-native:appplatform/v20201101preview:ConfigServer": "ConfigServer", "azure-native:appplatform/v20201101preview:CustomDomain": "CustomDomain", "azure-native:appplatform/v20201101preview:Deployment": "Deployment", + "azure-native:appplatform/v20201101preview:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20201101preview:Service": "Service" } }, @@ -1835,8 +1842,10 @@ "azure-native:appplatform/v20210601preview:App": "App", "azure-native:appplatform/v20210601preview:Binding": "Binding", "azure-native:appplatform/v20210601preview:Certificate": "Certificate", + "azure-native:appplatform/v20210601preview:ConfigServer": "ConfigServer", "azure-native:appplatform/v20210601preview:CustomDomain": "CustomDomain", "azure-native:appplatform/v20210601preview:Deployment": "Deployment", + "azure-native:appplatform/v20210601preview:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20210601preview:Service": "Service" } }, @@ -1848,8 +1857,10 @@ "azure-native:appplatform/v20210901preview:App": "App", "azure-native:appplatform/v20210901preview:Binding": "Binding", "azure-native:appplatform/v20210901preview:Certificate": "Certificate", + "azure-native:appplatform/v20210901preview:ConfigServer": "ConfigServer", "azure-native:appplatform/v20210901preview:CustomDomain": "CustomDomain", "azure-native:appplatform/v20210901preview:Deployment": "Deployment", + "azure-native:appplatform/v20210901preview:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20210901preview:Service": "Service", "azure-native:appplatform/v20210901preview:Storage": "Storage" } @@ -1863,15 +1874,18 @@ "azure-native:appplatform/v20220101preview:ApiPortalCustomDomain": "ApiPortalCustomDomain", "azure-native:appplatform/v20220101preview:App": "App", "azure-native:appplatform/v20220101preview:Binding": "Binding", + "azure-native:appplatform/v20220101preview:BuildServiceAgentPool": "BuildServiceAgentPool", "azure-native:appplatform/v20220101preview:BuildServiceBuilder": "BuildServiceBuilder", "azure-native:appplatform/v20220101preview:BuildpackBinding": "BuildpackBinding", "azure-native:appplatform/v20220101preview:Certificate": "Certificate", + "azure-native:appplatform/v20220101preview:ConfigServer": "ConfigServer", "azure-native:appplatform/v20220101preview:ConfigurationService": "ConfigurationService", "azure-native:appplatform/v20220101preview:CustomDomain": "CustomDomain", "azure-native:appplatform/v20220101preview:Deployment": "Deployment", "azure-native:appplatform/v20220101preview:Gateway": "Gateway", "azure-native:appplatform/v20220101preview:GatewayCustomDomain": "GatewayCustomDomain", "azure-native:appplatform/v20220101preview:GatewayRouteConfig": "GatewayRouteConfig", + "azure-native:appplatform/v20220101preview:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20220101preview:Service": "Service", "azure-native:appplatform/v20220101preview:ServiceRegistry": "ServiceRegistry", "azure-native:appplatform/v20220101preview:Storage": "Storage" @@ -1886,15 +1900,18 @@ "azure-native:appplatform/v20220301preview:ApiPortalCustomDomain": "ApiPortalCustomDomain", "azure-native:appplatform/v20220301preview:App": "App", "azure-native:appplatform/v20220301preview:Binding": "Binding", + "azure-native:appplatform/v20220301preview:BuildServiceAgentPool": "BuildServiceAgentPool", "azure-native:appplatform/v20220301preview:BuildServiceBuilder": "BuildServiceBuilder", "azure-native:appplatform/v20220301preview:BuildpackBinding": "BuildpackBinding", "azure-native:appplatform/v20220301preview:Certificate": "Certificate", + "azure-native:appplatform/v20220301preview:ConfigServer": "ConfigServer", "azure-native:appplatform/v20220301preview:ConfigurationService": "ConfigurationService", "azure-native:appplatform/v20220301preview:CustomDomain": "CustomDomain", "azure-native:appplatform/v20220301preview:Deployment": "Deployment", "azure-native:appplatform/v20220301preview:Gateway": "Gateway", "azure-native:appplatform/v20220301preview:GatewayCustomDomain": "GatewayCustomDomain", "azure-native:appplatform/v20220301preview:GatewayRouteConfig": "GatewayRouteConfig", + "azure-native:appplatform/v20220301preview:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20220301preview:Service": "Service", "azure-native:appplatform/v20220301preview:ServiceRegistry": "ServiceRegistry", "azure-native:appplatform/v20220301preview:Storage": "Storage" @@ -1907,12 +1924,15 @@ "classes": { "azure-native:appplatform/v20220401:App": "App", "azure-native:appplatform/v20220401:Binding": "Binding", + "azure-native:appplatform/v20220401:BuildServiceAgentPool": "BuildServiceAgentPool", "azure-native:appplatform/v20220401:BuildServiceBuilder": "BuildServiceBuilder", "azure-native:appplatform/v20220401:BuildpackBinding": "BuildpackBinding", "azure-native:appplatform/v20220401:Certificate": "Certificate", + "azure-native:appplatform/v20220401:ConfigServer": "ConfigServer", "azure-native:appplatform/v20220401:ConfigurationService": "ConfigurationService", "azure-native:appplatform/v20220401:CustomDomain": "CustomDomain", "azure-native:appplatform/v20220401:Deployment": "Deployment", + "azure-native:appplatform/v20220401:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20220401:Service": "Service", "azure-native:appplatform/v20220401:ServiceRegistry": "ServiceRegistry" } @@ -1926,15 +1946,18 @@ "azure-native:appplatform/v20220501preview:ApiPortalCustomDomain": "ApiPortalCustomDomain", "azure-native:appplatform/v20220501preview:App": "App", "azure-native:appplatform/v20220501preview:Binding": "Binding", + "azure-native:appplatform/v20220501preview:BuildServiceAgentPool": "BuildServiceAgentPool", "azure-native:appplatform/v20220501preview:BuildServiceBuilder": "BuildServiceBuilder", "azure-native:appplatform/v20220501preview:BuildpackBinding": "BuildpackBinding", "azure-native:appplatform/v20220501preview:Certificate": "Certificate", + "azure-native:appplatform/v20220501preview:ConfigServer": "ConfigServer", "azure-native:appplatform/v20220501preview:ConfigurationService": "ConfigurationService", "azure-native:appplatform/v20220501preview:CustomDomain": "CustomDomain", "azure-native:appplatform/v20220501preview:Deployment": "Deployment", "azure-native:appplatform/v20220501preview:Gateway": "Gateway", "azure-native:appplatform/v20220501preview:GatewayCustomDomain": "GatewayCustomDomain", "azure-native:appplatform/v20220501preview:GatewayRouteConfig": "GatewayRouteConfig", + "azure-native:appplatform/v20220501preview:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20220501preview:Service": "Service", "azure-native:appplatform/v20220501preview:ServiceRegistry": "ServiceRegistry", "azure-native:appplatform/v20220501preview:Storage": "Storage" @@ -1949,15 +1972,18 @@ "azure-native:appplatform/v20220901preview:ApiPortalCustomDomain": "ApiPortalCustomDomain", "azure-native:appplatform/v20220901preview:App": "App", "azure-native:appplatform/v20220901preview:Binding": "Binding", + "azure-native:appplatform/v20220901preview:BuildServiceAgentPool": "BuildServiceAgentPool", "azure-native:appplatform/v20220901preview:BuildServiceBuilder": "BuildServiceBuilder", "azure-native:appplatform/v20220901preview:BuildpackBinding": "BuildpackBinding", "azure-native:appplatform/v20220901preview:Certificate": "Certificate", + "azure-native:appplatform/v20220901preview:ConfigServer": "ConfigServer", "azure-native:appplatform/v20220901preview:ConfigurationService": "ConfigurationService", "azure-native:appplatform/v20220901preview:CustomDomain": "CustomDomain", "azure-native:appplatform/v20220901preview:Deployment": "Deployment", "azure-native:appplatform/v20220901preview:Gateway": "Gateway", "azure-native:appplatform/v20220901preview:GatewayCustomDomain": "GatewayCustomDomain", "azure-native:appplatform/v20220901preview:GatewayRouteConfig": "GatewayRouteConfig", + "azure-native:appplatform/v20220901preview:MonitoringSetting": "MonitoringSetting", "azure-native:appplatform/v20220901preview:Service": "Service", "azure-native:appplatform/v20220901preview:ServiceRegistry": "ServiceRegistry", "azure-native:appplatform/v20220901preview:Storage": "Storage" @@ -7576,18 +7602,6 @@ "azure-native:dbforpostgresql/v20220120preview:Server": "Server" } }, - { - "pkg": "azure-native", - "mod": "dbforpostgresql/v20220308preview", - "fqn": "pulumi_azure_native.dbforpostgresql.v20220308preview", - "classes": { - "azure-native:dbforpostgresql/v20220308preview:Administrator": "Administrator", - "azure-native:dbforpostgresql/v20220308preview:Configuration": "Configuration", - "azure-native:dbforpostgresql/v20220308preview:Database": "Database", - "azure-native:dbforpostgresql/v20220308preview:FirewallRule": "FirewallRule", - "azure-native:dbforpostgresql/v20220308preview:Server": "Server" - } - }, { "pkg": "azure-native", "mod": "delegatednetwork", @@ -23232,19 +23246,6 @@ "azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource": "WebPubSubSharedPrivateLinkResource" } }, - { - "pkg": "azure-native", - "mod": "webpubsub/v20220801preview", - "fqn": "pulumi_azure_native.webpubsub.v20220801preview", - "classes": { - "azure-native:webpubsub/v20220801preview:WebPubSub": "WebPubSub", - "azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate": "WebPubSubCustomCertificate", - "azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain": "WebPubSubCustomDomain", - "azure-native:webpubsub/v20220801preview:WebPubSubHub": "WebPubSubHub", - "azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection": "WebPubSubPrivateEndpointConnection", - "azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource": "WebPubSubSharedPrivateLinkResource" - } - }, { "pkg": "azure-native", "mod": "windowsesu", diff --git a/sdk/python/pulumi_azure_native/appplatform/__init__.py b/sdk/python/pulumi_azure_native/appplatform/__init__.py index 35f8e17aa028..a17cb1330246 100644 --- a/sdk/python/pulumi_azure_native/appplatform/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/__init__.py @@ -10,9 +10,11 @@ from .api_portal_custom_domain import * from .app import * from .binding import * +from .build_service_agent_pool import * from .build_service_builder import * from .buildpack_binding import * from .certificate import * +from .config_server import * from .configuration_service import * from .custom_domain import * from .deployment import * @@ -24,11 +26,13 @@ from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * +from .get_build_service_agent_pool import * from .get_build_service_build_result_log import * from .get_build_service_builder import * from .get_build_service_resource_upload_url import * from .get_buildpack_binding import * from .get_certificate import * +from .get_config_server import * from .get_configuration_service import * from .get_custom_domain import * from .get_deployment import * @@ -36,10 +40,12 @@ from .get_gateway import * from .get_gateway_custom_domain import * from .get_gateway_route_config import * +from .get_monitoring_setting import * from .get_service import * from .get_service_registry import * from .get_storage import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from .service_registry import * from .storage import * diff --git a/sdk/python/pulumi_azure_native/appplatform/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/_inputs.py index 312a8ed2a869..87dc4d502784 100644 --- a/sdk/python/pulumi_azure_native/appplatform/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/_inputs.py @@ -15,6 +15,8 @@ 'ApiPortalPropertiesArgs', 'AppResourcePropertiesArgs', 'BindingResourcePropertiesArgs', + 'BuildServiceAgentPoolPropertiesArgs', + 'BuildServiceAgentPoolSizePropertiesArgs', 'BuilderPropertiesArgs', 'BuildpackBindingLaunchPropertiesArgs', 'BuildpackBindingPropertiesArgs', @@ -22,6 +24,9 @@ 'BuildpacksGroupPropertiesArgs', 'CertificatePropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'ConfigurationServiceGitPropertyArgs', 'ConfigurationServiceGitRepositoryArgs', 'ConfigurationServicePropertiesArgs', @@ -29,6 +34,7 @@ 'CustomDomainPropertiesArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', 'GatewayApiMetadataPropertiesArgs', 'GatewayApiRouteArgs', 'GatewayCorsPropertiesArgs', @@ -36,7 +42,9 @@ 'GatewayPropertiesArgs', 'GatewayResourceRequestsArgs', 'GatewayRouteConfigPropertiesArgs', + 'GitPatternRepositoryArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', 'SkuArgs', @@ -325,6 +333,54 @@ def resource_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_id", value) +@pulumi.input_type +class BuildServiceAgentPoolPropertiesArgs: + def __init__(__self__, *, + pool_size: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']] = None): + """ + Build service agent pool properties + :param pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs'] pool_size: build service agent pool size properties + """ + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + @pool_size.setter + def pool_size(self, value: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]): + pulumi.set(self, "pool_size", value) + + +@pulumi.input_type +class BuildServiceAgentPoolSizePropertiesArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Build service agent pool size properties + :param pulumi.Input[str] name: The name of build service agent pool size + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @pulumi.input_type class BuilderPropertiesArgs: def __init__(__self__, *, @@ -587,6 +643,237 @@ def network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]): pulumi.set(self, "network_profile", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class ConfigurationServiceGitPropertyArgs: def __init__(__self__, *, @@ -1029,6 +1316,46 @@ def runtime_version(self, value: Optional[pulumi.Input[Union[str, 'RuntimeVersio pulumi.set(self, "runtime_version", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @pulumi.input_type class GatewayApiMetadataPropertiesArgs: def __init__(__self__, *, @@ -1589,6 +1916,188 @@ def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayApiR pulumi.set(self, "routes", value) +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class ManagedIdentityPropertiesArgs: def __init__(__self__, *, @@ -1645,6 +2154,62 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]) pulumi.set(self, "type", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: Indicates whether enable the trace functionality + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether enable the trace functionality + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetworkProfileArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/build_service_agent_pool.py new file mode 100644 index 000000000000..cac3e4fd98b4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/build_service_agent_pool.py @@ -0,0 +1,238 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['BuildServiceAgentPoolArgs', 'BuildServiceAgentPool'] + +@pulumi.input_type +class BuildServiceAgentPoolArgs: + def __init__(__self__, *, + build_service_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + agent_pool_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']] = None): + """ + The set of arguments for constructing a BuildServiceAgentPool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input['BuildServiceAgentPoolPropertiesArgs'] properties: build service agent pool properties + """ + pulumi.set(__self__, "build_service_name", build_service_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if agent_pool_name is not None: + pulumi.set(__self__, "agent_pool_name", agent_pool_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="buildServiceName") + def build_service_name(self) -> pulumi.Input[str]: + """ + The name of the build service resource. + """ + return pulumi.get(self, "build_service_name") + + @build_service_name.setter + def build_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "build_service_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="agentPoolName") + def agent_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the build service agent pool resource. + """ + return pulumi.get(self, "agent_pool_name") + + @agent_pool_name.setter + def agent_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "agent_pool_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class BuildServiceAgentPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The build service agent pool resource + API Version: 2022-01-01-preview. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']] properties: build service agent pool properties + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BuildServiceAgentPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The build service agent pool resource + API Version: 2022-01-01-preview. + + :param str resource_name: The name of the resource. + :param BuildServiceAgentPoolArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BuildServiceAgentPoolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["agent_pool_name"] = agent_pool_name + if build_service_name is None and not opts.urn: + raise TypeError("Missing required property 'build_service_name'") + __props__.__dict__["build_service_name"] = build_service_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220401:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:BuildServiceAgentPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BuildServiceAgentPool, __self__).__init__( + 'azure-native:appplatform:BuildServiceAgentPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildServiceAgentPool': + """ + Get an existing BuildServiceAgentPool resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BuildServiceAgentPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BuildServiceAgentPoolPropertiesResponse']: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/config_server.py b/sdk/python/pulumi_azure_native/appplatform/config_server.py new file mode 100644 index 000000000000..8118a3668ee6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/config_server.py @@ -0,0 +1,187 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + API Version: 2020-07-01. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + API Version: 2020-07-01. + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/get_build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/get_build_service_agent_pool.py new file mode 100644 index 000000000000..0618862b5abd --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/get_build_service_agent_pool.py @@ -0,0 +1,143 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetBuildServiceAgentPoolResult', + 'AwaitableGetBuildServiceAgentPoolResult', + 'get_build_service_agent_pool', + 'get_build_service_agent_pool_output', +] + +@pulumi.output_type +class GetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BuildServiceAgentPoolPropertiesResponse': + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetBuildServiceAgentPoolResult(GetBuildServiceAgentPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBuildServiceAgentPoolResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_build_service_agent_pool(agent_pool_name: Optional[str] = None, + build_service_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + API Version: 2022-01-01-preview. + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['agentPoolName'] = agent_pool_name + __args__['buildServiceName'] = build_service_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform:getBuildServiceAgentPool', __args__, opts=opts, typ=GetBuildServiceAgentPoolResult).value + + return AwaitableGetBuildServiceAgentPoolResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_build_service_agent_pool) +def get_build_service_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildServiceAgentPoolResult]: + """ + The build service agent pool resource + API Version: 2022-01-01-preview. + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/get_config_server.py new file mode 100644 index 000000000000..93869203f5d2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/get_config_server.py @@ -0,0 +1,120 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + API Version: 2020-07-01. + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + API Version: 2020-07-01. + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/get_monitoring_setting.py new file mode 100644 index 000000000000..2a1bb919400b --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/get_monitoring_setting.py @@ -0,0 +1,120 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + API Version: 2020-07-01. + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + API Version: 2020-07-01. + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/monitoring_setting.py new file mode 100644 index 000000000000..1a083878d5ea --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/monitoring_setting.py @@ -0,0 +1,187 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + API Version: 2020-07-01. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + API Version: 2020-07-01. + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/outputs.py b/sdk/python/pulumi_azure_native/appplatform/outputs.py index 5423f9e471e3..314502ee18a1 100644 --- a/sdk/python/pulumi_azure_native/appplatform/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/outputs.py @@ -18,6 +18,8 @@ 'ApiPortalResourceRequestsResponse', 'AppResourcePropertiesResponse', 'BindingResourcePropertiesResponse', + 'BuildServiceAgentPoolPropertiesResponse', + 'BuildServiceAgentPoolSizePropertiesResponse', 'BuilderPropertiesResponse', 'BuildpackBindingLaunchPropertiesResponse', 'BuildpackBindingPropertiesResponse', @@ -25,6 +27,9 @@ 'BuildpacksGroupPropertiesResponse', 'CertificatePropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'ConfigurationServiceGitPropertyResponse', 'ConfigurationServiceGitRepositoryResponse', 'ConfigurationServiceInstanceResponse', @@ -35,6 +40,7 @@ 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', 'GatewayApiMetadataPropertiesResponse', 'GatewayApiRouteResponse', 'GatewayCorsPropertiesResponse', @@ -45,7 +51,9 @@ 'GatewayPropertiesResponse', 'GatewayResourceRequestsResponse', 'GatewayRouteConfigPropertiesResponse', + 'GitPatternRepositoryResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', 'PersistentDiskResponse', @@ -573,6 +581,104 @@ def resource_id(self) -> Optional[str]: return pulumi.get(self, "resource_id") +@pulumi.output_type +class BuildServiceAgentPoolPropertiesResponse(dict): + """ + Build service agent pool properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "poolSize": + suggest = "pool_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BuildServiceAgentPoolPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + pool_size: Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse'] = None): + """ + Build service agent pool properties + :param str provisioning_state: Provisioning state of the build service agent pool + :param 'BuildServiceAgentPoolSizePropertiesResponse' pool_size: build service agent pool size properties + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the build service agent pool + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse']: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + +@pulumi.output_type +class BuildServiceAgentPoolSizePropertiesResponse(dict): + """ + Build service agent pool size properties + """ + def __init__(__self__, *, + cpu: str, + memory: str, + name: Optional[str] = None): + """ + Build service agent pool size properties + :param str cpu: The cpu property of build service agent pool size + :param str memory: The memory property of build service agent pool size + :param str name: The name of build service agent pool size + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "memory", memory) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> str: + """ + The cpu property of build service agent pool size + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def memory(self) -> str: + """ + The memory property of build service agent pool size + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @pulumi.output_type class BuilderPropertiesResponse(dict): """ @@ -1028,6 +1134,266 @@ def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: return pulumi.get(self, "network_profile") +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): + """ + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @pulumi.output_type class ConfigurationServiceGitPropertyResponse(dict): """ @@ -1812,6 +2178,41 @@ def runtime_version(self) -> Optional[str]: return pulumi.get(self, "runtime_version") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @pulumi.output_type class GatewayApiMetadataPropertiesResponse(dict): """ @@ -2579,6 +2980,172 @@ def routes(self) -> Optional[Sequence['outputs.GatewayApiRouteResponse']]: return pulumi.get(self, "routes") +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class ManagedIdentityPropertiesResponse(dict): """ @@ -2645,6 +3212,85 @@ def type(self) -> Optional[str]: return pulumi.get(self, "type") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_instrumentation_key: Optional[str] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param str app_insights_instrumentation_key: Target application insight instrumentation key + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: Indicates whether enable the trace functionality + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + Indicates whether enable the trace functionality + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetworkProfileResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20200701/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20200701/__init__.py index 154e529cce64..07089d80a113 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20200701/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20200701/__init__.py @@ -9,17 +9,21 @@ from .app import * from .binding import * from .certificate import * +from .config_server import * from .custom_domain import * from .deployment import * from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * from .get_certificate import * +from .get_config_server import * from .get_custom_domain import * from .get_deployment import * from .get_deployment_log_file_url import * +from .get_monitoring_setting import * from .get_service import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_azure_native/appplatform/v20200701/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20200701/_inputs.py index d637ed758499..a332077049bb 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20200701/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20200701/_inputs.py @@ -15,10 +15,16 @@ 'BindingResourcePropertiesArgs', 'CertificatePropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'CustomDomainPropertiesArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', + 'GitPatternRepositoryArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', 'SkuArgs', @@ -266,6 +272,237 @@ def network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]): pulumi.set(self, "network_profile", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class CustomDomainPropertiesArgs: def __init__(__self__, *, @@ -456,6 +693,228 @@ def runtime_version(self, value: Optional[pulumi.Input[Union[str, 'RuntimeVersio pulumi.set(self, "runtime_version", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class ManagedIdentityPropertiesArgs: def __init__(__self__, *, @@ -512,6 +971,62 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]) pulumi.set(self, "type", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: Indicates whether enable the trace functionality + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether enable the trace functionality + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetworkProfileArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20200701/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20200701/config_server.py new file mode 100644 index 000000000000..5cc311932096 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20200701/config_server.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20200701:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20200701/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20200701/get_config_server.py new file mode 100644 index 000000000000..512f03ee461f --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20200701/get_config_server.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20200701:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20200701/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20200701/get_monitoring_setting.py new file mode 100644 index 000000000000..2c17135b537a --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20200701/get_monitoring_setting.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20200701:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20200701/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20200701/monitoring_setting.py new file mode 100644 index 000000000000..e5e130fecee7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20200701/monitoring_setting.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20200701:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20200701/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20200701/outputs.py index 410f94aaaff3..4b34de3c43d1 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20200701/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20200701/outputs.py @@ -16,11 +16,17 @@ 'BindingResourcePropertiesResponse', 'CertificatePropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'CustomDomainPropertiesResponse', 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', + 'GitPatternRepositoryResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', 'PersistentDiskResponse', @@ -536,6 +542,266 @@ def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: return pulumi.get(self, "network_profile") +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): + """ + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @pulumi.output_type class CustomDomainPropertiesResponse(dict): """ @@ -924,6 +1190,207 @@ def runtime_version(self) -> Optional[str]: return pulumi.get(self, "runtime_version") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class ManagedIdentityPropertiesResponse(dict): """ @@ -990,6 +1457,85 @@ def type(self) -> Optional[str]: return pulumi.get(self, "type") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_instrumentation_key: Optional[str] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param str app_insights_instrumentation_key: Target application insight instrumentation key + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: Indicates whether enable the trace functionality + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + Indicates whether enable the trace functionality + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetworkProfileResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/__init__.py index 154e529cce64..07089d80a113 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/__init__.py @@ -9,17 +9,21 @@ from .app import * from .binding import * from .certificate import * +from .config_server import * from .custom_domain import * from .deployment import * from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * from .get_certificate import * +from .get_config_server import * from .get_custom_domain import * from .get_deployment import * from .get_deployment_log_file_url import * +from .get_monitoring_setting import * from .get_service import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/_inputs.py index 667c963b2f03..a09705fde5fa 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/_inputs.py @@ -15,10 +15,16 @@ 'BindingResourcePropertiesArgs', 'CertificatePropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'CustomDomainPropertiesArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', + 'GitPatternRepositoryArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', 'SkuArgs', @@ -284,6 +290,237 @@ def network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]): pulumi.set(self, "network_profile", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class CustomDomainPropertiesArgs: def __init__(__self__, *, @@ -474,6 +711,228 @@ def runtime_version(self, value: Optional[pulumi.Input[Union[str, 'RuntimeVersio pulumi.set(self, "runtime_version", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class ManagedIdentityPropertiesArgs: def __init__(__self__, *, @@ -530,6 +989,78 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]) pulumi.set(self, "type", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetworkProfileArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/config_server.py new file mode 100644 index 000000000000..5fadddd01fe0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/config_server.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20201101preview:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/get_config_server.py new file mode 100644 index 000000000000..c120b7756d3b --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/get_config_server.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20201101preview:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/get_monitoring_setting.py new file mode 100644 index 000000000000..baf125686b54 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/get_monitoring_setting.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20201101preview:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/monitoring_setting.py new file mode 100644 index 000000000000..390bf68d9932 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/monitoring_setting.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20201101preview:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/outputs.py index 422a52a60379..53449af58bf0 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20201101preview/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20201101preview/outputs.py @@ -13,14 +13,21 @@ __all__ = [ 'AppResourcePropertiesResponse', + 'ApplicationInsightsAgentVersionsResponse', 'BindingResourcePropertiesResponse', 'CertificatePropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'CustomDomainPropertiesResponse', 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', + 'GitPatternRepositoryResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', 'PersistentDiskResponse', @@ -191,6 +198,28 @@ def temporary_disk(self) -> Optional['outputs.TemporaryDiskResponse']: return pulumi.get(self, "temporary_disk") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class BindingResourcePropertiesResponse(dict): """ @@ -552,6 +581,266 @@ def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: return pulumi.get(self, "network_profile") +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): + """ + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @pulumi.output_type class CustomDomainPropertiesResponse(dict): """ @@ -940,6 +1229,207 @@ def runtime_version(self) -> Optional[str]: return pulumi.get(self, "runtime_version") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class ManagedIdentityPropertiesResponse(dict): """ @@ -1006,6 +1496,113 @@ def type(self) -> Optional[str]: return pulumi.get(self, "type") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetworkProfileResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/__init__.py index 154e529cce64..07089d80a113 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/__init__.py @@ -9,17 +9,21 @@ from .app import * from .binding import * from .certificate import * +from .config_server import * from .custom_domain import * from .deployment import * from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * from .get_certificate import * +from .get_config_server import * from .get_custom_domain import * from .get_deployment import * from .get_deployment_log_file_url import * +from .get_monitoring_setting import * from .get_service import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/_inputs.py index 1f0a289d3d65..46095f913d24 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/_inputs.py @@ -15,12 +15,18 @@ 'BindingResourcePropertiesArgs', 'CertificatePropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'CustomContainerArgs', 'CustomDomainPropertiesArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', + 'GitPatternRepositoryArgs', 'ImageRegistryCredentialArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', 'ResourceRequestsArgs', @@ -287,6 +293,237 @@ def network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]): pulumi.set(self, "network_profile", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class CustomContainerArgs: def __init__(__self__, *, @@ -581,6 +818,228 @@ def runtime_version(self, value: Optional[pulumi.Input[Union[str, 'RuntimeVersio pulumi.set(self, "runtime_version", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class ImageRegistryCredentialArgs: def __init__(__self__, *, @@ -677,6 +1136,78 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]) pulumi.set(self, "type", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetworkProfileArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/config_server.py new file mode 100644 index 000000000000..2f26e2823590 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/config_server.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20210601preview:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/get_config_server.py new file mode 100644 index 000000000000..1f6a58dfc078 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/get_config_server.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20210601preview:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/get_monitoring_setting.py new file mode 100644 index 000000000000..af8c328b11c6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/get_monitoring_setting.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20210601preview:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/monitoring_setting.py new file mode 100644 index 000000000000..7813c744dc68 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/monitoring_setting.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20210601preview:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/outputs.py index 96a0fbc54679..b160e0b7239d 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20210601preview/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20210601preview/outputs.py @@ -13,16 +13,23 @@ __all__ = [ 'AppResourcePropertiesResponse', + 'ApplicationInsightsAgentVersionsResponse', 'BindingResourcePropertiesResponse', 'CertificatePropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'CustomContainerResponse', 'CustomDomainPropertiesResponse', 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', + 'GitPatternRepositoryResponse', 'ImageRegistryCredentialResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', 'PersistentDiskResponse', @@ -194,6 +201,28 @@ def temporary_disk(self) -> Optional['outputs.TemporaryDiskResponse']: return pulumi.get(self, "temporary_disk") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class BindingResourcePropertiesResponse(dict): """ @@ -555,6 +584,266 @@ def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: return pulumi.get(self, "network_profile") +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): + """ + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @pulumi.output_type class CustomContainerResponse(dict): """ @@ -1047,6 +1336,207 @@ def runtime_version(self) -> Optional[str]: return pulumi.get(self, "runtime_version") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class ImageRegistryCredentialResponse(dict): """ @@ -1148,6 +1638,113 @@ def type(self) -> Optional[str]: return pulumi.get(self, "type") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetworkProfileResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/__init__.py index a983a92c50f9..5ca7b529e3d3 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/__init__.py @@ -9,18 +9,22 @@ from .app import * from .binding import * from .certificate import * +from .config_server import * from .custom_domain import * from .deployment import * from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * from .get_certificate import * +from .get_config_server import * from .get_custom_domain import * from .get_deployment import * from .get_deployment_log_file_url import * +from .get_monitoring_setting import * from .get_service import * from .get_storage import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from .storage import * from ._inputs import * diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/_inputs.py index 0919b07e90ec..1f8ddf2be0e4 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/_inputs.py @@ -15,6 +15,9 @@ 'AzureFileVolumeArgs', 'BindingResourcePropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'ContentCertificatePropertiesArgs', 'CustomContainerArgs', 'CustomDomainPropertiesArgs', @@ -22,10 +25,13 @@ 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsContainerProbeSettingsArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', + 'GitPatternRepositoryArgs', 'ImageRegistryCredentialArgs', 'KeyVaultCertificatePropertiesArgs', 'LoadedCertificateArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', 'ResourceRequestsArgs', @@ -358,6 +364,237 @@ def network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]): pulumi.set(self, "network_profile", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class ContentCertificatePropertiesArgs: def __init__(__self__, *, @@ -772,6 +1009,228 @@ def runtime_version(self, value: Optional[pulumi.Input[Union[str, 'RuntimeVersio pulumi.set(self, "runtime_version", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class ImageRegistryCredentialArgs: def __init__(__self__, *, @@ -998,6 +1457,78 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]) pulumi.set(self, "type", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetworkProfileArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/config_server.py new file mode 100644 index 000000000000..5d9ff2159b0c --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/config_server.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20210901preview:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/get_config_server.py new file mode 100644 index 000000000000..61006bb672b4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/get_config_server.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20210901preview:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/get_monitoring_setting.py new file mode 100644 index 000000000000..57cf70c94884 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/get_monitoring_setting.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20210901preview:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/monitoring_setting.py new file mode 100644 index 000000000000..b84387783128 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/monitoring_setting.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20210901preview:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/outputs.py index 589392ffd26e..16cd93fe3bc2 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20210901preview/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20210901preview/outputs.py @@ -13,9 +13,13 @@ __all__ = [ 'AppResourcePropertiesResponse', + 'ApplicationInsightsAgentVersionsResponse', 'AzureFileVolumeResponse', 'BindingResourcePropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'ContentCertificatePropertiesResponse', 'CustomContainerResponse', 'CustomDomainPropertiesResponse', @@ -24,10 +28,13 @@ 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', 'DeploymentSettingsResponseContainerProbeSettings', + 'ErrorResponse', + 'GitPatternRepositoryResponse', 'ImageRegistryCredentialResponse', 'KeyVaultCertificatePropertiesResponse', 'LoadedCertificateResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', 'PersistentDiskResponse', @@ -229,6 +236,28 @@ def temporary_disk(self) -> Optional['outputs.TemporaryDiskResponse']: return pulumi.get(self, "temporary_disk") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class AzureFileVolumeResponse(dict): """ @@ -543,6 +572,266 @@ def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: return pulumi.get(self, "network_profile") +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): + """ + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @pulumi.output_type class ContentCertificatePropertiesResponse(dict): """ @@ -1268,6 +1557,207 @@ def disable_probe(self) -> Optional[bool]: return pulumi.get(self, "disable_probe") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class ImageRegistryCredentialResponse(dict): """ @@ -1606,6 +2096,113 @@ def type(self) -> Optional[str]: return pulumi.get(self, "type") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetworkProfileResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/__init__.py index c509f282b4ae..b3d5255d9802 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/__init__.py @@ -10,9 +10,11 @@ from .api_portal_custom_domain import * from .app import * from .binding import * +from .build_service_agent_pool import * from .build_service_builder import * from .buildpack_binding import * from .certificate import * +from .config_server import * from .configuration_service import * from .custom_domain import * from .deployment import * @@ -24,11 +26,13 @@ from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * +from .get_build_service_agent_pool import * from .get_build_service_build_result_log import * from .get_build_service_builder import * from .get_build_service_resource_upload_url import * from .get_buildpack_binding import * from .get_certificate import * +from .get_config_server import * from .get_configuration_service import * from .get_custom_domain import * from .get_deployment import * @@ -36,10 +40,12 @@ from .get_gateway import * from .get_gateway_custom_domain import * from .get_gateway_route_config import * +from .get_monitoring_setting import * from .get_service import * from .get_service_registry import * from .get_storage import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from .service_registry import * from .storage import * diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/_inputs.py index e928d6860b52..f83172d7e1b2 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/_inputs.py @@ -17,12 +17,17 @@ 'AzureFileVolumeArgs', 'BindingResourcePropertiesArgs', 'BuildResultUserSourceInfoArgs', + 'BuildServiceAgentPoolPropertiesArgs', + 'BuildServiceAgentPoolSizePropertiesArgs', 'BuilderPropertiesArgs', 'BuildpackBindingLaunchPropertiesArgs', 'BuildpackBindingPropertiesArgs', 'BuildpackPropertiesArgs', 'BuildpacksGroupPropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'ConfigurationServiceGitPropertyArgs', 'ConfigurationServiceGitRepositoryArgs', 'ConfigurationServicePropertiesArgs', @@ -35,6 +40,7 @@ 'CustomPersistentDiskResourceArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', 'GatewayApiMetadataPropertiesArgs', 'GatewayApiRouteArgs', 'GatewayCorsPropertiesArgs', @@ -42,11 +48,13 @@ 'GatewayPropertiesArgs', 'GatewayResourceRequestsArgs', 'GatewayRouteConfigPropertiesArgs', + 'GitPatternRepositoryArgs', 'ImageRegistryCredentialArgs', 'JarUploadedUserSourceInfoArgs', 'KeyVaultCertificatePropertiesArgs', 'LoadedCertificateArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetCoreZipUploadedUserSourceInfoArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', @@ -532,6 +540,54 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +@pulumi.input_type +class BuildServiceAgentPoolPropertiesArgs: + def __init__(__self__, *, + pool_size: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']] = None): + """ + Build service agent pool properties + :param pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs'] pool_size: build service agent pool size properties + """ + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + @pool_size.setter + def pool_size(self, value: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]): + pulumi.set(self, "pool_size", value) + + +@pulumi.input_type +class BuildServiceAgentPoolSizePropertiesArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Build service agent pool size properties + :param pulumi.Input[str] name: The name of build service agent pool size + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @pulumi.input_type class BuilderPropertiesArgs: def __init__(__self__, *, @@ -754,6 +810,237 @@ def zone_redundant(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "zone_redundant", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class ConfigurationServiceGitPropertyArgs: def __init__(__self__, *, @@ -1423,6 +1710,46 @@ def resource_requests(self, value: Optional[pulumi.Input['ResourceRequestsArgs'] pulumi.set(self, "resource_requests", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @pulumi.input_type class GatewayApiMetadataPropertiesArgs: def __init__(__self__, *, @@ -1983,6 +2310,188 @@ def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayApiR pulumi.set(self, "routes", value) +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload for config server + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class ImageRegistryCredentialArgs: def __init__(__self__, *, @@ -2298,6 +2807,78 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]) pulumi.set(self, "type", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetCoreZipUploadedUserSourceInfoArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/build_service_agent_pool.py new file mode 100644 index 000000000000..dce5ad2894dd --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/build_service_agent_pool.py @@ -0,0 +1,236 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['BuildServiceAgentPoolArgs', 'BuildServiceAgentPool'] + +@pulumi.input_type +class BuildServiceAgentPoolArgs: + def __init__(__self__, *, + build_service_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + agent_pool_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']] = None): + """ + The set of arguments for constructing a BuildServiceAgentPool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input['BuildServiceAgentPoolPropertiesArgs'] properties: build service agent pool properties + """ + pulumi.set(__self__, "build_service_name", build_service_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if agent_pool_name is not None: + pulumi.set(__self__, "agent_pool_name", agent_pool_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="buildServiceName") + def build_service_name(self) -> pulumi.Input[str]: + """ + The name of the build service resource. + """ + return pulumi.get(self, "build_service_name") + + @build_service_name.setter + def build_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "build_service_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="agentPoolName") + def agent_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the build service agent pool resource. + """ + return pulumi.get(self, "agent_pool_name") + + @agent_pool_name.setter + def agent_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "agent_pool_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class BuildServiceAgentPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']] properties: build service agent pool properties + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BuildServiceAgentPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param BuildServiceAgentPoolArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BuildServiceAgentPoolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["agent_pool_name"] = agent_pool_name + if build_service_name is None and not opts.urn: + raise TypeError("Missing required property 'build_service_name'") + __props__.__dict__["build_service_name"] = build_service_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220401:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:BuildServiceAgentPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BuildServiceAgentPool, __self__).__init__( + 'azure-native:appplatform/v20220101preview:BuildServiceAgentPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildServiceAgentPool': + """ + Get an existing BuildServiceAgentPool resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BuildServiceAgentPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BuildServiceAgentPoolPropertiesResponse']: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_hub.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/config_server.py similarity index 61% rename from sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_hub.py rename to sdk/python/pulumi_azure_native/appplatform/v20220101preview/config_server.py index 02f424758a28..98a4a6f2c09e 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_hub.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/config_server.py @@ -9,42 +9,26 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities from . import outputs -from ._enums import * from ._inputs import * -__all__ = ['WebPubSubHubArgs', 'WebPubSubHub'] +__all__ = ['ConfigServerArgs', 'ConfigServer'] @pulumi.input_type -class WebPubSubHubArgs: +class ConfigServerArgs: def __init__(__self__, *, - properties: pulumi.Input['WebPubSubHubPropertiesArgs'], resource_group_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - hub_name: Optional[pulumi.Input[str]] = None): + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): """ - The set of arguments for constructing a WebPubSubHub resource. - :param pulumi.Input['WebPubSubHubPropertiesArgs'] properties: Properties of a hub. + The set of arguments for constructing a ConfigServer resource. :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name: The name of the resource. - :param pulumi.Input[str] hub_name: The hub name. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource """ - pulumi.set(__self__, "properties", properties) pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "resource_name", resource_name) - if hub_name is not None: - pulumi.set(__self__, "hub_name", hub_name) - - @property - @pulumi.getter - def properties(self) -> pulumi.Input['WebPubSubHubPropertiesArgs']: - """ - Properties of a hub. - """ - return pulumi.get(self, "properties") - - @properties.setter - def properties(self, value: pulumi.Input['WebPubSubHubPropertiesArgs']): - pulumi.set(self, "properties", value) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) @property @pulumi.getter(name="resourceGroupName") @@ -59,66 +43,64 @@ def resource_group_name(self, value: pulumi.Input[str]): pulumi.set(self, "resource_group_name", value) @property - @pulumi.getter(name="resourceName") - def resource_name(self) -> pulumi.Input[str]: + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: """ - The name of the resource. + The name of the Service resource. """ - return pulumi.get(self, "resource_name") + return pulumi.get(self, "service_name") - @resource_name.setter - def resource_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_name", value) + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) @property - @pulumi.getter(name="hubName") - def hub_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: """ - The hub name. + Properties of the Config Server resource """ - return pulumi.get(self, "hub_name") + return pulumi.get(self, "properties") - @hub_name.setter - def hub_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "hub_name", value) + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) -class WebPubSubHub(pulumi.CustomResource): +class ConfigServer(pulumi.CustomResource): @overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - hub_name: Optional[pulumi.Input[str]] = None, - properties: Optional[pulumi.Input[pulumi.InputType['WebPubSubHubPropertiesArgs']]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, __props__=None): """ - A hub setting + Config Server resource :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] hub_name: The hub name. - :param pulumi.Input[pulumi.InputType['WebPubSubHubPropertiesArgs']] properties: Properties of a hub. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name_: The name of the resource. + :param pulumi.Input[str] service_name: The name of the Service resource. """ ... @overload def __init__(__self__, resource_name: str, - args: WebPubSubHubArgs, + args: ConfigServerArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - A hub setting + Config Server resource :param str resource_name: The name of the resource. - :param WebPubSubHubArgs args: The arguments to use to populate this resource's properties. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. """ ... def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(WebPubSubHubArgs, pulumi.ResourceOptions, *args, **kwargs) + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: @@ -127,10 +109,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - hub_name: Optional[pulumi.Input[str]] = None, - properties: Optional[pulumi.Input[pulumi.InputType['WebPubSubHubPropertiesArgs']]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -138,25 +119,22 @@ def _internal_init(__self__, if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = WebPubSubHubArgs.__new__(WebPubSubHubArgs) + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) - __props__.__dict__["hub_name"] = hub_name - if properties is None and not opts.urn: - raise TypeError("Missing required property 'properties'") __props__.__dict__["properties"] = properties if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__.__dict__["resource_group_name"] = resource_group_name - if resource_name_ is None and not opts.urn: - raise TypeError("Missing required property 'resource_name_'") - __props__.__dict__["resource_name"] = resource_name_ + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubHub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubHub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(WebPubSubHub, __self__).__init__( - 'azure-native:webpubsub/v20220801preview:WebPubSubHub', + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20220101preview:ConfigServer', resource_name, __props__, opts) @@ -164,9 +142,9 @@ def _internal_init(__self__, @staticmethod def get(resource_name: str, id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'WebPubSubHub': + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': """ - Get an existing WebPubSubHub resource's state with the given name, id, and optional extra + Get an existing ConfigServer resource's state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. @@ -175,13 +153,13 @@ def get(resource_name: str, """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - __props__ = WebPubSubHubArgs.__new__(WebPubSubHubArgs) + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) __props__.__dict__["name"] = None __props__.__dict__["properties"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - return WebPubSubHub(resource_name, opts=opts, __props__=__props__) + return ConfigServer(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter @@ -193,9 +171,9 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter - def properties(self) -> pulumi.Output['outputs.WebPubSubHubPropertiesResponse']: + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: """ - Properties of a hub. + Properties of the Config Server resource """ return pulumi.get(self, "properties") @@ -211,7 +189,7 @@ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" + The type of the resource. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_build_service_agent_pool.py new file mode 100644 index 000000000000..bd8ee3cbb602 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_build_service_agent_pool.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBuildServiceAgentPoolResult', + 'AwaitableGetBuildServiceAgentPoolResult', + 'get_build_service_agent_pool', + 'get_build_service_agent_pool_output', +] + +@pulumi.output_type +class GetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BuildServiceAgentPoolPropertiesResponse': + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetBuildServiceAgentPoolResult(GetBuildServiceAgentPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBuildServiceAgentPoolResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_build_service_agent_pool(agent_pool_name: Optional[str] = None, + build_service_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['agentPoolName'] = agent_pool_name + __args__['buildServiceName'] = build_service_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220101preview:getBuildServiceAgentPool', __args__, opts=opts, typ=GetBuildServiceAgentPoolResult).value + + return AwaitableGetBuildServiceAgentPoolResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_build_service_agent_pool) +def get_build_service_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildServiceAgentPoolResult]: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_hub.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_config_server.py similarity index 65% rename from sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_hub.py rename to sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_config_server.py index fd0f7a7cac3f..170196f9df51 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_hub.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_config_server.py @@ -11,16 +11,16 @@ from . import outputs __all__ = [ - 'GetWebPubSubHubResult', - 'AwaitableGetWebPubSubHubResult', - 'get_web_pub_sub_hub', - 'get_web_pub_sub_hub_output', + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', ] @pulumi.output_type -class GetWebPubSubHubResult: +class GetConfigServerResult: """ - A hub setting + Config Server resource """ def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): if id and not isinstance(id, str): @@ -57,9 +57,9 @@ def name(self) -> str: @property @pulumi.getter - def properties(self) -> 'outputs.WebPubSubHubPropertiesResponse': + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': """ - Properties of a hub. + Properties of the Config Server resource """ return pulumi.get(self, "properties") @@ -75,17 +75,17 @@ def system_data(self) -> 'outputs.SystemDataResponse': @pulumi.getter def type(self) -> str: """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" + The type of the resource. """ return pulumi.get(self, "type") -class AwaitableGetWebPubSubHubResult(GetWebPubSubHubResult): +class AwaitableGetConfigServerResult(GetConfigServerResult): # pylint: disable=using-constant-test def __await__(self): if False: yield self - return GetWebPubSubHubResult( + return GetConfigServerResult( id=self.id, name=self.name, properties=self.properties, @@ -93,26 +93,23 @@ def __await__(self): type=self.type) -def get_web_pub_sub_hub(hub_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - resource_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebPubSubHubResult: +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: """ - A hub setting + Config Server resource - :param str hub_name: The hub name. :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. + :param str service_name: The name of the Service resource. """ __args__ = dict() - __args__['hubName'] = hub_name __args__['resourceGroupName'] = resource_group_name - __args__['resourceName'] = resource_name + __args__['serviceName'] = service_name opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:webpubsub/v20220801preview:getWebPubSubHub', __args__, opts=opts, typ=GetWebPubSubHubResult).value + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220101preview:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value - return AwaitableGetWebPubSubHubResult( + return AwaitableGetConfigServerResult( id=__ret__.id, name=__ret__.name, properties=__ret__.properties, @@ -120,17 +117,15 @@ def get_web_pub_sub_hub(hub_name: Optional[str] = None, type=__ret__.type) -@_utilities.lift_output_func(get_web_pub_sub_hub) -def get_web_pub_sub_hub_output(hub_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebPubSubHubResult]: +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: """ - A hub setting + Config Server resource - :param str hub_name: The hub name. :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. + :param str service_name: The name of the Service resource. """ ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_monitoring_setting.py new file mode 100644 index 000000000000..d5226dad28e8 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/get_monitoring_setting.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220101preview:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/monitoring_setting.py new file mode 100644 index 000000000000..392f9e0189ef --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/monitoring_setting.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20220101preview:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/outputs.py index d4f039f13b57..b8b41c7257a1 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220101preview/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220101preview/outputs.py @@ -17,15 +17,21 @@ 'ApiPortalPropertiesResponse', 'ApiPortalResourceRequestsResponse', 'AppResourcePropertiesResponse', + 'ApplicationInsightsAgentVersionsResponse', 'AzureFileVolumeResponse', 'BindingResourcePropertiesResponse', 'BuildResultUserSourceInfoResponse', + 'BuildServiceAgentPoolPropertiesResponse', + 'BuildServiceAgentPoolSizePropertiesResponse', 'BuilderPropertiesResponse', 'BuildpackBindingLaunchPropertiesResponse', 'BuildpackBindingPropertiesResponse', 'BuildpackPropertiesResponse', 'BuildpacksGroupPropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'ConfigurationServiceGitPropertyResponse', 'ConfigurationServiceGitRepositoryResponse', 'ConfigurationServiceInstanceResponse', @@ -41,6 +47,7 @@ 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', 'GatewayApiMetadataPropertiesResponse', 'GatewayApiRouteResponse', 'GatewayCorsPropertiesResponse', @@ -51,11 +58,13 @@ 'GatewayPropertiesResponse', 'GatewayResourceRequestsResponse', 'GatewayRouteConfigPropertiesResponse', + 'GitPatternRepositoryResponse', 'ImageRegistryCredentialResponse', 'JarUploadedUserSourceInfoResponse', 'KeyVaultCertificatePropertiesResponse', 'LoadedCertificateResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetCoreZipUploadedUserSourceInfoResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', @@ -486,6 +495,28 @@ def temporary_disk(self) -> Optional['outputs.TemporaryDiskResponse']: return pulumi.get(self, "temporary_disk") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class AzureFileVolumeResponse(dict): """ @@ -775,6 +806,104 @@ def version(self) -> Optional[str]: return pulumi.get(self, "version") +@pulumi.output_type +class BuildServiceAgentPoolPropertiesResponse(dict): + """ + Build service agent pool properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "poolSize": + suggest = "pool_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BuildServiceAgentPoolPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + pool_size: Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse'] = None): + """ + Build service agent pool properties + :param str provisioning_state: Provisioning state of the build service agent pool + :param 'BuildServiceAgentPoolSizePropertiesResponse' pool_size: build service agent pool size properties + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the build service agent pool + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse']: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + +@pulumi.output_type +class BuildServiceAgentPoolSizePropertiesResponse(dict): + """ + Build service agent pool size properties + """ + def __init__(__self__, *, + cpu: str, + memory: str, + name: Optional[str] = None): + """ + Build service agent pool size properties + :param str cpu: The cpu property of build service agent pool size + :param str memory: The memory property of build service agent pool size + :param str name: The name of build service agent pool size + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "memory", memory) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> str: + """ + The cpu property of build service agent pool size + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def memory(self) -> str: + """ + The memory property of build service agent pool size + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @pulumi.output_type class BuilderPropertiesResponse(dict): """ @@ -1089,28 +1218,288 @@ def service_id(self) -> str: """ ServiceInstanceEntity GUID which uniquely identifies a created resource """ - return pulumi.get(self, "service_id") + return pulumi.get(self, "service_id") + + @property + @pulumi.getter + def version(self) -> int: + """ + Version of the Service + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + """ + Network profile of the Service + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="zoneRedundant") + def zone_redundant(self) -> Optional[bool]: + return pulumi.get(self, "zone_redundant") + + +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") @property @pulumi.getter - def version(self) -> int: + def error(self) -> Optional['outputs.ErrorResponse']: """ - Version of the Service + Error when apply config server settings. """ - return pulumi.get(self, "version") + return pulumi.get(self, "error") - @property - @pulumi.getter(name="networkProfile") - def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): """ - Network profile of the Service + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. """ - return pulumi.get(self, "network_profile") + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) @property - @pulumi.getter(name="zoneRedundant") - def zone_redundant(self) -> Optional[bool]: - return pulumi.get(self, "zone_redundant") + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") @pulumi.output_type @@ -2225,6 +2614,41 @@ def resource_requests(self) -> Optional['outputs.ResourceRequestsResponse']: return pulumi.get(self, "resource_requests") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @pulumi.output_type class GatewayApiMetadataPropertiesResponse(dict): """ @@ -2992,6 +3416,172 @@ def routes(self) -> Optional[Sequence['outputs.GatewayApiRouteResponse']]: return pulumi.get(self, "routes") +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload for config server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload for config server + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class ImageRegistryCredentialResponse(dict): """ @@ -3423,6 +4013,113 @@ def type(self) -> Optional[str]: return pulumi.get(self, "type") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetCoreZipUploadedUserSourceInfoResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/__init__.py index c509f282b4ae..b3d5255d9802 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/__init__.py @@ -10,9 +10,11 @@ from .api_portal_custom_domain import * from .app import * from .binding import * +from .build_service_agent_pool import * from .build_service_builder import * from .buildpack_binding import * from .certificate import * +from .config_server import * from .configuration_service import * from .custom_domain import * from .deployment import * @@ -24,11 +26,13 @@ from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * +from .get_build_service_agent_pool import * from .get_build_service_build_result_log import * from .get_build_service_builder import * from .get_build_service_resource_upload_url import * from .get_buildpack_binding import * from .get_certificate import * +from .get_config_server import * from .get_configuration_service import * from .get_custom_domain import * from .get_deployment import * @@ -36,10 +40,12 @@ from .get_gateway import * from .get_gateway_custom_domain import * from .get_gateway_route_config import * +from .get_monitoring_setting import * from .get_service import * from .get_service_registry import * from .get_storage import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from .service_registry import * from .storage import * diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/_inputs.py index a88cb77062f8..086d71e60302 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/_inputs.py @@ -17,12 +17,17 @@ 'AzureFileVolumeArgs', 'BindingResourcePropertiesArgs', 'BuildResultUserSourceInfoArgs', + 'BuildServiceAgentPoolPropertiesArgs', + 'BuildServiceAgentPoolSizePropertiesArgs', 'BuilderPropertiesArgs', 'BuildpackBindingLaunchPropertiesArgs', 'BuildpackBindingPropertiesArgs', 'BuildpackPropertiesArgs', 'BuildpacksGroupPropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'ConfigurationServiceGitPropertyArgs', 'ConfigurationServiceGitRepositoryArgs', 'ConfigurationServicePropertiesArgs', @@ -35,6 +40,7 @@ 'CustomPersistentDiskResourceArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', 'GatewayApiMetadataPropertiesArgs', 'GatewayApiRouteArgs', 'GatewayCorsPropertiesArgs', @@ -42,11 +48,13 @@ 'GatewayPropertiesArgs', 'GatewayResourceRequestsArgs', 'GatewayRouteConfigPropertiesArgs', + 'GitPatternRepositoryArgs', 'ImageRegistryCredentialArgs', 'JarUploadedUserSourceInfoArgs', 'KeyVaultCertificatePropertiesArgs', 'LoadedCertificateArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetCoreZipUploadedUserSourceInfoArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', @@ -532,6 +540,54 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +@pulumi.input_type +class BuildServiceAgentPoolPropertiesArgs: + def __init__(__self__, *, + pool_size: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']] = None): + """ + Build service agent pool properties + :param pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs'] pool_size: build service agent pool size properties + """ + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + @pool_size.setter + def pool_size(self, value: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]): + pulumi.set(self, "pool_size", value) + + +@pulumi.input_type +class BuildServiceAgentPoolSizePropertiesArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Build service agent pool size properties + :param pulumi.Input[str] name: The name of build service agent pool size + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @pulumi.input_type class BuilderPropertiesArgs: def __init__(__self__, *, @@ -754,6 +810,237 @@ def zone_redundant(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "zone_redundant", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class ConfigurationServiceGitPropertyArgs: def __init__(__self__, *, @@ -1439,6 +1726,46 @@ def resource_requests(self, value: Optional[pulumi.Input['ResourceRequestsArgs'] pulumi.set(self, "resource_requests", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @pulumi.input_type class GatewayApiMetadataPropertiesArgs: def __init__(__self__, *, @@ -1999,6 +2326,188 @@ def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayApiR pulumi.set(self, "routes", value) +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload for config server + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class ImageRegistryCredentialArgs: def __init__(__self__, *, @@ -2330,6 +2839,78 @@ def user_assigned_identities(self, value: Optional[pulumi.Input[Mapping[str, Any pulumi.set(self, "user_assigned_identities", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetCoreZipUploadedUserSourceInfoArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/build_service_agent_pool.py new file mode 100644 index 000000000000..a6641acf222e --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/build_service_agent_pool.py @@ -0,0 +1,236 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['BuildServiceAgentPoolArgs', 'BuildServiceAgentPool'] + +@pulumi.input_type +class BuildServiceAgentPoolArgs: + def __init__(__self__, *, + build_service_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + agent_pool_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']] = None): + """ + The set of arguments for constructing a BuildServiceAgentPool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input['BuildServiceAgentPoolPropertiesArgs'] properties: build service agent pool properties + """ + pulumi.set(__self__, "build_service_name", build_service_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if agent_pool_name is not None: + pulumi.set(__self__, "agent_pool_name", agent_pool_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="buildServiceName") + def build_service_name(self) -> pulumi.Input[str]: + """ + The name of the build service resource. + """ + return pulumi.get(self, "build_service_name") + + @build_service_name.setter + def build_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "build_service_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="agentPoolName") + def agent_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the build service agent pool resource. + """ + return pulumi.get(self, "agent_pool_name") + + @agent_pool_name.setter + def agent_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "agent_pool_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class BuildServiceAgentPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']] properties: build service agent pool properties + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BuildServiceAgentPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param BuildServiceAgentPoolArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BuildServiceAgentPoolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["agent_pool_name"] = agent_pool_name + if build_service_name is None and not opts.urn: + raise TypeError("Missing required property 'build_service_name'") + __props__.__dict__["build_service_name"] = build_service_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220401:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:BuildServiceAgentPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BuildServiceAgentPool, __self__).__init__( + 'azure-native:appplatform/v20220301preview:BuildServiceAgentPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildServiceAgentPool': + """ + Get an existing BuildServiceAgentPool resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BuildServiceAgentPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BuildServiceAgentPoolPropertiesResponse']: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/config_server.py new file mode 100644 index 000000000000..22d12f2d92b3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/config_server.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20220301preview:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_build_service_agent_pool.py new file mode 100644 index 000000000000..1d404eb189d6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_build_service_agent_pool.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBuildServiceAgentPoolResult', + 'AwaitableGetBuildServiceAgentPoolResult', + 'get_build_service_agent_pool', + 'get_build_service_agent_pool_output', +] + +@pulumi.output_type +class GetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BuildServiceAgentPoolPropertiesResponse': + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetBuildServiceAgentPoolResult(GetBuildServiceAgentPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBuildServiceAgentPoolResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_build_service_agent_pool(agent_pool_name: Optional[str] = None, + build_service_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['agentPoolName'] = agent_pool_name + __args__['buildServiceName'] = build_service_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220301preview:getBuildServiceAgentPool', __args__, opts=opts, typ=GetBuildServiceAgentPoolResult).value + + return AwaitableGetBuildServiceAgentPoolResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_build_service_agent_pool) +def get_build_service_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildServiceAgentPoolResult]: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_config_server.py new file mode 100644 index 000000000000..fe7b1edc1f31 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_config_server.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220301preview:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_monitoring_setting.py new file mode 100644 index 000000000000..4600620c1e29 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/get_monitoring_setting.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220301preview:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/monitoring_setting.py new file mode 100644 index 000000000000..2a0eb8c74ba0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/monitoring_setting.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20220301preview:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/outputs.py index dc7e055c0b13..560fe5a98584 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220301preview/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220301preview/outputs.py @@ -17,15 +17,21 @@ 'ApiPortalPropertiesResponse', 'ApiPortalResourceRequestsResponse', 'AppResourcePropertiesResponse', + 'ApplicationInsightsAgentVersionsResponse', 'AzureFileVolumeResponse', 'BindingResourcePropertiesResponse', 'BuildResultUserSourceInfoResponse', + 'BuildServiceAgentPoolPropertiesResponse', + 'BuildServiceAgentPoolSizePropertiesResponse', 'BuilderPropertiesResponse', 'BuildpackBindingLaunchPropertiesResponse', 'BuildpackBindingPropertiesResponse', 'BuildpackPropertiesResponse', 'BuildpacksGroupPropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'ConfigurationServiceGitPropertyResponse', 'ConfigurationServiceGitRepositoryResponse', 'ConfigurationServiceInstanceResponse', @@ -41,6 +47,7 @@ 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', 'GatewayApiMetadataPropertiesResponse', 'GatewayApiRouteResponse', 'GatewayCorsPropertiesResponse', @@ -51,11 +58,13 @@ 'GatewayPropertiesResponse', 'GatewayResourceRequestsResponse', 'GatewayRouteConfigPropertiesResponse', + 'GitPatternRepositoryResponse', 'ImageRegistryCredentialResponse', 'JarUploadedUserSourceInfoResponse', 'KeyVaultCertificatePropertiesResponse', 'LoadedCertificateResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetCoreZipUploadedUserSourceInfoResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', @@ -487,6 +496,28 @@ def temporary_disk(self) -> Optional['outputs.TemporaryDiskResponse']: return pulumi.get(self, "temporary_disk") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class AzureFileVolumeResponse(dict): """ @@ -776,6 +807,104 @@ def version(self) -> Optional[str]: return pulumi.get(self, "version") +@pulumi.output_type +class BuildServiceAgentPoolPropertiesResponse(dict): + """ + Build service agent pool properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "poolSize": + suggest = "pool_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BuildServiceAgentPoolPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + pool_size: Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse'] = None): + """ + Build service agent pool properties + :param str provisioning_state: Provisioning state of the build service agent pool + :param 'BuildServiceAgentPoolSizePropertiesResponse' pool_size: build service agent pool size properties + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the build service agent pool + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse']: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + +@pulumi.output_type +class BuildServiceAgentPoolSizePropertiesResponse(dict): + """ + Build service agent pool size properties + """ + def __init__(__self__, *, + cpu: str, + memory: str, + name: Optional[str] = None): + """ + Build service agent pool size properties + :param str cpu: The cpu property of build service agent pool size + :param str memory: The memory property of build service agent pool size + :param str name: The name of build service agent pool size + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "memory", memory) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> str: + """ + The cpu property of build service agent pool size + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def memory(self) -> str: + """ + The memory property of build service agent pool size + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @pulumi.output_type class BuilderPropertiesResponse(dict): """ @@ -1090,28 +1219,288 @@ def service_id(self) -> str: """ ServiceInstanceEntity GUID which uniquely identifies a created resource """ - return pulumi.get(self, "service_id") + return pulumi.get(self, "service_id") + + @property + @pulumi.getter + def version(self) -> int: + """ + Version of the Service + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + """ + Network profile of the Service + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="zoneRedundant") + def zone_redundant(self) -> Optional[bool]: + return pulumi.get(self, "zone_redundant") + + +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") @property @pulumi.getter - def version(self) -> int: + def error(self) -> Optional['outputs.ErrorResponse']: """ - Version of the Service + Error when apply config server settings. """ - return pulumi.get(self, "version") + return pulumi.get(self, "error") - @property - @pulumi.getter(name="networkProfile") - def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): """ - Network profile of the Service + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. """ - return pulumi.get(self, "network_profile") + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) @property - @pulumi.getter(name="zoneRedundant") - def zone_redundant(self) -> Optional[bool]: - return pulumi.get(self, "zone_redundant") + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") @pulumi.output_type @@ -2240,6 +2629,41 @@ def resource_requests(self) -> Optional['outputs.ResourceRequestsResponse']: return pulumi.get(self, "resource_requests") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @pulumi.output_type class GatewayApiMetadataPropertiesResponse(dict): """ @@ -3007,6 +3431,172 @@ def routes(self) -> Optional[Sequence['outputs.GatewayApiRouteResponse']]: return pulumi.get(self, "routes") +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload for config server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload for config server + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class ImageRegistryCredentialResponse(dict): """ @@ -3452,6 +4042,113 @@ def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssigne return pulumi.get(self, "user_assigned_identities") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetCoreZipUploadedUserSourceInfoResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/__init__.py index e6d58748509d..8d29e98471f1 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220401/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/__init__.py @@ -8,27 +8,33 @@ from ._enums import * from .app import * from .binding import * +from .build_service_agent_pool import * from .build_service_builder import * from .buildpack_binding import * from .certificate import * +from .config_server import * from .configuration_service import * from .custom_domain import * from .deployment import * from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * +from .get_build_service_agent_pool import * from .get_build_service_build_result_log import * from .get_build_service_builder import * from .get_build_service_resource_upload_url import * from .get_buildpack_binding import * from .get_certificate import * +from .get_config_server import * from .get_configuration_service import * from .get_custom_domain import * from .get_deployment import * from .get_deployment_log_file_url import * +from .get_monitoring_setting import * from .get_service import * from .get_service_registry import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from .service_registry import * from ._inputs import * diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/_inputs.py index a4d93cd4de7a..29aa79b13f1c 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220401/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/_inputs.py @@ -14,12 +14,17 @@ 'AppResourcePropertiesArgs', 'BindingResourcePropertiesArgs', 'BuildResultUserSourceInfoArgs', + 'BuildServiceAgentPoolPropertiesArgs', + 'BuildServiceAgentPoolSizePropertiesArgs', 'BuilderPropertiesArgs', 'BuildpackBindingLaunchPropertiesArgs', 'BuildpackBindingPropertiesArgs', 'BuildpackPropertiesArgs', 'BuildpacksGroupPropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'ConfigurationServiceGitPropertyArgs', 'ConfigurationServiceGitRepositoryArgs', 'ConfigurationServicePropertiesArgs', @@ -28,10 +33,13 @@ 'CustomDomainPropertiesArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', + 'GitPatternRepositoryArgs', 'JarUploadedUserSourceInfoArgs', 'KeyVaultCertificatePropertiesArgs', 'LoadedCertificateArgs', 'ManagedIdentityPropertiesArgs', + 'MonitoringSettingPropertiesArgs', 'NetCoreZipUploadedUserSourceInfoArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', @@ -296,6 +304,54 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +@pulumi.input_type +class BuildServiceAgentPoolPropertiesArgs: + def __init__(__self__, *, + pool_size: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']] = None): + """ + Build service agent pool properties + :param pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs'] pool_size: build service agent pool size properties + """ + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + @pool_size.setter + def pool_size(self, value: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]): + pulumi.set(self, "pool_size", value) + + +@pulumi.input_type +class BuildServiceAgentPoolSizePropertiesArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Build service agent pool size properties + :param pulumi.Input[str] name: The name of build service agent pool size + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @pulumi.input_type class BuilderPropertiesArgs: def __init__(__self__, *, @@ -518,6 +574,237 @@ def zone_redundant(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "zone_redundant", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class ConfigurationServiceGitPropertyArgs: def __init__(__self__, *, @@ -963,6 +1250,228 @@ def resource_requests(self, value: Optional[pulumi.Input['ResourceRequestsArgs'] pulumi.set(self, "resource_requests", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload for config server + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class JarUploadedUserSourceInfoArgs: def __init__(__self__, *, @@ -1238,6 +1747,78 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]) pulumi.set(self, "type", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetCoreZipUploadedUserSourceInfoArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/build_service_agent_pool.py new file mode 100644 index 000000000000..27eb2f53947f --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/build_service_agent_pool.py @@ -0,0 +1,236 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['BuildServiceAgentPoolArgs', 'BuildServiceAgentPool'] + +@pulumi.input_type +class BuildServiceAgentPoolArgs: + def __init__(__self__, *, + build_service_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + agent_pool_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']] = None): + """ + The set of arguments for constructing a BuildServiceAgentPool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input['BuildServiceAgentPoolPropertiesArgs'] properties: build service agent pool properties + """ + pulumi.set(__self__, "build_service_name", build_service_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if agent_pool_name is not None: + pulumi.set(__self__, "agent_pool_name", agent_pool_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="buildServiceName") + def build_service_name(self) -> pulumi.Input[str]: + """ + The name of the build service resource. + """ + return pulumi.get(self, "build_service_name") + + @build_service_name.setter + def build_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "build_service_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="agentPoolName") + def agent_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the build service agent pool resource. + """ + return pulumi.get(self, "agent_pool_name") + + @agent_pool_name.setter + def agent_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "agent_pool_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class BuildServiceAgentPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']] properties: build service agent pool properties + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BuildServiceAgentPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param BuildServiceAgentPoolArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BuildServiceAgentPoolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["agent_pool_name"] = agent_pool_name + if build_service_name is None and not opts.urn: + raise TypeError("Missing required property 'build_service_name'") + __props__.__dict__["build_service_name"] = build_service_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:BuildServiceAgentPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BuildServiceAgentPool, __self__).__init__( + 'azure-native:appplatform/v20220401:BuildServiceAgentPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildServiceAgentPool': + """ + Get an existing BuildServiceAgentPool resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BuildServiceAgentPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BuildServiceAgentPoolPropertiesResponse']: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/config_server.py new file mode 100644 index 000000000000..292bbbec73ff --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/config_server.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20220401:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/get_build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/get_build_service_agent_pool.py new file mode 100644 index 000000000000..6754072c5b0d --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/get_build_service_agent_pool.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBuildServiceAgentPoolResult', + 'AwaitableGetBuildServiceAgentPoolResult', + 'get_build_service_agent_pool', + 'get_build_service_agent_pool_output', +] + +@pulumi.output_type +class GetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BuildServiceAgentPoolPropertiesResponse': + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetBuildServiceAgentPoolResult(GetBuildServiceAgentPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBuildServiceAgentPoolResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_build_service_agent_pool(agent_pool_name: Optional[str] = None, + build_service_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['agentPoolName'] = agent_pool_name + __args__['buildServiceName'] = build_service_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220401:getBuildServiceAgentPool', __args__, opts=opts, typ=GetBuildServiceAgentPoolResult).value + + return AwaitableGetBuildServiceAgentPoolResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_build_service_agent_pool) +def get_build_service_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildServiceAgentPoolResult]: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/get_config_server.py new file mode 100644 index 000000000000..2df417428577 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/get_config_server.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220401:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/get_monitoring_setting.py new file mode 100644 index 000000000000..87eda54b70ee --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/get_monitoring_setting.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220401:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/monitoring_setting.py new file mode 100644 index 000000000000..e92340532207 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/monitoring_setting.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20220401:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220401/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220401/outputs.py index 883f8cb5cfbf..c67e52be3f37 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220401/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220401/outputs.py @@ -13,14 +13,20 @@ __all__ = [ 'AppResourcePropertiesResponse', + 'ApplicationInsightsAgentVersionsResponse', 'BindingResourcePropertiesResponse', 'BuildResultUserSourceInfoResponse', + 'BuildServiceAgentPoolPropertiesResponse', + 'BuildServiceAgentPoolSizePropertiesResponse', 'BuilderPropertiesResponse', 'BuildpackBindingLaunchPropertiesResponse', 'BuildpackBindingPropertiesResponse', 'BuildpackPropertiesResponse', 'BuildpacksGroupPropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'ConfigurationServiceGitPropertyResponse', 'ConfigurationServiceGitRepositoryResponse', 'ConfigurationServiceInstanceResponse', @@ -32,10 +38,13 @@ 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', + 'GitPatternRepositoryResponse', 'JarUploadedUserSourceInfoResponse', 'KeyVaultCertificatePropertiesResponse', 'LoadedCertificateResponse', 'ManagedIdentityPropertiesResponse', + 'MonitoringSettingPropertiesResponse', 'NetCoreZipUploadedUserSourceInfoResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', @@ -215,6 +224,28 @@ def temporary_disk(self) -> Optional['outputs.TemporaryDiskResponse']: return pulumi.get(self, "temporary_disk") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class BindingResourcePropertiesResponse(dict): """ @@ -411,6 +442,104 @@ def version(self) -> Optional[str]: return pulumi.get(self, "version") +@pulumi.output_type +class BuildServiceAgentPoolPropertiesResponse(dict): + """ + Build service agent pool properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "poolSize": + suggest = "pool_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BuildServiceAgentPoolPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + pool_size: Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse'] = None): + """ + Build service agent pool properties + :param str provisioning_state: Provisioning state of the build service agent pool + :param 'BuildServiceAgentPoolSizePropertiesResponse' pool_size: build service agent pool size properties + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the build service agent pool + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse']: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + +@pulumi.output_type +class BuildServiceAgentPoolSizePropertiesResponse(dict): + """ + Build service agent pool size properties + """ + def __init__(__self__, *, + cpu: str, + memory: str, + name: Optional[str] = None): + """ + Build service agent pool size properties + :param str cpu: The cpu property of build service agent pool size + :param str memory: The memory property of build service agent pool size + :param str name: The name of build service agent pool size + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "memory", memory) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> str: + """ + The cpu property of build service agent pool size + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def memory(self) -> str: + """ + The memory property of build service agent pool size + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @pulumi.output_type class BuilderPropertiesResponse(dict): """ @@ -712,28 +841,288 @@ def service_id(self) -> str: """ ServiceInstanceEntity GUID which uniquely identifies a created resource """ - return pulumi.get(self, "service_id") + return pulumi.get(self, "service_id") + + @property + @pulumi.getter + def version(self) -> int: + """ + Version of the Service + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + """ + Network profile of the Service + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="zoneRedundant") + def zone_redundant(self) -> Optional[bool]: + return pulumi.get(self, "zone_redundant") + + +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") @property @pulumi.getter - def version(self) -> int: + def error(self) -> Optional['outputs.ErrorResponse']: """ - Version of the Service + Error when apply config server settings. """ - return pulumi.get(self, "version") + return pulumi.get(self, "error") - @property - @pulumi.getter(name="networkProfile") - def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): """ - Network profile of the Service + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. """ - return pulumi.get(self, "network_profile") + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) @property - @pulumi.getter(name="zoneRedundant") - def zone_redundant(self) -> Optional[bool]: - return pulumi.get(self, "zone_redundant") + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") @pulumi.output_type @@ -1586,6 +1975,207 @@ def resource_requests(self) -> Optional['outputs.ResourceRequestsResponse']: return pulumi.get(self, "resource_requests") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload for config server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload for config server + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class JarUploadedUserSourceInfoResponse(dict): """ @@ -1982,6 +2572,113 @@ def type(self) -> Optional[str]: return pulumi.get(self, "type") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetCoreZipUploadedUserSourceInfoResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/__init__.py index c509f282b4ae..b3d5255d9802 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/__init__.py @@ -10,9 +10,11 @@ from .api_portal_custom_domain import * from .app import * from .binding import * +from .build_service_agent_pool import * from .build_service_builder import * from .buildpack_binding import * from .certificate import * +from .config_server import * from .configuration_service import * from .custom_domain import * from .deployment import * @@ -24,11 +26,13 @@ from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * +from .get_build_service_agent_pool import * from .get_build_service_build_result_log import * from .get_build_service_builder import * from .get_build_service_resource_upload_url import * from .get_buildpack_binding import * from .get_certificate import * +from .get_config_server import * from .get_configuration_service import * from .get_custom_domain import * from .get_deployment import * @@ -36,10 +40,12 @@ from .get_gateway import * from .get_gateway_custom_domain import * from .get_gateway_route_config import * +from .get_monitoring_setting import * from .get_service import * from .get_service_registry import * from .get_storage import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from .service_registry import * from .storage import * diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/_inputs.py index 3f6e722ec069..b23687128449 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/_inputs.py @@ -18,12 +18,17 @@ 'AzureFileVolumeArgs', 'BindingResourcePropertiesArgs', 'BuildResultUserSourceInfoArgs', + 'BuildServiceAgentPoolPropertiesArgs', + 'BuildServiceAgentPoolSizePropertiesArgs', 'BuilderPropertiesArgs', 'BuildpackBindingLaunchPropertiesArgs', 'BuildpackBindingPropertiesArgs', 'BuildpackPropertiesArgs', 'BuildpacksGroupPropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'ConfigurationServiceGitPropertyArgs', 'ConfigurationServiceGitRepositoryArgs', 'ConfigurationServicePropertiesArgs', @@ -36,6 +41,7 @@ 'CustomPersistentDiskResourceArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', 'ExecActionArgs', 'GatewayApiMetadataPropertiesArgs', 'GatewayApiRouteArgs', @@ -45,6 +51,7 @@ 'GatewayResourceRequestsArgs', 'GatewayRouteConfigOpenApiPropertiesArgs', 'GatewayRouteConfigPropertiesArgs', + 'GitPatternRepositoryArgs', 'HTTPGetActionArgs', 'ImageRegistryCredentialArgs', 'IngressConfigArgs', @@ -53,6 +60,7 @@ 'LoadedCertificateArgs', 'ManagedIdentityPropertiesArgs', 'MarketplaceResourceArgs', + 'MonitoringSettingPropertiesArgs', 'NetCoreZipUploadedUserSourceInfoArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', @@ -583,6 +591,54 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +@pulumi.input_type +class BuildServiceAgentPoolPropertiesArgs: + def __init__(__self__, *, + pool_size: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']] = None): + """ + Build service agent pool properties + :param pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs'] pool_size: build service agent pool size properties + """ + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + @pool_size.setter + def pool_size(self, value: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]): + pulumi.set(self, "pool_size", value) + + +@pulumi.input_type +class BuildServiceAgentPoolSizePropertiesArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Build service agent pool size properties + :param pulumi.Input[str] name: The name of build service agent pool size + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @pulumi.input_type class BuilderPropertiesArgs: def __init__(__self__, *, @@ -837,6 +893,237 @@ def zone_redundant(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "zone_redundant", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class ConfigurationServiceGitPropertyArgs: def __init__(__self__, *, @@ -1588,6 +1875,46 @@ def termination_grace_period_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "termination_grace_period_seconds", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @pulumi.input_type class ExecActionArgs: def __init__(__self__, *, @@ -2229,6 +2556,188 @@ def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayApiR pulumi.set(self, "routes", value) +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload for config server + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class HTTPGetActionArgs: def __init__(__self__, *, @@ -2705,6 +3214,78 @@ def publisher(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "publisher", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetCoreZipUploadedUserSourceInfoArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/build_service_agent_pool.py new file mode 100644 index 000000000000..1ae0cf3a8c09 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/build_service_agent_pool.py @@ -0,0 +1,236 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['BuildServiceAgentPoolArgs', 'BuildServiceAgentPool'] + +@pulumi.input_type +class BuildServiceAgentPoolArgs: + def __init__(__self__, *, + build_service_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + agent_pool_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']] = None): + """ + The set of arguments for constructing a BuildServiceAgentPool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input['BuildServiceAgentPoolPropertiesArgs'] properties: build service agent pool properties + """ + pulumi.set(__self__, "build_service_name", build_service_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if agent_pool_name is not None: + pulumi.set(__self__, "agent_pool_name", agent_pool_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="buildServiceName") + def build_service_name(self) -> pulumi.Input[str]: + """ + The name of the build service resource. + """ + return pulumi.get(self, "build_service_name") + + @build_service_name.setter + def build_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "build_service_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="agentPoolName") + def agent_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the build service agent pool resource. + """ + return pulumi.get(self, "agent_pool_name") + + @agent_pool_name.setter + def agent_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "agent_pool_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class BuildServiceAgentPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']] properties: build service agent pool properties + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BuildServiceAgentPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param BuildServiceAgentPoolArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BuildServiceAgentPoolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["agent_pool_name"] = agent_pool_name + if build_service_name is None and not opts.urn: + raise TypeError("Missing required property 'build_service_name'") + __props__.__dict__["build_service_name"] = build_service_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220401:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:BuildServiceAgentPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BuildServiceAgentPool, __self__).__init__( + 'azure-native:appplatform/v20220501preview:BuildServiceAgentPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildServiceAgentPool': + """ + Get an existing BuildServiceAgentPool resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BuildServiceAgentPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BuildServiceAgentPoolPropertiesResponse']: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/config_server.py new file mode 100644 index 000000000000..3b902529f93c --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/config_server.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20220501preview:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_build_service_agent_pool.py new file mode 100644 index 000000000000..d88f58b1875f --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_build_service_agent_pool.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBuildServiceAgentPoolResult', + 'AwaitableGetBuildServiceAgentPoolResult', + 'get_build_service_agent_pool', + 'get_build_service_agent_pool_output', +] + +@pulumi.output_type +class GetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BuildServiceAgentPoolPropertiesResponse': + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetBuildServiceAgentPoolResult(GetBuildServiceAgentPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBuildServiceAgentPoolResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_build_service_agent_pool(agent_pool_name: Optional[str] = None, + build_service_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['agentPoolName'] = agent_pool_name + __args__['buildServiceName'] = build_service_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220501preview:getBuildServiceAgentPool', __args__, opts=opts, typ=GetBuildServiceAgentPoolResult).value + + return AwaitableGetBuildServiceAgentPoolResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_build_service_agent_pool) +def get_build_service_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildServiceAgentPoolResult]: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_config_server.py new file mode 100644 index 000000000000..7a1ac748a2b9 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_config_server.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220501preview:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_monitoring_setting.py new file mode 100644 index 000000000000..8f49d90303b3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/get_monitoring_setting.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220501preview:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/monitoring_setting.py new file mode 100644 index 000000000000..7dd0500f3d7b --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/monitoring_setting.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220901preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20220501preview:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/outputs.py index c4b156c6d7bc..02fb46f07a8c 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220501preview/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220501preview/outputs.py @@ -18,15 +18,21 @@ 'ApiPortalResourceRequestsResponse', 'AppResourcePropertiesResponse', 'AppVNetAddonsResponse', + 'ApplicationInsightsAgentVersionsResponse', 'AzureFileVolumeResponse', 'BindingResourcePropertiesResponse', 'BuildResultUserSourceInfoResponse', + 'BuildServiceAgentPoolPropertiesResponse', + 'BuildServiceAgentPoolSizePropertiesResponse', 'BuilderPropertiesResponse', 'BuildpackBindingLaunchPropertiesResponse', 'BuildpackBindingPropertiesResponse', 'BuildpackPropertiesResponse', 'BuildpacksGroupPropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'ConfigurationServiceGitPropertyResponse', 'ConfigurationServiceGitRepositoryResponse', 'ConfigurationServiceInstanceResponse', @@ -42,6 +48,7 @@ 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', 'ExecActionResponse', 'GatewayApiMetadataPropertiesResponse', 'GatewayApiRouteResponse', @@ -54,6 +61,7 @@ 'GatewayResourceRequestsResponse', 'GatewayRouteConfigOpenApiPropertiesResponse', 'GatewayRouteConfigPropertiesResponse', + 'GitPatternRepositoryResponse', 'HTTPGetActionResponse', 'ImageRegistryCredentialResponse', 'IngressConfigResponse', @@ -62,6 +70,7 @@ 'LoadedCertificateResponse', 'ManagedIdentityPropertiesResponse', 'MarketplaceResourceResponse', + 'MonitoringSettingPropertiesResponse', 'NetCoreZipUploadedUserSourceInfoResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', @@ -565,6 +574,28 @@ def public_endpoint(self) -> Optional[bool]: return pulumi.get(self, "public_endpoint") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class AzureFileVolumeResponse(dict): """ @@ -854,6 +885,104 @@ def version(self) -> Optional[str]: return pulumi.get(self, "version") +@pulumi.output_type +class BuildServiceAgentPoolPropertiesResponse(dict): + """ + Build service agent pool properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "poolSize": + suggest = "pool_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BuildServiceAgentPoolPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + pool_size: Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse'] = None): + """ + Build service agent pool properties + :param str provisioning_state: Provisioning state of the build service agent pool + :param 'BuildServiceAgentPoolSizePropertiesResponse' pool_size: build service agent pool size properties + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the build service agent pool + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse']: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + +@pulumi.output_type +class BuildServiceAgentPoolSizePropertiesResponse(dict): + """ + Build service agent pool size properties + """ + def __init__(__self__, *, + cpu: str, + memory: str, + name: Optional[str] = None): + """ + Build service agent pool size properties + :param str cpu: The cpu property of build service agent pool size + :param str memory: The memory property of build service agent pool size + :param str name: The name of build service agent pool size + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "memory", memory) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> str: + """ + The cpu property of build service agent pool size + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def memory(self) -> str: + """ + The memory property of build service agent pool size + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @pulumi.output_type class BuilderPropertiesResponse(dict): """ @@ -1182,42 +1311,302 @@ def service_id(self) -> str: """ return pulumi.get(self, "service_id") - @property - @pulumi.getter - def version(self) -> int: - """ - Version of the Service - """ - return pulumi.get(self, "version") + @property + @pulumi.getter + def version(self) -> int: + """ + Version of the Service + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="marketplaceResource") + def marketplace_resource(self) -> Optional['outputs.MarketplaceResourceResponse']: + """ + Purchasing 3rd party product of the Service resource. + """ + return pulumi.get(self, "marketplace_resource") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + """ + Network profile of the Service + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="vnetAddons") + def vnet_addons(self) -> Optional['outputs.ServiceVNetAddonsResponse']: + """ + Additional Service settings in vnet injection instance + """ + return pulumi.get(self, "vnet_addons") + + @property + @pulumi.getter(name="zoneRedundant") + def zone_redundant(self) -> Optional[bool]: + return pulumi.get(self, "zone_redundant") + + +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) - @property - @pulumi.getter(name="marketplaceResource") - def marketplace_resource(self) -> Optional['outputs.MarketplaceResourceResponse']: - """ - Purchasing 3rd party product of the Service resource. - """ - return pulumi.get(self, "marketplace_resource") + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) - @property - @pulumi.getter(name="networkProfile") - def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): """ - Network profile of the Service + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. """ - return pulumi.get(self, "network_profile") + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) @property - @pulumi.getter(name="vnetAddons") - def vnet_addons(self) -> Optional['outputs.ServiceVNetAddonsResponse']: + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: """ - Additional Service settings in vnet injection instance + Property of git environment. """ - return pulumi.get(self, "vnet_addons") - - @property - @pulumi.getter(name="zoneRedundant") - def zone_redundant(self) -> Optional[bool]: - return pulumi.get(self, "zone_redundant") + return pulumi.get(self, "git_property") @pulumi.output_type @@ -2430,6 +2819,41 @@ def termination_grace_period_seconds(self) -> Optional[int]: return pulumi.get(self, "termination_grace_period_seconds") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @pulumi.output_type class ExecActionResponse(dict): """ @@ -3270,6 +3694,172 @@ def routes(self) -> Optional[Sequence['outputs.GatewayApiRouteResponse']]: return pulumi.get(self, "routes") +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload for config server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload for config server + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class HTTPGetActionResponse(dict): """ @@ -3871,6 +4461,113 @@ def publisher(self) -> Optional[str]: return pulumi.get(self, "publisher") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetCoreZipUploadedUserSourceInfoResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/__init__.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/__init__.py index f4d2bc933ccb..96f069002ca4 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/__init__.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/__init__.py @@ -10,9 +10,11 @@ from .api_portal_custom_domain import * from .app import * from .binding import * +from .build_service_agent_pool import * from .build_service_builder import * from .buildpack_binding import * from .certificate import * +from .config_server import * from .configuration_service import * from .custom_domain import * from .deployment import * @@ -24,11 +26,13 @@ from .get_app import * from .get_app_resource_upload_url import * from .get_binding import * +from .get_build_service_agent_pool import * from .get_build_service_build_result_log import * from .get_build_service_builder import * from .get_build_service_resource_upload_url import * from .get_buildpack_binding import * from .get_certificate import * +from .get_config_server import * from .get_configuration_service import * from .get_custom_domain import * from .get_deployment import * @@ -37,11 +41,13 @@ from .get_gateway import * from .get_gateway_custom_domain import * from .get_gateway_route_config import * +from .get_monitoring_setting import * from .get_service import * from .get_service_registry import * from .get_storage import * from .list_build_service_builder_deployments import * from .list_service_test_keys import * +from .monitoring_setting import * from .service import * from .service_registry import * from .storage import * diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/_inputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/_inputs.py index 13760405af5a..33881dec6aee 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/_inputs.py @@ -18,12 +18,17 @@ 'AzureFileVolumeArgs', 'BindingResourcePropertiesArgs', 'BuildResultUserSourceInfoArgs', + 'BuildServiceAgentPoolPropertiesArgs', + 'BuildServiceAgentPoolSizePropertiesArgs', 'BuilderPropertiesArgs', 'BuildpackBindingLaunchPropertiesArgs', 'BuildpackBindingPropertiesArgs', 'BuildpackPropertiesArgs', 'BuildpacksGroupPropertiesArgs', 'ClusterResourcePropertiesArgs', + 'ConfigServerGitPropertyArgs', + 'ConfigServerPropertiesArgs', + 'ConfigServerSettingsArgs', 'ConfigurationServiceGitPropertyArgs', 'ConfigurationServiceGitRepositoryArgs', 'ConfigurationServicePropertiesArgs', @@ -36,6 +41,7 @@ 'CustomPersistentDiskResourceArgs', 'DeploymentResourcePropertiesArgs', 'DeploymentSettingsArgs', + 'ErrorArgs', 'ExecActionArgs', 'GatewayApiMetadataPropertiesArgs', 'GatewayApiRouteArgs', @@ -45,6 +51,7 @@ 'GatewayResourceRequestsArgs', 'GatewayRouteConfigOpenApiPropertiesArgs', 'GatewayRouteConfigPropertiesArgs', + 'GitPatternRepositoryArgs', 'HTTPGetActionArgs', 'ImageRegistryCredentialArgs', 'IngressConfigArgs', @@ -55,6 +62,7 @@ 'LoadedCertificateArgs', 'ManagedIdentityPropertiesArgs', 'MarketplaceResourceArgs', + 'MonitoringSettingPropertiesArgs', 'NetCoreZipUploadedUserSourceInfoArgs', 'NetworkProfileArgs', 'PersistentDiskArgs', @@ -585,6 +593,54 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +@pulumi.input_type +class BuildServiceAgentPoolPropertiesArgs: + def __init__(__self__, *, + pool_size: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']] = None): + """ + Build service agent pool properties + :param pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs'] pool_size: build service agent pool size properties + """ + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + @pool_size.setter + def pool_size(self, value: Optional[pulumi.Input['BuildServiceAgentPoolSizePropertiesArgs']]): + pulumi.set(self, "pool_size", value) + + +@pulumi.input_type +class BuildServiceAgentPoolSizePropertiesArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Build service agent pool size properties + :param pulumi.Input[str] name: The name of build service agent pool size + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @pulumi.input_type class BuilderPropertiesArgs: def __init__(__self__, *, @@ -839,6 +895,237 @@ def zone_redundant(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "zone_redundant", value) +@pulumi.input_type +class ConfigServerGitPropertyArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + repositories: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Property of git. + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]] repositories: Repositories of git. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter + def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @repositories.setter + def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitPatternRepositoryArgs']]]]): + pulumi.set(self, "repositories", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ConfigServerPropertiesArgs: + def __init__(__self__, *, + config_server: Optional[pulumi.Input['ConfigServerSettingsArgs']] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None): + """ + Config server git properties payload + :param pulumi.Input['ConfigServerSettingsArgs'] config_server: Settings of config server. + :param pulumi.Input['ErrorArgs'] error: Error when apply config server settings. + """ + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional[pulumi.Input['ConfigServerSettingsArgs']]: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @config_server.setter + def config_server(self, value: Optional[pulumi.Input['ConfigServerSettingsArgs']]): + pulumi.set(self, "config_server", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + +@pulumi.input_type +class ConfigServerSettingsArgs: + def __init__(__self__, *, + git_property: Optional[pulumi.Input['ConfigServerGitPropertyArgs']] = None): + """ + The settings of config server. + :param pulumi.Input['ConfigServerGitPropertyArgs'] git_property: Property of git environment. + """ + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) + + @property + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional[pulumi.Input['ConfigServerGitPropertyArgs']]: + """ + Property of git environment. + """ + return pulumi.get(self, "git_property") + + @git_property.setter + def git_property(self, value: Optional[pulumi.Input['ConfigServerGitPropertyArgs']]): + pulumi.set(self, "git_property", value) + + @pulumi.input_type class ConfigurationServiceGitPropertyArgs: def __init__(__self__, *, @@ -1590,6 +1877,46 @@ def termination_grace_period_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "termination_grace_period_seconds", value) +@pulumi.input_type +class ErrorArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None): + """ + The error code compose of code and message. + :param pulumi.Input[str] code: The code of error. + :param pulumi.Input[str] message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @pulumi.input_type class ExecActionArgs: def __init__(__self__, *, @@ -2249,6 +2576,188 @@ def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayApiR pulumi.set(self, "routes", value) +@pulumi.input_type +class GitPatternRepositoryArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + host_key: Optional[pulumi.Input[str]] = None, + host_key_algorithm: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + search_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + strict_host_key_checking: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Git repository property payload for config server + :param pulumi.Input[str] name: Name of the repository + :param pulumi.Input[str] uri: URI of the repository + :param pulumi.Input[str] host_key: Public sshKey of git repository. + :param pulumi.Input[str] host_key_algorithm: SshKey algorithm of git repository. + :param pulumi.Input[str] label: Label of the repository + :param pulumi.Input[str] password: Password of git repository basic auth. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pattern: Collection of pattern of the repository + :param pulumi.Input[str] private_key: Private sshKey algorithm of git repository. + :param pulumi.Input[Sequence[pulumi.Input[str]]] search_paths: Searching path of the repository + :param pulumi.Input[bool] strict_host_key_checking: Strict host key checking or not. + :param pulumi.Input[str] username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[pulumi.Input[str]]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @host_key.setter + def host_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key", value) + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @host_key_algorithm.setter + def host_key_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_key_algorithm", value) + + @property + @pulumi.getter + def label(self) -> Optional[pulumi.Input[str]]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @search_paths.setter + def search_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "search_paths", value) + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[pulumi.Input[bool]]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @strict_host_key_checking.setter + def strict_host_key_checking(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "strict_host_key_checking", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @pulumi.input_type class HTTPGetActionArgs: def __init__(__self__, *, @@ -2853,6 +3362,78 @@ def publisher(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "publisher", value) +@pulumi.input_type +class MonitoringSettingPropertiesArgs: + def __init__(__self__, *, + app_insights_instrumentation_key: Optional[pulumi.Input[str]] = None, + app_insights_sampling_rate: Optional[pulumi.Input[float]] = None, + error: Optional[pulumi.Input['ErrorArgs']] = None, + trace_enabled: Optional[pulumi.Input[bool]] = None): + """ + Monitoring Setting properties payload + :param pulumi.Input[str] app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param pulumi.Input[float] app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param pulumi.Input['ErrorArgs'] error: Error when apply Monitoring Setting changes. + :param pulumi.Input[bool] trace_enabled: 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 + """ + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[pulumi.Input[str]]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @app_insights_instrumentation_key.setter + def app_insights_instrumentation_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_insights_instrumentation_key", value) + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[pulumi.Input[float]]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @app_insights_sampling_rate.setter + def app_insights_sampling_rate(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "app_insights_sampling_rate", value) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input['ErrorArgs']]: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input['ErrorArgs']]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @trace_enabled.setter + def trace_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trace_enabled", value) + + @pulumi.input_type class NetCoreZipUploadedUserSourceInfoArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/build_service_agent_pool.py new file mode 100644 index 000000000000..21512426ffb4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/build_service_agent_pool.py @@ -0,0 +1,236 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['BuildServiceAgentPoolArgs', 'BuildServiceAgentPool'] + +@pulumi.input_type +class BuildServiceAgentPoolArgs: + def __init__(__self__, *, + build_service_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + agent_pool_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']] = None): + """ + The set of arguments for constructing a BuildServiceAgentPool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input['BuildServiceAgentPoolPropertiesArgs'] properties: build service agent pool properties + """ + pulumi.set(__self__, "build_service_name", build_service_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if agent_pool_name is not None: + pulumi.set(__self__, "agent_pool_name", agent_pool_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="buildServiceName") + def build_service_name(self) -> pulumi.Input[str]: + """ + The name of the build service resource. + """ + return pulumi.get(self, "build_service_name") + + @build_service_name.setter + def build_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "build_service_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="agentPoolName") + def agent_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the build service agent pool resource. + """ + return pulumi.get(self, "agent_pool_name") + + @agent_pool_name.setter + def agent_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "agent_pool_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BuildServiceAgentPoolPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class BuildServiceAgentPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] agent_pool_name: The name of the build service agent pool resource. + :param pulumi.Input[str] build_service_name: The name of the build service resource. + :param pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']] properties: build service agent pool properties + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BuildServiceAgentPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The build service agent pool resource + + :param str resource_name: The name of the resource. + :param BuildServiceAgentPoolArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BuildServiceAgentPoolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BuildServiceAgentPoolPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["agent_pool_name"] = agent_pool_name + if build_service_name is None and not opts.urn: + raise TypeError("Missing required property 'build_service_name'") + __props__.__dict__["build_service_name"] = build_service_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220401:BuildServiceAgentPool"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:BuildServiceAgentPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BuildServiceAgentPool, __self__).__init__( + 'azure-native:appplatform/v20220901preview:BuildServiceAgentPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildServiceAgentPool': + """ + Get an existing BuildServiceAgentPool resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BuildServiceAgentPoolArgs.__new__(BuildServiceAgentPoolArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BuildServiceAgentPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BuildServiceAgentPoolPropertiesResponse']: + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/config_server.py new file mode 100644 index 000000000000..0eddd8a9817e --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/config_server.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ConfigServerArgs', 'ConfigServer'] + +@pulumi.input_type +class ConfigServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ConfigServerPropertiesArgs']] = None): + """ + The set of arguments for constructing a ConfigServer resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['ConfigServerPropertiesArgs'] properties: Properties of the Config Server resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ConfigServerPropertiesArgs']]: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ConfigServerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class ConfigServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']] properties: Properties of the Config Server resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Config Server resource + + :param str resource_name: The name of the resource. + :param ConfigServerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ConfigServerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ConfigServerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20200701:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220401:ConfigServer"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:ConfigServer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ConfigServer, __self__).__init__( + 'azure-native:appplatform/v20220901preview:ConfigServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ConfigServer': + """ + Get an existing ConfigServer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigServerArgs.__new__(ConfigServerArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ConfigServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ConfigServerPropertiesResponse']: + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_build_service_agent_pool.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_build_service_agent_pool.py new file mode 100644 index 000000000000..bc43d2ab0f8c --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_build_service_agent_pool.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBuildServiceAgentPoolResult', + 'AwaitableGetBuildServiceAgentPoolResult', + 'get_build_service_agent_pool', + 'get_build_service_agent_pool_output', +] + +@pulumi.output_type +class GetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BuildServiceAgentPoolPropertiesResponse': + """ + build service agent pool properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetBuildServiceAgentPoolResult(GetBuildServiceAgentPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBuildServiceAgentPoolResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_build_service_agent_pool(agent_pool_name: Optional[str] = None, + build_service_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildServiceAgentPoolResult: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['agentPoolName'] = agent_pool_name + __args__['buildServiceName'] = build_service_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220901preview:getBuildServiceAgentPool', __args__, opts=opts, typ=GetBuildServiceAgentPoolResult).value + + return AwaitableGetBuildServiceAgentPoolResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_build_service_agent_pool) +def get_build_service_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None, + build_service_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildServiceAgentPoolResult]: + """ + The build service agent pool resource + + + :param str agent_pool_name: The name of the build service agent pool resource. + :param str build_service_name: The name of the build service resource. + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_config_server.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_config_server.py new file mode 100644 index 000000000000..9985afa1c69e --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_config_server.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigServerResult', + 'AwaitableGetConfigServerResult', + 'get_config_server', + 'get_config_server_output', +] + +@pulumi.output_type +class GetConfigServerResult: + """ + Config Server resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ConfigServerPropertiesResponse': + """ + Properties of the Config Server resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetConfigServerResult(GetConfigServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigServerResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_config_server(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigServerResult: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220901preview:getConfigServer', __args__, opts=opts, typ=GetConfigServerResult).value + + return AwaitableGetConfigServerResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_config_server) +def get_config_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigServerResult]: + """ + Config Server resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_monitoring_setting.py new file mode 100644 index 000000000000..1fa0e22b53a8 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/get_monitoring_setting.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringSettingResult', + 'AwaitableGetMonitoringSettingResult', + 'get_monitoring_setting', + 'get_monitoring_setting_output', +] + +@pulumi.output_type +class GetMonitoringSettingResult: + """ + Monitoring Setting resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource Id for the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.MonitoringSettingPropertiesResponse': + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMonitoringSettingResult(GetMonitoringSettingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringSettingResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_monitoring_setting(resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringSettingResult: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:appplatform/v20220901preview:getMonitoringSetting', __args__, opts=opts, typ=GetMonitoringSettingResult).value + + return AwaitableGetMonitoringSettingResult( + id=__ret__.id, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + type=__ret__.type) + + +@_utilities.lift_output_func(get_monitoring_setting) +def get_monitoring_setting_output(resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSettingResult]: + """ + Monitoring Setting resource + + + :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param str service_name: The name of the Service resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/monitoring_setting.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/monitoring_setting.py new file mode 100644 index 000000000000..c10e3ebda557 --- /dev/null +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/monitoring_setting.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringSettingArgs', 'MonitoringSetting'] + +@pulumi.input_type +class MonitoringSettingArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']] = None): + """ + The set of arguments for constructing a MonitoringSetting resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + :param pulumi.Input['MonitoringSettingPropertiesArgs'] properties: Properties of the Monitoring Setting resource + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "service_name", service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> pulumi.Input[str]: + """ + The name of the Service resource. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['MonitoringSettingPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class MonitoringSetting(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']] properties: Properties of the Monitoring Setting resource + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] service_name: The name of the Service resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringSettingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Monitoring Setting resource + + :param str resource_name: The name of the resource. + :param MonitoringSettingArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MonitoringSettingArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['MonitoringSettingPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if service_name is None and not opts.urn: + raise TypeError("Missing required property 'service_name'") + __props__.__dict__["service_name"] = service_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:appplatform:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20200701:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20201101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210601preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20210901preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220101preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220301preview:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220401:MonitoringSetting"), pulumi.Alias(type_="azure-native:appplatform/v20220501preview:MonitoringSetting")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MonitoringSetting, __self__).__init__( + 'azure-native:appplatform/v20220901preview:MonitoringSetting', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MonitoringSetting': + """ + Get an existing MonitoringSetting resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MonitoringSettingArgs.__new__(MonitoringSettingArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return MonitoringSetting(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.MonitoringSettingPropertiesResponse']: + """ + Properties of the Monitoring Setting resource + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/outputs.py b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/outputs.py index 64c4260bd036..343a32371845 100644 --- a/sdk/python/pulumi_azure_native/appplatform/v20220901preview/outputs.py +++ b/sdk/python/pulumi_azure_native/appplatform/v20220901preview/outputs.py @@ -18,15 +18,21 @@ 'ApiPortalResourceRequestsResponse', 'AppResourcePropertiesResponse', 'AppVNetAddonsResponse', + 'ApplicationInsightsAgentVersionsResponse', 'AzureFileVolumeResponse', 'BindingResourcePropertiesResponse', 'BuildResultUserSourceInfoResponse', + 'BuildServiceAgentPoolPropertiesResponse', + 'BuildServiceAgentPoolSizePropertiesResponse', 'BuilderPropertiesResponse', 'BuildpackBindingLaunchPropertiesResponse', 'BuildpackBindingPropertiesResponse', 'BuildpackPropertiesResponse', 'BuildpacksGroupPropertiesResponse', 'ClusterResourcePropertiesResponse', + 'ConfigServerGitPropertyResponse', + 'ConfigServerPropertiesResponse', + 'ConfigServerSettingsResponse', 'ConfigurationServiceGitPropertyResponse', 'ConfigurationServiceGitRepositoryResponse', 'ConfigurationServiceInstanceResponse', @@ -42,6 +48,7 @@ 'DeploymentInstanceResponse', 'DeploymentResourcePropertiesResponse', 'DeploymentSettingsResponse', + 'ErrorResponse', 'ExecActionResponse', 'GatewayApiMetadataPropertiesResponse', 'GatewayApiRouteResponse', @@ -54,6 +61,7 @@ 'GatewayResourceRequestsResponse', 'GatewayRouteConfigOpenApiPropertiesResponse', 'GatewayRouteConfigPropertiesResponse', + 'GitPatternRepositoryResponse', 'HTTPGetActionResponse', 'ImageRegistryCredentialResponse', 'IngressConfigResponse', @@ -64,6 +72,7 @@ 'LoadedCertificateResponse', 'ManagedIdentityPropertiesResponse', 'MarketplaceResourceResponse', + 'MonitoringSettingPropertiesResponse', 'NetCoreZipUploadedUserSourceInfoResponse', 'NetworkProfileResponse', 'NetworkProfileResponseOutboundIPs', @@ -580,6 +589,28 @@ def public_endpoint(self) -> Optional[bool]: return pulumi.get(self, "public_endpoint") +@pulumi.output_type +class ApplicationInsightsAgentVersionsResponse(dict): + """ + Application Insights agent versions properties payload + """ + def __init__(__self__, *, + java: str): + """ + Application Insights agent versions properties payload + :param str java: Indicates the version of application insight java agent + """ + pulumi.set(__self__, "java", java) + + @property + @pulumi.getter + def java(self) -> str: + """ + Indicates the version of application insight java agent + """ + return pulumi.get(self, "java") + + @pulumi.output_type class AzureFileVolumeResponse(dict): """ @@ -869,6 +900,104 @@ def version(self) -> Optional[str]: return pulumi.get(self, "version") +@pulumi.output_type +class BuildServiceAgentPoolPropertiesResponse(dict): + """ + Build service agent pool properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "poolSize": + suggest = "pool_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BuildServiceAgentPoolPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BuildServiceAgentPoolPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + pool_size: Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse'] = None): + """ + Build service agent pool properties + :param str provisioning_state: Provisioning state of the build service agent pool + :param 'BuildServiceAgentPoolSizePropertiesResponse' pool_size: build service agent pool size properties + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if pool_size is not None: + pulumi.set(__self__, "pool_size", pool_size) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the build service agent pool + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional['outputs.BuildServiceAgentPoolSizePropertiesResponse']: + """ + build service agent pool size properties + """ + return pulumi.get(self, "pool_size") + + +@pulumi.output_type +class BuildServiceAgentPoolSizePropertiesResponse(dict): + """ + Build service agent pool size properties + """ + def __init__(__self__, *, + cpu: str, + memory: str, + name: Optional[str] = None): + """ + Build service agent pool size properties + :param str cpu: The cpu property of build service agent pool size + :param str memory: The memory property of build service agent pool size + :param str name: The name of build service agent pool size + """ + pulumi.set(__self__, "cpu", cpu) + pulumi.set(__self__, "memory", memory) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def cpu(self) -> str: + """ + The cpu property of build service agent pool size + """ + return pulumi.get(self, "cpu") + + @property + @pulumi.getter + def memory(self) -> str: + """ + The memory property of build service agent pool size + """ + return pulumi.get(self, "memory") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of build service agent pool size + """ + return pulumi.get(self, "name") + + @pulumi.output_type class BuilderPropertiesResponse(dict): """ @@ -1197,42 +1326,302 @@ def service_id(self) -> str: """ return pulumi.get(self, "service_id") - @property - @pulumi.getter - def version(self) -> int: - """ - Version of the Service - """ - return pulumi.get(self, "version") + @property + @pulumi.getter + def version(self) -> int: + """ + Version of the Service + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="marketplaceResource") + def marketplace_resource(self) -> Optional['outputs.MarketplaceResourceResponse']: + """ + Purchasing 3rd party product of the Service resource. + """ + return pulumi.get(self, "marketplace_resource") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + """ + Network profile of the Service + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="vnetAddons") + def vnet_addons(self) -> Optional['outputs.ServiceVNetAddonsResponse']: + """ + Additional Service settings in vnet injection instance + """ + return pulumi.get(self, "vnet_addons") + + @property + @pulumi.getter(name="zoneRedundant") + def zone_redundant(self) -> Optional[bool]: + return pulumi.get(self, "zone_redundant") + + +@pulumi.output_type +class ConfigServerGitPropertyResponse(dict): + """ + Property of git. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerGitPropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerGitPropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + private_key: Optional[str] = None, + repositories: Optional[Sequence['outputs.GitPatternRepositoryResponse']] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Property of git. + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence['GitPatternRepositoryResponse'] repositories: Repositories of git. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if repositories is not None: + pulumi.set(__self__, "repositories", repositories) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter + def repositories(self) -> Optional[Sequence['outputs.GitPatternRepositoryResponse']]: + """ + Repositories of git. + """ + return pulumi.get(self, "repositories") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ConfigServerPropertiesResponse(dict): + """ + Config server git properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "configServer": + suggest = "config_server" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConfigServerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + config_server: Optional['outputs.ConfigServerSettingsResponse'] = None, + error: Optional['outputs.ErrorResponse'] = None): + """ + Config server git properties payload + :param str provisioning_state: State of the config server. + :param 'ConfigServerSettingsResponse' config_server: Settings of config server. + :param 'ErrorResponse' error: Error when apply config server settings. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if config_server is not None: + pulumi.set(__self__, "config_server", config_server) + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the config server. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="configServer") + def config_server(self) -> Optional['outputs.ConfigServerSettingsResponse']: + """ + Settings of config server. + """ + return pulumi.get(self, "config_server") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply config server settings. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ConfigServerSettingsResponse(dict): + """ + The settings of config server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gitProperty": + suggest = "git_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConfigServerSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().__getitem__(key) - @property - @pulumi.getter(name="marketplaceResource") - def marketplace_resource(self) -> Optional['outputs.MarketplaceResourceResponse']: - """ - Purchasing 3rd party product of the Service resource. - """ - return pulumi.get(self, "marketplace_resource") + def get(self, key: str, default = None) -> Any: + ConfigServerSettingsResponse.__key_warning(key) + return super().get(key, default) - @property - @pulumi.getter(name="networkProfile") - def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + def __init__(__self__, *, + git_property: Optional['outputs.ConfigServerGitPropertyResponse'] = None): """ - Network profile of the Service + The settings of config server. + :param 'ConfigServerGitPropertyResponse' git_property: Property of git environment. """ - return pulumi.get(self, "network_profile") + if git_property is not None: + pulumi.set(__self__, "git_property", git_property) @property - @pulumi.getter(name="vnetAddons") - def vnet_addons(self) -> Optional['outputs.ServiceVNetAddonsResponse']: + @pulumi.getter(name="gitProperty") + def git_property(self) -> Optional['outputs.ConfigServerGitPropertyResponse']: """ - Additional Service settings in vnet injection instance + Property of git environment. """ - return pulumi.get(self, "vnet_addons") - - @property - @pulumi.getter(name="zoneRedundant") - def zone_redundant(self) -> Optional[bool]: - return pulumi.get(self, "zone_redundant") + return pulumi.get(self, "git_property") @pulumi.output_type @@ -2445,6 +2834,41 @@ def termination_grace_period_seconds(self) -> Optional[int]: return pulumi.get(self, "termination_grace_period_seconds") +@pulumi.output_type +class ErrorResponse(dict): + """ + The error code compose of code and message. + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + The error code compose of code and message. + :param str code: The code of error. + :param str message: The message of error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of error. + """ + return pulumi.get(self, "message") + + @pulumi.output_type class ExecActionResponse(dict): """ @@ -3299,6 +3723,172 @@ def routes(self) -> Optional[Sequence['outputs.GatewayApiRouteResponse']]: return pulumi.get(self, "routes") +@pulumi.output_type +class GitPatternRepositoryResponse(dict): + """ + Git repository property payload for config server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostKey": + suggest = "host_key" + elif key == "hostKeyAlgorithm": + suggest = "host_key_algorithm" + elif key == "privateKey": + suggest = "private_key" + elif key == "searchPaths": + suggest = "search_paths" + elif key == "strictHostKeyChecking": + suggest = "strict_host_key_checking" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitPatternRepositoryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitPatternRepositoryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + host_key: Optional[str] = None, + host_key_algorithm: Optional[str] = None, + label: Optional[str] = None, + password: Optional[str] = None, + pattern: Optional[Sequence[str]] = None, + private_key: Optional[str] = None, + search_paths: Optional[Sequence[str]] = None, + strict_host_key_checking: Optional[bool] = None, + username: Optional[str] = None): + """ + Git repository property payload for config server + :param str name: Name of the repository + :param str uri: URI of the repository + :param str host_key: Public sshKey of git repository. + :param str host_key_algorithm: SshKey algorithm of git repository. + :param str label: Label of the repository + :param str password: Password of git repository basic auth. + :param Sequence[str] pattern: Collection of pattern of the repository + :param str private_key: Private sshKey algorithm of git repository. + :param Sequence[str] search_paths: Searching path of the repository + :param bool strict_host_key_checking: Strict host key checking or not. + :param str username: Username of git repository basic auth. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if host_key is not None: + pulumi.set(__self__, "host_key", host_key) + if host_key_algorithm is not None: + pulumi.set(__self__, "host_key_algorithm", host_key_algorithm) + if label is not None: + pulumi.set(__self__, "label", label) + if password is not None: + pulumi.set(__self__, "password", password) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if search_paths is not None: + pulumi.set(__self__, "search_paths", search_paths) + if strict_host_key_checking is not None: + pulumi.set(__self__, "strict_host_key_checking", strict_host_key_checking) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the repository + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + URI of the repository + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="hostKey") + def host_key(self) -> Optional[str]: + """ + Public sshKey of git repository. + """ + return pulumi.get(self, "host_key") + + @property + @pulumi.getter(name="hostKeyAlgorithm") + def host_key_algorithm(self) -> Optional[str]: + """ + SshKey algorithm of git repository. + """ + return pulumi.get(self, "host_key_algorithm") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label of the repository + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + Password of git repository basic auth. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def pattern(self) -> Optional[Sequence[str]]: + """ + Collection of pattern of the repository + """ + return pulumi.get(self, "pattern") + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + """ + Private sshKey algorithm of git repository. + """ + return pulumi.get(self, "private_key") + + @property + @pulumi.getter(name="searchPaths") + def search_paths(self) -> Optional[Sequence[str]]: + """ + Searching path of the repository + """ + return pulumi.get(self, "search_paths") + + @property + @pulumi.getter(name="strictHostKeyChecking") + def strict_host_key_checking(self) -> Optional[bool]: + """ + Strict host key checking or not. + """ + return pulumi.get(self, "strict_host_key_checking") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Username of git repository basic auth. + """ + return pulumi.get(self, "username") + + @pulumi.output_type class HTTPGetActionResponse(dict): """ @@ -4033,6 +4623,113 @@ def publisher(self) -> Optional[str]: return pulumi.get(self, "publisher") +@pulumi.output_type +class MonitoringSettingPropertiesResponse(dict): + """ + Monitoring Setting properties payload + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "appInsightsAgentVersions": + suggest = "app_insights_agent_versions" + elif key == "appInsightsInstrumentationKey": + suggest = "app_insights_instrumentation_key" + elif key == "appInsightsSamplingRate": + suggest = "app_insights_sampling_rate" + elif key == "traceEnabled": + suggest = "trace_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + app_insights_agent_versions: Optional['outputs.ApplicationInsightsAgentVersionsResponse'] = None, + app_insights_instrumentation_key: Optional[str] = None, + app_insights_sampling_rate: Optional[float] = None, + error: Optional['outputs.ErrorResponse'] = None, + trace_enabled: Optional[bool] = None): + """ + Monitoring Setting properties payload + :param str provisioning_state: State of the Monitoring Setting. + :param 'ApplicationInsightsAgentVersionsResponse' app_insights_agent_versions: Indicates the versions of application insight agent + :param str app_insights_instrumentation_key: Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + :param float app_insights_sampling_rate: Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + :param 'ErrorResponse' error: Error when apply Monitoring Setting changes. + :param bool trace_enabled: 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 + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if app_insights_agent_versions is not None: + pulumi.set(__self__, "app_insights_agent_versions", app_insights_agent_versions) + if app_insights_instrumentation_key is not None: + pulumi.set(__self__, "app_insights_instrumentation_key", app_insights_instrumentation_key) + if app_insights_sampling_rate is not None: + pulumi.set(__self__, "app_insights_sampling_rate", app_insights_sampling_rate) + if error is not None: + pulumi.set(__self__, "error", error) + if trace_enabled is not None: + pulumi.set(__self__, "trace_enabled", trace_enabled) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the Monitoring Setting. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="appInsightsAgentVersions") + def app_insights_agent_versions(self) -> Optional['outputs.ApplicationInsightsAgentVersionsResponse']: + """ + Indicates the versions of application insight agent + """ + return pulumi.get(self, "app_insights_agent_versions") + + @property + @pulumi.getter(name="appInsightsInstrumentationKey") + def app_insights_instrumentation_key(self) -> Optional[str]: + """ + Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings + """ + return pulumi.get(self, "app_insights_instrumentation_key") + + @property + @pulumi.getter(name="appInsightsSamplingRate") + def app_insights_sampling_rate(self) -> Optional[float]: + """ + Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] + """ + return pulumi.get(self, "app_insights_sampling_rate") + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ErrorResponse']: + """ + Error when apply Monitoring Setting changes. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="traceEnabled") + def trace_enabled(self) -> Optional[bool]: + """ + 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 + """ + return pulumi.get(self, "trace_enabled") + + @pulumi.output_type class NetCoreZipUploadedUserSourceInfoResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/__init__.py b/sdk/python/pulumi_azure_native/dbforpostgresql/__init__.py index 6e0f82093c82..ff7d90588d8b 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/__init__.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/__init__.py @@ -59,8 +59,6 @@ v20210615privatepreview = __v20210615privatepreview import pulumi_azure_native.dbforpostgresql.v20220120preview as __v20220120preview v20220120preview = __v20220120preview - import pulumi_azure_native.dbforpostgresql.v20220308preview as __v20220308preview - v20220308preview = __v20220308preview import pulumi_azure_native.dbforpostgresql.v20220308privatepreview as __v20220308privatepreview v20220308privatepreview = __v20220308privatepreview else: @@ -79,6 +77,5 @@ v20210601preview = _utilities.lazy_import('pulumi_azure_native.dbforpostgresql.v20210601preview') v20210615privatepreview = _utilities.lazy_import('pulumi_azure_native.dbforpostgresql.v20210615privatepreview') v20220120preview = _utilities.lazy_import('pulumi_azure_native.dbforpostgresql.v20220120preview') - v20220308preview = _utilities.lazy_import('pulumi_azure_native.dbforpostgresql.v20220308preview') v20220308privatepreview = _utilities.lazy_import('pulumi_azure_native.dbforpostgresql.v20220308privatepreview') diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/configuration.py index 524417419de1..2d25c0f92b8b 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/configuration.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/configuration.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["description"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbforpostgresql/v20200214preview:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/firewall_rule.py index 9a3a56b115e3..cd5301bd7d3e 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/firewall_rule.py @@ -170,7 +170,7 @@ def _internal_init(__self__, __props__.__dict__["start_ip_address"] = start_ip_address __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbforpostgresql/v20200214preview:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/server.py index 6fa1bee1f111..d55ba1acaa2c 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/server.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214preview/server.py @@ -528,7 +528,7 @@ def _internal_init(__self__, __props__.__dict__["standby_availability_zone"] = None __props__.__dict__["state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbforpostgresql/v20200214preview:Server', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/configuration.py index cbe51d54022c..007cfede95f1 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/configuration.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/configuration.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["description"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbforpostgresql/v20200214privatepreview:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/firewall_rule.py index b580dc27f0ee..d7e7c754b208 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/firewall_rule.py @@ -170,7 +170,7 @@ def _internal_init(__self__, __props__.__dict__["start_ip_address"] = start_ip_address __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/server.py index ea9b2657a1ec..6c5a09cfed0b 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/server.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20200214privatepreview/server.py @@ -486,7 +486,7 @@ def _internal_init(__self__, __props__.__dict__["standby_availability_zone"] = None __props__.__dict__["state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbforpostgresql/v20200214privatepreview:Server', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20201105preview/database.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20201105preview/database.py index 7390cce690ca..555592f08621 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20201105preview/database.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20201105preview/database.py @@ -168,7 +168,7 @@ def _internal_init(__self__, __props__.__dict__["server_name"] = server_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:dbforpostgresql/v20201105preview:Database', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/configuration.py index 8567afe12e01..cd76682ebf58 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/configuration.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/configuration.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["description"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbforpostgresql/v20210410privatepreview:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/firewall_rule.py index 935a0034d9b7..45bc3b0b125a 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/firewall_rule.py @@ -170,7 +170,7 @@ def _internal_init(__self__, __props__.__dict__["start_ip_address"] = start_ip_address __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/server.py index f5eef68dba50..427e6607cd8c 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/server.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/server.py @@ -486,7 +486,7 @@ def _internal_init(__self__, __props__.__dict__["standby_availability_zone"] = None __props__.__dict__["state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbforpostgresql/v20210410privatepreview:Server', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/configuration.py index 0d5ecd3c36fc..e8c5fad701f5 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/configuration.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/configuration.py @@ -179,7 +179,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["unit"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbforpostgresql/v20210601:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/database.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/database.py index 6ea315cca89f..eb5fcc3defae 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/database.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/database.py @@ -170,7 +170,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:dbforpostgresql/v20210601:Database', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/firewall_rule.py index e9cda18605ed..a58c6ce0c9b1 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/firewall_rule.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbforpostgresql/v20210601:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/server.py index 870197c618a3..56deed45cc1a 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/server.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601/server.py @@ -418,7 +418,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbforpostgresql/v20210601:Server', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/configuration.py index 82823e32547c..aa43d18a213e 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/configuration.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/configuration.py @@ -179,7 +179,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["unit"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbforpostgresql/v20210601preview:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/database.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/database.py index d9133f518c1f..e019aa0c5458 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/database.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/database.py @@ -170,7 +170,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:dbforpostgresql/v20210601preview:Database', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/firewall_rule.py index 936d7013a8b9..567637933b94 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/firewall_rule.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbforpostgresql/v20210601preview:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/server.py index 6377193ebb48..5dce5736ba5c 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/server.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210601preview/server.py @@ -418,7 +418,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbforpostgresql/v20210601preview:Server', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/configuration.py index f1fd4b25aa5d..9f5f62f0e1ba 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/configuration.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/configuration.py @@ -174,7 +174,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbforpostgresql/v20210615privatepreview:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/firewall_rule.py index ec82caeea602..ba0f8586c8bf 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/firewall_rule.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/server.py index 95f5cf18b096..9342c9c01e12 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/server.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20210615privatepreview/server.py @@ -434,7 +434,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbforpostgresql/v20210615privatepreview:Server', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/configuration.py index b4d063aee389..f06b2e8d2d94 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/configuration.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/configuration.py @@ -179,7 +179,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["unit"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbforpostgresql/v20220120preview:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/database.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/database.py index a97d4641a319..2e492c33a29a 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/database.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/database.py @@ -170,7 +170,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:dbforpostgresql/v20220120preview:Database', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/firewall_rule.py index 4077331ffadd..746bc4e57ce1 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/firewall_rule.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbforpostgresql/v20220120preview:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/server.py index b50258e7474d..0dec2a52e577 100644 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/server.py +++ b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220120preview/server.py @@ -418,7 +418,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbforpostgresql/v20220120preview:Server', diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/__init__.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/__init__.py deleted file mode 100644 index 642af5c54ed8..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -from ... import _utilities -import typing -# Export this package's modules as members: -from ._enums import * -from .administrator import * -from .configuration import * -from .database import * -from .firewall_rule import * -from .get_administrator import * -from .get_configuration import * -from .get_database import * -from .get_firewall_rule import * -from .get_server import * -from .server import * -from ._inputs import * -from . import outputs diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/_enums.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/_enums.py deleted file mode 100644 index d091fd17f702..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/_enums.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -from enum import Enum - -__all__ = [ - 'ArmServerKeyType', - 'CreateMode', - 'GeoRedundantBackupEnum', - 'HighAvailabilityMode', - 'IdentityType', - 'PrincipalType', - 'ReplicationRole', - 'ServerVersion', - 'SkuTier', -] - - -class ArmServerKeyType(str, Enum): - """ - Data encryption type to depict if it is System assigned vs Azure Key vault. - """ - SYSTEM_ASSIGNED = "SystemAssigned" - AZURE_KEY_VAULT = "AzureKeyVault" - - -class CreateMode(str, Enum): - """ - The mode to create a new PostgreSQL server. - """ - DEFAULT = "Default" - CREATE = "Create" - UPDATE = "Update" - POINT_IN_TIME_RESTORE = "PointInTimeRestore" - GEO_RESTORE = "GeoRestore" - REPLICA = "Replica" - - -class GeoRedundantBackupEnum(str, Enum): - """ - A value indicating whether Geo-Redundant backup is enabled on the server. - """ - ENABLED = "Enabled" - DISABLED = "Disabled" - - -class HighAvailabilityMode(str, Enum): - """ - The HA mode for the server. - """ - DISABLED = "Disabled" - ZONE_REDUNDANT = "ZoneRedundant" - SAME_ZONE = "SameZone" - - -class IdentityType(str, Enum): - """ - the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - """ - NONE = "None" - SYSTEM_ASSIGNED = "SystemAssigned" - USER_ASSIGNED = "UserAssigned" - - -class PrincipalType(str, Enum): - """ - The principal type used to represent the type of Active Directory Administrator. - """ - UNKNOWN = "Unknown" - USER = "User" - GROUP = "Group" - SERVICE_PRINCIPAL = "ServicePrincipal" - - -class ReplicationRole(str, Enum): - """ - Replication role of the server - """ - PRIMARY = "Primary" - SECONDARY = "Secondary" - WAL_REPLICA = "WalReplica" - SYNC_REPLICA = "SyncReplica" - ASYNC_REPLICA = "AsyncReplica" - GEO_SYNC_REPLICA = "GeoSyncReplica" - GEO_ASYNC_REPLICA = "GeoAsyncReplica" - - -class ServerVersion(str, Enum): - """ - PostgreSQL Server version. - """ - SERVER_VERSION_14 = "14" - SERVER_VERSION_13 = "13" - SERVER_VERSION_12 = "12" - SERVER_VERSION_11 = "11" - - -class SkuTier(str, Enum): - """ - The tier of the particular SKU, e.g. Burstable. - """ - BURSTABLE = "Burstable" - GENERAL_PURPOSE = "GeneralPurpose" - MEMORY_OPTIMIZED = "MemoryOptimized" diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/_inputs.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/_inputs.py deleted file mode 100644 index 45de26e0d2bc..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/_inputs.py +++ /dev/null @@ -1,494 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from ._enums import * - -__all__ = [ - 'AuthConfigArgs', - 'BackupArgs', - 'DataEncryptionArgs', - 'HighAvailabilityArgs', - 'MaintenanceWindowArgs', - 'NetworkArgs', - 'PostgreSqlSkuArgs', - 'StorageArgs', - 'UserAssignedIdentityArgs', - 'UserIdentityArgs', -] - -@pulumi.input_type -class AuthConfigArgs: - def __init__(__self__, *, - active_directory_auth_enabled: Optional[pulumi.Input[bool]] = None, - password_auth_enabled: Optional[pulumi.Input[bool]] = None, - tenant_id: Optional[pulumi.Input[str]] = None): - """ - Authentication configuration properties of a server - :param pulumi.Input[bool] active_directory_auth_enabled: If true, Azure Active Directory authentication is enabled. - :param pulumi.Input[bool] password_auth_enabled: If true, Password authentication is enabled. - :param pulumi.Input[str] tenant_id: Tenant id of the server. - """ - if active_directory_auth_enabled is not None: - pulumi.set(__self__, "active_directory_auth_enabled", active_directory_auth_enabled) - if password_auth_enabled is None: - password_auth_enabled = True - if password_auth_enabled is not None: - pulumi.set(__self__, "password_auth_enabled", password_auth_enabled) - if tenant_id is None: - tenant_id = '' - if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) - - @property - @pulumi.getter(name="activeDirectoryAuthEnabled") - def active_directory_auth_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - If true, Azure Active Directory authentication is enabled. - """ - return pulumi.get(self, "active_directory_auth_enabled") - - @active_directory_auth_enabled.setter - def active_directory_auth_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "active_directory_auth_enabled", value) - - @property - @pulumi.getter(name="passwordAuthEnabled") - def password_auth_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - If true, Password authentication is enabled. - """ - return pulumi.get(self, "password_auth_enabled") - - @password_auth_enabled.setter - def password_auth_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "password_auth_enabled", value) - - @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[pulumi.Input[str]]: - """ - Tenant id of the server. - """ - return pulumi.get(self, "tenant_id") - - @tenant_id.setter - def tenant_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenant_id", value) - - -@pulumi.input_type -class BackupArgs: - def __init__(__self__, *, - backup_retention_days: Optional[pulumi.Input[int]] = None, - geo_redundant_backup: Optional[pulumi.Input[Union[str, 'GeoRedundantBackupEnum']]] = None): - """ - Backup properties of a server - :param pulumi.Input[int] backup_retention_days: Backup retention days for the server. - :param pulumi.Input[Union[str, 'GeoRedundantBackupEnum']] geo_redundant_backup: A value indicating whether Geo-Redundant backup is enabled on the server. - """ - if backup_retention_days is None: - backup_retention_days = 7 - if backup_retention_days is not None: - pulumi.set(__self__, "backup_retention_days", backup_retention_days) - if geo_redundant_backup is None: - geo_redundant_backup = 'Disabled' - if geo_redundant_backup is not None: - pulumi.set(__self__, "geo_redundant_backup", geo_redundant_backup) - - @property - @pulumi.getter(name="backupRetentionDays") - def backup_retention_days(self) -> Optional[pulumi.Input[int]]: - """ - Backup retention days for the server. - """ - return pulumi.get(self, "backup_retention_days") - - @backup_retention_days.setter - def backup_retention_days(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "backup_retention_days", value) - - @property - @pulumi.getter(name="geoRedundantBackup") - def geo_redundant_backup(self) -> Optional[pulumi.Input[Union[str, 'GeoRedundantBackupEnum']]]: - """ - A value indicating whether Geo-Redundant backup is enabled on the server. - """ - return pulumi.get(self, "geo_redundant_backup") - - @geo_redundant_backup.setter - def geo_redundant_backup(self, value: Optional[pulumi.Input[Union[str, 'GeoRedundantBackupEnum']]]): - pulumi.set(self, "geo_redundant_backup", value) - - -@pulumi.input_type -class DataEncryptionArgs: - def __init__(__self__, *, - primary_key_uri: Optional[pulumi.Input[str]] = None, - primary_user_assigned_identity_id: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[Union[str, 'ArmServerKeyType']]] = None): - """ - Data encryption properties of a server - :param pulumi.Input[str] primary_key_uri: URI for the key for data encryption for primary server. - :param pulumi.Input[str] primary_user_assigned_identity_id: Resource Id for the User assigned identity to be used for data encryption for primary server. - :param pulumi.Input[Union[str, 'ArmServerKeyType']] type: Data encryption type to depict if it is System assigned vs Azure Key vault. - """ - if primary_key_uri is not None: - pulumi.set(__self__, "primary_key_uri", primary_key_uri) - if primary_user_assigned_identity_id is not None: - pulumi.set(__self__, "primary_user_assigned_identity_id", primary_user_assigned_identity_id) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="primaryKeyURI") - def primary_key_uri(self) -> Optional[pulumi.Input[str]]: - """ - URI for the key for data encryption for primary server. - """ - return pulumi.get(self, "primary_key_uri") - - @primary_key_uri.setter - def primary_key_uri(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "primary_key_uri", value) - - @property - @pulumi.getter(name="primaryUserAssignedIdentityId") - def primary_user_assigned_identity_id(self) -> Optional[pulumi.Input[str]]: - """ - Resource Id for the User assigned identity to be used for data encryption for primary server. - """ - return pulumi.get(self, "primary_user_assigned_identity_id") - - @primary_user_assigned_identity_id.setter - def primary_user_assigned_identity_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "primary_user_assigned_identity_id", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[Union[str, 'ArmServerKeyType']]]: - """ - Data encryption type to depict if it is System assigned vs Azure Key vault. - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[Union[str, 'ArmServerKeyType']]]): - pulumi.set(self, "type", value) - - -@pulumi.input_type -class HighAvailabilityArgs: - def __init__(__self__, *, - mode: Optional[pulumi.Input[Union[str, 'HighAvailabilityMode']]] = None, - standby_availability_zone: Optional[pulumi.Input[str]] = None): - """ - High availability properties of a server - :param pulumi.Input[Union[str, 'HighAvailabilityMode']] mode: The HA mode for the server. - :param pulumi.Input[str] standby_availability_zone: availability zone information of the standby. - """ - if mode is None: - mode = 'Disabled' - if mode is not None: - pulumi.set(__self__, "mode", mode) - if standby_availability_zone is None: - standby_availability_zone = '' - if standby_availability_zone is not None: - pulumi.set(__self__, "standby_availability_zone", standby_availability_zone) - - @property - @pulumi.getter - def mode(self) -> Optional[pulumi.Input[Union[str, 'HighAvailabilityMode']]]: - """ - The HA mode for the server. - """ - return pulumi.get(self, "mode") - - @mode.setter - def mode(self, value: Optional[pulumi.Input[Union[str, 'HighAvailabilityMode']]]): - pulumi.set(self, "mode", value) - - @property - @pulumi.getter(name="standbyAvailabilityZone") - def standby_availability_zone(self) -> Optional[pulumi.Input[str]]: - """ - availability zone information of the standby. - """ - return pulumi.get(self, "standby_availability_zone") - - @standby_availability_zone.setter - def standby_availability_zone(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "standby_availability_zone", value) - - -@pulumi.input_type -class MaintenanceWindowArgs: - def __init__(__self__, *, - custom_window: Optional[pulumi.Input[str]] = None, - day_of_week: Optional[pulumi.Input[int]] = None, - start_hour: Optional[pulumi.Input[int]] = None, - start_minute: Optional[pulumi.Input[int]] = None): - """ - Maintenance window properties of a server. - :param pulumi.Input[str] custom_window: indicates whether custom window is enabled or disabled - :param pulumi.Input[int] day_of_week: day of week for maintenance window - :param pulumi.Input[int] start_hour: start hour for maintenance window - :param pulumi.Input[int] start_minute: start minute for maintenance window - """ - if custom_window is None: - custom_window = 'Disabled' - if custom_window is not None: - pulumi.set(__self__, "custom_window", custom_window) - if day_of_week is None: - day_of_week = 0 - if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) - if start_hour is None: - start_hour = 0 - if start_hour is not None: - pulumi.set(__self__, "start_hour", start_hour) - if start_minute is None: - start_minute = 0 - if start_minute is not None: - pulumi.set(__self__, "start_minute", start_minute) - - @property - @pulumi.getter(name="customWindow") - def custom_window(self) -> Optional[pulumi.Input[str]]: - """ - indicates whether custom window is enabled or disabled - """ - return pulumi.get(self, "custom_window") - - @custom_window.setter - def custom_window(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "custom_window", value) - - @property - @pulumi.getter(name="dayOfWeek") - def day_of_week(self) -> Optional[pulumi.Input[int]]: - """ - day of week for maintenance window - """ - return pulumi.get(self, "day_of_week") - - @day_of_week.setter - def day_of_week(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "day_of_week", value) - - @property - @pulumi.getter(name="startHour") - def start_hour(self) -> Optional[pulumi.Input[int]]: - """ - start hour for maintenance window - """ - return pulumi.get(self, "start_hour") - - @start_hour.setter - def start_hour(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "start_hour", value) - - @property - @pulumi.getter(name="startMinute") - def start_minute(self) -> Optional[pulumi.Input[int]]: - """ - start minute for maintenance window - """ - return pulumi.get(self, "start_minute") - - @start_minute.setter - def start_minute(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "start_minute", value) - - -@pulumi.input_type -class NetworkArgs: - def __init__(__self__, *, - delegated_subnet_resource_id: Optional[pulumi.Input[str]] = None, - private_dns_zone_arm_resource_id: Optional[pulumi.Input[str]] = None): - """ - Network properties of a server - :param pulumi.Input[str] delegated_subnet_resource_id: delegated subnet arm resource id. - :param pulumi.Input[str] private_dns_zone_arm_resource_id: private dns zone arm resource id. - """ - if delegated_subnet_resource_id is None: - delegated_subnet_resource_id = '' - if delegated_subnet_resource_id is not None: - pulumi.set(__self__, "delegated_subnet_resource_id", delegated_subnet_resource_id) - if private_dns_zone_arm_resource_id is None: - private_dns_zone_arm_resource_id = '' - if private_dns_zone_arm_resource_id is not None: - pulumi.set(__self__, "private_dns_zone_arm_resource_id", private_dns_zone_arm_resource_id) - - @property - @pulumi.getter(name="delegatedSubnetResourceId") - def delegated_subnet_resource_id(self) -> Optional[pulumi.Input[str]]: - """ - delegated subnet arm resource id. - """ - return pulumi.get(self, "delegated_subnet_resource_id") - - @delegated_subnet_resource_id.setter - def delegated_subnet_resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "delegated_subnet_resource_id", value) - - @property - @pulumi.getter(name="privateDnsZoneArmResourceId") - def private_dns_zone_arm_resource_id(self) -> Optional[pulumi.Input[str]]: - """ - private dns zone arm resource id. - """ - return pulumi.get(self, "private_dns_zone_arm_resource_id") - - @private_dns_zone_arm_resource_id.setter - def private_dns_zone_arm_resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_zone_arm_resource_id", value) - - -@pulumi.input_type -class PostgreSqlSkuArgs: - def __init__(__self__, *, - name: pulumi.Input[str], - tier: pulumi.Input[Union[str, 'SkuTier']]): - """ - Sku information related properties of a server. - :param pulumi.Input[str] name: The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - :param pulumi.Input[Union[str, 'SkuTier']] tier: The tier of the particular SKU, e.g. Burstable. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tier", tier) - - @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def tier(self) -> pulumi.Input[Union[str, 'SkuTier']]: - """ - The tier of the particular SKU, e.g. Burstable. - """ - return pulumi.get(self, "tier") - - @tier.setter - def tier(self, value: pulumi.Input[Union[str, 'SkuTier']]): - pulumi.set(self, "tier", value) - - -@pulumi.input_type -class StorageArgs: - def __init__(__self__, *, - storage_size_gb: Optional[pulumi.Input[int]] = None): - """ - Storage properties of a server - :param pulumi.Input[int] storage_size_gb: Max storage allowed for a server. - """ - if storage_size_gb is not None: - pulumi.set(__self__, "storage_size_gb", storage_size_gb) - - @property - @pulumi.getter(name="storageSizeGB") - def storage_size_gb(self) -> Optional[pulumi.Input[int]]: - """ - Max storage allowed for a server. - """ - return pulumi.get(self, "storage_size_gb") - - @storage_size_gb.setter - def storage_size_gb(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "storage_size_gb", value) - - -@pulumi.input_type -class UserAssignedIdentityArgs: - def __init__(__self__, *, - type: pulumi.Input[Union[str, 'IdentityType']], - user_assigned_identities: Optional[pulumi.Input[Mapping[str, pulumi.Input['UserIdentityArgs']]]] = None): - """ - Information describing the identities associated with this application. - :param pulumi.Input[Union[str, 'IdentityType']] type: the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - :param pulumi.Input[Mapping[str, pulumi.Input['UserIdentityArgs']]] user_assigned_identities: represents user assigned identities map. - """ - pulumi.set(__self__, "type", type) - if user_assigned_identities is not None: - pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[Union[str, 'IdentityType']]: - """ - the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[Union[str, 'IdentityType']]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="userAssignedIdentities") - def user_assigned_identities(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['UserIdentityArgs']]]]: - """ - represents user assigned identities map. - """ - return pulumi.get(self, "user_assigned_identities") - - @user_assigned_identities.setter - def user_assigned_identities(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['UserIdentityArgs']]]]): - pulumi.set(self, "user_assigned_identities", value) - - -@pulumi.input_type -class UserIdentityArgs: - def __init__(__self__, *, - client_id: Optional[pulumi.Input[str]] = None, - principal_id: Optional[pulumi.Input[str]] = None): - """ - Describes a single user-assigned identity associated with the application. - :param pulumi.Input[str] client_id: the client identifier of the Service Principal which this identity represents. - :param pulumi.Input[str] principal_id: the object identifier of the Service Principal which this identity represents. - """ - if client_id is not None: - pulumi.set(__self__, "client_id", client_id) - if principal_id is not None: - pulumi.set(__self__, "principal_id", principal_id) - - @property - @pulumi.getter(name="clientId") - def client_id(self) -> Optional[pulumi.Input[str]]: - """ - the client identifier of the Service Principal which this identity represents. - """ - return pulumi.get(self, "client_id") - - @client_id.setter - def client_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "client_id", value) - - @property - @pulumi.getter(name="principalId") - def principal_id(self) -> Optional[pulumi.Input[str]]: - """ - the object identifier of the Service Principal which this identity represents. - """ - return pulumi.get(self, "principal_id") - - @principal_id.setter - def principal_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "principal_id", value) - - diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/administrator.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/administrator.py deleted file mode 100644 index 8e9f2d9d0534..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/administrator.py +++ /dev/null @@ -1,280 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * - -__all__ = ['AdministratorArgs', 'Administrator'] - -@pulumi.input_type -class AdministratorArgs: - def __init__(__self__, *, - resource_group_name: pulumi.Input[str], - server_name: pulumi.Input[str], - object_id: Optional[pulumi.Input[str]] = None, - principal_name: Optional[pulumi.Input[str]] = None, - principal_type: Optional[pulumi.Input[Union[str, 'PrincipalType']]] = None, - tenant_id: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Administrator resource. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[str] object_id: Guid of the objectId for the administrator. - :param pulumi.Input[str] principal_name: Active Directory administrator principal name. - :param pulumi.Input[Union[str, 'PrincipalType']] principal_type: The principal type used to represent the type of Active Directory Administrator. - :param pulumi.Input[str] tenant_id: The tenantId of the Active Directory administrator. - """ - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "server_name", server_name) - if object_id is not None: - pulumi.set(__self__, "object_id", object_id) - if principal_name is not None: - pulumi.set(__self__, "principal_name", principal_name) - if principal_type is not None: - pulumi.set(__self__, "principal_type", principal_type) - if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group. The name is case insensitive. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="serverName") - def server_name(self) -> pulumi.Input[str]: - """ - The name of the server. - """ - return pulumi.get(self, "server_name") - - @server_name.setter - def server_name(self, value: pulumi.Input[str]): - pulumi.set(self, "server_name", value) - - @property - @pulumi.getter(name="objectId") - def object_id(self) -> Optional[pulumi.Input[str]]: - """ - Guid of the objectId for the administrator. - """ - return pulumi.get(self, "object_id") - - @object_id.setter - def object_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "object_id", value) - - @property - @pulumi.getter(name="principalName") - def principal_name(self) -> Optional[pulumi.Input[str]]: - """ - Active Directory administrator principal name. - """ - return pulumi.get(self, "principal_name") - - @principal_name.setter - def principal_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "principal_name", value) - - @property - @pulumi.getter(name="principalType") - def principal_type(self) -> Optional[pulumi.Input[Union[str, 'PrincipalType']]]: - """ - The principal type used to represent the type of Active Directory Administrator. - """ - return pulumi.get(self, "principal_type") - - @principal_type.setter - def principal_type(self, value: Optional[pulumi.Input[Union[str, 'PrincipalType']]]): - pulumi.set(self, "principal_type", value) - - @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[pulumi.Input[str]]: - """ - The tenantId of the Active Directory administrator. - """ - return pulumi.get(self, "tenant_id") - - @tenant_id.setter - def tenant_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenant_id", value) - - -class Administrator(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - object_id: Optional[pulumi.Input[str]] = None, - principal_name: Optional[pulumi.Input[str]] = None, - principal_type: Optional[pulumi.Input[Union[str, 'PrincipalType']]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - tenant_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Represents an Active Directory administrator. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] object_id: Guid of the objectId for the administrator. - :param pulumi.Input[str] principal_name: Active Directory administrator principal name. - :param pulumi.Input[Union[str, 'PrincipalType']] principal_type: The principal type used to represent the type of Active Directory Administrator. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[str] tenant_id: The tenantId of the Active Directory administrator. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: AdministratorArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Represents an Active Directory administrator. - - :param str resource_name: The name of the resource. - :param AdministratorArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(AdministratorArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - object_id: Optional[pulumi.Input[str]] = None, - principal_name: Optional[pulumi.Input[str]] = None, - principal_type: Optional[pulumi.Input[Union[str, 'PrincipalType']]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - tenant_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = AdministratorArgs.__new__(AdministratorArgs) - - __props__.__dict__["object_id"] = object_id - __props__.__dict__["principal_name"] = principal_name - __props__.__dict__["principal_type"] = principal_type - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if server_name is None and not opts.urn: - raise TypeError("Missing required property 'server_name'") - __props__.__dict__["server_name"] = server_name - __props__.__dict__["tenant_id"] = tenant_id - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - super(Administrator, __self__).__init__( - 'azure-native:dbforpostgresql/v20220308preview:Administrator', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Administrator': - """ - Get an existing Administrator resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = AdministratorArgs.__new__(AdministratorArgs) - - __props__.__dict__["name"] = None - __props__.__dict__["object_id"] = None - __props__.__dict__["principal_name"] = None - __props__.__dict__["principal_type"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["tenant_id"] = None - __props__.__dict__["type"] = None - return Administrator(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="objectId") - def object_id(self) -> pulumi.Output[Optional[str]]: - """ - The objectId of the Active Directory administrator. - """ - return pulumi.get(self, "object_id") - - @property - @pulumi.getter(name="principalName") - def principal_name(self) -> pulumi.Output[Optional[str]]: - """ - Active Directory administrator principal name. - """ - return pulumi.get(self, "principal_name") - - @property - @pulumi.getter(name="principalType") - def principal_type(self) -> pulumi.Output[Optional[str]]: - """ - The principal type used to represent the type of Active Directory Administrator. - """ - return pulumi.get(self, "principal_type") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> pulumi.Output[Optional[str]]: - """ - The tenantId of the Active Directory administrator. - """ - return pulumi.get(self, "tenant_id") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/configuration.py deleted file mode 100644 index 2e9d0cb8189e..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/configuration.py +++ /dev/null @@ -1,333 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['ConfigurationArgs', 'Configuration'] - -@pulumi.input_type -class ConfigurationArgs: - def __init__(__self__, *, - resource_group_name: pulumi.Input[str], - server_name: pulumi.Input[str], - configuration_name: Optional[pulumi.Input[str]] = None, - source: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Configuration resource. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[str] configuration_name: The name of the server configuration. - :param pulumi.Input[str] source: Source of the configuration. - :param pulumi.Input[str] value: Value of the configuration. - """ - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "server_name", server_name) - if configuration_name is not None: - pulumi.set(__self__, "configuration_name", configuration_name) - if source is not None: - pulumi.set(__self__, "source", source) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group. The name is case insensitive. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="serverName") - def server_name(self) -> pulumi.Input[str]: - """ - The name of the server. - """ - return pulumi.get(self, "server_name") - - @server_name.setter - def server_name(self, value: pulumi.Input[str]): - pulumi.set(self, "server_name", value) - - @property - @pulumi.getter(name="configurationName") - def configuration_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the server configuration. - """ - return pulumi.get(self, "configuration_name") - - @configuration_name.setter - def configuration_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "configuration_name", value) - - @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - Source of the configuration. - """ - return pulumi.get(self, "source") - - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - Value of the configuration. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -class Configuration(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - configuration_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - source: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Represents a Configuration. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] configuration_name: The name of the server configuration. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[str] source: Source of the configuration. - :param pulumi.Input[str] value: Value of the configuration. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: ConfigurationArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Represents a Configuration. - - :param str resource_name: The name of the resource. - :param ConfigurationArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - configuration_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - source: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ConfigurationArgs.__new__(ConfigurationArgs) - - __props__.__dict__["configuration_name"] = configuration_name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if server_name is None and not opts.urn: - raise TypeError("Missing required property 'server_name'") - __props__.__dict__["server_name"] = server_name - __props__.__dict__["source"] = source - __props__.__dict__["value"] = value - __props__.__dict__["allowed_values"] = None - __props__.__dict__["data_type"] = None - __props__.__dict__["default_value"] = None - __props__.__dict__["description"] = None - __props__.__dict__["documentation_link"] = None - __props__.__dict__["is_config_pending_restart"] = None - __props__.__dict__["is_dynamic_config"] = None - __props__.__dict__["is_read_only"] = None - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - __props__.__dict__["unit"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Configuration, __self__).__init__( - 'azure-native:dbforpostgresql/v20220308preview:Configuration', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Configuration': - """ - Get an existing Configuration resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = ConfigurationArgs.__new__(ConfigurationArgs) - - __props__.__dict__["allowed_values"] = None - __props__.__dict__["data_type"] = None - __props__.__dict__["default_value"] = None - __props__.__dict__["description"] = None - __props__.__dict__["documentation_link"] = None - __props__.__dict__["is_config_pending_restart"] = None - __props__.__dict__["is_dynamic_config"] = None - __props__.__dict__["is_read_only"] = None - __props__.__dict__["name"] = None - __props__.__dict__["source"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - __props__.__dict__["unit"] = None - __props__.__dict__["value"] = None - return Configuration(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="allowedValues") - def allowed_values(self) -> pulumi.Output[str]: - """ - Allowed values of the configuration. - """ - return pulumi.get(self, "allowed_values") - - @property - @pulumi.getter(name="dataType") - def data_type(self) -> pulumi.Output[str]: - """ - Data type of the configuration. - """ - return pulumi.get(self, "data_type") - - @property - @pulumi.getter(name="defaultValue") - def default_value(self) -> pulumi.Output[str]: - """ - Default value of the configuration. - """ - return pulumi.get(self, "default_value") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[str]: - """ - Description of the configuration. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="documentationLink") - def documentation_link(self) -> pulumi.Output[str]: - """ - Configuration documentation link. - """ - return pulumi.get(self, "documentation_link") - - @property - @pulumi.getter(name="isConfigPendingRestart") - def is_config_pending_restart(self) -> pulumi.Output[bool]: - """ - Configuration is pending restart or not. - """ - return pulumi.get(self, "is_config_pending_restart") - - @property - @pulumi.getter(name="isDynamicConfig") - def is_dynamic_config(self) -> pulumi.Output[bool]: - """ - Configuration dynamic or static. - """ - return pulumi.get(self, "is_dynamic_config") - - @property - @pulumi.getter(name="isReadOnly") - def is_read_only(self) -> pulumi.Output[bool]: - """ - Configuration read-only or not. - """ - return pulumi.get(self, "is_read_only") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def source(self) -> pulumi.Output[Optional[str]]: - """ - Source of the configuration. - """ - return pulumi.get(self, "source") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def unit(self) -> pulumi.Output[str]: - """ - Configuration unit. - """ - return pulumi.get(self, "unit") - - @property - @pulumi.getter - def value(self) -> pulumi.Output[Optional[str]]: - """ - Value of the configuration. - """ - return pulumi.get(self, "value") - diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/database.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/database.py deleted file mode 100644 index 33ea09e0ed39..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/database.py +++ /dev/null @@ -1,243 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['DatabaseArgs', 'Database'] - -@pulumi.input_type -class DatabaseArgs: - def __init__(__self__, *, - resource_group_name: pulumi.Input[str], - server_name: pulumi.Input[str], - charset: Optional[pulumi.Input[str]] = None, - collation: Optional[pulumi.Input[str]] = None, - database_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Database resource. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[str] charset: The charset of the database. - :param pulumi.Input[str] collation: The collation of the database. - :param pulumi.Input[str] database_name: The name of the database. - """ - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "server_name", server_name) - if charset is not None: - pulumi.set(__self__, "charset", charset) - if collation is not None: - pulumi.set(__self__, "collation", collation) - if database_name is not None: - pulumi.set(__self__, "database_name", database_name) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group. The name is case insensitive. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="serverName") - def server_name(self) -> pulumi.Input[str]: - """ - The name of the server. - """ - return pulumi.get(self, "server_name") - - @server_name.setter - def server_name(self, value: pulumi.Input[str]): - pulumi.set(self, "server_name", value) - - @property - @pulumi.getter - def charset(self) -> Optional[pulumi.Input[str]]: - """ - The charset of the database. - """ - return pulumi.get(self, "charset") - - @charset.setter - def charset(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "charset", value) - - @property - @pulumi.getter - def collation(self) -> Optional[pulumi.Input[str]]: - """ - The collation of the database. - """ - return pulumi.get(self, "collation") - - @collation.setter - def collation(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "collation", value) - - @property - @pulumi.getter(name="databaseName") - def database_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the database. - """ - return pulumi.get(self, "database_name") - - @database_name.setter - def database_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "database_name", value) - - -class Database(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - charset: Optional[pulumi.Input[str]] = None, - collation: Optional[pulumi.Input[str]] = None, - database_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Represents a Database. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] charset: The charset of the database. - :param pulumi.Input[str] collation: The collation of the database. - :param pulumi.Input[str] database_name: The name of the database. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: DatabaseArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Represents a Database. - - :param str resource_name: The name of the resource. - :param DatabaseArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(DatabaseArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - charset: Optional[pulumi.Input[str]] = None, - collation: Optional[pulumi.Input[str]] = None, - database_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = DatabaseArgs.__new__(DatabaseArgs) - - __props__.__dict__["charset"] = charset - __props__.__dict__["collation"] = collation - __props__.__dict__["database_name"] = database_name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if server_name is None and not opts.urn: - raise TypeError("Missing required property 'server_name'") - __props__.__dict__["server_name"] = server_name - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Database, __self__).__init__( - 'azure-native:dbforpostgresql/v20220308preview:Database', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Database': - """ - Get an existing Database resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = DatabaseArgs.__new__(DatabaseArgs) - - __props__.__dict__["charset"] = None - __props__.__dict__["collation"] = None - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return Database(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def charset(self) -> pulumi.Output[Optional[str]]: - """ - The charset of the database. - """ - return pulumi.get(self, "charset") - - @property - @pulumi.getter - def collation(self) -> pulumi.Output[Optional[str]]: - """ - The collation of the database. - """ - return pulumi.get(self, "collation") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/firewall_rule.py deleted file mode 100644 index 50d15c095eab..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/firewall_rule.py +++ /dev/null @@ -1,245 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['FirewallRuleArgs', 'FirewallRule'] - -@pulumi.input_type -class FirewallRuleArgs: - def __init__(__self__, *, - end_ip_address: pulumi.Input[str], - resource_group_name: pulumi.Input[str], - server_name: pulumi.Input[str], - start_ip_address: pulumi.Input[str], - firewall_rule_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a FirewallRule resource. - :param pulumi.Input[str] end_ip_address: The end IP address of the server firewall rule. Must be IPv4 format. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[str] start_ip_address: The start IP address of the server firewall rule. Must be IPv4 format. - :param pulumi.Input[str] firewall_rule_name: The name of the server firewall rule. - """ - pulumi.set(__self__, "end_ip_address", end_ip_address) - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "server_name", server_name) - pulumi.set(__self__, "start_ip_address", start_ip_address) - if firewall_rule_name is not None: - pulumi.set(__self__, "firewall_rule_name", firewall_rule_name) - - @property - @pulumi.getter(name="endIpAddress") - def end_ip_address(self) -> pulumi.Input[str]: - """ - The end IP address of the server firewall rule. Must be IPv4 format. - """ - return pulumi.get(self, "end_ip_address") - - @end_ip_address.setter - def end_ip_address(self, value: pulumi.Input[str]): - pulumi.set(self, "end_ip_address", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group. The name is case insensitive. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="serverName") - def server_name(self) -> pulumi.Input[str]: - """ - The name of the server. - """ - return pulumi.get(self, "server_name") - - @server_name.setter - def server_name(self, value: pulumi.Input[str]): - pulumi.set(self, "server_name", value) - - @property - @pulumi.getter(name="startIpAddress") - def start_ip_address(self) -> pulumi.Input[str]: - """ - The start IP address of the server firewall rule. Must be IPv4 format. - """ - return pulumi.get(self, "start_ip_address") - - @start_ip_address.setter - def start_ip_address(self, value: pulumi.Input[str]): - pulumi.set(self, "start_ip_address", value) - - @property - @pulumi.getter(name="firewallRuleName") - def firewall_rule_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the server firewall rule. - """ - return pulumi.get(self, "firewall_rule_name") - - @firewall_rule_name.setter - def firewall_rule_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "firewall_rule_name", value) - - -class FirewallRule(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - end_ip_address: Optional[pulumi.Input[str]] = None, - firewall_rule_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - start_ip_address: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Represents a server firewall rule. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] end_ip_address: The end IP address of the server firewall rule. Must be IPv4 format. - :param pulumi.Input[str] firewall_rule_name: The name of the server firewall rule. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[str] start_ip_address: The start IP address of the server firewall rule. Must be IPv4 format. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: FirewallRuleArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Represents a server firewall rule. - - :param str resource_name: The name of the resource. - :param FirewallRuleArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(FirewallRuleArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - end_ip_address: Optional[pulumi.Input[str]] = None, - firewall_rule_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - start_ip_address: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = FirewallRuleArgs.__new__(FirewallRuleArgs) - - if end_ip_address is None and not opts.urn: - raise TypeError("Missing required property 'end_ip_address'") - __props__.__dict__["end_ip_address"] = end_ip_address - __props__.__dict__["firewall_rule_name"] = firewall_rule_name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if server_name is None and not opts.urn: - raise TypeError("Missing required property 'server_name'") - __props__.__dict__["server_name"] = server_name - if start_ip_address is None and not opts.urn: - raise TypeError("Missing required property 'start_ip_address'") - __props__.__dict__["start_ip_address"] = start_ip_address - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:FirewallRule")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(FirewallRule, __self__).__init__( - 'azure-native:dbforpostgresql/v20220308preview:FirewallRule', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'FirewallRule': - """ - Get an existing FirewallRule resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = FirewallRuleArgs.__new__(FirewallRuleArgs) - - __props__.__dict__["end_ip_address"] = None - __props__.__dict__["name"] = None - __props__.__dict__["start_ip_address"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return FirewallRule(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="endIpAddress") - def end_ip_address(self) -> pulumi.Output[str]: - """ - The end IP address of the server firewall rule. Must be IPv4 format. - """ - return pulumi.get(self, "end_ip_address") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="startIpAddress") - def start_ip_address(self) -> pulumi.Output[str]: - """ - The start IP address of the server firewall rule. Must be IPv4 format. - """ - return pulumi.get(self, "start_ip_address") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_administrator.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_administrator.py deleted file mode 100644 index 14d31b27a9ff..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_administrator.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetAdministratorResult', - 'AwaitableGetAdministratorResult', - 'get_administrator', - 'get_administrator_output', -] - -@pulumi.output_type -class GetAdministratorResult: - """ - Represents an Active Directory administrator. - """ - def __init__(__self__, id=None, name=None, object_id=None, principal_name=None, principal_type=None, system_data=None, tenant_id=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if object_id and not isinstance(object_id, str): - raise TypeError("Expected argument 'object_id' to be a str") - pulumi.set(__self__, "object_id", object_id) - if principal_name and not isinstance(principal_name, str): - raise TypeError("Expected argument 'principal_name' to be a str") - pulumi.set(__self__, "principal_name", principal_name) - if principal_type and not isinstance(principal_type, str): - raise TypeError("Expected argument 'principal_type' to be a str") - pulumi.set(__self__, "principal_type", principal_type) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if tenant_id and not isinstance(tenant_id, str): - raise TypeError("Expected argument 'tenant_id' to be a str") - pulumi.set(__self__, "tenant_id", tenant_id) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="objectId") - def object_id(self) -> Optional[str]: - """ - The objectId of the Active Directory administrator. - """ - return pulumi.get(self, "object_id") - - @property - @pulumi.getter(name="principalName") - def principal_name(self) -> Optional[str]: - """ - Active Directory administrator principal name. - """ - return pulumi.get(self, "principal_name") - - @property - @pulumi.getter(name="principalType") - def principal_type(self) -> Optional[str]: - """ - The principal type used to represent the type of Active Directory Administrator. - """ - return pulumi.get(self, "principal_type") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[str]: - """ - The tenantId of the Active Directory administrator. - """ - return pulumi.get(self, "tenant_id") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetAdministratorResult(GetAdministratorResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetAdministratorResult( - id=self.id, - name=self.name, - object_id=self.object_id, - principal_name=self.principal_name, - principal_type=self.principal_type, - system_data=self.system_data, - tenant_id=self.tenant_id, - type=self.type) - - -def get_administrator(object_id: Optional[str] = None, - resource_group_name: Optional[str] = None, - server_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAdministratorResult: - """ - Represents an Active Directory administrator. - - - :param str object_id: Guid of the objectId for the administrator. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - __args__ = dict() - __args__['objectId'] = object_id - __args__['resourceGroupName'] = resource_group_name - __args__['serverName'] = server_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20220308preview:getAdministrator', __args__, opts=opts, typ=GetAdministratorResult).value - - return AwaitableGetAdministratorResult( - id=__ret__.id, - name=__ret__.name, - object_id=__ret__.object_id, - principal_name=__ret__.principal_name, - principal_type=__ret__.principal_type, - system_data=__ret__.system_data, - tenant_id=__ret__.tenant_id, - type=__ret__.type) - - -@_utilities.lift_output_func(get_administrator) -def get_administrator_output(object_id: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAdministratorResult]: - """ - Represents an Active Directory administrator. - - - :param str object_id: Guid of the objectId for the administrator. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - ... diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_configuration.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_configuration.py deleted file mode 100644 index 63e72dbc1b88..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_configuration.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetConfigurationResult', - 'AwaitableGetConfigurationResult', - 'get_configuration', - 'get_configuration_output', -] - -@pulumi.output_type -class GetConfigurationResult: - """ - Represents a Configuration. - """ - def __init__(__self__, allowed_values=None, data_type=None, default_value=None, description=None, documentation_link=None, id=None, is_config_pending_restart=None, is_dynamic_config=None, is_read_only=None, name=None, source=None, system_data=None, type=None, unit=None, value=None): - if allowed_values and not isinstance(allowed_values, str): - raise TypeError("Expected argument 'allowed_values' to be a str") - pulumi.set(__self__, "allowed_values", allowed_values) - if data_type and not isinstance(data_type, str): - raise TypeError("Expected argument 'data_type' to be a str") - pulumi.set(__self__, "data_type", data_type) - if default_value and not isinstance(default_value, str): - raise TypeError("Expected argument 'default_value' to be a str") - pulumi.set(__self__, "default_value", default_value) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if documentation_link and not isinstance(documentation_link, str): - raise TypeError("Expected argument 'documentation_link' to be a str") - pulumi.set(__self__, "documentation_link", documentation_link) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if is_config_pending_restart and not isinstance(is_config_pending_restart, bool): - raise TypeError("Expected argument 'is_config_pending_restart' to be a bool") - pulumi.set(__self__, "is_config_pending_restart", is_config_pending_restart) - if is_dynamic_config and not isinstance(is_dynamic_config, bool): - raise TypeError("Expected argument 'is_dynamic_config' to be a bool") - pulumi.set(__self__, "is_dynamic_config", is_dynamic_config) - if is_read_only and not isinstance(is_read_only, bool): - raise TypeError("Expected argument 'is_read_only' to be a bool") - pulumi.set(__self__, "is_read_only", is_read_only) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if source and not isinstance(source, str): - raise TypeError("Expected argument 'source' to be a str") - pulumi.set(__self__, "source", source) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - if unit and not isinstance(unit, str): - raise TypeError("Expected argument 'unit' to be a str") - pulumi.set(__self__, "unit", unit) - if value and not isinstance(value, str): - raise TypeError("Expected argument 'value' to be a str") - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter(name="allowedValues") - def allowed_values(self) -> str: - """ - Allowed values of the configuration. - """ - return pulumi.get(self, "allowed_values") - - @property - @pulumi.getter(name="dataType") - def data_type(self) -> str: - """ - Data type of the configuration. - """ - return pulumi.get(self, "data_type") - - @property - @pulumi.getter(name="defaultValue") - def default_value(self) -> str: - """ - Default value of the configuration. - """ - return pulumi.get(self, "default_value") - - @property - @pulumi.getter - def description(self) -> str: - """ - Description of the configuration. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="documentationLink") - def documentation_link(self) -> str: - """ - Configuration documentation link. - """ - return pulumi.get(self, "documentation_link") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="isConfigPendingRestart") - def is_config_pending_restart(self) -> bool: - """ - Configuration is pending restart or not. - """ - return pulumi.get(self, "is_config_pending_restart") - - @property - @pulumi.getter(name="isDynamicConfig") - def is_dynamic_config(self) -> bool: - """ - Configuration dynamic or static. - """ - return pulumi.get(self, "is_dynamic_config") - - @property - @pulumi.getter(name="isReadOnly") - def is_read_only(self) -> bool: - """ - Configuration read-only or not. - """ - return pulumi.get(self, "is_read_only") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def source(self) -> Optional[str]: - """ - Source of the configuration. - """ - return pulumi.get(self, "source") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def unit(self) -> str: - """ - Configuration unit. - """ - return pulumi.get(self, "unit") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - Value of the configuration. - """ - return pulumi.get(self, "value") - - -class AwaitableGetConfigurationResult(GetConfigurationResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetConfigurationResult( - allowed_values=self.allowed_values, - data_type=self.data_type, - default_value=self.default_value, - description=self.description, - documentation_link=self.documentation_link, - id=self.id, - is_config_pending_restart=self.is_config_pending_restart, - is_dynamic_config=self.is_dynamic_config, - is_read_only=self.is_read_only, - name=self.name, - source=self.source, - system_data=self.system_data, - type=self.type, - unit=self.unit, - value=self.value) - - -def get_configuration(configuration_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - server_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigurationResult: - """ - Represents a Configuration. - - - :param str configuration_name: The name of the server configuration. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - __args__ = dict() - __args__['configurationName'] = configuration_name - __args__['resourceGroupName'] = resource_group_name - __args__['serverName'] = server_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20220308preview:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult).value - - return AwaitableGetConfigurationResult( - allowed_values=__ret__.allowed_values, - data_type=__ret__.data_type, - default_value=__ret__.default_value, - description=__ret__.description, - documentation_link=__ret__.documentation_link, - id=__ret__.id, - is_config_pending_restart=__ret__.is_config_pending_restart, - is_dynamic_config=__ret__.is_dynamic_config, - is_read_only=__ret__.is_read_only, - name=__ret__.name, - source=__ret__.source, - system_data=__ret__.system_data, - type=__ret__.type, - unit=__ret__.unit, - value=__ret__.value) - - -@_utilities.lift_output_func(get_configuration) -def get_configuration_output(configuration_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]: - """ - Represents a Configuration. - - - :param str configuration_name: The name of the server configuration. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - ... diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_database.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_database.py deleted file mode 100644 index 3215099d0e55..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_database.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetDatabaseResult', - 'AwaitableGetDatabaseResult', - 'get_database', - 'get_database_output', -] - -@pulumi.output_type -class GetDatabaseResult: - """ - Represents a Database. - """ - def __init__(__self__, charset=None, collation=None, id=None, name=None, system_data=None, type=None): - if charset and not isinstance(charset, str): - raise TypeError("Expected argument 'charset' to be a str") - pulumi.set(__self__, "charset", charset) - if collation and not isinstance(collation, str): - raise TypeError("Expected argument 'collation' to be a str") - pulumi.set(__self__, "collation", collation) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def charset(self) -> Optional[str]: - """ - The charset of the database. - """ - return pulumi.get(self, "charset") - - @property - @pulumi.getter - def collation(self) -> Optional[str]: - """ - The collation of the database. - """ - return pulumi.get(self, "collation") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetDatabaseResult(GetDatabaseResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetDatabaseResult( - charset=self.charset, - collation=self.collation, - id=self.id, - name=self.name, - system_data=self.system_data, - type=self.type) - - -def get_database(database_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - server_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult: - """ - Represents a Database. - - - :param str database_name: The name of the database. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - __args__ = dict() - __args__['databaseName'] = database_name - __args__['resourceGroupName'] = resource_group_name - __args__['serverName'] = server_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20220308preview:getDatabase', __args__, opts=opts, typ=GetDatabaseResult).value - - return AwaitableGetDatabaseResult( - charset=__ret__.charset, - collation=__ret__.collation, - id=__ret__.id, - name=__ret__.name, - system_data=__ret__.system_data, - type=__ret__.type) - - -@_utilities.lift_output_func(get_database) -def get_database_output(database_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]: - """ - Represents a Database. - - - :param str database_name: The name of the database. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - ... diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_firewall_rule.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_firewall_rule.py deleted file mode 100644 index 3f0144c2afae..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_firewall_rule.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetFirewallRuleResult', - 'AwaitableGetFirewallRuleResult', - 'get_firewall_rule', - 'get_firewall_rule_output', -] - -@pulumi.output_type -class GetFirewallRuleResult: - """ - Represents a server firewall rule. - """ - def __init__(__self__, end_ip_address=None, id=None, name=None, start_ip_address=None, system_data=None, type=None): - if end_ip_address and not isinstance(end_ip_address, str): - raise TypeError("Expected argument 'end_ip_address' to be a str") - pulumi.set(__self__, "end_ip_address", end_ip_address) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if start_ip_address and not isinstance(start_ip_address, str): - raise TypeError("Expected argument 'start_ip_address' to be a str") - pulumi.set(__self__, "start_ip_address", start_ip_address) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="endIpAddress") - def end_ip_address(self) -> str: - """ - The end IP address of the server firewall rule. Must be IPv4 format. - """ - return pulumi.get(self, "end_ip_address") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="startIpAddress") - def start_ip_address(self) -> str: - """ - The start IP address of the server firewall rule. Must be IPv4 format. - """ - return pulumi.get(self, "start_ip_address") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetFirewallRuleResult(GetFirewallRuleResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFirewallRuleResult( - end_ip_address=self.end_ip_address, - id=self.id, - name=self.name, - start_ip_address=self.start_ip_address, - system_data=self.system_data, - type=self.type) - - -def get_firewall_rule(firewall_rule_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - server_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallRuleResult: - """ - Represents a server firewall rule. - - - :param str firewall_rule_name: The name of the server firewall rule. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - __args__ = dict() - __args__['firewallRuleName'] = firewall_rule_name - __args__['resourceGroupName'] = resource_group_name - __args__['serverName'] = server_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20220308preview:getFirewallRule', __args__, opts=opts, typ=GetFirewallRuleResult).value - - return AwaitableGetFirewallRuleResult( - end_ip_address=__ret__.end_ip_address, - id=__ret__.id, - name=__ret__.name, - start_ip_address=__ret__.start_ip_address, - system_data=__ret__.system_data, - type=__ret__.type) - - -@_utilities.lift_output_func(get_firewall_rule) -def get_firewall_rule_output(firewall_rule_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallRuleResult]: - """ - Represents a server firewall rule. - - - :param str firewall_rule_name: The name of the server firewall rule. - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - ... diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_server.py deleted file mode 100644 index 05d156de03e4..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/get_server.py +++ /dev/null @@ -1,365 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetServerResult', - 'AwaitableGetServerResult', - 'get_server', - 'get_server_output', -] - -@pulumi.output_type -class GetServerResult: - """ - Represents a server. - """ - def __init__(__self__, administrator_login=None, auth_config=None, availability_zone=None, backup=None, data_encryption=None, fully_qualified_domain_name=None, high_availability=None, id=None, identity=None, location=None, maintenance_window=None, minor_version=None, name=None, network=None, replica_capacity=None, replication_role=None, sku=None, state=None, storage=None, system_data=None, tags=None, type=None, version=None): - if administrator_login and not isinstance(administrator_login, str): - raise TypeError("Expected argument 'administrator_login' to be a str") - pulumi.set(__self__, "administrator_login", administrator_login) - if auth_config and not isinstance(auth_config, dict): - raise TypeError("Expected argument 'auth_config' to be a dict") - pulumi.set(__self__, "auth_config", auth_config) - if availability_zone and not isinstance(availability_zone, str): - raise TypeError("Expected argument 'availability_zone' to be a str") - pulumi.set(__self__, "availability_zone", availability_zone) - if backup and not isinstance(backup, dict): - raise TypeError("Expected argument 'backup' to be a dict") - pulumi.set(__self__, "backup", backup) - if data_encryption and not isinstance(data_encryption, dict): - raise TypeError("Expected argument 'data_encryption' to be a dict") - pulumi.set(__self__, "data_encryption", data_encryption) - if fully_qualified_domain_name and not isinstance(fully_qualified_domain_name, str): - raise TypeError("Expected argument 'fully_qualified_domain_name' to be a str") - pulumi.set(__self__, "fully_qualified_domain_name", fully_qualified_domain_name) - if high_availability and not isinstance(high_availability, dict): - raise TypeError("Expected argument 'high_availability' to be a dict") - pulumi.set(__self__, "high_availability", high_availability) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if identity and not isinstance(identity, dict): - raise TypeError("Expected argument 'identity' to be a dict") - pulumi.set(__self__, "identity", identity) - if location and not isinstance(location, str): - raise TypeError("Expected argument 'location' to be a str") - pulumi.set(__self__, "location", location) - if maintenance_window and not isinstance(maintenance_window, dict): - raise TypeError("Expected argument 'maintenance_window' to be a dict") - pulumi.set(__self__, "maintenance_window", maintenance_window) - if minor_version and not isinstance(minor_version, str): - raise TypeError("Expected argument 'minor_version' to be a str") - pulumi.set(__self__, "minor_version", minor_version) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if network and not isinstance(network, dict): - raise TypeError("Expected argument 'network' to be a dict") - pulumi.set(__self__, "network", network) - if replica_capacity and not isinstance(replica_capacity, int): - raise TypeError("Expected argument 'replica_capacity' to be a int") - pulumi.set(__self__, "replica_capacity", replica_capacity) - if replication_role and not isinstance(replication_role, str): - raise TypeError("Expected argument 'replication_role' to be a str") - pulumi.set(__self__, "replication_role", replication_role) - if sku and not isinstance(sku, dict): - raise TypeError("Expected argument 'sku' to be a dict") - pulumi.set(__self__, "sku", sku) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if storage and not isinstance(storage, dict): - raise TypeError("Expected argument 'storage' to be a dict") - pulumi.set(__self__, "storage", storage) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - if version and not isinstance(version, str): - raise TypeError("Expected argument 'version' to be a str") - pulumi.set(__self__, "version", version) - - @property - @pulumi.getter(name="administratorLogin") - def administrator_login(self) -> Optional[str]: - """ - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - """ - return pulumi.get(self, "administrator_login") - - @property - @pulumi.getter(name="authConfig") - def auth_config(self) -> Optional['outputs.AuthConfigResponse']: - """ - AuthConfig properties of a server. - """ - return pulumi.get(self, "auth_config") - - @property - @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> Optional[str]: - """ - availability zone information of the server. - """ - return pulumi.get(self, "availability_zone") - - @property - @pulumi.getter - def backup(self) -> Optional['outputs.BackupResponse']: - """ - Backup properties of a server. - """ - return pulumi.get(self, "backup") - - @property - @pulumi.getter(name="dataEncryption") - def data_encryption(self) -> Optional['outputs.DataEncryptionResponse']: - """ - Data encryption properties of a server. - """ - return pulumi.get(self, "data_encryption") - - @property - @pulumi.getter(name="fullyQualifiedDomainName") - def fully_qualified_domain_name(self) -> str: - """ - The fully qualified domain name of a server. - """ - return pulumi.get(self, "fully_qualified_domain_name") - - @property - @pulumi.getter(name="highAvailability") - def high_availability(self) -> Optional['outputs.HighAvailabilityResponse']: - """ - High availability properties of a server. - """ - return pulumi.get(self, "high_availability") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def identity(self) -> Optional['outputs.UserAssignedIdentityResponse']: - """ - Describes the identity of the application. - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter - def location(self) -> str: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> Optional['outputs.MaintenanceWindowResponse']: - """ - Maintenance window properties of a server. - """ - return pulumi.get(self, "maintenance_window") - - @property - @pulumi.getter(name="minorVersion") - def minor_version(self) -> str: - """ - The minor version of the server. - """ - return pulumi.get(self, "minor_version") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def network(self) -> Optional['outputs.NetworkResponse']: - """ - Network properties of a server. - """ - return pulumi.get(self, "network") - - @property - @pulumi.getter(name="replicaCapacity") - def replica_capacity(self) -> Optional[int]: - """ - Replicas allowed for a server. - """ - return pulumi.get(self, "replica_capacity") - - @property - @pulumi.getter(name="replicationRole") - def replication_role(self) -> Optional[str]: - """ - Replication role of the server - """ - return pulumi.get(self, "replication_role") - - @property - @pulumi.getter - def sku(self) -> Optional['outputs.PostgreSqlSkuResponse']: - """ - The SKU (pricing tier) of the server. - """ - return pulumi.get(self, "sku") - - @property - @pulumi.getter - def state(self) -> str: - """ - A state of a server that is visible to user. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def storage(self) -> Optional['outputs.StorageResponse']: - """ - Storage properties of a server. - """ - return pulumi.get(self, "storage") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - Resource tags. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def version(self) -> Optional[str]: - """ - PostgreSQL Server version. - """ - return pulumi.get(self, "version") - - -class AwaitableGetServerResult(GetServerResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetServerResult( - administrator_login=self.administrator_login, - auth_config=self.auth_config, - availability_zone=self.availability_zone, - backup=self.backup, - data_encryption=self.data_encryption, - fully_qualified_domain_name=self.fully_qualified_domain_name, - high_availability=self.high_availability, - id=self.id, - identity=self.identity, - location=self.location, - maintenance_window=self.maintenance_window, - minor_version=self.minor_version, - name=self.name, - network=self.network, - replica_capacity=self.replica_capacity, - replication_role=self.replication_role, - sku=self.sku, - state=self.state, - storage=self.storage, - system_data=self.system_data, - tags=self.tags, - type=self.type, - version=self.version) - - -def get_server(resource_group_name: Optional[str] = None, - server_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerResult: - """ - Represents a server. - - - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - __args__ = dict() - __args__['resourceGroupName'] = resource_group_name - __args__['serverName'] = server_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20220308preview:getServer', __args__, opts=opts, typ=GetServerResult).value - - return AwaitableGetServerResult( - administrator_login=__ret__.administrator_login, - auth_config=__ret__.auth_config, - availability_zone=__ret__.availability_zone, - backup=__ret__.backup, - data_encryption=__ret__.data_encryption, - fully_qualified_domain_name=__ret__.fully_qualified_domain_name, - high_availability=__ret__.high_availability, - id=__ret__.id, - identity=__ret__.identity, - location=__ret__.location, - maintenance_window=__ret__.maintenance_window, - minor_version=__ret__.minor_version, - name=__ret__.name, - network=__ret__.network, - replica_capacity=__ret__.replica_capacity, - replication_role=__ret__.replication_role, - sku=__ret__.sku, - state=__ret__.state, - storage=__ret__.storage, - system_data=__ret__.system_data, - tags=__ret__.tags, - type=__ret__.type, - version=__ret__.version) - - -@_utilities.lift_output_func(get_server) -def get_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerResult]: - """ - Represents a server. - - - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str server_name: The name of the server. - """ - ... diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/outputs.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/outputs.py deleted file mode 100644 index 228ca0ac1e48..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/outputs.py +++ /dev/null @@ -1,752 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * - -__all__ = [ - 'AuthConfigResponse', - 'BackupResponse', - 'DataEncryptionResponse', - 'HighAvailabilityResponse', - 'MaintenanceWindowResponse', - 'NetworkResponse', - 'PostgreSqlSkuResponse', - 'StorageResponse', - 'SystemDataResponse', - 'UserAssignedIdentityResponse', - 'UserIdentityResponse', -] - -@pulumi.output_type -class AuthConfigResponse(dict): - """ - Authentication configuration properties of a server - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "activeDirectoryAuthEnabled": - suggest = "active_directory_auth_enabled" - elif key == "passwordAuthEnabled": - suggest = "password_auth_enabled" - elif key == "tenantId": - suggest = "tenant_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in AuthConfigResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - AuthConfigResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - AuthConfigResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - active_directory_auth_enabled: Optional[bool] = None, - password_auth_enabled: Optional[bool] = None, - tenant_id: Optional[str] = None): - """ - Authentication configuration properties of a server - :param bool active_directory_auth_enabled: If true, Azure Active Directory authentication is enabled. - :param bool password_auth_enabled: If true, Password authentication is enabled. - :param str tenant_id: Tenant id of the server. - """ - if active_directory_auth_enabled is not None: - pulumi.set(__self__, "active_directory_auth_enabled", active_directory_auth_enabled) - if password_auth_enabled is None: - password_auth_enabled = True - if password_auth_enabled is not None: - pulumi.set(__self__, "password_auth_enabled", password_auth_enabled) - if tenant_id is None: - tenant_id = '' - if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) - - @property - @pulumi.getter(name="activeDirectoryAuthEnabled") - def active_directory_auth_enabled(self) -> Optional[bool]: - """ - If true, Azure Active Directory authentication is enabled. - """ - return pulumi.get(self, "active_directory_auth_enabled") - - @property - @pulumi.getter(name="passwordAuthEnabled") - def password_auth_enabled(self) -> Optional[bool]: - """ - If true, Password authentication is enabled. - """ - return pulumi.get(self, "password_auth_enabled") - - @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[str]: - """ - Tenant id of the server. - """ - return pulumi.get(self, "tenant_id") - - -@pulumi.output_type -class BackupResponse(dict): - """ - Backup properties of a server - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "earliestRestoreDate": - suggest = "earliest_restore_date" - elif key == "backupRetentionDays": - suggest = "backup_retention_days" - elif key == "geoRedundantBackup": - suggest = "geo_redundant_backup" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in BackupResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - BackupResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - BackupResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - earliest_restore_date: str, - backup_retention_days: Optional[int] = None, - geo_redundant_backup: Optional[str] = None): - """ - Backup properties of a server - :param str earliest_restore_date: The earliest restore point time (ISO8601 format) for server. - :param int backup_retention_days: Backup retention days for the server. - :param str geo_redundant_backup: A value indicating whether Geo-Redundant backup is enabled on the server. - """ - pulumi.set(__self__, "earliest_restore_date", earliest_restore_date) - if backup_retention_days is None: - backup_retention_days = 7 - if backup_retention_days is not None: - pulumi.set(__self__, "backup_retention_days", backup_retention_days) - if geo_redundant_backup is None: - geo_redundant_backup = 'Disabled' - if geo_redundant_backup is not None: - pulumi.set(__self__, "geo_redundant_backup", geo_redundant_backup) - - @property - @pulumi.getter(name="earliestRestoreDate") - def earliest_restore_date(self) -> str: - """ - The earliest restore point time (ISO8601 format) for server. - """ - return pulumi.get(self, "earliest_restore_date") - - @property - @pulumi.getter(name="backupRetentionDays") - def backup_retention_days(self) -> Optional[int]: - """ - Backup retention days for the server. - """ - return pulumi.get(self, "backup_retention_days") - - @property - @pulumi.getter(name="geoRedundantBackup") - def geo_redundant_backup(self) -> Optional[str]: - """ - A value indicating whether Geo-Redundant backup is enabled on the server. - """ - return pulumi.get(self, "geo_redundant_backup") - - -@pulumi.output_type -class DataEncryptionResponse(dict): - """ - Data encryption properties of a server - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "primaryKeyURI": - suggest = "primary_key_uri" - elif key == "primaryUserAssignedIdentityId": - suggest = "primary_user_assigned_identity_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DataEncryptionResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DataEncryptionResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DataEncryptionResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - primary_key_uri: Optional[str] = None, - primary_user_assigned_identity_id: Optional[str] = None, - type: Optional[str] = None): - """ - Data encryption properties of a server - :param str primary_key_uri: URI for the key for data encryption for primary server. - :param str primary_user_assigned_identity_id: Resource Id for the User assigned identity to be used for data encryption for primary server. - :param str type: Data encryption type to depict if it is System assigned vs Azure Key vault. - """ - if primary_key_uri is not None: - pulumi.set(__self__, "primary_key_uri", primary_key_uri) - if primary_user_assigned_identity_id is not None: - pulumi.set(__self__, "primary_user_assigned_identity_id", primary_user_assigned_identity_id) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="primaryKeyURI") - def primary_key_uri(self) -> Optional[str]: - """ - URI for the key for data encryption for primary server. - """ - return pulumi.get(self, "primary_key_uri") - - @property - @pulumi.getter(name="primaryUserAssignedIdentityId") - def primary_user_assigned_identity_id(self) -> Optional[str]: - """ - Resource Id for the User assigned identity to be used for data encryption for primary server. - """ - return pulumi.get(self, "primary_user_assigned_identity_id") - - @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Data encryption type to depict if it is System assigned vs Azure Key vault. - """ - return pulumi.get(self, "type") - - -@pulumi.output_type -class HighAvailabilityResponse(dict): - """ - High availability properties of a server - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "standbyAvailabilityZone": - suggest = "standby_availability_zone" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in HighAvailabilityResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - HighAvailabilityResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - HighAvailabilityResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - state: str, - mode: Optional[str] = None, - standby_availability_zone: Optional[str] = None): - """ - High availability properties of a server - :param str state: A state of a HA server that is visible to user. - :param str mode: The HA mode for the server. - :param str standby_availability_zone: availability zone information of the standby. - """ - pulumi.set(__self__, "state", state) - if mode is None: - mode = 'Disabled' - if mode is not None: - pulumi.set(__self__, "mode", mode) - if standby_availability_zone is None: - standby_availability_zone = '' - if standby_availability_zone is not None: - pulumi.set(__self__, "standby_availability_zone", standby_availability_zone) - - @property - @pulumi.getter - def state(self) -> str: - """ - A state of a HA server that is visible to user. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def mode(self) -> Optional[str]: - """ - The HA mode for the server. - """ - return pulumi.get(self, "mode") - - @property - @pulumi.getter(name="standbyAvailabilityZone") - def standby_availability_zone(self) -> Optional[str]: - """ - availability zone information of the standby. - """ - return pulumi.get(self, "standby_availability_zone") - - -@pulumi.output_type -class MaintenanceWindowResponse(dict): - """ - Maintenance window properties of a server. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "customWindow": - suggest = "custom_window" - elif key == "dayOfWeek": - suggest = "day_of_week" - elif key == "startHour": - suggest = "start_hour" - elif key == "startMinute": - suggest = "start_minute" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in MaintenanceWindowResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - MaintenanceWindowResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - MaintenanceWindowResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - custom_window: Optional[str] = None, - day_of_week: Optional[int] = None, - start_hour: Optional[int] = None, - start_minute: Optional[int] = None): - """ - Maintenance window properties of a server. - :param str custom_window: indicates whether custom window is enabled or disabled - :param int day_of_week: day of week for maintenance window - :param int start_hour: start hour for maintenance window - :param int start_minute: start minute for maintenance window - """ - if custom_window is None: - custom_window = 'Disabled' - if custom_window is not None: - pulumi.set(__self__, "custom_window", custom_window) - if day_of_week is None: - day_of_week = 0 - if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) - if start_hour is None: - start_hour = 0 - if start_hour is not None: - pulumi.set(__self__, "start_hour", start_hour) - if start_minute is None: - start_minute = 0 - if start_minute is not None: - pulumi.set(__self__, "start_minute", start_minute) - - @property - @pulumi.getter(name="customWindow") - def custom_window(self) -> Optional[str]: - """ - indicates whether custom window is enabled or disabled - """ - return pulumi.get(self, "custom_window") - - @property - @pulumi.getter(name="dayOfWeek") - def day_of_week(self) -> Optional[int]: - """ - day of week for maintenance window - """ - return pulumi.get(self, "day_of_week") - - @property - @pulumi.getter(name="startHour") - def start_hour(self) -> Optional[int]: - """ - start hour for maintenance window - """ - return pulumi.get(self, "start_hour") - - @property - @pulumi.getter(name="startMinute") - def start_minute(self) -> Optional[int]: - """ - start minute for maintenance window - """ - return pulumi.get(self, "start_minute") - - -@pulumi.output_type -class NetworkResponse(dict): - """ - Network properties of a server - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "publicNetworkAccess": - suggest = "public_network_access" - elif key == "delegatedSubnetResourceId": - suggest = "delegated_subnet_resource_id" - elif key == "privateDnsZoneArmResourceId": - suggest = "private_dns_zone_arm_resource_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NetworkResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NetworkResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NetworkResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - public_network_access: str, - delegated_subnet_resource_id: Optional[str] = None, - private_dns_zone_arm_resource_id: Optional[str] = None): - """ - Network properties of a server - :param str public_network_access: public network access is enabled or not - :param str delegated_subnet_resource_id: delegated subnet arm resource id. - :param str private_dns_zone_arm_resource_id: private dns zone arm resource id. - """ - pulumi.set(__self__, "public_network_access", public_network_access) - if delegated_subnet_resource_id is None: - delegated_subnet_resource_id = '' - if delegated_subnet_resource_id is not None: - pulumi.set(__self__, "delegated_subnet_resource_id", delegated_subnet_resource_id) - if private_dns_zone_arm_resource_id is None: - private_dns_zone_arm_resource_id = '' - if private_dns_zone_arm_resource_id is not None: - pulumi.set(__self__, "private_dns_zone_arm_resource_id", private_dns_zone_arm_resource_id) - - @property - @pulumi.getter(name="publicNetworkAccess") - def public_network_access(self) -> str: - """ - public network access is enabled or not - """ - return pulumi.get(self, "public_network_access") - - @property - @pulumi.getter(name="delegatedSubnetResourceId") - def delegated_subnet_resource_id(self) -> Optional[str]: - """ - delegated subnet arm resource id. - """ - return pulumi.get(self, "delegated_subnet_resource_id") - - @property - @pulumi.getter(name="privateDnsZoneArmResourceId") - def private_dns_zone_arm_resource_id(self) -> Optional[str]: - """ - private dns zone arm resource id. - """ - return pulumi.get(self, "private_dns_zone_arm_resource_id") - - -@pulumi.output_type -class PostgreSqlSkuResponse(dict): - """ - Sku information related properties of a server. - """ - def __init__(__self__, *, - name: str, - tier: str): - """ - Sku information related properties of a server. - :param str name: The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - :param str tier: The tier of the particular SKU, e.g. Burstable. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tier", tier) - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def tier(self) -> str: - """ - The tier of the particular SKU, e.g. Burstable. - """ - return pulumi.get(self, "tier") - - -@pulumi.output_type -class StorageResponse(dict): - """ - Storage properties of a server - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "storageSizeGB": - suggest = "storage_size_gb" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in StorageResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - StorageResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - StorageResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - storage_size_gb: Optional[int] = None): - """ - Storage properties of a server - :param int storage_size_gb: Max storage allowed for a server. - """ - if storage_size_gb is not None: - pulumi.set(__self__, "storage_size_gb", storage_size_gb) - - @property - @pulumi.getter(name="storageSizeGB") - def storage_size_gb(self) -> Optional[int]: - """ - Max storage allowed for a server. - """ - return pulumi.get(self, "storage_size_gb") - - -@pulumi.output_type -class SystemDataResponse(dict): - """ - Metadata pertaining to creation and last modification of the resource. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "createdAt": - suggest = "created_at" - elif key == "createdBy": - suggest = "created_by" - elif key == "createdByType": - suggest = "created_by_type" - elif key == "lastModifiedAt": - suggest = "last_modified_at" - elif key == "lastModifiedBy": - suggest = "last_modified_by" - elif key == "lastModifiedByType": - suggest = "last_modified_by_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SystemDataResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SystemDataResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - created_at: Optional[str] = None, - created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None): - """ - Metadata pertaining to creation and last modification of the resource. - :param str created_at: The timestamp of resource creation (UTC). - :param str created_by: The identity that created the resource. - :param str created_by_type: The type of identity that created the resource. - :param str last_modified_at: The timestamp of resource last modification (UTC) - :param str last_modified_by: The identity that last modified the resource. - :param str last_modified_by_type: The type of identity that last modified the resource. - """ - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if created_by_type is not None: - pulumi.set(__self__, "created_by_type", created_by_type) - if last_modified_at is not None: - pulumi.set(__self__, "last_modified_at", last_modified_at) - if last_modified_by is not None: - pulumi.set(__self__, "last_modified_by", last_modified_by) - if last_modified_by_type is not None: - pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) - - @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[str]: - """ - The timestamp of resource creation (UTC). - """ - return pulumi.get(self, "created_at") - - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - The identity that created the resource. - """ - return pulumi.get(self, "created_by") - - @property - @pulumi.getter(name="createdByType") - def created_by_type(self) -> Optional[str]: - """ - The type of identity that created the resource. - """ - return pulumi.get(self, "created_by_type") - - @property - @pulumi.getter(name="lastModifiedAt") - def last_modified_at(self) -> Optional[str]: - """ - The timestamp of resource last modification (UTC) - """ - return pulumi.get(self, "last_modified_at") - - @property - @pulumi.getter(name="lastModifiedBy") - def last_modified_by(self) -> Optional[str]: - """ - The identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by") - - @property - @pulumi.getter(name="lastModifiedByType") - def last_modified_by_type(self) -> Optional[str]: - """ - The type of identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by_type") - - -@pulumi.output_type -class UserAssignedIdentityResponse(dict): - """ - Information describing the identities associated with this application. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "userAssignedIdentities": - suggest = "user_assigned_identities" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - UserAssignedIdentityResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - UserAssignedIdentityResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - type: str, - user_assigned_identities: Optional[Mapping[str, 'outputs.UserIdentityResponse']] = None): - """ - Information describing the identities associated with this application. - :param str type: the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - :param Mapping[str, 'UserIdentityResponse'] user_assigned_identities: represents user assigned identities map. - """ - pulumi.set(__self__, "type", type) - if user_assigned_identities is not None: - pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) - - @property - @pulumi.getter - def type(self) -> str: - """ - the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="userAssignedIdentities") - def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserIdentityResponse']]: - """ - represents user assigned identities map. - """ - return pulumi.get(self, "user_assigned_identities") - - -@pulumi.output_type -class UserIdentityResponse(dict): - """ - Describes a single user-assigned identity associated with the application. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "clientId": - suggest = "client_id" - elif key == "principalId": - suggest = "principal_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in UserIdentityResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - UserIdentityResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - UserIdentityResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - client_id: Optional[str] = None, - principal_id: Optional[str] = None): - """ - Describes a single user-assigned identity associated with the application. - :param str client_id: the client identifier of the Service Principal which this identity represents. - :param str principal_id: the object identifier of the Service Principal which this identity represents. - """ - if client_id is not None: - pulumi.set(__self__, "client_id", client_id) - if principal_id is not None: - pulumi.set(__self__, "principal_id", principal_id) - - @property - @pulumi.getter(name="clientId") - def client_id(self) -> Optional[str]: - """ - the client identifier of the Service Principal which this identity represents. - """ - return pulumi.get(self, "client_id") - - @property - @pulumi.getter(name="principalId") - def principal_id(self) -> Optional[str]: - """ - the object identifier of the Service Principal which this identity represents. - """ - return pulumi.get(self, "principal_id") - - diff --git a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/server.py b/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/server.py deleted file mode 100644 index 6c202913f123..000000000000 --- a/sdk/python/pulumi_azure_native/dbforpostgresql/v20220308preview/server.py +++ /dev/null @@ -1,744 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['ServerArgs', 'Server'] - -@pulumi.input_type -class ServerArgs: - def __init__(__self__, *, - resource_group_name: pulumi.Input[str], - administrator_login: Optional[pulumi.Input[str]] = None, - administrator_login_password: Optional[pulumi.Input[str]] = None, - auth_config: Optional[pulumi.Input['AuthConfigArgs']] = None, - availability_zone: Optional[pulumi.Input[str]] = None, - backup: Optional[pulumi.Input['BackupArgs']] = None, - create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, - data_encryption: Optional[pulumi.Input['DataEncryptionArgs']] = None, - high_availability: Optional[pulumi.Input['HighAvailabilityArgs']] = None, - identity: Optional[pulumi.Input['UserAssignedIdentityArgs']] = None, - location: Optional[pulumi.Input[str]] = None, - maintenance_window: Optional[pulumi.Input['MaintenanceWindowArgs']] = None, - network: Optional[pulumi.Input['NetworkArgs']] = None, - point_in_time_utc: Optional[pulumi.Input[str]] = None, - replica_capacity: Optional[pulumi.Input[int]] = None, - replication_role: Optional[pulumi.Input[Union[str, 'ReplicationRole']]] = None, - server_name: Optional[pulumi.Input[str]] = None, - sku: Optional[pulumi.Input['PostgreSqlSkuArgs']] = None, - source_server_resource_id: Optional[pulumi.Input[str]] = None, - storage: Optional[pulumi.Input['StorageArgs']] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = None): - """ - The set of arguments for constructing a Server resource. - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] administrator_login: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - :param pulumi.Input[str] administrator_login_password: The administrator login password (required for server creation). - :param pulumi.Input['AuthConfigArgs'] auth_config: AuthConfig properties of a server. - :param pulumi.Input[str] availability_zone: availability zone information of the server. - :param pulumi.Input['BackupArgs'] backup: Backup properties of a server. - :param pulumi.Input[Union[str, 'CreateMode']] create_mode: The mode to create a new PostgreSQL server. - :param pulumi.Input['DataEncryptionArgs'] data_encryption: Data encryption properties of a server. - :param pulumi.Input['HighAvailabilityArgs'] high_availability: High availability properties of a server. - :param pulumi.Input['UserAssignedIdentityArgs'] identity: Describes the identity of the application. - :param pulumi.Input[str] location: The geo-location where the resource lives - :param pulumi.Input['MaintenanceWindowArgs'] maintenance_window: Maintenance window properties of a server. - :param pulumi.Input['NetworkArgs'] network: Network properties of a server. - :param pulumi.Input[str] point_in_time_utc: Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'. - :param pulumi.Input[int] replica_capacity: Replicas allowed for a server. - :param pulumi.Input[Union[str, 'ReplicationRole']] replication_role: Replication role of the server - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input['PostgreSqlSkuArgs'] sku: The SKU (pricing tier) of the server. - :param pulumi.Input[str] source_server_resource_id: The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. - :param pulumi.Input['StorageArgs'] storage: Storage properties of a server. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. - :param pulumi.Input[Union[str, 'ServerVersion']] version: PostgreSQL Server version. - """ - pulumi.set(__self__, "resource_group_name", resource_group_name) - if administrator_login is not None: - pulumi.set(__self__, "administrator_login", administrator_login) - if administrator_login_password is not None: - pulumi.set(__self__, "administrator_login_password", administrator_login_password) - if auth_config is not None: - pulumi.set(__self__, "auth_config", auth_config) - if availability_zone is None: - availability_zone = '' - if availability_zone is not None: - pulumi.set(__self__, "availability_zone", availability_zone) - if backup is not None: - pulumi.set(__self__, "backup", backup) - if create_mode is not None: - pulumi.set(__self__, "create_mode", create_mode) - if data_encryption is not None: - pulumi.set(__self__, "data_encryption", data_encryption) - if high_availability is not None: - pulumi.set(__self__, "high_availability", high_availability) - if identity is not None: - pulumi.set(__self__, "identity", identity) - if location is not None: - pulumi.set(__self__, "location", location) - if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) - if network is not None: - pulumi.set(__self__, "network", network) - if point_in_time_utc is not None: - pulumi.set(__self__, "point_in_time_utc", point_in_time_utc) - if replica_capacity is not None: - pulumi.set(__self__, "replica_capacity", replica_capacity) - if replication_role is not None: - pulumi.set(__self__, "replication_role", replication_role) - if server_name is not None: - pulumi.set(__self__, "server_name", server_name) - if sku is not None: - pulumi.set(__self__, "sku", sku) - if source_server_resource_id is not None: - pulumi.set(__self__, "source_server_resource_id", source_server_resource_id) - if storage is not None: - pulumi.set(__self__, "storage", storage) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if version is not None: - pulumi.set(__self__, "version", version) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group. The name is case insensitive. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="administratorLogin") - def administrator_login(self) -> Optional[pulumi.Input[str]]: - """ - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - """ - return pulumi.get(self, "administrator_login") - - @administrator_login.setter - def administrator_login(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "administrator_login", value) - - @property - @pulumi.getter(name="administratorLoginPassword") - def administrator_login_password(self) -> Optional[pulumi.Input[str]]: - """ - The administrator login password (required for server creation). - """ - return pulumi.get(self, "administrator_login_password") - - @administrator_login_password.setter - def administrator_login_password(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "administrator_login_password", value) - - @property - @pulumi.getter(name="authConfig") - def auth_config(self) -> Optional[pulumi.Input['AuthConfigArgs']]: - """ - AuthConfig properties of a server. - """ - return pulumi.get(self, "auth_config") - - @auth_config.setter - def auth_config(self, value: Optional[pulumi.Input['AuthConfigArgs']]): - pulumi.set(self, "auth_config", value) - - @property - @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> Optional[pulumi.Input[str]]: - """ - availability zone information of the server. - """ - return pulumi.get(self, "availability_zone") - - @availability_zone.setter - def availability_zone(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability_zone", value) - - @property - @pulumi.getter - def backup(self) -> Optional[pulumi.Input['BackupArgs']]: - """ - Backup properties of a server. - """ - return pulumi.get(self, "backup") - - @backup.setter - def backup(self, value: Optional[pulumi.Input['BackupArgs']]): - pulumi.set(self, "backup", value) - - @property - @pulumi.getter(name="createMode") - def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: - """ - The mode to create a new PostgreSQL server. - """ - return pulumi.get(self, "create_mode") - - @create_mode.setter - def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): - pulumi.set(self, "create_mode", value) - - @property - @pulumi.getter(name="dataEncryption") - def data_encryption(self) -> Optional[pulumi.Input['DataEncryptionArgs']]: - """ - Data encryption properties of a server. - """ - return pulumi.get(self, "data_encryption") - - @data_encryption.setter - def data_encryption(self, value: Optional[pulumi.Input['DataEncryptionArgs']]): - pulumi.set(self, "data_encryption", value) - - @property - @pulumi.getter(name="highAvailability") - def high_availability(self) -> Optional[pulumi.Input['HighAvailabilityArgs']]: - """ - High availability properties of a server. - """ - return pulumi.get(self, "high_availability") - - @high_availability.setter - def high_availability(self, value: Optional[pulumi.Input['HighAvailabilityArgs']]): - pulumi.set(self, "high_availability", value) - - @property - @pulumi.getter - def identity(self) -> Optional[pulumi.Input['UserAssignedIdentityArgs']]: - """ - Describes the identity of the application. - """ - return pulumi.get(self, "identity") - - @identity.setter - def identity(self, value: Optional[pulumi.Input['UserAssignedIdentityArgs']]): - pulumi.set(self, "identity", value) - - @property - @pulumi.getter - def location(self) -> Optional[pulumi.Input[str]]: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @location.setter - def location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "location", value) - - @property - @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> Optional[pulumi.Input['MaintenanceWindowArgs']]: - """ - Maintenance window properties of a server. - """ - return pulumi.get(self, "maintenance_window") - - @maintenance_window.setter - def maintenance_window(self, value: Optional[pulumi.Input['MaintenanceWindowArgs']]): - pulumi.set(self, "maintenance_window", value) - - @property - @pulumi.getter - def network(self) -> Optional[pulumi.Input['NetworkArgs']]: - """ - Network properties of a server. - """ - return pulumi.get(self, "network") - - @network.setter - def network(self, value: Optional[pulumi.Input['NetworkArgs']]): - pulumi.set(self, "network", value) - - @property - @pulumi.getter(name="pointInTimeUTC") - def point_in_time_utc(self) -> Optional[pulumi.Input[str]]: - """ - Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'. - """ - return pulumi.get(self, "point_in_time_utc") - - @point_in_time_utc.setter - def point_in_time_utc(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "point_in_time_utc", value) - - @property - @pulumi.getter(name="replicaCapacity") - def replica_capacity(self) -> Optional[pulumi.Input[int]]: - """ - Replicas allowed for a server. - """ - return pulumi.get(self, "replica_capacity") - - @replica_capacity.setter - def replica_capacity(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "replica_capacity", value) - - @property - @pulumi.getter(name="replicationRole") - def replication_role(self) -> Optional[pulumi.Input[Union[str, 'ReplicationRole']]]: - """ - Replication role of the server - """ - return pulumi.get(self, "replication_role") - - @replication_role.setter - def replication_role(self, value: Optional[pulumi.Input[Union[str, 'ReplicationRole']]]): - pulumi.set(self, "replication_role", value) - - @property - @pulumi.getter(name="serverName") - def server_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the server. - """ - return pulumi.get(self, "server_name") - - @server_name.setter - def server_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "server_name", value) - - @property - @pulumi.getter - def sku(self) -> Optional[pulumi.Input['PostgreSqlSkuArgs']]: - """ - The SKU (pricing tier) of the server. - """ - return pulumi.get(self, "sku") - - @sku.setter - def sku(self, value: Optional[pulumi.Input['PostgreSqlSkuArgs']]): - pulumi.set(self, "sku", value) - - @property - @pulumi.getter(name="sourceServerResourceId") - def source_server_resource_id(self) -> Optional[pulumi.Input[str]]: - """ - The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. - """ - return pulumi.get(self, "source_server_resource_id") - - @source_server_resource_id.setter - def source_server_resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_server_resource_id", value) - - @property - @pulumi.getter - def storage(self) -> Optional[pulumi.Input['StorageArgs']]: - """ - Storage properties of a server. - """ - return pulumi.get(self, "storage") - - @storage.setter - def storage(self, value: Optional[pulumi.Input['StorageArgs']]): - pulumi.set(self, "storage", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Resource tags. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter - def version(self) -> Optional[pulumi.Input[Union[str, 'ServerVersion']]]: - """ - PostgreSQL Server version. - """ - return pulumi.get(self, "version") - - @version.setter - def version(self, value: Optional[pulumi.Input[Union[str, 'ServerVersion']]]): - pulumi.set(self, "version", value) - - -class Server(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - administrator_login: Optional[pulumi.Input[str]] = None, - administrator_login_password: Optional[pulumi.Input[str]] = None, - auth_config: Optional[pulumi.Input[pulumi.InputType['AuthConfigArgs']]] = None, - availability_zone: Optional[pulumi.Input[str]] = None, - backup: Optional[pulumi.Input[pulumi.InputType['BackupArgs']]] = None, - create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, - data_encryption: Optional[pulumi.Input[pulumi.InputType['DataEncryptionArgs']]] = None, - high_availability: Optional[pulumi.Input[pulumi.InputType['HighAvailabilityArgs']]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['UserAssignedIdentityArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - maintenance_window: Optional[pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']]] = None, - network: Optional[pulumi.Input[pulumi.InputType['NetworkArgs']]] = None, - point_in_time_utc: Optional[pulumi.Input[str]] = None, - replica_capacity: Optional[pulumi.Input[int]] = None, - replication_role: Optional[pulumi.Input[Union[str, 'ReplicationRole']]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - sku: Optional[pulumi.Input[pulumi.InputType['PostgreSqlSkuArgs']]] = None, - source_server_resource_id: Optional[pulumi.Input[str]] = None, - storage: Optional[pulumi.Input[pulumi.InputType['StorageArgs']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = None, - __props__=None): - """ - Represents a server. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] administrator_login: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - :param pulumi.Input[str] administrator_login_password: The administrator login password (required for server creation). - :param pulumi.Input[pulumi.InputType['AuthConfigArgs']] auth_config: AuthConfig properties of a server. - :param pulumi.Input[str] availability_zone: availability zone information of the server. - :param pulumi.Input[pulumi.InputType['BackupArgs']] backup: Backup properties of a server. - :param pulumi.Input[Union[str, 'CreateMode']] create_mode: The mode to create a new PostgreSQL server. - :param pulumi.Input[pulumi.InputType['DataEncryptionArgs']] data_encryption: Data encryption properties of a server. - :param pulumi.Input[pulumi.InputType['HighAvailabilityArgs']] high_availability: High availability properties of a server. - :param pulumi.Input[pulumi.InputType['UserAssignedIdentityArgs']] identity: Describes the identity of the application. - :param pulumi.Input[str] location: The geo-location where the resource lives - :param pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']] maintenance_window: Maintenance window properties of a server. - :param pulumi.Input[pulumi.InputType['NetworkArgs']] network: Network properties of a server. - :param pulumi.Input[str] point_in_time_utc: Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'. - :param pulumi.Input[int] replica_capacity: Replicas allowed for a server. - :param pulumi.Input[Union[str, 'ReplicationRole']] replication_role: Replication role of the server - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] server_name: The name of the server. - :param pulumi.Input[pulumi.InputType['PostgreSqlSkuArgs']] sku: The SKU (pricing tier) of the server. - :param pulumi.Input[str] source_server_resource_id: The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. - :param pulumi.Input[pulumi.InputType['StorageArgs']] storage: Storage properties of a server. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. - :param pulumi.Input[Union[str, 'ServerVersion']] version: PostgreSQL Server version. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: ServerArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Represents a server. - - :param str resource_name: The name of the resource. - :param ServerArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ServerArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - administrator_login: Optional[pulumi.Input[str]] = None, - administrator_login_password: Optional[pulumi.Input[str]] = None, - auth_config: Optional[pulumi.Input[pulumi.InputType['AuthConfigArgs']]] = None, - availability_zone: Optional[pulumi.Input[str]] = None, - backup: Optional[pulumi.Input[pulumi.InputType['BackupArgs']]] = None, - create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, - data_encryption: Optional[pulumi.Input[pulumi.InputType['DataEncryptionArgs']]] = None, - high_availability: Optional[pulumi.Input[pulumi.InputType['HighAvailabilityArgs']]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['UserAssignedIdentityArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - maintenance_window: Optional[pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']]] = None, - network: Optional[pulumi.Input[pulumi.InputType['NetworkArgs']]] = None, - point_in_time_utc: Optional[pulumi.Input[str]] = None, - replica_capacity: Optional[pulumi.Input[int]] = None, - replication_role: Optional[pulumi.Input[Union[str, 'ReplicationRole']]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - server_name: Optional[pulumi.Input[str]] = None, - sku: Optional[pulumi.Input[pulumi.InputType['PostgreSqlSkuArgs']]] = None, - source_server_resource_id: Optional[pulumi.Input[str]] = None, - storage: Optional[pulumi.Input[pulumi.InputType['StorageArgs']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ServerArgs.__new__(ServerArgs) - - __props__.__dict__["administrator_login"] = administrator_login - __props__.__dict__["administrator_login_password"] = administrator_login_password - __props__.__dict__["auth_config"] = auth_config - if availability_zone is None: - availability_zone = '' - __props__.__dict__["availability_zone"] = availability_zone - __props__.__dict__["backup"] = backup - __props__.__dict__["create_mode"] = create_mode - __props__.__dict__["data_encryption"] = data_encryption - __props__.__dict__["high_availability"] = high_availability - __props__.__dict__["identity"] = identity - __props__.__dict__["location"] = location - __props__.__dict__["maintenance_window"] = maintenance_window - __props__.__dict__["network"] = network - __props__.__dict__["point_in_time_utc"] = point_in_time_utc - __props__.__dict__["replica_capacity"] = replica_capacity - __props__.__dict__["replication_role"] = replication_role - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - __props__.__dict__["server_name"] = server_name - __props__.__dict__["sku"] = sku - __props__.__dict__["source_server_resource_id"] = source_server_resource_id - __props__.__dict__["storage"] = storage - __props__.__dict__["tags"] = tags - __props__.__dict__["version"] = version - __props__.__dict__["fully_qualified_domain_name"] = None - __props__.__dict__["minor_version"] = None - __props__.__dict__["name"] = None - __props__.__dict__["state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Server"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Server")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Server, __self__).__init__( - 'azure-native:dbforpostgresql/v20220308preview:Server', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Server': - """ - Get an existing Server resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = ServerArgs.__new__(ServerArgs) - - __props__.__dict__["administrator_login"] = None - __props__.__dict__["auth_config"] = None - __props__.__dict__["availability_zone"] = None - __props__.__dict__["backup"] = None - __props__.__dict__["data_encryption"] = None - __props__.__dict__["fully_qualified_domain_name"] = None - __props__.__dict__["high_availability"] = None - __props__.__dict__["identity"] = None - __props__.__dict__["location"] = None - __props__.__dict__["maintenance_window"] = None - __props__.__dict__["minor_version"] = None - __props__.__dict__["name"] = None - __props__.__dict__["network"] = None - __props__.__dict__["replica_capacity"] = None - __props__.__dict__["replication_role"] = None - __props__.__dict__["sku"] = None - __props__.__dict__["state"] = None - __props__.__dict__["storage"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["type"] = None - __props__.__dict__["version"] = None - return Server(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="administratorLogin") - def administrator_login(self) -> pulumi.Output[Optional[str]]: - """ - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - """ - return pulumi.get(self, "administrator_login") - - @property - @pulumi.getter(name="authConfig") - def auth_config(self) -> pulumi.Output[Optional['outputs.AuthConfigResponse']]: - """ - AuthConfig properties of a server. - """ - return pulumi.get(self, "auth_config") - - @property - @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> pulumi.Output[Optional[str]]: - """ - availability zone information of the server. - """ - return pulumi.get(self, "availability_zone") - - @property - @pulumi.getter - def backup(self) -> pulumi.Output[Optional['outputs.BackupResponse']]: - """ - Backup properties of a server. - """ - return pulumi.get(self, "backup") - - @property - @pulumi.getter(name="dataEncryption") - def data_encryption(self) -> pulumi.Output[Optional['outputs.DataEncryptionResponse']]: - """ - Data encryption properties of a server. - """ - return pulumi.get(self, "data_encryption") - - @property - @pulumi.getter(name="fullyQualifiedDomainName") - def fully_qualified_domain_name(self) -> pulumi.Output[str]: - """ - The fully qualified domain name of a server. - """ - return pulumi.get(self, "fully_qualified_domain_name") - - @property - @pulumi.getter(name="highAvailability") - def high_availability(self) -> pulumi.Output[Optional['outputs.HighAvailabilityResponse']]: - """ - High availability properties of a server. - """ - return pulumi.get(self, "high_availability") - - @property - @pulumi.getter - def identity(self) -> pulumi.Output[Optional['outputs.UserAssignedIdentityResponse']]: - """ - Describes the identity of the application. - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter - def location(self) -> pulumi.Output[str]: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> pulumi.Output[Optional['outputs.MaintenanceWindowResponse']]: - """ - Maintenance window properties of a server. - """ - return pulumi.get(self, "maintenance_window") - - @property - @pulumi.getter(name="minorVersion") - def minor_version(self) -> pulumi.Output[str]: - """ - The minor version of the server. - """ - return pulumi.get(self, "minor_version") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def network(self) -> pulumi.Output[Optional['outputs.NetworkResponse']]: - """ - Network properties of a server. - """ - return pulumi.get(self, "network") - - @property - @pulumi.getter(name="replicaCapacity") - def replica_capacity(self) -> pulumi.Output[Optional[int]]: - """ - Replicas allowed for a server. - """ - return pulumi.get(self, "replica_capacity") - - @property - @pulumi.getter(name="replicationRole") - def replication_role(self) -> pulumi.Output[Optional[str]]: - """ - Replication role of the server - """ - return pulumi.get(self, "replication_role") - - @property - @pulumi.getter - def sku(self) -> pulumi.Output[Optional['outputs.PostgreSqlSkuResponse']]: - """ - The SKU (pricing tier) of the server. - """ - return pulumi.get(self, "sku") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - A state of a server that is visible to user. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def storage(self) -> pulumi.Output[Optional['outputs.StorageResponse']]: - """ - Storage properties of a server. - """ - return pulumi.get(self, "storage") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - Resource tags. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def version(self) -> pulumi.Output[Optional[str]]: - """ - PostgreSQL Server version. - """ - return pulumi.get(self, "version") - diff --git a/sdk/python/pulumi_azure_native/webpubsub/__init__.py b/sdk/python/pulumi_azure_native/webpubsub/__init__.py index 81fcbf3d5476..2fca446caefd 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/__init__.py +++ b/sdk/python/pulumi_azure_native/webpubsub/__init__.py @@ -28,12 +28,9 @@ v20210901preview = __v20210901preview import pulumi_azure_native.webpubsub.v20211001 as __v20211001 v20211001 = __v20211001 - import pulumi_azure_native.webpubsub.v20220801preview as __v20220801preview - v20220801preview = __v20220801preview else: v20210401preview = _utilities.lazy_import('pulumi_azure_native.webpubsub.v20210401preview') v20210601preview = _utilities.lazy_import('pulumi_azure_native.webpubsub.v20210601preview') v20210901preview = _utilities.lazy_import('pulumi_azure_native.webpubsub.v20210901preview') v20211001 = _utilities.lazy_import('pulumi_azure_native.webpubsub.v20211001') - v20220801preview = _utilities.lazy_import('pulumi_azure_native.webpubsub.v20220801preview') diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub.py b/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub.py index fc484eda63c2..981e83023af9 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub.py @@ -324,7 +324,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSub, __self__).__init__( 'azure-native:webpubsub/v20210401preview:WebPubSub', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_private_endpoint_connection.py index e6f507e8781b..f3365a4b5c3a 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubPrivateEndpointConnection, __self__).__init__( 'azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_shared_private_link_resource.py index 6af7875b3c44..b8e15d9d4ade 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub_shared_private_link_resource.py @@ -194,7 +194,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubSharedPrivateLinkResource, __self__).__init__( 'azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub.py b/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub.py index bd2bff569b3f..a9e9d7845185 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub.py @@ -369,7 +369,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSub, __self__).__init__( 'azure-native:webpubsub/v20210601preview:WebPubSub', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_private_endpoint_connection.py index d32e4a193f9d..5471aaa094e5 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubPrivateEndpointConnection, __self__).__init__( 'azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_shared_private_link_resource.py index aef4851ab78f..3c169c581025 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub_shared_private_link_resource.py @@ -194,7 +194,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubSharedPrivateLinkResource, __self__).__init__( 'azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub.py b/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub.py index 6f2f00dc4179..8cbfd80f9c7a 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub.py @@ -369,7 +369,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSub, __self__).__init__( 'azure-native:webpubsub/v20210901preview:WebPubSub', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_private_endpoint_connection.py index 49cb37f0d371..41c97c5a77d4 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubPrivateEndpointConnection, __self__).__init__( 'azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_shared_private_link_resource.py index 4abc9f5111df..ae6148e54806 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub_shared_private_link_resource.py @@ -194,7 +194,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubSharedPrivateLinkResource, __self__).__init__( 'azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub.py b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub.py index ca0e7fcd3c5b..07c994030dca 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub.py @@ -370,7 +370,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSub, __self__).__init__( 'azure-native:webpubsub/v20211001:WebPubSub', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_hub.py b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_hub.py index a6562d94501c..93e5bdc058f7 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_hub.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_hub.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubHub"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubHub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubHub")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubHub, __self__).__init__( 'azure-native:webpubsub/v20211001:WebPubSubHub', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_private_endpoint_connection.py index feedd3aeb8a3..49c869661179 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_private_endpoint_connection.py @@ -174,7 +174,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubPrivateEndpointConnection, __self__).__init__( 'azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_shared_private_link_resource.py index 1bbd097ca17f..a8fa3fef0cf5 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/webpubsub/v20211001/web_pub_sub_shared_private_link_resource.py @@ -194,7 +194,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubSharedPrivateLinkResource, __self__).__init__( 'azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/__init__.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/__init__.py deleted file mode 100644 index 86b550fd3893..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -from ... import _utilities -import typing -# Export this package's modules as members: -from ._enums import * -from .get_web_pub_sub import * -from .get_web_pub_sub_custom_certificate import * -from .get_web_pub_sub_custom_domain import * -from .get_web_pub_sub_hub import * -from .get_web_pub_sub_private_endpoint_connection import * -from .get_web_pub_sub_shared_private_link_resource import * -from .list_web_pub_sub_keys import * -from .web_pub_sub import * -from .web_pub_sub_custom_certificate import * -from .web_pub_sub_custom_domain import * -from .web_pub_sub_hub import * -from .web_pub_sub_private_endpoint_connection import * -from .web_pub_sub_shared_private_link_resource import * -from ._inputs import * -from . import outputs diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/_enums.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/_enums.py deleted file mode 100644 index 74065ccb24c8..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/_enums.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -from enum import Enum - -__all__ = [ - 'ACLAction', - 'EventListenerEndpointDiscriminator', - 'EventListenerFilterDiscriminator', - 'ManagedIdentityType', - 'PrivateLinkServiceConnectionStatus', - 'UpstreamAuthType', - 'WebPubSubRequestType', - 'WebPubSubSkuTier', -] - - -class ACLAction(str, Enum): - """ - Azure Networking ACL Action. - """ - ALLOW = "Allow" - DENY = "Deny" - - -class EventListenerEndpointDiscriminator(str, Enum): - EVENT_HUB = "EventHub" - - -class EventListenerFilterDiscriminator(str, Enum): - EVENT_NAME = "EventName" - - -class ManagedIdentityType(str, Enum): - """ - Represents the identity type: systemAssigned, userAssigned, None - """ - NONE = "None" - SYSTEM_ASSIGNED = "SystemAssigned" - USER_ASSIGNED = "UserAssigned" - - -class PrivateLinkServiceConnectionStatus(str, Enum): - """ - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - """ - PENDING = "Pending" - APPROVED = "Approved" - REJECTED = "Rejected" - DISCONNECTED = "Disconnected" - - -class UpstreamAuthType(str, Enum): - """ - Upstream auth type enum. - """ - NONE = "None" - MANAGED_IDENTITY = "ManagedIdentity" - - -class WebPubSubRequestType(str, Enum): - """ - The incoming request type to the service - """ - CLIENT_CONNECTION = "ClientConnection" - SERVER_CONNECTION = "ServerConnection" - RESTAPI = "RESTAPI" - TRACE = "Trace" - - -class WebPubSubSkuTier(str, Enum): - """ - Optional tier of this particular SKU. 'Standard' or 'Free'. - - `Basic` is deprecated, use `Standard` instead. - """ - FREE = "Free" - BASIC = "Basic" - STANDARD = "Standard" - PREMIUM = "Premium" diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/_inputs.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/_inputs.py deleted file mode 100644 index b3665a798ee3..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/_inputs.py +++ /dev/null @@ -1,969 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from ._enums import * - -__all__ = [ - 'EventHandlerArgs', - 'EventHubEndpointArgs', - 'EventListenerArgs', - 'EventNameFilterArgs', - 'LiveTraceCategoryArgs', - 'LiveTraceConfigurationArgs', - 'ManagedIdentitySettingsArgs', - 'ManagedIdentityArgs', - 'NetworkACLArgs', - 'PrivateEndpointACLArgs', - 'PrivateEndpointArgs', - 'PrivateLinkServiceConnectionStateArgs', - 'ResourceLogCategoryArgs', - 'ResourceLogConfigurationArgs', - 'ResourceReferenceArgs', - 'ResourceSkuArgs', - 'UpstreamAuthSettingsArgs', - 'WebPubSubHubPropertiesArgs', - 'WebPubSubNetworkACLsArgs', - 'WebPubSubTlsSettingsArgs', -] - -@pulumi.input_type -class EventHandlerArgs: - def __init__(__self__, *, - url_template: pulumi.Input[str], - auth: Optional[pulumi.Input['UpstreamAuthSettingsArgs']] = None, - system_events: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - user_event_pattern: Optional[pulumi.Input[str]] = None): - """ - Properties of event handler. - :param pulumi.Input[str] url_template: Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - :param pulumi.Input['UpstreamAuthSettingsArgs'] auth: Upstream auth settings. If not set, no auth is used for upstream messages. - :param pulumi.Input[Sequence[pulumi.Input[str]]] system_events: Gets or sets the list of system events. - :param pulumi.Input[str] user_event_pattern: Gets or sets the matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - pulumi.set(__self__, "url_template", url_template) - if auth is not None: - pulumi.set(__self__, "auth", auth) - if system_events is not None: - pulumi.set(__self__, "system_events", system_events) - if user_event_pattern is not None: - pulumi.set(__self__, "user_event_pattern", user_event_pattern) - - @property - @pulumi.getter(name="urlTemplate") - def url_template(self) -> pulumi.Input[str]: - """ - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - """ - return pulumi.get(self, "url_template") - - @url_template.setter - def url_template(self, value: pulumi.Input[str]): - pulumi.set(self, "url_template", value) - - @property - @pulumi.getter - def auth(self) -> Optional[pulumi.Input['UpstreamAuthSettingsArgs']]: - """ - Upstream auth settings. If not set, no auth is used for upstream messages. - """ - return pulumi.get(self, "auth") - - @auth.setter - def auth(self, value: Optional[pulumi.Input['UpstreamAuthSettingsArgs']]): - pulumi.set(self, "auth", value) - - @property - @pulumi.getter(name="systemEvents") - def system_events(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Gets or sets the list of system events. - """ - return pulumi.get(self, "system_events") - - @system_events.setter - def system_events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "system_events", value) - - @property - @pulumi.getter(name="userEventPattern") - def user_event_pattern(self) -> Optional[pulumi.Input[str]]: - """ - Gets or sets the matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - return pulumi.get(self, "user_event_pattern") - - @user_event_pattern.setter - def user_event_pattern(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_event_pattern", value) - - -@pulumi.input_type -class EventHubEndpointArgs: - def __init__(__self__, *, - event_hub_name: pulumi.Input[str], - fully_qualified_namespace: pulumi.Input[str], - type: pulumi.Input[str]): - """ - An Event Hub endpoint. - The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. - :param pulumi.Input[str] event_hub_name: The name of the Event Hub. - :param pulumi.Input[str] fully_qualified_namespace: The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - :param pulumi.Input[str] type: - Expected value is 'EventHub'. - """ - pulumi.set(__self__, "event_hub_name", event_hub_name) - pulumi.set(__self__, "fully_qualified_namespace", fully_qualified_namespace) - pulumi.set(__self__, "type", 'EventHub') - - @property - @pulumi.getter(name="eventHubName") - def event_hub_name(self) -> pulumi.Input[str]: - """ - The name of the Event Hub. - """ - return pulumi.get(self, "event_hub_name") - - @event_hub_name.setter - def event_hub_name(self, value: pulumi.Input[str]): - pulumi.set(self, "event_hub_name", value) - - @property - @pulumi.getter(name="fullyQualifiedNamespace") - def fully_qualified_namespace(self) -> pulumi.Input[str]: - """ - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - """ - return pulumi.get(self, "fully_qualified_namespace") - - @fully_qualified_namespace.setter - def fully_qualified_namespace(self, value: pulumi.Input[str]): - pulumi.set(self, "fully_qualified_namespace", value) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - """ - - Expected value is 'EventHub'. - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - -@pulumi.input_type -class EventListenerArgs: - def __init__(__self__, *, - endpoint: pulumi.Input['EventHubEndpointArgs'], - filter: pulumi.Input['EventNameFilterArgs']): - """ - A setting defines which kinds of events should be sent to which endpoint. - :param pulumi.Input['EventHubEndpointArgs'] endpoint: An endpoint specifying where Web PubSub should send events to. - :param pulumi.Input['EventNameFilterArgs'] filter: A base class for event filter which determines whether an event should be sent to an event listener. - """ - pulumi.set(__self__, "endpoint", endpoint) - pulumi.set(__self__, "filter", filter) - - @property - @pulumi.getter - def endpoint(self) -> pulumi.Input['EventHubEndpointArgs']: - """ - An endpoint specifying where Web PubSub should send events to. - """ - return pulumi.get(self, "endpoint") - - @endpoint.setter - def endpoint(self, value: pulumi.Input['EventHubEndpointArgs']): - pulumi.set(self, "endpoint", value) - - @property - @pulumi.getter - def filter(self) -> pulumi.Input['EventNameFilterArgs']: - """ - A base class for event filter which determines whether an event should be sent to an event listener. - """ - return pulumi.get(self, "filter") - - @filter.setter - def filter(self, value: pulumi.Input['EventNameFilterArgs']): - pulumi.set(self, "filter", value) - - -@pulumi.input_type -class EventNameFilterArgs: - def __init__(__self__, *, - type: pulumi.Input[str], - system_events: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - user_event_pattern: Optional[pulumi.Input[str]] = None): - """ - Filter events by their name. - :param pulumi.Input[str] type: - Expected value is 'EventName'. - :param pulumi.Input[Sequence[pulumi.Input[str]]] system_events: Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - :param pulumi.Input[str] user_event_pattern: Gets or sets a matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - pulumi.set(__self__, "type", 'EventName') - if system_events is not None: - pulumi.set(__self__, "system_events", system_events) - if user_event_pattern is not None: - pulumi.set(__self__, "user_event_pattern", user_event_pattern) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - """ - - Expected value is 'EventName'. - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="systemEvents") - def system_events(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - """ - return pulumi.get(self, "system_events") - - @system_events.setter - def system_events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "system_events", value) - - @property - @pulumi.getter(name="userEventPattern") - def user_event_pattern(self) -> Optional[pulumi.Input[str]]: - """ - Gets or sets a matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - return pulumi.get(self, "user_event_pattern") - - @user_event_pattern.setter - def user_event_pattern(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_event_pattern", value) - - -@pulumi.input_type -class LiveTraceCategoryArgs: - def __init__(__self__, *, - enabled: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): - """ - Live trace category configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[str] enabled: Indicates whether or the live trace category is enabled. - Available values: true, false. - Case insensitive. - :param pulumi.Input[str] name: Gets or sets the live trace category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[str]]: - """ - Indicates whether or the live trace category is enabled. - Available values: true, false. - Case insensitive. - """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "enabled", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - Gets or sets the live trace category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - -@pulumi.input_type -class LiveTraceConfigurationArgs: - def __init__(__self__, *, - categories: Optional[pulumi.Input[Sequence[pulumi.Input['LiveTraceCategoryArgs']]]] = None, - enabled: Optional[pulumi.Input[str]] = None): - """ - Live trace configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[Sequence[pulumi.Input['LiveTraceCategoryArgs']]] categories: Gets or sets the list of category configurations. - :param pulumi.Input[str] enabled: Indicates whether or not enable live trace. - When it's set to true, live trace client can connect to the service. - Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - Available values: true, false. - Case insensitive. - """ - if categories is not None: - pulumi.set(__self__, "categories", categories) - if enabled is None: - enabled = 'false' - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - - @property - @pulumi.getter - def categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LiveTraceCategoryArgs']]]]: - """ - Gets or sets the list of category configurations. - """ - return pulumi.get(self, "categories") - - @categories.setter - def categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LiveTraceCategoryArgs']]]]): - pulumi.set(self, "categories", value) - - @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[str]]: - """ - Indicates whether or not enable live trace. - When it's set to true, live trace client can connect to the service. - Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - Available values: true, false. - Case insensitive. - """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "enabled", value) - - -@pulumi.input_type -class ManagedIdentitySettingsArgs: - def __init__(__self__, *, - resource: Optional[pulumi.Input[str]] = None): - """ - Managed identity settings for upstream. - :param pulumi.Input[str] resource: The Resource indicating the App ID URI of the target resource. - It also appears in the aud (audience) claim of the issued token. - """ - if resource is not None: - pulumi.set(__self__, "resource", resource) - - @property - @pulumi.getter - def resource(self) -> Optional[pulumi.Input[str]]: - """ - The Resource indicating the App ID URI of the target resource. - It also appears in the aud (audience) claim of the issued token. - """ - return pulumi.get(self, "resource") - - @resource.setter - def resource(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "resource", value) - - -@pulumi.input_type -class ManagedIdentityArgs: - def __init__(__self__, *, - type: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]] = None, - user_assigned_identities: Optional[pulumi.Input[Mapping[str, Any]]] = None): - """ - A class represent managed identities used for request and response - :param pulumi.Input[Union[str, 'ManagedIdentityType']] type: Represents the identity type: systemAssigned, userAssigned, None - :param pulumi.Input[Mapping[str, Any]] user_assigned_identities: Get or set the user assigned identities - """ - if type is not None: - pulumi.set(__self__, "type", type) - if user_assigned_identities is not None: - pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]: - """ - Represents the identity type: systemAssigned, userAssigned, None - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityType']]]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="userAssignedIdentities") - def user_assigned_identities(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - Get or set the user assigned identities - """ - return pulumi.get(self, "user_assigned_identities") - - @user_assigned_identities.setter - def user_assigned_identities(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "user_assigned_identities", value) - - -@pulumi.input_type -class NetworkACLArgs: - def __init__(__self__, *, - allow: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]] = None, - deny: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]] = None): - """ - Network ACL - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]] allow: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]] deny: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - if allow is not None: - pulumi.set(__self__, "allow", allow) - if deny is not None: - pulumi.set(__self__, "deny", deny) - - @property - @pulumi.getter - def allow(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]: - """ - Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "allow") - - @allow.setter - def allow(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]): - pulumi.set(self, "allow", value) - - @property - @pulumi.getter - def deny(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]: - """ - Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "deny") - - @deny.setter - def deny(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]): - pulumi.set(self, "deny", value) - - -@pulumi.input_type -class PrivateEndpointACLArgs: - def __init__(__self__, *, - name: pulumi.Input[str], - allow: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]] = None, - deny: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]] = None): - """ - ACL for a private endpoint - :param pulumi.Input[str] name: Name of the private endpoint connection - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]] allow: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]] deny: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - pulumi.set(__self__, "name", name) - if allow is not None: - pulumi.set(__self__, "allow", allow) - if deny is not None: - pulumi.set(__self__, "deny", deny) - - @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - Name of the private endpoint connection - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def allow(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]: - """ - Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "allow") - - @allow.setter - def allow(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]): - pulumi.set(self, "allow", value) - - @property - @pulumi.getter - def deny(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]: - """ - Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "deny") - - @deny.setter - def deny(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WebPubSubRequestType']]]]]): - pulumi.set(self, "deny", value) - - -@pulumi.input_type -class PrivateEndpointArgs: - def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): - """ - Private endpoint - :param pulumi.Input[str] id: Full qualified Id of the private endpoint - """ - if id is not None: - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: - """ - Full qualified Id of the private endpoint - """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "id", value) - - -@pulumi.input_type -class PrivateLinkServiceConnectionStateArgs: - def __init__(__self__, *, - actions_required: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input[Union[str, 'PrivateLinkServiceConnectionStatus']]] = None): - """ - Connection state of the private endpoint connection - :param pulumi.Input[str] actions_required: A message indicating if changes on the service provider require any updates on the consumer. - :param pulumi.Input[str] description: The reason for approval/rejection of the connection. - :param pulumi.Input[Union[str, 'PrivateLinkServiceConnectionStatus']] status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - """ - if actions_required is not None: - pulumi.set(__self__, "actions_required", actions_required) - if description is not None: - pulumi.set(__self__, "description", description) - if status is not None: - pulumi.set(__self__, "status", status) - - @property - @pulumi.getter(name="actionsRequired") - def actions_required(self) -> Optional[pulumi.Input[str]]: - """ - A message indicating if changes on the service provider require any updates on the consumer. - """ - return pulumi.get(self, "actions_required") - - @actions_required.setter - def actions_required(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "actions_required", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - The reason for approval/rejection of the connection. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input[Union[str, 'PrivateLinkServiceConnectionStatus']]]: - """ - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input[Union[str, 'PrivateLinkServiceConnectionStatus']]]): - pulumi.set(self, "status", value) - - -@pulumi.input_type -class ResourceLogCategoryArgs: - def __init__(__self__, *, - enabled: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): - """ - Resource log category configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[str] enabled: Indicates whether or the resource log category is enabled. - Available values: true, false. - Case insensitive. - :param pulumi.Input[str] name: Gets or sets the resource log category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[str]]: - """ - Indicates whether or the resource log category is enabled. - Available values: true, false. - Case insensitive. - """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "enabled", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - Gets or sets the resource log category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - -@pulumi.input_type -class ResourceLogConfigurationArgs: - def __init__(__self__, *, - categories: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceLogCategoryArgs']]]] = None): - """ - Resource log configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[Sequence[pulumi.Input['ResourceLogCategoryArgs']]] categories: Gets or sets the list of category configurations. - """ - if categories is not None: - pulumi.set(__self__, "categories", categories) - - @property - @pulumi.getter - def categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceLogCategoryArgs']]]]: - """ - Gets or sets the list of category configurations. - """ - return pulumi.get(self, "categories") - - @categories.setter - def categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceLogCategoryArgs']]]]): - pulumi.set(self, "categories", value) - - -@pulumi.input_type -class ResourceReferenceArgs: - def __init__(__self__, *, - id: Optional[pulumi.Input[str]] = None): - """ - Reference to a resource. - :param pulumi.Input[str] id: Resource ID. - """ - if id is not None: - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: - """ - Resource ID. - """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "id", value) - - -@pulumi.input_type -class ResourceSkuArgs: - def __init__(__self__, *, - name: pulumi.Input[str], - capacity: Optional[pulumi.Input[int]] = None, - tier: Optional[pulumi.Input[Union[str, 'WebPubSubSkuTier']]] = None): - """ - The billing information of the resource. - :param pulumi.Input[str] name: The name of the SKU. Required. - - Allowed values: Standard_S1, Free_F1, Premium_P1 - :param pulumi.Input[int] capacity: Optional, integer. The unit count of the resource. 1 by default. - - If present, following values are allowed: - Free: 1; - Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - :param pulumi.Input[Union[str, 'WebPubSubSkuTier']] tier: Optional tier of this particular SKU. 'Standard' or 'Free'. - - `Basic` is deprecated, use `Standard` instead. - """ - pulumi.set(__self__, "name", name) - if capacity is not None: - pulumi.set(__self__, "capacity", capacity) - if tier is not None: - pulumi.set(__self__, "tier", tier) - - @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - The name of the SKU. Required. - - Allowed values: Standard_S1, Free_F1, Premium_P1 - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def capacity(self) -> Optional[pulumi.Input[int]]: - """ - Optional, integer. The unit count of the resource. 1 by default. - - If present, following values are allowed: - Free: 1; - Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - """ - return pulumi.get(self, "capacity") - - @capacity.setter - def capacity(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "capacity", value) - - @property - @pulumi.getter - def tier(self) -> Optional[pulumi.Input[Union[str, 'WebPubSubSkuTier']]]: - """ - Optional tier of this particular SKU. 'Standard' or 'Free'. - - `Basic` is deprecated, use `Standard` instead. - """ - return pulumi.get(self, "tier") - - @tier.setter - def tier(self, value: Optional[pulumi.Input[Union[str, 'WebPubSubSkuTier']]]): - pulumi.set(self, "tier", value) - - -@pulumi.input_type -class UpstreamAuthSettingsArgs: - def __init__(__self__, *, - managed_identity: Optional[pulumi.Input['ManagedIdentitySettingsArgs']] = None, - type: Optional[pulumi.Input[Union[str, 'UpstreamAuthType']]] = None): - """ - Upstream auth settings. If not set, no auth is used for upstream messages. - :param pulumi.Input['ManagedIdentitySettingsArgs'] managed_identity: Managed identity settings for upstream. - :param pulumi.Input[Union[str, 'UpstreamAuthType']] type: Upstream auth type enum. - """ - if managed_identity is not None: - pulumi.set(__self__, "managed_identity", managed_identity) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="managedIdentity") - def managed_identity(self) -> Optional[pulumi.Input['ManagedIdentitySettingsArgs']]: - """ - Managed identity settings for upstream. - """ - return pulumi.get(self, "managed_identity") - - @managed_identity.setter - def managed_identity(self, value: Optional[pulumi.Input['ManagedIdentitySettingsArgs']]): - pulumi.set(self, "managed_identity", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[Union[str, 'UpstreamAuthType']]]: - """ - Upstream auth type enum. - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[Union[str, 'UpstreamAuthType']]]): - pulumi.set(self, "type", value) - - -@pulumi.input_type -class WebPubSubHubPropertiesArgs: - def __init__(__self__, *, - anonymous_connect_policy: Optional[pulumi.Input[str]] = None, - event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input['EventHandlerArgs']]]] = None, - event_listeners: Optional[pulumi.Input[Sequence[pulumi.Input['EventListenerArgs']]]] = None): - """ - Properties of a hub. - :param pulumi.Input[str] anonymous_connect_policy: The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". - :param pulumi.Input[Sequence[pulumi.Input['EventHandlerArgs']]] event_handlers: Event handler of a hub. - :param pulumi.Input[Sequence[pulumi.Input['EventListenerArgs']]] event_listeners: Event listener settings for forwarding your client events to listeners. - Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - Maximum count of event listeners among all hubs is 10. - """ - if anonymous_connect_policy is None: - anonymous_connect_policy = 'deny' - if anonymous_connect_policy is not None: - pulumi.set(__self__, "anonymous_connect_policy", anonymous_connect_policy) - if event_handlers is not None: - pulumi.set(__self__, "event_handlers", event_handlers) - if event_listeners is not None: - pulumi.set(__self__, "event_listeners", event_listeners) - - @property - @pulumi.getter(name="anonymousConnectPolicy") - def anonymous_connect_policy(self) -> Optional[pulumi.Input[str]]: - """ - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". - """ - return pulumi.get(self, "anonymous_connect_policy") - - @anonymous_connect_policy.setter - def anonymous_connect_policy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "anonymous_connect_policy", value) - - @property - @pulumi.getter(name="eventHandlers") - def event_handlers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EventHandlerArgs']]]]: - """ - Event handler of a hub. - """ - return pulumi.get(self, "event_handlers") - - @event_handlers.setter - def event_handlers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EventHandlerArgs']]]]): - pulumi.set(self, "event_handlers", value) - - @property - @pulumi.getter(name="eventListeners") - def event_listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EventListenerArgs']]]]: - """ - Event listener settings for forwarding your client events to listeners. - Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - Maximum count of event listeners among all hubs is 10. - """ - return pulumi.get(self, "event_listeners") - - @event_listeners.setter - def event_listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EventListenerArgs']]]]): - pulumi.set(self, "event_listeners", value) - - -@pulumi.input_type -class WebPubSubNetworkACLsArgs: - def __init__(__self__, *, - default_action: Optional[pulumi.Input[Union[str, 'ACLAction']]] = None, - private_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointACLArgs']]]] = None, - public_network: Optional[pulumi.Input['NetworkACLArgs']] = None): - """ - Network ACLs for the resource - :param pulumi.Input[Union[str, 'ACLAction']] default_action: Azure Networking ACL Action. - :param pulumi.Input[Sequence[pulumi.Input['PrivateEndpointACLArgs']]] private_endpoints: ACLs for requests from private endpoints - :param pulumi.Input['NetworkACLArgs'] public_network: Network ACL - """ - if default_action is not None: - pulumi.set(__self__, "default_action", default_action) - if private_endpoints is not None: - pulumi.set(__self__, "private_endpoints", private_endpoints) - if public_network is not None: - pulumi.set(__self__, "public_network", public_network) - - @property - @pulumi.getter(name="defaultAction") - def default_action(self) -> Optional[pulumi.Input[Union[str, 'ACLAction']]]: - """ - Azure Networking ACL Action. - """ - return pulumi.get(self, "default_action") - - @default_action.setter - def default_action(self, value: Optional[pulumi.Input[Union[str, 'ACLAction']]]): - pulumi.set(self, "default_action", value) - - @property - @pulumi.getter(name="privateEndpoints") - def private_endpoints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointACLArgs']]]]: - """ - ACLs for requests from private endpoints - """ - return pulumi.get(self, "private_endpoints") - - @private_endpoints.setter - def private_endpoints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointACLArgs']]]]): - pulumi.set(self, "private_endpoints", value) - - @property - @pulumi.getter(name="publicNetwork") - def public_network(self) -> Optional[pulumi.Input['NetworkACLArgs']]: - """ - Network ACL - """ - return pulumi.get(self, "public_network") - - @public_network.setter - def public_network(self, value: Optional[pulumi.Input['NetworkACLArgs']]): - pulumi.set(self, "public_network", value) - - -@pulumi.input_type -class WebPubSubTlsSettingsArgs: - def __init__(__self__, *, - client_cert_enabled: Optional[pulumi.Input[bool]] = None): - """ - TLS settings for the resource - :param pulumi.Input[bool] client_cert_enabled: Request client certificate during TLS handshake if enabled - """ - if client_cert_enabled is None: - client_cert_enabled = True - if client_cert_enabled is not None: - pulumi.set(__self__, "client_cert_enabled", client_cert_enabled) - - @property - @pulumi.getter(name="clientCertEnabled") - def client_cert_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - Request client certificate during TLS handshake if enabled - """ - return pulumi.get(self, "client_cert_enabled") - - @client_cert_enabled.setter - def client_cert_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "client_cert_enabled", value) - - diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub.py deleted file mode 100644 index d8c6efcdfac0..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub.py +++ /dev/null @@ -1,384 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetWebPubSubResult', - 'AwaitableGetWebPubSubResult', - 'get_web_pub_sub', - 'get_web_pub_sub_output', -] - -@pulumi.output_type -class GetWebPubSubResult: - """ - A class represent a resource. - """ - def __init__(__self__, disable_aad_auth=None, disable_local_auth=None, external_ip=None, host_name=None, host_name_prefix=None, id=None, identity=None, live_trace_configuration=None, location=None, name=None, network_acls=None, private_endpoint_connections=None, provisioning_state=None, public_network_access=None, public_port=None, resource_log_configuration=None, server_port=None, shared_private_link_resources=None, sku=None, system_data=None, tags=None, tls=None, type=None, version=None): - if disable_aad_auth and not isinstance(disable_aad_auth, bool): - raise TypeError("Expected argument 'disable_aad_auth' to be a bool") - pulumi.set(__self__, "disable_aad_auth", disable_aad_auth) - if disable_local_auth and not isinstance(disable_local_auth, bool): - raise TypeError("Expected argument 'disable_local_auth' to be a bool") - pulumi.set(__self__, "disable_local_auth", disable_local_auth) - if external_ip and not isinstance(external_ip, str): - raise TypeError("Expected argument 'external_ip' to be a str") - pulumi.set(__self__, "external_ip", external_ip) - if host_name and not isinstance(host_name, str): - raise TypeError("Expected argument 'host_name' to be a str") - pulumi.set(__self__, "host_name", host_name) - if host_name_prefix and not isinstance(host_name_prefix, str): - raise TypeError("Expected argument 'host_name_prefix' to be a str") - pulumi.set(__self__, "host_name_prefix", host_name_prefix) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if identity and not isinstance(identity, dict): - raise TypeError("Expected argument 'identity' to be a dict") - pulumi.set(__self__, "identity", identity) - if live_trace_configuration and not isinstance(live_trace_configuration, dict): - raise TypeError("Expected argument 'live_trace_configuration' to be a dict") - pulumi.set(__self__, "live_trace_configuration", live_trace_configuration) - if location and not isinstance(location, str): - raise TypeError("Expected argument 'location' to be a str") - pulumi.set(__self__, "location", location) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if network_acls and not isinstance(network_acls, dict): - raise TypeError("Expected argument 'network_acls' to be a dict") - pulumi.set(__self__, "network_acls", network_acls) - if private_endpoint_connections and not isinstance(private_endpoint_connections, list): - raise TypeError("Expected argument 'private_endpoint_connections' to be a list") - pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if public_network_access and not isinstance(public_network_access, str): - raise TypeError("Expected argument 'public_network_access' to be a str") - pulumi.set(__self__, "public_network_access", public_network_access) - if public_port and not isinstance(public_port, int): - raise TypeError("Expected argument 'public_port' to be a int") - pulumi.set(__self__, "public_port", public_port) - if resource_log_configuration and not isinstance(resource_log_configuration, dict): - raise TypeError("Expected argument 'resource_log_configuration' to be a dict") - pulumi.set(__self__, "resource_log_configuration", resource_log_configuration) - if server_port and not isinstance(server_port, int): - raise TypeError("Expected argument 'server_port' to be a int") - pulumi.set(__self__, "server_port", server_port) - if shared_private_link_resources and not isinstance(shared_private_link_resources, list): - raise TypeError("Expected argument 'shared_private_link_resources' to be a list") - pulumi.set(__self__, "shared_private_link_resources", shared_private_link_resources) - if sku and not isinstance(sku, dict): - raise TypeError("Expected argument 'sku' to be a dict") - pulumi.set(__self__, "sku", sku) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if tls and not isinstance(tls, dict): - raise TypeError("Expected argument 'tls' to be a dict") - pulumi.set(__self__, "tls", tls) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - if version and not isinstance(version, str): - raise TypeError("Expected argument 'version' to be a str") - pulumi.set(__self__, "version", version) - - @property - @pulumi.getter(name="disableAadAuth") - def disable_aad_auth(self) -> Optional[bool]: - """ - DisableLocalAuth - Enable or disable aad auth - When set as true, connection with AuthType=aad won't work. - """ - return pulumi.get(self, "disable_aad_auth") - - @property - @pulumi.getter(name="disableLocalAuth") - def disable_local_auth(self) -> Optional[bool]: - """ - DisableLocalAuth - Enable or disable local auth with AccessKey - When set as true, connection with AccessKey=xxx won't work. - """ - return pulumi.get(self, "disable_local_auth") - - @property - @pulumi.getter(name="externalIP") - def external_ip(self) -> str: - """ - The publicly accessible IP of the resource. - """ - return pulumi.get(self, "external_ip") - - @property - @pulumi.getter(name="hostName") - def host_name(self) -> str: - """ - FQDN of the service instance. - """ - return pulumi.get(self, "host_name") - - @property - @pulumi.getter(name="hostNamePrefix") - def host_name_prefix(self) -> str: - """ - Deprecated. - """ - return pulumi.get(self, "host_name_prefix") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource Id for the resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def identity(self) -> Optional['outputs.ManagedIdentityResponse']: - """ - A class represent managed identities used for request and response - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter(name="liveTraceConfiguration") - def live_trace_configuration(self) -> Optional['outputs.LiveTraceConfigurationResponse']: - """ - Live trace configuration of a Microsoft.SignalRService resource. - """ - return pulumi.get(self, "live_trace_configuration") - - @property - @pulumi.getter - def location(self) -> Optional[str]: - """ - The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="networkACLs") - def network_acls(self) -> Optional['outputs.WebPubSubNetworkACLsResponse']: - """ - Network ACLs for the resource - """ - return pulumi.get(self, "network_acls") - - @property - @pulumi.getter(name="privateEndpointConnections") - def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: - """ - Private endpoint connections to the resource. - """ - return pulumi.get(self, "private_endpoint_connections") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="publicNetworkAccess") - def public_network_access(self) -> Optional[str]: - """ - Enable or disable public network access. Default to "Enabled". - When it's Enabled, network ACLs still apply. - When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - """ - return pulumi.get(self, "public_network_access") - - @property - @pulumi.getter(name="publicPort") - def public_port(self) -> int: - """ - The publicly accessible port of the resource which is designed for browser/client side usage. - """ - return pulumi.get(self, "public_port") - - @property - @pulumi.getter(name="resourceLogConfiguration") - def resource_log_configuration(self) -> Optional['outputs.ResourceLogConfigurationResponse']: - """ - Resource log configuration of a Microsoft.SignalRService resource. - """ - return pulumi.get(self, "resource_log_configuration") - - @property - @pulumi.getter(name="serverPort") - def server_port(self) -> int: - """ - The publicly accessible port of the resource which is designed for customer server side usage. - """ - return pulumi.get(self, "server_port") - - @property - @pulumi.getter(name="sharedPrivateLinkResources") - def shared_private_link_resources(self) -> Sequence['outputs.SharedPrivateLinkResourceResponse']: - """ - The list of shared private link resources. - """ - return pulumi.get(self, "shared_private_link_resources") - - @property - @pulumi.getter - def sku(self) -> Optional['outputs.ResourceSkuResponse']: - """ - The billing information of the resource. - """ - return pulumi.get(self, "sku") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - Tags of the service which is a list of key value pairs that describe the resource. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def tls(self) -> Optional['outputs.WebPubSubTlsSettingsResponse']: - """ - TLS settings for the resource - """ - return pulumi.get(self, "tls") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def version(self) -> str: - """ - Version of the resource. Probably you need the same or higher version of client SDKs. - """ - return pulumi.get(self, "version") - - -class AwaitableGetWebPubSubResult(GetWebPubSubResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetWebPubSubResult( - disable_aad_auth=self.disable_aad_auth, - disable_local_auth=self.disable_local_auth, - external_ip=self.external_ip, - host_name=self.host_name, - host_name_prefix=self.host_name_prefix, - id=self.id, - identity=self.identity, - live_trace_configuration=self.live_trace_configuration, - location=self.location, - name=self.name, - network_acls=self.network_acls, - private_endpoint_connections=self.private_endpoint_connections, - provisioning_state=self.provisioning_state, - public_network_access=self.public_network_access, - public_port=self.public_port, - resource_log_configuration=self.resource_log_configuration, - server_port=self.server_port, - shared_private_link_resources=self.shared_private_link_resources, - sku=self.sku, - system_data=self.system_data, - tags=self.tags, - tls=self.tls, - type=self.type, - version=self.version) - - -def get_web_pub_sub(resource_group_name: Optional[str] = None, - resource_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebPubSubResult: - """ - A class represent a resource. - - - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - __args__ = dict() - __args__['resourceGroupName'] = resource_group_name - __args__['resourceName'] = resource_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:webpubsub/v20220801preview:getWebPubSub', __args__, opts=opts, typ=GetWebPubSubResult).value - - return AwaitableGetWebPubSubResult( - disable_aad_auth=__ret__.disable_aad_auth, - disable_local_auth=__ret__.disable_local_auth, - external_ip=__ret__.external_ip, - host_name=__ret__.host_name, - host_name_prefix=__ret__.host_name_prefix, - id=__ret__.id, - identity=__ret__.identity, - live_trace_configuration=__ret__.live_trace_configuration, - location=__ret__.location, - name=__ret__.name, - network_acls=__ret__.network_acls, - private_endpoint_connections=__ret__.private_endpoint_connections, - provisioning_state=__ret__.provisioning_state, - public_network_access=__ret__.public_network_access, - public_port=__ret__.public_port, - resource_log_configuration=__ret__.resource_log_configuration, - server_port=__ret__.server_port, - shared_private_link_resources=__ret__.shared_private_link_resources, - sku=__ret__.sku, - system_data=__ret__.system_data, - tags=__ret__.tags, - tls=__ret__.tls, - type=__ret__.type, - version=__ret__.version) - - -@_utilities.lift_output_func(get_web_pub_sub) -def get_web_pub_sub_output(resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebPubSubResult]: - """ - A class represent a resource. - - - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - ... diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_custom_certificate.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_custom_certificate.py deleted file mode 100644 index 40cad2997e62..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_custom_certificate.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetWebPubSubCustomCertificateResult', - 'AwaitableGetWebPubSubCustomCertificateResult', - 'get_web_pub_sub_custom_certificate', - 'get_web_pub_sub_custom_certificate_output', -] - -@pulumi.output_type -class GetWebPubSubCustomCertificateResult: - """ - A custom certificate. - """ - def __init__(__self__, id=None, key_vault_base_uri=None, key_vault_secret_name=None, key_vault_secret_version=None, name=None, provisioning_state=None, system_data=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if key_vault_base_uri and not isinstance(key_vault_base_uri, str): - raise TypeError("Expected argument 'key_vault_base_uri' to be a str") - pulumi.set(__self__, "key_vault_base_uri", key_vault_base_uri) - if key_vault_secret_name and not isinstance(key_vault_secret_name, str): - raise TypeError("Expected argument 'key_vault_secret_name' to be a str") - pulumi.set(__self__, "key_vault_secret_name", key_vault_secret_name) - if key_vault_secret_version and not isinstance(key_vault_secret_version, str): - raise TypeError("Expected argument 'key_vault_secret_version' to be a str") - pulumi.set(__self__, "key_vault_secret_version", key_vault_secret_version) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource Id for the resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="keyVaultBaseUri") - def key_vault_base_uri(self) -> str: - """ - Base uri of the KeyVault that stores certificate. - """ - return pulumi.get(self, "key_vault_base_uri") - - @property - @pulumi.getter(name="keyVaultSecretName") - def key_vault_secret_name(self) -> str: - """ - Certificate secret name. - """ - return pulumi.get(self, "key_vault_secret_name") - - @property - @pulumi.getter(name="keyVaultSecretVersion") - def key_vault_secret_version(self) -> Optional[str]: - """ - Certificate secret version. - """ - return pulumi.get(self, "key_vault_secret_version") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - -class AwaitableGetWebPubSubCustomCertificateResult(GetWebPubSubCustomCertificateResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetWebPubSubCustomCertificateResult( - id=self.id, - key_vault_base_uri=self.key_vault_base_uri, - key_vault_secret_name=self.key_vault_secret_name, - key_vault_secret_version=self.key_vault_secret_version, - name=self.name, - provisioning_state=self.provisioning_state, - system_data=self.system_data, - type=self.type) - - -def get_web_pub_sub_custom_certificate(certificate_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - resource_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebPubSubCustomCertificateResult: - """ - A custom certificate. - - - :param str certificate_name: Custom certificate name - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - __args__ = dict() - __args__['certificateName'] = certificate_name - __args__['resourceGroupName'] = resource_group_name - __args__['resourceName'] = resource_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:webpubsub/v20220801preview:getWebPubSubCustomCertificate', __args__, opts=opts, typ=GetWebPubSubCustomCertificateResult).value - - return AwaitableGetWebPubSubCustomCertificateResult( - id=__ret__.id, - key_vault_base_uri=__ret__.key_vault_base_uri, - key_vault_secret_name=__ret__.key_vault_secret_name, - key_vault_secret_version=__ret__.key_vault_secret_version, - name=__ret__.name, - provisioning_state=__ret__.provisioning_state, - system_data=__ret__.system_data, - type=__ret__.type) - - -@_utilities.lift_output_func(get_web_pub_sub_custom_certificate) -def get_web_pub_sub_custom_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebPubSubCustomCertificateResult]: - """ - A custom certificate. - - - :param str certificate_name: Custom certificate name - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - ... diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_custom_domain.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_custom_domain.py deleted file mode 100644 index fa6c851f320c..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_custom_domain.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetWebPubSubCustomDomainResult', - 'AwaitableGetWebPubSubCustomDomainResult', - 'get_web_pub_sub_custom_domain', - 'get_web_pub_sub_custom_domain_output', -] - -@pulumi.output_type -class GetWebPubSubCustomDomainResult: - """ - A custom domain - """ - def __init__(__self__, custom_certificate=None, domain_name=None, id=None, name=None, provisioning_state=None, system_data=None, type=None): - if custom_certificate and not isinstance(custom_certificate, dict): - raise TypeError("Expected argument 'custom_certificate' to be a dict") - pulumi.set(__self__, "custom_certificate", custom_certificate) - if domain_name and not isinstance(domain_name, str): - raise TypeError("Expected argument 'domain_name' to be a str") - pulumi.set(__self__, "domain_name", domain_name) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="customCertificate") - def custom_certificate(self) -> 'outputs.ResourceReferenceResponse': - """ - Reference to a resource. - """ - return pulumi.get(self, "custom_certificate") - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> str: - """ - The custom domain name. - """ - return pulumi.get(self, "domain_name") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource Id for the resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - -class AwaitableGetWebPubSubCustomDomainResult(GetWebPubSubCustomDomainResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetWebPubSubCustomDomainResult( - custom_certificate=self.custom_certificate, - domain_name=self.domain_name, - id=self.id, - name=self.name, - provisioning_state=self.provisioning_state, - system_data=self.system_data, - type=self.type) - - -def get_web_pub_sub_custom_domain(name: Optional[str] = None, - resource_group_name: Optional[str] = None, - resource_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebPubSubCustomDomainResult: - """ - A custom domain - - - :param str name: Custom domain name. - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - __args__ = dict() - __args__['name'] = name - __args__['resourceGroupName'] = resource_group_name - __args__['resourceName'] = resource_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:webpubsub/v20220801preview:getWebPubSubCustomDomain', __args__, opts=opts, typ=GetWebPubSubCustomDomainResult).value - - return AwaitableGetWebPubSubCustomDomainResult( - custom_certificate=__ret__.custom_certificate, - domain_name=__ret__.domain_name, - id=__ret__.id, - name=__ret__.name, - provisioning_state=__ret__.provisioning_state, - system_data=__ret__.system_data, - type=__ret__.type) - - -@_utilities.lift_output_func(get_web_pub_sub_custom_domain) -def get_web_pub_sub_custom_domain_output(name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebPubSubCustomDomainResult]: - """ - A custom domain - - - :param str name: Custom domain name. - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - ... diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_private_endpoint_connection.py deleted file mode 100644 index 6c9cc11689b4..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_private_endpoint_connection.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetWebPubSubPrivateEndpointConnectionResult', - 'AwaitableGetWebPubSubPrivateEndpointConnectionResult', - 'get_web_pub_sub_private_endpoint_connection', - 'get_web_pub_sub_private_endpoint_connection_output', -] - -@pulumi.output_type -class GetWebPubSubPrivateEndpointConnectionResult: - """ - A private endpoint connection to an azure resource - """ - def __init__(__self__, group_ids=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None): - if group_ids and not isinstance(group_ids, list): - raise TypeError("Expected argument 'group_ids' to be a list") - pulumi.set(__self__, "group_ids", group_ids) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if private_endpoint and not isinstance(private_endpoint, dict): - raise TypeError("Expected argument 'private_endpoint' to be a dict") - pulumi.set(__self__, "private_endpoint", private_endpoint) - if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): - raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") - pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="groupIds") - def group_ids(self) -> Sequence[str]: - """ - Group IDs - """ - return pulumi.get(self, "group_ids") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource Id for the resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="privateEndpoint") - def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: - """ - Private endpoint - """ - return pulumi.get(self, "private_endpoint") - - @property - @pulumi.getter(name="privateLinkServiceConnectionState") - def private_link_service_connection_state(self) -> Optional['outputs.PrivateLinkServiceConnectionStateResponse']: - """ - Connection state of the private endpoint connection - """ - return pulumi.get(self, "private_link_service_connection_state") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - -class AwaitableGetWebPubSubPrivateEndpointConnectionResult(GetWebPubSubPrivateEndpointConnectionResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetWebPubSubPrivateEndpointConnectionResult( - group_ids=self.group_ids, - id=self.id, - name=self.name, - private_endpoint=self.private_endpoint, - private_link_service_connection_state=self.private_link_service_connection_state, - provisioning_state=self.provisioning_state, - system_data=self.system_data, - type=self.type) - - -def get_web_pub_sub_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - resource_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebPubSubPrivateEndpointConnectionResult: - """ - A private endpoint connection to an azure resource - - - :param str private_endpoint_connection_name: The name of the private endpoint connection - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - __args__ = dict() - __args__['privateEndpointConnectionName'] = private_endpoint_connection_name - __args__['resourceGroupName'] = resource_group_name - __args__['resourceName'] = resource_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:webpubsub/v20220801preview:getWebPubSubPrivateEndpointConnection', __args__, opts=opts, typ=GetWebPubSubPrivateEndpointConnectionResult).value - - return AwaitableGetWebPubSubPrivateEndpointConnectionResult( - group_ids=__ret__.group_ids, - id=__ret__.id, - name=__ret__.name, - private_endpoint=__ret__.private_endpoint, - private_link_service_connection_state=__ret__.private_link_service_connection_state, - provisioning_state=__ret__.provisioning_state, - system_data=__ret__.system_data, - type=__ret__.type) - - -@_utilities.lift_output_func(get_web_pub_sub_private_endpoint_connection) -def get_web_pub_sub_private_endpoint_connection_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebPubSubPrivateEndpointConnectionResult]: - """ - A private endpoint connection to an azure resource - - - :param str private_endpoint_connection_name: The name of the private endpoint connection - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - ... diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_shared_private_link_resource.py deleted file mode 100644 index 27697647ff39..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/get_web_pub_sub_shared_private_link_resource.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetWebPubSubSharedPrivateLinkResourceResult', - 'AwaitableGetWebPubSubSharedPrivateLinkResourceResult', - 'get_web_pub_sub_shared_private_link_resource', - 'get_web_pub_sub_shared_private_link_resource_output', -] - -@pulumi.output_type -class GetWebPubSubSharedPrivateLinkResourceResult: - """ - Describes a Shared Private Link Resource - """ - def __init__(__self__, group_id=None, id=None, name=None, private_link_resource_id=None, provisioning_state=None, request_message=None, status=None, system_data=None, type=None): - if group_id and not isinstance(group_id, str): - raise TypeError("Expected argument 'group_id' to be a str") - pulumi.set(__self__, "group_id", group_id) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if private_link_resource_id and not isinstance(private_link_resource_id, str): - raise TypeError("Expected argument 'private_link_resource_id' to be a str") - pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if request_message and not isinstance(request_message, str): - raise TypeError("Expected argument 'request_message' to be a str") - pulumi.set(__self__, "request_message", request_message) - if status and not isinstance(status, str): - raise TypeError("Expected argument 'status' to be a str") - pulumi.set(__self__, "status", status) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="groupId") - def group_id(self) -> str: - """ - The group id from the provider of resource the shared private link resource is for - """ - return pulumi.get(self, "group_id") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource Id for the resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="privateLinkResourceId") - def private_link_resource_id(self) -> str: - """ - The resource id of the resource the shared private link resource is for - """ - return pulumi.get(self, "private_link_resource_id") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="requestMessage") - def request_message(self) -> Optional[str]: - """ - The request message for requesting approval of the shared private link resource - """ - return pulumi.get(self, "request_message") - - @property - @pulumi.getter - def status(self) -> str: - """ - Status of the shared private link resource - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - -class AwaitableGetWebPubSubSharedPrivateLinkResourceResult(GetWebPubSubSharedPrivateLinkResourceResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetWebPubSubSharedPrivateLinkResourceResult( - group_id=self.group_id, - id=self.id, - name=self.name, - private_link_resource_id=self.private_link_resource_id, - provisioning_state=self.provisioning_state, - request_message=self.request_message, - status=self.status, - system_data=self.system_data, - type=self.type) - - -def get_web_pub_sub_shared_private_link_resource(resource_group_name: Optional[str] = None, - resource_name: Optional[str] = None, - shared_private_link_resource_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebPubSubSharedPrivateLinkResourceResult: - """ - Describes a Shared Private Link Resource - - - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - :param str shared_private_link_resource_name: The name of the shared private link resource - """ - __args__ = dict() - __args__['resourceGroupName'] = resource_group_name - __args__['resourceName'] = resource_name - __args__['sharedPrivateLinkResourceName'] = shared_private_link_resource_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:webpubsub/v20220801preview:getWebPubSubSharedPrivateLinkResource', __args__, opts=opts, typ=GetWebPubSubSharedPrivateLinkResourceResult).value - - return AwaitableGetWebPubSubSharedPrivateLinkResourceResult( - group_id=__ret__.group_id, - id=__ret__.id, - name=__ret__.name, - private_link_resource_id=__ret__.private_link_resource_id, - provisioning_state=__ret__.provisioning_state, - request_message=__ret__.request_message, - status=__ret__.status, - system_data=__ret__.system_data, - type=__ret__.type) - - -@_utilities.lift_output_func(get_web_pub_sub_shared_private_link_resource) -def get_web_pub_sub_shared_private_link_resource_output(resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name: Optional[pulumi.Input[str]] = None, - shared_private_link_resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebPubSubSharedPrivateLinkResourceResult]: - """ - Describes a Shared Private Link Resource - - - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - :param str shared_private_link_resource_name: The name of the shared private link resource - """ - ... diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/list_web_pub_sub_keys.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/list_web_pub_sub_keys.py deleted file mode 100644 index 33728129c697..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/list_web_pub_sub_keys.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities - -__all__ = [ - 'ListWebPubSubKeysResult', - 'AwaitableListWebPubSubKeysResult', - 'list_web_pub_sub_keys', - 'list_web_pub_sub_keys_output', -] - -@pulumi.output_type -class ListWebPubSubKeysResult: - """ - A class represents the access keys of the resource. - """ - def __init__(__self__, primary_connection_string=None, primary_key=None, secondary_connection_string=None, secondary_key=None): - if primary_connection_string and not isinstance(primary_connection_string, str): - raise TypeError("Expected argument 'primary_connection_string' to be a str") - pulumi.set(__self__, "primary_connection_string", primary_connection_string) - if primary_key and not isinstance(primary_key, str): - raise TypeError("Expected argument 'primary_key' to be a str") - pulumi.set(__self__, "primary_key", primary_key) - if secondary_connection_string and not isinstance(secondary_connection_string, str): - raise TypeError("Expected argument 'secondary_connection_string' to be a str") - pulumi.set(__self__, "secondary_connection_string", secondary_connection_string) - if secondary_key and not isinstance(secondary_key, str): - raise TypeError("Expected argument 'secondary_key' to be a str") - pulumi.set(__self__, "secondary_key", secondary_key) - - @property - @pulumi.getter(name="primaryConnectionString") - def primary_connection_string(self) -> Optional[str]: - """ - Connection string constructed via the primaryKey - """ - return pulumi.get(self, "primary_connection_string") - - @property - @pulumi.getter(name="primaryKey") - def primary_key(self) -> Optional[str]: - """ - The primary access key. - """ - return pulumi.get(self, "primary_key") - - @property - @pulumi.getter(name="secondaryConnectionString") - def secondary_connection_string(self) -> Optional[str]: - """ - Connection string constructed via the secondaryKey - """ - return pulumi.get(self, "secondary_connection_string") - - @property - @pulumi.getter(name="secondaryKey") - def secondary_key(self) -> Optional[str]: - """ - The secondary access key. - """ - return pulumi.get(self, "secondary_key") - - -class AwaitableListWebPubSubKeysResult(ListWebPubSubKeysResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return ListWebPubSubKeysResult( - primary_connection_string=self.primary_connection_string, - primary_key=self.primary_key, - secondary_connection_string=self.secondary_connection_string, - secondary_key=self.secondary_key) - - -def list_web_pub_sub_keys(resource_group_name: Optional[str] = None, - resource_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListWebPubSubKeysResult: - """ - A class represents the access keys of the resource. - - - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - __args__ = dict() - __args__['resourceGroupName'] = resource_group_name - __args__['resourceName'] = resource_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:webpubsub/v20220801preview:listWebPubSubKeys', __args__, opts=opts, typ=ListWebPubSubKeysResult).value - - return AwaitableListWebPubSubKeysResult( - primary_connection_string=__ret__.primary_connection_string, - primary_key=__ret__.primary_key, - secondary_connection_string=__ret__.secondary_connection_string, - secondary_key=__ret__.secondary_key) - - -@_utilities.lift_output_func(list_web_pub_sub_keys) -def list_web_pub_sub_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListWebPubSubKeysResult]: - """ - A class represents the access keys of the resource. - - - :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param str resource_name: The name of the resource. - """ - ... diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/outputs.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/outputs.py deleted file mode 100644 index 2d8468192aee..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/outputs.py +++ /dev/null @@ -1,1504 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * - -__all__ = [ - 'EventHandlerResponse', - 'EventHubEndpointResponse', - 'EventListenerResponse', - 'EventNameFilterResponse', - 'LiveTraceCategoryResponse', - 'LiveTraceConfigurationResponse', - 'ManagedIdentityResponse', - 'ManagedIdentitySettingsResponse', - 'NetworkACLResponse', - 'PrivateEndpointACLResponse', - 'PrivateEndpointConnectionResponse', - 'PrivateEndpointResponse', - 'PrivateLinkServiceConnectionStateResponse', - 'ResourceLogCategoryResponse', - 'ResourceLogConfigurationResponse', - 'ResourceReferenceResponse', - 'ResourceSkuResponse', - 'SharedPrivateLinkResourceResponse', - 'SystemDataResponse', - 'UpstreamAuthSettingsResponse', - 'UserAssignedIdentityPropertyResponse', - 'WebPubSubHubPropertiesResponse', - 'WebPubSubNetworkACLsResponse', - 'WebPubSubTlsSettingsResponse', -] - -@pulumi.output_type -class EventHandlerResponse(dict): - """ - Properties of event handler. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "urlTemplate": - suggest = "url_template" - elif key == "systemEvents": - suggest = "system_events" - elif key == "userEventPattern": - suggest = "user_event_pattern" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in EventHandlerResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - EventHandlerResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - EventHandlerResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - url_template: str, - auth: Optional['outputs.UpstreamAuthSettingsResponse'] = None, - system_events: Optional[Sequence[str]] = None, - user_event_pattern: Optional[str] = None): - """ - Properties of event handler. - :param str url_template: Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - :param 'UpstreamAuthSettingsResponse' auth: Upstream auth settings. If not set, no auth is used for upstream messages. - :param Sequence[str] system_events: Gets or sets the list of system events. - :param str user_event_pattern: Gets or sets the matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - pulumi.set(__self__, "url_template", url_template) - if auth is not None: - pulumi.set(__self__, "auth", auth) - if system_events is not None: - pulumi.set(__self__, "system_events", system_events) - if user_event_pattern is not None: - pulumi.set(__self__, "user_event_pattern", user_event_pattern) - - @property - @pulumi.getter(name="urlTemplate") - def url_template(self) -> str: - """ - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. - For example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters. - """ - return pulumi.get(self, "url_template") - - @property - @pulumi.getter - def auth(self) -> Optional['outputs.UpstreamAuthSettingsResponse']: - """ - Upstream auth settings. If not set, no auth is used for upstream messages. - """ - return pulumi.get(self, "auth") - - @property - @pulumi.getter(name="systemEvents") - def system_events(self) -> Optional[Sequence[str]]: - """ - Gets or sets the list of system events. - """ - return pulumi.get(self, "system_events") - - @property - @pulumi.getter(name="userEventPattern") - def user_event_pattern(self) -> Optional[str]: - """ - Gets or sets the matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - return pulumi.get(self, "user_event_pattern") - - -@pulumi.output_type -class EventHubEndpointResponse(dict): - """ - An Event Hub endpoint. - The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "eventHubName": - suggest = "event_hub_name" - elif key == "fullyQualifiedNamespace": - suggest = "fully_qualified_namespace" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in EventHubEndpointResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - EventHubEndpointResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - EventHubEndpointResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - event_hub_name: str, - fully_qualified_namespace: str, - type: str): - """ - An Event Hub endpoint. - The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. - :param str event_hub_name: The name of the Event Hub. - :param str fully_qualified_namespace: The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - :param str type: - Expected value is 'EventHub'. - """ - pulumi.set(__self__, "event_hub_name", event_hub_name) - pulumi.set(__self__, "fully_qualified_namespace", fully_qualified_namespace) - pulumi.set(__self__, "type", 'EventHub') - - @property - @pulumi.getter(name="eventHubName") - def event_hub_name(self) -> str: - """ - The name of the Event Hub. - """ - return pulumi.get(self, "event_hub_name") - - @property - @pulumi.getter(name="fullyQualifiedNamespace") - def fully_qualified_namespace(self) -> str: - """ - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net". - """ - return pulumi.get(self, "fully_qualified_namespace") - - @property - @pulumi.getter - def type(self) -> str: - """ - - Expected value is 'EventHub'. - """ - return pulumi.get(self, "type") - - -@pulumi.output_type -class EventListenerResponse(dict): - """ - A setting defines which kinds of events should be sent to which endpoint. - """ - def __init__(__self__, *, - endpoint: 'outputs.EventHubEndpointResponse', - filter: 'outputs.EventNameFilterResponse'): - """ - A setting defines which kinds of events should be sent to which endpoint. - :param 'EventHubEndpointResponse' endpoint: An endpoint specifying where Web PubSub should send events to. - :param 'EventNameFilterResponse' filter: A base class for event filter which determines whether an event should be sent to an event listener. - """ - pulumi.set(__self__, "endpoint", endpoint) - pulumi.set(__self__, "filter", filter) - - @property - @pulumi.getter - def endpoint(self) -> 'outputs.EventHubEndpointResponse': - """ - An endpoint specifying where Web PubSub should send events to. - """ - return pulumi.get(self, "endpoint") - - @property - @pulumi.getter - def filter(self) -> 'outputs.EventNameFilterResponse': - """ - A base class for event filter which determines whether an event should be sent to an event listener. - """ - return pulumi.get(self, "filter") - - -@pulumi.output_type -class EventNameFilterResponse(dict): - """ - Filter events by their name. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "systemEvents": - suggest = "system_events" - elif key == "userEventPattern": - suggest = "user_event_pattern" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in EventNameFilterResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - EventNameFilterResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - EventNameFilterResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - type: str, - system_events: Optional[Sequence[str]] = None, - user_event_pattern: Optional[str] = None): - """ - Filter events by their name. - :param str type: - Expected value is 'EventName'. - :param Sequence[str] system_events: Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - :param str user_event_pattern: Gets or sets a matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - pulumi.set(__self__, "type", 'EventName') - if system_events is not None: - pulumi.set(__self__, "system_events", system_events) - if user_event_pattern is not None: - pulumi.set(__self__, "user_event_pattern", user_event_pattern) - - @property - @pulumi.getter - def type(self) -> str: - """ - - Expected value is 'EventName'. - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="systemEvents") - def system_events(self) -> Optional[Sequence[str]]: - """ - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response. - """ - return pulumi.get(self, "system_events") - - @property - @pulumi.getter(name="userEventPattern") - def user_event_pattern(self) -> Optional[str]: - """ - Gets or sets a matching pattern for event names. - There are 3 kinds of patterns supported: - 1. "*", it matches any event name - 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" - 3. A single event name, for example, "event1", it matches "event1" - """ - return pulumi.get(self, "user_event_pattern") - - -@pulumi.output_type -class LiveTraceCategoryResponse(dict): - """ - Live trace category configuration of a Microsoft.SignalRService resource. - """ - def __init__(__self__, *, - enabled: Optional[str] = None, - name: Optional[str] = None): - """ - Live trace category configuration of a Microsoft.SignalRService resource. - :param str enabled: Indicates whether or the live trace category is enabled. - Available values: true, false. - Case insensitive. - :param str name: Gets or sets the live trace category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def enabled(self) -> Optional[str]: - """ - Indicates whether or the live trace category is enabled. - Available values: true, false. - Case insensitive. - """ - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Gets or sets the live trace category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class LiveTraceConfigurationResponse(dict): - """ - Live trace configuration of a Microsoft.SignalRService resource. - """ - def __init__(__self__, *, - categories: Optional[Sequence['outputs.LiveTraceCategoryResponse']] = None, - enabled: Optional[str] = None): - """ - Live trace configuration of a Microsoft.SignalRService resource. - :param Sequence['LiveTraceCategoryResponse'] categories: Gets or sets the list of category configurations. - :param str enabled: Indicates whether or not enable live trace. - When it's set to true, live trace client can connect to the service. - Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - Available values: true, false. - Case insensitive. - """ - if categories is not None: - pulumi.set(__self__, "categories", categories) - if enabled is None: - enabled = 'false' - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - - @property - @pulumi.getter - def categories(self) -> Optional[Sequence['outputs.LiveTraceCategoryResponse']]: - """ - Gets or sets the list of category configurations. - """ - return pulumi.get(self, "categories") - - @property - @pulumi.getter - def enabled(self) -> Optional[str]: - """ - Indicates whether or not enable live trace. - When it's set to true, live trace client can connect to the service. - Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". - Available values: true, false. - Case insensitive. - """ - return pulumi.get(self, "enabled") - - -@pulumi.output_type -class ManagedIdentityResponse(dict): - """ - A class represent managed identities used for request and response - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "principalId": - suggest = "principal_id" - elif key == "tenantId": - suggest = "tenant_id" - elif key == "userAssignedIdentities": - suggest = "user_assigned_identities" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ManagedIdentityResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ManagedIdentityResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ManagedIdentityResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - principal_id: str, - tenant_id: str, - type: Optional[str] = None, - user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityPropertyResponse']] = None): - """ - A class represent managed identities used for request and response - :param str principal_id: Get the principal id for the system assigned identity. - Only be used in response. - :param str tenant_id: Get the tenant id for the system assigned identity. - Only be used in response - :param str type: Represents the identity type: systemAssigned, userAssigned, None - :param Mapping[str, 'UserAssignedIdentityPropertyResponse'] user_assigned_identities: Get or set the user assigned identities - """ - pulumi.set(__self__, "principal_id", principal_id) - pulumi.set(__self__, "tenant_id", tenant_id) - if type is not None: - pulumi.set(__self__, "type", type) - if user_assigned_identities is not None: - pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) - - @property - @pulumi.getter(name="principalId") - def principal_id(self) -> str: - """ - Get the principal id for the system assigned identity. - Only be used in response. - """ - return pulumi.get(self, "principal_id") - - @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> str: - """ - Get the tenant id for the system assigned identity. - Only be used in response - """ - return pulumi.get(self, "tenant_id") - - @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Represents the identity type: systemAssigned, userAssigned, None - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="userAssignedIdentities") - def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityPropertyResponse']]: - """ - Get or set the user assigned identities - """ - return pulumi.get(self, "user_assigned_identities") - - -@pulumi.output_type -class ManagedIdentitySettingsResponse(dict): - """ - Managed identity settings for upstream. - """ - def __init__(__self__, *, - resource: Optional[str] = None): - """ - Managed identity settings for upstream. - :param str resource: The Resource indicating the App ID URI of the target resource. - It also appears in the aud (audience) claim of the issued token. - """ - if resource is not None: - pulumi.set(__self__, "resource", resource) - - @property - @pulumi.getter - def resource(self) -> Optional[str]: - """ - The Resource indicating the App ID URI of the target resource. - It also appears in the aud (audience) claim of the issued token. - """ - return pulumi.get(self, "resource") - - -@pulumi.output_type -class NetworkACLResponse(dict): - """ - Network ACL - """ - def __init__(__self__, *, - allow: Optional[Sequence[str]] = None, - deny: Optional[Sequence[str]] = None): - """ - Network ACL - :param Sequence[str] allow: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - :param Sequence[str] deny: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - if allow is not None: - pulumi.set(__self__, "allow", allow) - if deny is not None: - pulumi.set(__self__, "deny", deny) - - @property - @pulumi.getter - def allow(self) -> Optional[Sequence[str]]: - """ - Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "allow") - - @property - @pulumi.getter - def deny(self) -> Optional[Sequence[str]]: - """ - Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "deny") - - -@pulumi.output_type -class PrivateEndpointACLResponse(dict): - """ - ACL for a private endpoint - """ - def __init__(__self__, *, - name: str, - allow: Optional[Sequence[str]] = None, - deny: Optional[Sequence[str]] = None): - """ - ACL for a private endpoint - :param str name: Name of the private endpoint connection - :param Sequence[str] allow: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - :param Sequence[str] deny: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - pulumi.set(__self__, "name", name) - if allow is not None: - pulumi.set(__self__, "allow", allow) - if deny is not None: - pulumi.set(__self__, "deny", deny) - - @property - @pulumi.getter - def name(self) -> str: - """ - Name of the private endpoint connection - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def allow(self) -> Optional[Sequence[str]]: - """ - Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "allow") - - @property - @pulumi.getter - def deny(self) -> Optional[Sequence[str]]: - """ - Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. - """ - return pulumi.get(self, "deny") - - -@pulumi.output_type -class PrivateEndpointConnectionResponse(dict): - """ - A private endpoint connection to an azure resource - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "groupIds": - suggest = "group_ids" - elif key == "provisioningState": - suggest = "provisioning_state" - elif key == "systemData": - suggest = "system_data" - elif key == "privateEndpoint": - suggest = "private_endpoint" - elif key == "privateLinkServiceConnectionState": - suggest = "private_link_service_connection_state" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - PrivateEndpointConnectionResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - PrivateEndpointConnectionResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - group_ids: Sequence[str], - id: str, - name: str, - provisioning_state: str, - system_data: 'outputs.SystemDataResponse', - type: str, - private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None, - private_link_service_connection_state: Optional['outputs.PrivateLinkServiceConnectionStateResponse'] = None): - """ - A private endpoint connection to an azure resource - :param Sequence[str] group_ids: Group IDs - :param str id: Fully qualified resource Id for the resource. - :param str name: The name of the resource. - :param str provisioning_state: Provisioning state of the resource. - :param 'SystemDataResponse' system_data: Metadata pertaining to creation and last modification of the resource. - :param str type: The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - :param 'PrivateEndpointResponse' private_endpoint: Private endpoint - :param 'PrivateLinkServiceConnectionStateResponse' private_link_service_connection_state: Connection state of the private endpoint connection - """ - pulumi.set(__self__, "group_ids", group_ids) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "provisioning_state", provisioning_state) - pulumi.set(__self__, "system_data", system_data) - pulumi.set(__self__, "type", type) - if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) - if private_link_service_connection_state is not None: - pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) - - @property - @pulumi.getter(name="groupIds") - def group_ids(self) -> Sequence[str]: - """ - Group IDs - """ - return pulumi.get(self, "group_ids") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource Id for the resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="privateEndpoint") - def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: - """ - Private endpoint - """ - return pulumi.get(self, "private_endpoint") - - @property - @pulumi.getter(name="privateLinkServiceConnectionState") - def private_link_service_connection_state(self) -> Optional['outputs.PrivateLinkServiceConnectionStateResponse']: - """ - Connection state of the private endpoint connection - """ - return pulumi.get(self, "private_link_service_connection_state") - - -@pulumi.output_type -class PrivateEndpointResponse(dict): - """ - Private endpoint - """ - def __init__(__self__, *, - id: Optional[str] = None): - """ - Private endpoint - :param str id: Full qualified Id of the private endpoint - """ - if id is not None: - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter - def id(self) -> Optional[str]: - """ - Full qualified Id of the private endpoint - """ - return pulumi.get(self, "id") - - -@pulumi.output_type -class PrivateLinkServiceConnectionStateResponse(dict): - """ - Connection state of the private endpoint connection - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "actionsRequired": - suggest = "actions_required" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStateResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - PrivateLinkServiceConnectionStateResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - PrivateLinkServiceConnectionStateResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - actions_required: Optional[str] = None, - description: Optional[str] = None, - status: Optional[str] = None): - """ - Connection state of the private endpoint connection - :param str actions_required: A message indicating if changes on the service provider require any updates on the consumer. - :param str description: The reason for approval/rejection of the connection. - :param str status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - """ - if actions_required is not None: - pulumi.set(__self__, "actions_required", actions_required) - if description is not None: - pulumi.set(__self__, "description", description) - if status is not None: - pulumi.set(__self__, "status", status) - - @property - @pulumi.getter(name="actionsRequired") - def actions_required(self) -> Optional[str]: - """ - A message indicating if changes on the service provider require any updates on the consumer. - """ - return pulumi.get(self, "actions_required") - - @property - @pulumi.getter - def description(self) -> Optional[str]: - """ - The reason for approval/rejection of the connection. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def status(self) -> Optional[str]: - """ - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - """ - return pulumi.get(self, "status") - - -@pulumi.output_type -class ResourceLogCategoryResponse(dict): - """ - Resource log category configuration of a Microsoft.SignalRService resource. - """ - def __init__(__self__, *, - enabled: Optional[str] = None, - name: Optional[str] = None): - """ - Resource log category configuration of a Microsoft.SignalRService resource. - :param str enabled: Indicates whether or the resource log category is enabled. - Available values: true, false. - Case insensitive. - :param str name: Gets or sets the resource log category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def enabled(self) -> Optional[str]: - """ - Indicates whether or the resource log category is enabled. - Available values: true, false. - Case insensitive. - """ - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Gets or sets the resource log category's name. - Available values: ConnectivityLogs, MessagingLogs. - Case insensitive. - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class ResourceLogConfigurationResponse(dict): - """ - Resource log configuration of a Microsoft.SignalRService resource. - """ - def __init__(__self__, *, - categories: Optional[Sequence['outputs.ResourceLogCategoryResponse']] = None): - """ - Resource log configuration of a Microsoft.SignalRService resource. - :param Sequence['ResourceLogCategoryResponse'] categories: Gets or sets the list of category configurations. - """ - if categories is not None: - pulumi.set(__self__, "categories", categories) - - @property - @pulumi.getter - def categories(self) -> Optional[Sequence['outputs.ResourceLogCategoryResponse']]: - """ - Gets or sets the list of category configurations. - """ - return pulumi.get(self, "categories") - - -@pulumi.output_type -class ResourceReferenceResponse(dict): - """ - Reference to a resource. - """ - def __init__(__self__, *, - id: Optional[str] = None): - """ - Reference to a resource. - :param str id: Resource ID. - """ - if id is not None: - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter - def id(self) -> Optional[str]: - """ - Resource ID. - """ - return pulumi.get(self, "id") - - -@pulumi.output_type -class ResourceSkuResponse(dict): - """ - The billing information of the resource. - """ - def __init__(__self__, *, - family: str, - name: str, - size: str, - capacity: Optional[int] = None, - tier: Optional[str] = None): - """ - The billing information of the resource. - :param str family: Not used. Retained for future use. - :param str name: The name of the SKU. Required. - - Allowed values: Standard_S1, Free_F1, Premium_P1 - :param str size: Not used. Retained for future use. - :param int capacity: Optional, integer. The unit count of the resource. 1 by default. - - If present, following values are allowed: - Free: 1; - Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - :param str tier: Optional tier of this particular SKU. 'Standard' or 'Free'. - - `Basic` is deprecated, use `Standard` instead. - """ - pulumi.set(__self__, "family", family) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "size", size) - if capacity is not None: - pulumi.set(__self__, "capacity", capacity) - if tier is not None: - pulumi.set(__self__, "tier", tier) - - @property - @pulumi.getter - def family(self) -> str: - """ - Not used. Retained for future use. - """ - return pulumi.get(self, "family") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the SKU. Required. - - Allowed values: Standard_S1, Free_F1, Premium_P1 - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def size(self) -> str: - """ - Not used. Retained for future use. - """ - return pulumi.get(self, "size") - - @property - @pulumi.getter - def capacity(self) -> Optional[int]: - """ - Optional, integer. The unit count of the resource. 1 by default. - - If present, following values are allowed: - Free: 1; - Standard: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; - """ - return pulumi.get(self, "capacity") - - @property - @pulumi.getter - def tier(self) -> Optional[str]: - """ - Optional tier of this particular SKU. 'Standard' or 'Free'. - - `Basic` is deprecated, use `Standard` instead. - """ - return pulumi.get(self, "tier") - - -@pulumi.output_type -class SharedPrivateLinkResourceResponse(dict): - """ - Describes a Shared Private Link Resource - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "groupId": - suggest = "group_id" - elif key == "privateLinkResourceId": - suggest = "private_link_resource_id" - elif key == "provisioningState": - suggest = "provisioning_state" - elif key == "systemData": - suggest = "system_data" - elif key == "requestMessage": - suggest = "request_message" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SharedPrivateLinkResourceResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SharedPrivateLinkResourceResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SharedPrivateLinkResourceResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - group_id: str, - id: str, - name: str, - private_link_resource_id: str, - provisioning_state: str, - status: str, - system_data: 'outputs.SystemDataResponse', - type: str, - request_message: Optional[str] = None): - """ - Describes a Shared Private Link Resource - :param str group_id: The group id from the provider of resource the shared private link resource is for - :param str id: Fully qualified resource Id for the resource. - :param str name: The name of the resource. - :param str private_link_resource_id: The resource id of the resource the shared private link resource is for - :param str provisioning_state: Provisioning state of the resource. - :param str status: Status of the shared private link resource - :param 'SystemDataResponse' system_data: Metadata pertaining to creation and last modification of the resource. - :param str type: The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - :param str request_message: The request message for requesting approval of the shared private link resource - """ - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) - pulumi.set(__self__, "provisioning_state", provisioning_state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_data", system_data) - pulumi.set(__self__, "type", type) - if request_message is not None: - pulumi.set(__self__, "request_message", request_message) - - @property - @pulumi.getter(name="groupId") - def group_id(self) -> str: - """ - The group id from the provider of resource the shared private link resource is for - """ - return pulumi.get(self, "group_id") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource Id for the resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="privateLinkResourceId") - def private_link_resource_id(self) -> str: - """ - The resource id of the resource the shared private link resource is for - """ - return pulumi.get(self, "private_link_resource_id") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter - def status(self) -> str: - """ - Status of the shared private link resource - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="requestMessage") - def request_message(self) -> Optional[str]: - """ - The request message for requesting approval of the shared private link resource - """ - return pulumi.get(self, "request_message") - - -@pulumi.output_type -class SystemDataResponse(dict): - """ - Metadata pertaining to creation and last modification of the resource. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "createdAt": - suggest = "created_at" - elif key == "createdBy": - suggest = "created_by" - elif key == "createdByType": - suggest = "created_by_type" - elif key == "lastModifiedAt": - suggest = "last_modified_at" - elif key == "lastModifiedBy": - suggest = "last_modified_by" - elif key == "lastModifiedByType": - suggest = "last_modified_by_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SystemDataResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SystemDataResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - created_at: Optional[str] = None, - created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None): - """ - Metadata pertaining to creation and last modification of the resource. - :param str created_at: The timestamp of resource creation (UTC). - :param str created_by: The identity that created the resource. - :param str created_by_type: The type of identity that created the resource. - :param str last_modified_at: The timestamp of resource last modification (UTC) - :param str last_modified_by: The identity that last modified the resource. - :param str last_modified_by_type: The type of identity that last modified the resource. - """ - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if created_by_type is not None: - pulumi.set(__self__, "created_by_type", created_by_type) - if last_modified_at is not None: - pulumi.set(__self__, "last_modified_at", last_modified_at) - if last_modified_by is not None: - pulumi.set(__self__, "last_modified_by", last_modified_by) - if last_modified_by_type is not None: - pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) - - @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[str]: - """ - The timestamp of resource creation (UTC). - """ - return pulumi.get(self, "created_at") - - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - The identity that created the resource. - """ - return pulumi.get(self, "created_by") - - @property - @pulumi.getter(name="createdByType") - def created_by_type(self) -> Optional[str]: - """ - The type of identity that created the resource. - """ - return pulumi.get(self, "created_by_type") - - @property - @pulumi.getter(name="lastModifiedAt") - def last_modified_at(self) -> Optional[str]: - """ - The timestamp of resource last modification (UTC) - """ - return pulumi.get(self, "last_modified_at") - - @property - @pulumi.getter(name="lastModifiedBy") - def last_modified_by(self) -> Optional[str]: - """ - The identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by") - - @property - @pulumi.getter(name="lastModifiedByType") - def last_modified_by_type(self) -> Optional[str]: - """ - The type of identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by_type") - - -@pulumi.output_type -class UpstreamAuthSettingsResponse(dict): - """ - Upstream auth settings. If not set, no auth is used for upstream messages. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "managedIdentity": - suggest = "managed_identity" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in UpstreamAuthSettingsResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - UpstreamAuthSettingsResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - UpstreamAuthSettingsResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - managed_identity: Optional['outputs.ManagedIdentitySettingsResponse'] = None, - type: Optional[str] = None): - """ - Upstream auth settings. If not set, no auth is used for upstream messages. - :param 'ManagedIdentitySettingsResponse' managed_identity: Managed identity settings for upstream. - :param str type: Upstream auth type enum. - """ - if managed_identity is not None: - pulumi.set(__self__, "managed_identity", managed_identity) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="managedIdentity") - def managed_identity(self) -> Optional['outputs.ManagedIdentitySettingsResponse']: - """ - Managed identity settings for upstream. - """ - return pulumi.get(self, "managed_identity") - - @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Upstream auth type enum. - """ - return pulumi.get(self, "type") - - -@pulumi.output_type -class UserAssignedIdentityPropertyResponse(dict): - """ - Properties of user assigned identity. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "clientId": - suggest = "client_id" - elif key == "principalId": - suggest = "principal_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityPropertyResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - UserAssignedIdentityPropertyResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - UserAssignedIdentityPropertyResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - client_id: str, - principal_id: str): - """ - Properties of user assigned identity. - :param str client_id: Get the client id for the user assigned identity - :param str principal_id: Get the principal id for the user assigned identity - """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "principal_id", principal_id) - - @property - @pulumi.getter(name="clientId") - def client_id(self) -> str: - """ - Get the client id for the user assigned identity - """ - return pulumi.get(self, "client_id") - - @property - @pulumi.getter(name="principalId") - def principal_id(self) -> str: - """ - Get the principal id for the user assigned identity - """ - return pulumi.get(self, "principal_id") - - -@pulumi.output_type -class WebPubSubHubPropertiesResponse(dict): - """ - Properties of a hub. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "anonymousConnectPolicy": - suggest = "anonymous_connect_policy" - elif key == "eventHandlers": - suggest = "event_handlers" - elif key == "eventListeners": - suggest = "event_listeners" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in WebPubSubHubPropertiesResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - WebPubSubHubPropertiesResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - WebPubSubHubPropertiesResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - anonymous_connect_policy: Optional[str] = None, - event_handlers: Optional[Sequence['outputs.EventHandlerResponse']] = None, - event_listeners: Optional[Sequence['outputs.EventListenerResponse']] = None): - """ - Properties of a hub. - :param str anonymous_connect_policy: The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". - :param Sequence['EventHandlerResponse'] event_handlers: Event handler of a hub. - :param Sequence['EventListenerResponse'] event_listeners: Event listener settings for forwarding your client events to listeners. - Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - Maximum count of event listeners among all hubs is 10. - """ - if anonymous_connect_policy is None: - anonymous_connect_policy = 'deny' - if anonymous_connect_policy is not None: - pulumi.set(__self__, "anonymous_connect_policy", anonymous_connect_policy) - if event_handlers is not None: - pulumi.set(__self__, "event_handlers", event_handlers) - if event_listeners is not None: - pulumi.set(__self__, "event_listeners", event_listeners) - - @property - @pulumi.getter(name="anonymousConnectPolicy") - def anonymous_connect_policy(self) -> Optional[str]: - """ - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". - """ - return pulumi.get(self, "anonymous_connect_policy") - - @property - @pulumi.getter(name="eventHandlers") - def event_handlers(self) -> Optional[Sequence['outputs.EventHandlerResponse']]: - """ - Event handler of a hub. - """ - return pulumi.get(self, "event_handlers") - - @property - @pulumi.getter(name="eventListeners") - def event_listeners(self) -> Optional[Sequence['outputs.EventListenerResponse']]: - """ - Event listener settings for forwarding your client events to listeners. - Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. - One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. - Maximum count of event listeners among all hubs is 10. - """ - return pulumi.get(self, "event_listeners") - - -@pulumi.output_type -class WebPubSubNetworkACLsResponse(dict): - """ - Network ACLs for the resource - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "defaultAction": - suggest = "default_action" - elif key == "privateEndpoints": - suggest = "private_endpoints" - elif key == "publicNetwork": - suggest = "public_network" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in WebPubSubNetworkACLsResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - WebPubSubNetworkACLsResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - WebPubSubNetworkACLsResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - default_action: Optional[str] = None, - private_endpoints: Optional[Sequence['outputs.PrivateEndpointACLResponse']] = None, - public_network: Optional['outputs.NetworkACLResponse'] = None): - """ - Network ACLs for the resource - :param str default_action: Azure Networking ACL Action. - :param Sequence['PrivateEndpointACLResponse'] private_endpoints: ACLs for requests from private endpoints - :param 'NetworkACLResponse' public_network: Network ACL - """ - if default_action is not None: - pulumi.set(__self__, "default_action", default_action) - if private_endpoints is not None: - pulumi.set(__self__, "private_endpoints", private_endpoints) - if public_network is not None: - pulumi.set(__self__, "public_network", public_network) - - @property - @pulumi.getter(name="defaultAction") - def default_action(self) -> Optional[str]: - """ - Azure Networking ACL Action. - """ - return pulumi.get(self, "default_action") - - @property - @pulumi.getter(name="privateEndpoints") - def private_endpoints(self) -> Optional[Sequence['outputs.PrivateEndpointACLResponse']]: - """ - ACLs for requests from private endpoints - """ - return pulumi.get(self, "private_endpoints") - - @property - @pulumi.getter(name="publicNetwork") - def public_network(self) -> Optional['outputs.NetworkACLResponse']: - """ - Network ACL - """ - return pulumi.get(self, "public_network") - - -@pulumi.output_type -class WebPubSubTlsSettingsResponse(dict): - """ - TLS settings for the resource - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "clientCertEnabled": - suggest = "client_cert_enabled" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in WebPubSubTlsSettingsResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - WebPubSubTlsSettingsResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - WebPubSubTlsSettingsResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - client_cert_enabled: Optional[bool] = None): - """ - TLS settings for the resource - :param bool client_cert_enabled: Request client certificate during TLS handshake if enabled - """ - if client_cert_enabled is None: - client_cert_enabled = True - if client_cert_enabled is not None: - pulumi.set(__self__, "client_cert_enabled", client_cert_enabled) - - @property - @pulumi.getter(name="clientCertEnabled") - def client_cert_enabled(self) -> Optional[bool]: - """ - Request client certificate during TLS handshake if enabled - """ - return pulumi.get(self, "client_cert_enabled") - - diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub.py deleted file mode 100644 index 75b34759a91d..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub.py +++ /dev/null @@ -1,611 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['WebPubSubArgs', 'WebPubSub'] - -@pulumi.input_type -class WebPubSubArgs: - def __init__(__self__, *, - resource_group_name: pulumi.Input[str], - disable_aad_auth: Optional[pulumi.Input[bool]] = None, - disable_local_auth: Optional[pulumi.Input[bool]] = None, - identity: Optional[pulumi.Input['ManagedIdentityArgs']] = None, - live_trace_configuration: Optional[pulumi.Input['LiveTraceConfigurationArgs']] = None, - location: Optional[pulumi.Input[str]] = None, - network_acls: Optional[pulumi.Input['WebPubSubNetworkACLsArgs']] = None, - public_network_access: Optional[pulumi.Input[str]] = None, - resource_log_configuration: Optional[pulumi.Input['ResourceLogConfigurationArgs']] = None, - resource_name: Optional[pulumi.Input[str]] = None, - sku: Optional[pulumi.Input['ResourceSkuArgs']] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - tls: Optional[pulumi.Input['WebPubSubTlsSettingsArgs']] = None): - """ - The set of arguments for constructing a WebPubSub resource. - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[bool] disable_aad_auth: DisableLocalAuth - Enable or disable aad auth - When set as true, connection with AuthType=aad won't work. - :param pulumi.Input[bool] disable_local_auth: DisableLocalAuth - Enable or disable local auth with AccessKey - When set as true, connection with AccessKey=xxx won't work. - :param pulumi.Input['ManagedIdentityArgs'] identity: A class represent managed identities used for request and response - :param pulumi.Input['LiveTraceConfigurationArgs'] live_trace_configuration: Live trace configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[str] location: The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - :param pulumi.Input['WebPubSubNetworkACLsArgs'] network_acls: Network ACLs for the resource - :param pulumi.Input[str] public_network_access: Enable or disable public network access. Default to "Enabled". - When it's Enabled, network ACLs still apply. - When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - :param pulumi.Input['ResourceLogConfigurationArgs'] resource_log_configuration: Resource log configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[str] resource_name: The name of the resource. - :param pulumi.Input['ResourceSkuArgs'] sku: The billing information of the resource. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags of the service which is a list of key value pairs that describe the resource. - :param pulumi.Input['WebPubSubTlsSettingsArgs'] tls: TLS settings for the resource - """ - pulumi.set(__self__, "resource_group_name", resource_group_name) - if disable_aad_auth is None: - disable_aad_auth = False - if disable_aad_auth is not None: - pulumi.set(__self__, "disable_aad_auth", disable_aad_auth) - if disable_local_auth is None: - disable_local_auth = False - if disable_local_auth is not None: - pulumi.set(__self__, "disable_local_auth", disable_local_auth) - if identity is not None: - pulumi.set(__self__, "identity", identity) - if live_trace_configuration is not None: - pulumi.set(__self__, "live_trace_configuration", live_trace_configuration) - if location is not None: - pulumi.set(__self__, "location", location) - if network_acls is not None: - pulumi.set(__self__, "network_acls", network_acls) - if public_network_access is None: - public_network_access = 'Enabled' - if public_network_access is not None: - pulumi.set(__self__, "public_network_access", public_network_access) - if resource_log_configuration is not None: - pulumi.set(__self__, "resource_log_configuration", resource_log_configuration) - if resource_name is not None: - pulumi.set(__self__, "resource_name", resource_name) - if sku is not None: - pulumi.set(__self__, "sku", sku) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if tls is not None: - pulumi.set(__self__, "tls", tls) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="disableAadAuth") - def disable_aad_auth(self) -> Optional[pulumi.Input[bool]]: - """ - DisableLocalAuth - Enable or disable aad auth - When set as true, connection with AuthType=aad won't work. - """ - return pulumi.get(self, "disable_aad_auth") - - @disable_aad_auth.setter - def disable_aad_auth(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "disable_aad_auth", value) - - @property - @pulumi.getter(name="disableLocalAuth") - def disable_local_auth(self) -> Optional[pulumi.Input[bool]]: - """ - DisableLocalAuth - Enable or disable local auth with AccessKey - When set as true, connection with AccessKey=xxx won't work. - """ - return pulumi.get(self, "disable_local_auth") - - @disable_local_auth.setter - def disable_local_auth(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "disable_local_auth", value) - - @property - @pulumi.getter - def identity(self) -> Optional[pulumi.Input['ManagedIdentityArgs']]: - """ - A class represent managed identities used for request and response - """ - return pulumi.get(self, "identity") - - @identity.setter - def identity(self, value: Optional[pulumi.Input['ManagedIdentityArgs']]): - pulumi.set(self, "identity", value) - - @property - @pulumi.getter(name="liveTraceConfiguration") - def live_trace_configuration(self) -> Optional[pulumi.Input['LiveTraceConfigurationArgs']]: - """ - Live trace configuration of a Microsoft.SignalRService resource. - """ - return pulumi.get(self, "live_trace_configuration") - - @live_trace_configuration.setter - def live_trace_configuration(self, value: Optional[pulumi.Input['LiveTraceConfigurationArgs']]): - pulumi.set(self, "live_trace_configuration", value) - - @property - @pulumi.getter - def location(self) -> Optional[pulumi.Input[str]]: - """ - The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - """ - return pulumi.get(self, "location") - - @location.setter - def location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "location", value) - - @property - @pulumi.getter(name="networkACLs") - def network_acls(self) -> Optional[pulumi.Input['WebPubSubNetworkACLsArgs']]: - """ - Network ACLs for the resource - """ - return pulumi.get(self, "network_acls") - - @network_acls.setter - def network_acls(self, value: Optional[pulumi.Input['WebPubSubNetworkACLsArgs']]): - pulumi.set(self, "network_acls", value) - - @property - @pulumi.getter(name="publicNetworkAccess") - def public_network_access(self) -> Optional[pulumi.Input[str]]: - """ - Enable or disable public network access. Default to "Enabled". - When it's Enabled, network ACLs still apply. - When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - """ - return pulumi.get(self, "public_network_access") - - @public_network_access.setter - def public_network_access(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_network_access", value) - - @property - @pulumi.getter(name="resourceLogConfiguration") - def resource_log_configuration(self) -> Optional[pulumi.Input['ResourceLogConfigurationArgs']]: - """ - Resource log configuration of a Microsoft.SignalRService resource. - """ - return pulumi.get(self, "resource_log_configuration") - - @resource_log_configuration.setter - def resource_log_configuration(self, value: Optional[pulumi.Input['ResourceLogConfigurationArgs']]): - pulumi.set(self, "resource_log_configuration", value) - - @property - @pulumi.getter(name="resourceName") - def resource_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the resource. - """ - return pulumi.get(self, "resource_name") - - @resource_name.setter - def resource_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "resource_name", value) - - @property - @pulumi.getter - def sku(self) -> Optional[pulumi.Input['ResourceSkuArgs']]: - """ - The billing information of the resource. - """ - return pulumi.get(self, "sku") - - @sku.setter - def sku(self, value: Optional[pulumi.Input['ResourceSkuArgs']]): - pulumi.set(self, "sku", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Tags of the service which is a list of key value pairs that describe the resource. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter - def tls(self) -> Optional[pulumi.Input['WebPubSubTlsSettingsArgs']]: - """ - TLS settings for the resource - """ - return pulumi.get(self, "tls") - - @tls.setter - def tls(self, value: Optional[pulumi.Input['WebPubSubTlsSettingsArgs']]): - pulumi.set(self, "tls", value) - - -class WebPubSub(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - disable_aad_auth: Optional[pulumi.Input[bool]] = None, - disable_local_auth: Optional[pulumi.Input[bool]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['ManagedIdentityArgs']]] = None, - live_trace_configuration: Optional[pulumi.Input[pulumi.InputType['LiveTraceConfigurationArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - network_acls: Optional[pulumi.Input[pulumi.InputType['WebPubSubNetworkACLsArgs']]] = None, - public_network_access: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_log_configuration: Optional[pulumi.Input[pulumi.InputType['ResourceLogConfigurationArgs']]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - sku: Optional[pulumi.Input[pulumi.InputType['ResourceSkuArgs']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - tls: Optional[pulumi.Input[pulumi.InputType['WebPubSubTlsSettingsArgs']]] = None, - __props__=None): - """ - A class represent a resource. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] disable_aad_auth: DisableLocalAuth - Enable or disable aad auth - When set as true, connection with AuthType=aad won't work. - :param pulumi.Input[bool] disable_local_auth: DisableLocalAuth - Enable or disable local auth with AccessKey - When set as true, connection with AccessKey=xxx won't work. - :param pulumi.Input[pulumi.InputType['ManagedIdentityArgs']] identity: A class represent managed identities used for request and response - :param pulumi.Input[pulumi.InputType['LiveTraceConfigurationArgs']] live_trace_configuration: Live trace configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[str] location: The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - :param pulumi.Input[pulumi.InputType['WebPubSubNetworkACLsArgs']] network_acls: Network ACLs for the resource - :param pulumi.Input[str] public_network_access: Enable or disable public network access. Default to "Enabled". - When it's Enabled, network ACLs still apply. - When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[pulumi.InputType['ResourceLogConfigurationArgs']] resource_log_configuration: Resource log configuration of a Microsoft.SignalRService resource. - :param pulumi.Input[str] resource_name_: The name of the resource. - :param pulumi.Input[pulumi.InputType['ResourceSkuArgs']] sku: The billing information of the resource. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags of the service which is a list of key value pairs that describe the resource. - :param pulumi.Input[pulumi.InputType['WebPubSubTlsSettingsArgs']] tls: TLS settings for the resource - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: WebPubSubArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - A class represent a resource. - - :param str resource_name: The name of the resource. - :param WebPubSubArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(WebPubSubArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - disable_aad_auth: Optional[pulumi.Input[bool]] = None, - disable_local_auth: Optional[pulumi.Input[bool]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['ManagedIdentityArgs']]] = None, - live_trace_configuration: Optional[pulumi.Input[pulumi.InputType['LiveTraceConfigurationArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - network_acls: Optional[pulumi.Input[pulumi.InputType['WebPubSubNetworkACLsArgs']]] = None, - public_network_access: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_log_configuration: Optional[pulumi.Input[pulumi.InputType['ResourceLogConfigurationArgs']]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - sku: Optional[pulumi.Input[pulumi.InputType['ResourceSkuArgs']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - tls: Optional[pulumi.Input[pulumi.InputType['WebPubSubTlsSettingsArgs']]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = WebPubSubArgs.__new__(WebPubSubArgs) - - if disable_aad_auth is None: - disable_aad_auth = False - __props__.__dict__["disable_aad_auth"] = disable_aad_auth - if disable_local_auth is None: - disable_local_auth = False - __props__.__dict__["disable_local_auth"] = disable_local_auth - __props__.__dict__["identity"] = identity - __props__.__dict__["live_trace_configuration"] = live_trace_configuration - __props__.__dict__["location"] = location - __props__.__dict__["network_acls"] = network_acls - if public_network_access is None: - public_network_access = 'Enabled' - __props__.__dict__["public_network_access"] = public_network_access - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - __props__.__dict__["resource_log_configuration"] = resource_log_configuration - __props__.__dict__["resource_name"] = resource_name_ - __props__.__dict__["sku"] = sku - __props__.__dict__["tags"] = tags - __props__.__dict__["tls"] = tls - __props__.__dict__["external_ip"] = None - __props__.__dict__["host_name"] = None - __props__.__dict__["host_name_prefix"] = None - __props__.__dict__["name"] = None - __props__.__dict__["private_endpoint_connections"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["public_port"] = None - __props__.__dict__["server_port"] = None - __props__.__dict__["shared_private_link_resources"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(WebPubSub, __self__).__init__( - 'azure-native:webpubsub/v20220801preview:WebPubSub', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'WebPubSub': - """ - Get an existing WebPubSub resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = WebPubSubArgs.__new__(WebPubSubArgs) - - __props__.__dict__["disable_aad_auth"] = None - __props__.__dict__["disable_local_auth"] = None - __props__.__dict__["external_ip"] = None - __props__.__dict__["host_name"] = None - __props__.__dict__["host_name_prefix"] = None - __props__.__dict__["identity"] = None - __props__.__dict__["live_trace_configuration"] = None - __props__.__dict__["location"] = None - __props__.__dict__["name"] = None - __props__.__dict__["network_acls"] = None - __props__.__dict__["private_endpoint_connections"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["public_network_access"] = None - __props__.__dict__["public_port"] = None - __props__.__dict__["resource_log_configuration"] = None - __props__.__dict__["server_port"] = None - __props__.__dict__["shared_private_link_resources"] = None - __props__.__dict__["sku"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["tls"] = None - __props__.__dict__["type"] = None - __props__.__dict__["version"] = None - return WebPubSub(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="disableAadAuth") - def disable_aad_auth(self) -> pulumi.Output[Optional[bool]]: - """ - DisableLocalAuth - Enable or disable aad auth - When set as true, connection with AuthType=aad won't work. - """ - return pulumi.get(self, "disable_aad_auth") - - @property - @pulumi.getter(name="disableLocalAuth") - def disable_local_auth(self) -> pulumi.Output[Optional[bool]]: - """ - DisableLocalAuth - Enable or disable local auth with AccessKey - When set as true, connection with AccessKey=xxx won't work. - """ - return pulumi.get(self, "disable_local_auth") - - @property - @pulumi.getter(name="externalIP") - def external_ip(self) -> pulumi.Output[str]: - """ - The publicly accessible IP of the resource. - """ - return pulumi.get(self, "external_ip") - - @property - @pulumi.getter(name="hostName") - def host_name(self) -> pulumi.Output[str]: - """ - FQDN of the service instance. - """ - return pulumi.get(self, "host_name") - - @property - @pulumi.getter(name="hostNamePrefix") - def host_name_prefix(self) -> pulumi.Output[str]: - """ - Deprecated. - """ - return pulumi.get(self, "host_name_prefix") - - @property - @pulumi.getter - def identity(self) -> pulumi.Output[Optional['outputs.ManagedIdentityResponse']]: - """ - A class represent managed identities used for request and response - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter(name="liveTraceConfiguration") - def live_trace_configuration(self) -> pulumi.Output[Optional['outputs.LiveTraceConfigurationResponse']]: - """ - Live trace configuration of a Microsoft.SignalRService resource. - """ - return pulumi.get(self, "live_trace_configuration") - - @property - @pulumi.getter - def location(self) -> pulumi.Output[Optional[str]]: - """ - The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="networkACLs") - def network_acls(self) -> pulumi.Output[Optional['outputs.WebPubSubNetworkACLsResponse']]: - """ - Network ACLs for the resource - """ - return pulumi.get(self, "network_acls") - - @property - @pulumi.getter(name="privateEndpointConnections") - def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: - """ - Private endpoint connections to the resource. - """ - return pulumi.get(self, "private_endpoint_connections") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="publicNetworkAccess") - def public_network_access(self) -> pulumi.Output[Optional[str]]: - """ - Enable or disable public network access. Default to "Enabled". - When it's Enabled, network ACLs still apply. - When it's Disabled, public network access is always disabled no matter what you set in network ACLs. - """ - return pulumi.get(self, "public_network_access") - - @property - @pulumi.getter(name="publicPort") - def public_port(self) -> pulumi.Output[int]: - """ - The publicly accessible port of the resource which is designed for browser/client side usage. - """ - return pulumi.get(self, "public_port") - - @property - @pulumi.getter(name="resourceLogConfiguration") - def resource_log_configuration(self) -> pulumi.Output[Optional['outputs.ResourceLogConfigurationResponse']]: - """ - Resource log configuration of a Microsoft.SignalRService resource. - """ - return pulumi.get(self, "resource_log_configuration") - - @property - @pulumi.getter(name="serverPort") - def server_port(self) -> pulumi.Output[int]: - """ - The publicly accessible port of the resource which is designed for customer server side usage. - """ - return pulumi.get(self, "server_port") - - @property - @pulumi.getter(name="sharedPrivateLinkResources") - def shared_private_link_resources(self) -> pulumi.Output[Sequence['outputs.SharedPrivateLinkResourceResponse']]: - """ - The list of shared private link resources. - """ - return pulumi.get(self, "shared_private_link_resources") - - @property - @pulumi.getter - def sku(self) -> pulumi.Output[Optional['outputs.ResourceSkuResponse']]: - """ - The billing information of the resource. - """ - return pulumi.get(self, "sku") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - Tags of the service which is a list of key value pairs that describe the resource. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def tls(self) -> pulumi.Output[Optional['outputs.WebPubSubTlsSettingsResponse']]: - """ - TLS settings for the resource - """ - return pulumi.get(self, "tls") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def version(self) -> pulumi.Output[str]: - """ - Version of the resource. Probably you need the same or higher version of client SDKs. - """ - return pulumi.get(self, "version") - diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_custom_certificate.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_custom_certificate.py deleted file mode 100644 index 11234b0cb8e2..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_custom_certificate.py +++ /dev/null @@ -1,282 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['WebPubSubCustomCertificateArgs', 'WebPubSubCustomCertificate'] - -@pulumi.input_type -class WebPubSubCustomCertificateArgs: - def __init__(__self__, *, - key_vault_base_uri: pulumi.Input[str], - key_vault_secret_name: pulumi.Input[str], - resource_group_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - certificate_name: Optional[pulumi.Input[str]] = None, - key_vault_secret_version: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a WebPubSubCustomCertificate resource. - :param pulumi.Input[str] key_vault_base_uri: Base uri of the KeyVault that stores certificate. - :param pulumi.Input[str] key_vault_secret_name: Certificate secret name. - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name: The name of the resource. - :param pulumi.Input[str] certificate_name: Custom certificate name - :param pulumi.Input[str] key_vault_secret_version: Certificate secret version. - """ - pulumi.set(__self__, "key_vault_base_uri", key_vault_base_uri) - pulumi.set(__self__, "key_vault_secret_name", key_vault_secret_name) - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "resource_name", resource_name) - if certificate_name is not None: - pulumi.set(__self__, "certificate_name", certificate_name) - if key_vault_secret_version is not None: - pulumi.set(__self__, "key_vault_secret_version", key_vault_secret_version) - - @property - @pulumi.getter(name="keyVaultBaseUri") - def key_vault_base_uri(self) -> pulumi.Input[str]: - """ - Base uri of the KeyVault that stores certificate. - """ - return pulumi.get(self, "key_vault_base_uri") - - @key_vault_base_uri.setter - def key_vault_base_uri(self, value: pulumi.Input[str]): - pulumi.set(self, "key_vault_base_uri", value) - - @property - @pulumi.getter(name="keyVaultSecretName") - def key_vault_secret_name(self) -> pulumi.Input[str]: - """ - Certificate secret name. - """ - return pulumi.get(self, "key_vault_secret_name") - - @key_vault_secret_name.setter - def key_vault_secret_name(self, value: pulumi.Input[str]): - pulumi.set(self, "key_vault_secret_name", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="resourceName") - def resource_name(self) -> pulumi.Input[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "resource_name") - - @resource_name.setter - def resource_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_name", value) - - @property - @pulumi.getter(name="certificateName") - def certificate_name(self) -> Optional[pulumi.Input[str]]: - """ - Custom certificate name - """ - return pulumi.get(self, "certificate_name") - - @certificate_name.setter - def certificate_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "certificate_name", value) - - @property - @pulumi.getter(name="keyVaultSecretVersion") - def key_vault_secret_version(self) -> Optional[pulumi.Input[str]]: - """ - Certificate secret version. - """ - return pulumi.get(self, "key_vault_secret_version") - - @key_vault_secret_version.setter - def key_vault_secret_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key_vault_secret_version", value) - - -class WebPubSubCustomCertificate(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - certificate_name: Optional[pulumi.Input[str]] = None, - key_vault_base_uri: Optional[pulumi.Input[str]] = None, - key_vault_secret_name: Optional[pulumi.Input[str]] = None, - key_vault_secret_version: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - A custom certificate. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] certificate_name: Custom certificate name - :param pulumi.Input[str] key_vault_base_uri: Base uri of the KeyVault that stores certificate. - :param pulumi.Input[str] key_vault_secret_name: Certificate secret name. - :param pulumi.Input[str] key_vault_secret_version: Certificate secret version. - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name_: The name of the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: WebPubSubCustomCertificateArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - A custom certificate. - - :param str resource_name: The name of the resource. - :param WebPubSubCustomCertificateArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(WebPubSubCustomCertificateArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - certificate_name: Optional[pulumi.Input[str]] = None, - key_vault_base_uri: Optional[pulumi.Input[str]] = None, - key_vault_secret_name: Optional[pulumi.Input[str]] = None, - key_vault_secret_version: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = WebPubSubCustomCertificateArgs.__new__(WebPubSubCustomCertificateArgs) - - __props__.__dict__["certificate_name"] = certificate_name - if key_vault_base_uri is None and not opts.urn: - raise TypeError("Missing required property 'key_vault_base_uri'") - __props__.__dict__["key_vault_base_uri"] = key_vault_base_uri - if key_vault_secret_name is None and not opts.urn: - raise TypeError("Missing required property 'key_vault_secret_name'") - __props__.__dict__["key_vault_secret_name"] = key_vault_secret_name - __props__.__dict__["key_vault_secret_version"] = key_vault_secret_version - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if resource_name_ is None and not opts.urn: - raise TypeError("Missing required property 'resource_name_'") - __props__.__dict__["resource_name"] = resource_name_ - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - super(WebPubSubCustomCertificate, __self__).__init__( - 'azure-native:webpubsub/v20220801preview:WebPubSubCustomCertificate', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'WebPubSubCustomCertificate': - """ - Get an existing WebPubSubCustomCertificate resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = WebPubSubCustomCertificateArgs.__new__(WebPubSubCustomCertificateArgs) - - __props__.__dict__["key_vault_base_uri"] = None - __props__.__dict__["key_vault_secret_name"] = None - __props__.__dict__["key_vault_secret_version"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return WebPubSubCustomCertificate(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="keyVaultBaseUri") - def key_vault_base_uri(self) -> pulumi.Output[str]: - """ - Base uri of the KeyVault that stores certificate. - """ - return pulumi.get(self, "key_vault_base_uri") - - @property - @pulumi.getter(name="keyVaultSecretName") - def key_vault_secret_name(self) -> pulumi.Output[str]: - """ - Certificate secret name. - """ - return pulumi.get(self, "key_vault_secret_name") - - @property - @pulumi.getter(name="keyVaultSecretVersion") - def key_vault_secret_version(self) -> pulumi.Output[Optional[str]]: - """ - Certificate secret version. - """ - return pulumi.get(self, "key_vault_secret_version") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_custom_domain.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_custom_domain.py deleted file mode 100644 index dee0231df326..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_custom_domain.py +++ /dev/null @@ -1,253 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['WebPubSubCustomDomainArgs', 'WebPubSubCustomDomain'] - -@pulumi.input_type -class WebPubSubCustomDomainArgs: - def __init__(__self__, *, - custom_certificate: pulumi.Input['ResourceReferenceArgs'], - domain_name: pulumi.Input[str], - resource_group_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a WebPubSubCustomDomain resource. - :param pulumi.Input['ResourceReferenceArgs'] custom_certificate: Reference to a resource. - :param pulumi.Input[str] domain_name: The custom domain name. - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name: The name of the resource. - :param pulumi.Input[str] name: Custom domain name. - """ - pulumi.set(__self__, "custom_certificate", custom_certificate) - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "resource_name", resource_name) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter(name="customCertificate") - def custom_certificate(self) -> pulumi.Input['ResourceReferenceArgs']: - """ - Reference to a resource. - """ - return pulumi.get(self, "custom_certificate") - - @custom_certificate.setter - def custom_certificate(self, value: pulumi.Input['ResourceReferenceArgs']): - pulumi.set(self, "custom_certificate", value) - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> pulumi.Input[str]: - """ - The custom domain name. - """ - return pulumi.get(self, "domain_name") - - @domain_name.setter - def domain_name(self, value: pulumi.Input[str]): - pulumi.set(self, "domain_name", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="resourceName") - def resource_name(self) -> pulumi.Input[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "resource_name") - - @resource_name.setter - def resource_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_name", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - Custom domain name. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - -class WebPubSubCustomDomain(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - custom_certificate: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, - domain_name: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - A custom domain - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['ResourceReferenceArgs']] custom_certificate: Reference to a resource. - :param pulumi.Input[str] domain_name: The custom domain name. - :param pulumi.Input[str] name: Custom domain name. - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name_: The name of the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: WebPubSubCustomDomainArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - A custom domain - - :param str resource_name: The name of the resource. - :param WebPubSubCustomDomainArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(WebPubSubCustomDomainArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - custom_certificate: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, - domain_name: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = WebPubSubCustomDomainArgs.__new__(WebPubSubCustomDomainArgs) - - if custom_certificate is None and not opts.urn: - raise TypeError("Missing required property 'custom_certificate'") - __props__.__dict__["custom_certificate"] = custom_certificate - if domain_name is None and not opts.urn: - raise TypeError("Missing required property 'domain_name'") - __props__.__dict__["domain_name"] = domain_name - __props__.__dict__["name"] = name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if resource_name_ is None and not opts.urn: - raise TypeError("Missing required property 'resource_name_'") - __props__.__dict__["resource_name"] = resource_name_ - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - super(WebPubSubCustomDomain, __self__).__init__( - 'azure-native:webpubsub/v20220801preview:WebPubSubCustomDomain', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'WebPubSubCustomDomain': - """ - Get an existing WebPubSubCustomDomain resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = WebPubSubCustomDomainArgs.__new__(WebPubSubCustomDomainArgs) - - __props__.__dict__["custom_certificate"] = None - __props__.__dict__["domain_name"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return WebPubSubCustomDomain(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="customCertificate") - def custom_certificate(self) -> pulumi.Output['outputs.ResourceReferenceResponse']: - """ - Reference to a resource. - """ - return pulumi.get(self, "custom_certificate") - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> pulumi.Output[str]: - """ - The custom domain name. - """ - return pulumi.get(self, "domain_name") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_private_endpoint_connection.py deleted file mode 100644 index 8038772e7a0e..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_private_endpoint_connection.py +++ /dev/null @@ -1,265 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['WebPubSubPrivateEndpointConnectionArgs', 'WebPubSubPrivateEndpointConnection'] - -@pulumi.input_type -class WebPubSubPrivateEndpointConnectionArgs: - def __init__(__self__, *, - resource_group_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - private_endpoint: Optional[pulumi.Input['PrivateEndpointArgs']] = None, - private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, - private_link_service_connection_state: Optional[pulumi.Input['PrivateLinkServiceConnectionStateArgs']] = None): - """ - The set of arguments for constructing a WebPubSubPrivateEndpointConnection resource. - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name: The name of the resource. - :param pulumi.Input['PrivateEndpointArgs'] private_endpoint: Private endpoint - :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection - :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: Connection state of the private endpoint connection - """ - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "resource_name", resource_name) - if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) - if private_endpoint_connection_name is not None: - pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) - if private_link_service_connection_state is not None: - pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="resourceName") - def resource_name(self) -> pulumi.Input[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "resource_name") - - @resource_name.setter - def resource_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_name", value) - - @property - @pulumi.getter(name="privateEndpoint") - def private_endpoint(self) -> Optional[pulumi.Input['PrivateEndpointArgs']]: - """ - Private endpoint - """ - return pulumi.get(self, "private_endpoint") - - @private_endpoint.setter - def private_endpoint(self, value: Optional[pulumi.Input['PrivateEndpointArgs']]): - pulumi.set(self, "private_endpoint", value) - - @property - @pulumi.getter(name="privateEndpointConnectionName") - def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private endpoint connection - """ - return pulumi.get(self, "private_endpoint_connection_name") - - @private_endpoint_connection_name.setter - def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_endpoint_connection_name", value) - - @property - @pulumi.getter(name="privateLinkServiceConnectionState") - def private_link_service_connection_state(self) -> Optional[pulumi.Input['PrivateLinkServiceConnectionStateArgs']]: - """ - Connection state of the private endpoint connection - """ - return pulumi.get(self, "private_link_service_connection_state") - - @private_link_service_connection_state.setter - def private_link_service_connection_state(self, value: Optional[pulumi.Input['PrivateLinkServiceConnectionStateArgs']]): - pulumi.set(self, "private_link_service_connection_state", value) - - -class WebPubSubPrivateEndpointConnection(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointArgs']]] = None, - private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, - private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - A private endpoint connection to an azure resource - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['PrivateEndpointArgs']] private_endpoint: Private endpoint - :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection - :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']] private_link_service_connection_state: Connection state of the private endpoint connection - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name_: The name of the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: WebPubSubPrivateEndpointConnectionArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - A private endpoint connection to an azure resource - - :param str resource_name: The name of the resource. - :param WebPubSubPrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(WebPubSubPrivateEndpointConnectionArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointArgs']]] = None, - private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, - private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = WebPubSubPrivateEndpointConnectionArgs.__new__(WebPubSubPrivateEndpointConnectionArgs) - - __props__.__dict__["private_endpoint"] = private_endpoint - __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name - __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if resource_name_ is None and not opts.urn: - raise TypeError("Missing required property 'resource_name_'") - __props__.__dict__["resource_name"] = resource_name_ - __props__.__dict__["group_ids"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(WebPubSubPrivateEndpointConnection, __self__).__init__( - 'azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'WebPubSubPrivateEndpointConnection': - """ - Get an existing WebPubSubPrivateEndpointConnection resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = WebPubSubPrivateEndpointConnectionArgs.__new__(WebPubSubPrivateEndpointConnectionArgs) - - __props__.__dict__["group_ids"] = None - __props__.__dict__["name"] = None - __props__.__dict__["private_endpoint"] = None - __props__.__dict__["private_link_service_connection_state"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return WebPubSubPrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="groupIds") - def group_ids(self) -> pulumi.Output[Sequence[str]]: - """ - Group IDs - """ - return pulumi.get(self, "group_ids") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="privateEndpoint") - def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]: - """ - Private endpoint - """ - return pulumi.get(self, "private_endpoint") - - @property - @pulumi.getter(name="privateLinkServiceConnectionState") - def private_link_service_connection_state(self) -> pulumi.Output[Optional['outputs.PrivateLinkServiceConnectionStateResponse']]: - """ - Connection state of the private endpoint connection - """ - return pulumi.get(self, "private_link_service_connection_state") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_shared_private_link_resource.py deleted file mode 100644 index 063c11bcfa63..000000000000 --- a/sdk/python/pulumi_azure_native/webpubsub/v20220801preview/web_pub_sub_shared_private_link_resource.py +++ /dev/null @@ -1,294 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['WebPubSubSharedPrivateLinkResourceArgs', 'WebPubSubSharedPrivateLinkResource'] - -@pulumi.input_type -class WebPubSubSharedPrivateLinkResourceArgs: - def __init__(__self__, *, - group_id: pulumi.Input[str], - private_link_resource_id: pulumi.Input[str], - resource_group_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - request_message: Optional[pulumi.Input[str]] = None, - shared_private_link_resource_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a WebPubSubSharedPrivateLinkResource resource. - :param pulumi.Input[str] group_id: The group id from the provider of resource the shared private link resource is for - :param pulumi.Input[str] private_link_resource_id: The resource id of the resource the shared private link resource is for - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name: The name of the resource. - :param pulumi.Input[str] request_message: The request message for requesting approval of the shared private link resource - :param pulumi.Input[str] shared_private_link_resource_name: The name of the shared private link resource - """ - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "resource_name", resource_name) - if request_message is not None: - pulumi.set(__self__, "request_message", request_message) - if shared_private_link_resource_name is not None: - pulumi.set(__self__, "shared_private_link_resource_name", shared_private_link_resource_name) - - @property - @pulumi.getter(name="groupId") - def group_id(self) -> pulumi.Input[str]: - """ - The group id from the provider of resource the shared private link resource is for - """ - return pulumi.get(self, "group_id") - - @group_id.setter - def group_id(self, value: pulumi.Input[str]): - pulumi.set(self, "group_id", value) - - @property - @pulumi.getter(name="privateLinkResourceId") - def private_link_resource_id(self) -> pulumi.Input[str]: - """ - The resource id of the resource the shared private link resource is for - """ - return pulumi.get(self, "private_link_resource_id") - - @private_link_resource_id.setter - def private_link_resource_id(self, value: pulumi.Input[str]): - pulumi.set(self, "private_link_resource_id", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - """ - return pulumi.get(self, "resource_group_name") - - @resource_group_name.setter - def resource_group_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_group_name", value) - - @property - @pulumi.getter(name="resourceName") - def resource_name(self) -> pulumi.Input[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "resource_name") - - @resource_name.setter - def resource_name(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_name", value) - - @property - @pulumi.getter(name="requestMessage") - def request_message(self) -> Optional[pulumi.Input[str]]: - """ - The request message for requesting approval of the shared private link resource - """ - return pulumi.get(self, "request_message") - - @request_message.setter - def request_message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_message", value) - - @property - @pulumi.getter(name="sharedPrivateLinkResourceName") - def shared_private_link_resource_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the shared private link resource - """ - return pulumi.get(self, "shared_private_link_resource_name") - - @shared_private_link_resource_name.setter - def shared_private_link_resource_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "shared_private_link_resource_name", value) - - -class WebPubSubSharedPrivateLinkResource(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - group_id: Optional[pulumi.Input[str]] = None, - private_link_resource_id: Optional[pulumi.Input[str]] = None, - request_message: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - shared_private_link_resource_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Describes a Shared Private Link Resource - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] group_id: The group id from the provider of resource the shared private link resource is for - :param pulumi.Input[str] private_link_resource_id: The resource id of the resource the shared private link resource is for - :param pulumi.Input[str] request_message: The request message for requesting approval of the shared private link resource - :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - :param pulumi.Input[str] resource_name_: The name of the resource. - :param pulumi.Input[str] shared_private_link_resource_name: The name of the shared private link resource - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: WebPubSubSharedPrivateLinkResourceArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Describes a Shared Private Link Resource - - :param str resource_name: The name of the resource. - :param WebPubSubSharedPrivateLinkResourceArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(WebPubSubSharedPrivateLinkResourceArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - group_id: Optional[pulumi.Input[str]] = None, - private_link_resource_id: Optional[pulumi.Input[str]] = None, - request_message: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - resource_name_: Optional[pulumi.Input[str]] = None, - shared_private_link_resource_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = WebPubSubSharedPrivateLinkResourceArgs.__new__(WebPubSubSharedPrivateLinkResourceArgs) - - if group_id is None and not opts.urn: - raise TypeError("Missing required property 'group_id'") - __props__.__dict__["group_id"] = group_id - if private_link_resource_id is None and not opts.urn: - raise TypeError("Missing required property 'private_link_resource_id'") - __props__.__dict__["private_link_resource_id"] = private_link_resource_id - __props__.__dict__["request_message"] = request_message - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if resource_name_ is None and not opts.urn: - raise TypeError("Missing required property 'resource_name_'") - __props__.__dict__["resource_name"] = resource_name_ - __props__.__dict__["shared_private_link_resource_name"] = shared_private_link_resource_name - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["status"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(WebPubSubSharedPrivateLinkResource, __self__).__init__( - 'azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'WebPubSubSharedPrivateLinkResource': - """ - Get an existing WebPubSubSharedPrivateLinkResource resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = WebPubSubSharedPrivateLinkResourceArgs.__new__(WebPubSubSharedPrivateLinkResourceArgs) - - __props__.__dict__["group_id"] = None - __props__.__dict__["name"] = None - __props__.__dict__["private_link_resource_id"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["request_message"] = None - __props__.__dict__["status"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return WebPubSubSharedPrivateLinkResource(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="groupId") - def group_id(self) -> pulumi.Output[str]: - """ - The group id from the provider of resource the shared private link resource is for - """ - return pulumi.get(self, "group_id") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="privateLinkResourceId") - def private_link_resource_id(self) -> pulumi.Output[str]: - """ - The resource id of the resource the shared private link resource is for - """ - return pulumi.get(self, "private_link_resource_id") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - Provisioning state of the resource. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="requestMessage") - def request_message(self) -> pulumi.Output[Optional[str]]: - """ - The request message for requesting approval of the shared private link resource - """ - return pulumi.get(self, "request_message") - - @property - @pulumi.getter - def status(self) -> pulumi.Output[str]: - """ - Status of the shared private link resource - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Metadata pertaining to creation and last modification of the resource. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource - e.g. "Microsoft.SignalRService/SignalR" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub.py b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub.py index f18a768dc3c0..bb2fea704684 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub.py +++ b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub.py @@ -326,7 +326,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSub"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSub")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSub, __self__).__init__( 'azure-native:webpubsub:WebPubSub', diff --git a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_hub.py b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_hub.py index cd2d7c3af754..9a2446cee04a 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_hub.py +++ b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_hub.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubHub"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubHub")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubHub")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubHub, __self__).__init__( 'azure-native:webpubsub:WebPubSubHub', diff --git a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_private_endpoint_connection.py index ea3d3e7b6abe..841b5724576e 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_private_endpoint_connection.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubPrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubPrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubPrivateEndpointConnection, __self__).__init__( 'azure-native:webpubsub:WebPubSubPrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_shared_private_link_resource.py index 51ca04c46ff1..3468a7c3eaf8 100644 --- a/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/webpubsub/web_pub_sub_shared_private_link_resource.py @@ -196,7 +196,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20220801preview:WebPubSubSharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:webpubsub/v20210401preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210601preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20210901preview:WebPubSubSharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:webpubsub/v20211001:WebPubSubSharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebPubSubSharedPrivateLinkResource, __self__).__init__( 'azure-native:webpubsub:WebPubSubSharedPrivateLinkResource', diff --git a/versions/spec-resources.json b/versions/spec-resources.json index 2cda7812aaf0..6cf8124f07de 100644 --- a/versions/spec-resources.json +++ b/versions/spec-resources.json @@ -1222,6 +1222,13 @@ "2022-05-01-preview", "2022-09-01-preview" ], + "BuildServiceAgentPool": [ + "2022-01-01-preview", + "2022-03-01-preview", + "2022-04-01", + "2022-05-01-preview", + "2022-09-01-preview" + ], "BuildServiceBuilder": [ "2022-01-01-preview", "2022-03-01-preview", @@ -1247,6 +1254,17 @@ "2022-05-01-preview", "2022-09-01-preview" ], + "ConfigServer": [ + "2020-07-01", + "2020-11-01-preview", + "2021-06-01-preview", + "2021-09-01-preview", + "2022-01-01-preview", + "2022-03-01-preview", + "2022-04-01", + "2022-05-01-preview", + "2022-09-01-preview" + ], "ConfigurationService": [ "2022-01-01-preview", "2022-03-01-preview", @@ -1294,6 +1312,17 @@ "2022-05-01-preview", "2022-09-01-preview" ], + "MonitoringSetting": [ + "2020-07-01", + "2020-11-01-preview", + "2021-06-01-preview", + "2021-09-01-preview", + "2022-01-01-preview", + "2022-03-01-preview", + "2022-04-01", + "2022-05-01-preview", + "2022-09-01-preview" + ], "Service": [ "2020-07-01", "2020-11-01-preview", diff --git a/versions/spec.json b/versions/spec.json index 79d3513b1e34..bc88007c5858 100644 --- a/versions/spec.json +++ b/versions/spec.json @@ -1060,8 +1060,10 @@ "App", "Binding", "Certificate", + "ConfigServer", "CustomDomain", "Deployment", + "MonitoringSetting", "Service", "getAppResourceUploadUrl", "getDeploymentLogFileUrl", @@ -1071,8 +1073,10 @@ "App", "Binding", "Certificate", + "ConfigServer", "CustomDomain", "Deployment", + "MonitoringSetting", "Service", "getAppResourceUploadUrl", "getDeploymentLogFileUrl", @@ -1082,8 +1086,10 @@ "App", "Binding", "Certificate", + "ConfigServer", "CustomDomain", "Deployment", + "MonitoringSetting", "Service", "getAppResourceUploadUrl", "getDeploymentLogFileUrl", @@ -1093,8 +1099,10 @@ "App", "Binding", "Certificate", + "ConfigServer", "CustomDomain", "Deployment", + "MonitoringSetting", "Service", "Storage", "getAppResourceUploadUrl", @@ -1106,15 +1114,18 @@ "ApiPortalCustomDomain", "App", "Binding", + "BuildServiceAgentPool", "BuildServiceBuilder", "BuildpackBinding", "Certificate", + "ConfigServer", "ConfigurationService", "CustomDomain", "Deployment", "Gateway", "GatewayCustomDomain", "GatewayRouteConfig", + "MonitoringSetting", "Service", "ServiceRegistry", "Storage", @@ -1129,15 +1140,18 @@ "ApiPortalCustomDomain", "App", "Binding", + "BuildServiceAgentPool", "BuildServiceBuilder", "BuildpackBinding", "Certificate", + "ConfigServer", "ConfigurationService", "CustomDomain", "Deployment", "Gateway", "GatewayCustomDomain", "GatewayRouteConfig", + "MonitoringSetting", "Service", "ServiceRegistry", "Storage", @@ -1150,12 +1164,15 @@ "2022-04-01": [ "App", "Binding", + "BuildServiceAgentPool", "BuildServiceBuilder", "BuildpackBinding", "Certificate", + "ConfigServer", "ConfigurationService", "CustomDomain", "Deployment", + "MonitoringSetting", "Service", "ServiceRegistry", "getAppResourceUploadUrl", @@ -1169,15 +1186,18 @@ "ApiPortalCustomDomain", "App", "Binding", + "BuildServiceAgentPool", "BuildServiceBuilder", "BuildpackBinding", "Certificate", + "ConfigServer", "ConfigurationService", "CustomDomain", "Deployment", "Gateway", "GatewayCustomDomain", "GatewayRouteConfig", + "MonitoringSetting", "Service", "ServiceRegistry", "Storage", @@ -1192,15 +1212,18 @@ "ApiPortalCustomDomain", "App", "Binding", + "BuildServiceAgentPool", "BuildServiceBuilder", "BuildpackBinding", "Certificate", + "ConfigServer", "ConfigurationService", "CustomDomain", "Deployment", "Gateway", "GatewayCustomDomain", "GatewayRouteConfig", + "MonitoringSetting", "Service", "ServiceRegistry", "Storage", diff --git a/versions/v1-config.yaml b/versions/v1-config.yaml index 1c90c9fa19d8..673eb9e6c72b 100644 --- a/versions/v1-config.yaml +++ b/versions/v1-config.yaml @@ -60,6 +60,7 @@ AppPlatform: ApiPortalCustomDomain: 2022-01-01-preview BuildServiceBuilder: 2022-01-01-preview BuildpackBinding: 2022-01-01-preview + BuildServiceAgentPool: 2022-01-01-preview ConfigurationService: 2022-01-01-preview Gateway: 2022-01-01-preview GatewayCustomDomain: 2022-01-01-preview diff --git a/versions/v1.json b/versions/v1.json index 660b9cf9c095..18530392869c 100644 --- a/versions/v1.json +++ b/versions/v1.json @@ -140,15 +140,18 @@ "ApiPortalCustomDomain": "2022-01-01-preview", "App": "2020-07-01", "Binding": "2020-07-01", + "BuildServiceAgentPool": "2022-01-01-preview", "BuildServiceBuilder": "2022-01-01-preview", "BuildpackBinding": "2022-01-01-preview", "Certificate": "2020-07-01", + "ConfigServer": "2020-07-01", "ConfigurationService": "2022-01-01-preview", "CustomDomain": "2020-07-01", "Deployment": "2020-07-01", "Gateway": "2022-01-01-preview", "GatewayCustomDomain": "2022-01-01-preview", "GatewayRouteConfig": "2022-01-01-preview", + "MonitoringSetting": "2020-07-01", "Service": "2020-07-01", "ServiceRegistry": "2022-01-01-preview", "Storage": "2021-09-01-preview",