mysterious-australia-14256
07/05/2021, 9:34 PM"parameterValues": {
"authType": "[parameters('authType')]",
"gateway": {
"id": "[parameters('gateway_id')]"
}
}
I am currently trying to create a connection that depends on an on-prem data gateway. If I create this connection using the Logic App Designer in Visual Studio I can see the associated parameterValues as
"parameterValues": {
"authType": "[parameters('authType')]",
"gateway": {
"id": "[parameters('gateway_id')]"
}
}
Does this mean that the parameterValues dictionary presented by Pulumi should be Dictionary<string,object> rather than Dictionary<string,string>? If not, how can I specify the gateway reference with the associated ID as depicted above?
Thanks
Alantall-librarian-49374
07/06/2021, 6:48 AMtall-librarian-49374
07/06/2021, 6:48 AMmysterious-australia-14256
07/06/2021, 8:15 AMtall-librarian-49374
07/06/2021, 8:37 AMmysterious-australia-14256
07/06/2021, 9:00 AMmysterious-australia-14256
07/06/2021, 9:24 AMmysterious-australia-14256
07/06/2021, 1:37 PMvar api = new PulumiWeb.Inputs.ApiReferenceArgs
{
Id = "someprefix/<connectorName>"
}
I have a connector object and I need to extract its Name property and use that to replace <connectorName> in the above.
Whatever I try I keep getting Pulumi.Output`1[System.String] appended :)tall-librarian-49374
07/06/2021, 1:39 PMOutput.Format($"someprefix/{connector.Name}")
in this exampletall-librarian-49374
07/06/2021, 1:40 PMconnector.Name.Apply(name => $"someprefix/{name}")