Hi, I need help with Pulumi, C# and AzureNative: ...
# general
o
Hi, I need help with Pulumi, C# and AzureNative: I'm creating "azure-native.resources.Deployment" (https://www.pulumi.com/registry/packages/azure-native/api-docs/resources/deployment/) Properties.Parameters in documentation are null. I need to pass some parameters, especially Output<string> var deloyment = new Deployment(deploymentName, new DeploymentArgs { DeploymentName = deploymentName, ResourceGroupName = resourceGroup.Name, Properties = new AzureResourcesDeployment.Inputs.DeploymentPropertiesArgs { Mode = AzureResourcesDeployment.DeploymentMode.Incremental, TemplateLink = new AzureResourcesDeployment.Inputs.TemplateLinkArgs { Id = templateSpecVersion.Id }, Parameters = new Dictionary<string, object> { { "storageAccountName", Output.Create("sadeployed1") } } } }); Here, for example I passed "StorageAccountName" parameter, its valur is Output<string>. However I'm getting following error: error: Code="InvalidRequestContent" Message="The request content was invalid and could not be deserialized: 'Error converting value \"sadeployed1\" to type 'Azure.Deployments.Core.Definitions.DeploymentParameterDefinition'. Path 'properties.parameters.storageAccountName', line 1, position 84.'."