如何在二头肌中为accesspolicy提供多重权限

问题描述 投票:0回答:1

这是表访问策略的二头肌格式

resource symbolicname 'Microsoft.Storage/storageAccounts/tableServices/tables@2023-01-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    signedIdentifiers: [
      {
        accessPolicy: {
          expiryTime: 'string'
          permission: 'string'
          startTime: 'string'
        }
        id: 'string'
      }
    ]
  }
}
许可 缩写权限列表。支持的权限值包括 'r','a','u','d' 字符串(必填)

所以我需要授予读取和更新的权限。但预期的值是字符串,我不知道如何提供多重访问权限

azure azure-resource-manager azure-bicep
1个回答
0
投票

我们可以提供字符串作为权限:'raud' r-读 a-添加 u-更新 d - 删除

© www.soinside.com 2019 - 2024. All rights reserved.