We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var storageVolume = new StorageAccount("storageVolume") { Sku = new StorageSku() { Name = StorageSkuName.StandardLrs }, Kind = StorageKind.StorageV2, LargeFileSharesState = LargeFileSharesState.Enabled }; BicepValue<string> keys0Value = storageVolume.GetKeys()[0].Value?.Value;
The above returns a null ref. I'm trying to use this in an expression (listKeys()[0].value) and was able to work around it by doing the following:
var keysExpr = storageVolume.GetKeys()[0].Compile(); var keyValue = new MemberExpression(keysExpr, "value");
The text was updated successfully, but these errors were encountered:
tg-msft
No branches or pull requests
The above returns a null ref. I'm trying to use this in an expression (listKeys()[0].value) and was able to work around it by doing the following:
The text was updated successfully, but these errors were encountered: