StorageAccount
Represents Azure storage accounts.
Labels: :ArmResource:StorageAccount
Properties:
id- Storage account resource ID (primary key)kind- Storage account kindaccessTier- Access tier (Hot, Cool, Archive)primaryLocation- Primary locationpublicNetworkAccess- Public network access settingdefaultToOAuthAuthentication- Default to OAuth authenticationallowBlobPublicAccess- Allow blob public accessallowCrossTenantReplication- Allow cross-tenant replicationallowSharedKeyAccess- Allow shared key accesslargeFileSharesState- Large file shares stateisLocalUserEnabled- Local user enabledisNfsV3Enabled- NFSv3 enabledisSftpEnabled- SFTP enabledsupportsHttpsTrafficOnly- HTTPS traffic onlyminimumTlsVersion- Minimum TLS versionnetworkAclBypass- Network ACL bypass settingnetworkAclDefaultAction- Network ACL default action
FileStorage-specific properties (when kind = FileStorage):
defaultSharePermission- Default share permissiondirectoryServiceOptions- Directory service optionsadDomainName- Active Directory domain nameadDomainSid- Active Directory domain SIDaccountType- AD account typeforestName- AD forest namenetBiosDomainName- NetBIOS domain namesamAccountName- SAM account name
Examples
// Find storage accounts with public blob access allowed
MATCH (sa:StorageAccount)
WHERE sa.allowBlobPublicAccess = true
RETURN sa.name, sa.publicNetworkAccess, sa.accessTier
// Find storage accounts by access tier
MATCH (sa:StorageAccount)
WHERE sa.accessTier = "Hot"
RETURN sa.name, sa.primaryLocation, sa.minimumTlsVersion