Note: if you are running CloudGraph locally you can view the interactive, automatically generated documentation in either GraphQL Playground or Altair by clicking the docs button on the right-hand side of the screen. After reading the below information we highly suggest you use one of these tools to test your queries as they will autocomplete fields for you and let you know if your queries are valid before you even submit them.
You can currently query the following attributes and connections on an Azure Storage Container
query {
queryazureStorageContainer{
id
name
type
kind
subscriptionId
region
resourceGroupId
version
deleted
deletedTime
remainingRetentionDays
denyEncryptionScopeOverride
publicAccess
lastModifiedTime
leaseStatus
leaseDuration
immutabilityPolicyPeriodSinceCreationInDays
immutabilityPolicyState
immutabilityPolicyAllowProtectedAppendWrites
immutabilityPolicyUpdateHistory {
id
update
immutabilityPeriodSinceCreationInDays
timestamp
objectIdentifier
tenantId
upn
}
legalHoldTags{
id
tag
timestamp
objectIdentifier
tenantId
upn
}
hasLegalHold
hasImmutabilityPolicy
resourceGroup{
id
}
storageAccount{
id
}
}
}

Get data for a single Azure Storage Container key that you know the ID for:
query {
getazureStorageContainer(id: "12345") {
id
}
}

Get data for all of the Storage Containers in a certain Azure subscription:
query {
queryazureStorageContainer(filter: { subscriptionId: { eq: "12345" } }) {
id
}
}

Get data for all of the Storage Containers that are NOT in a certain Azure subscription:
query {
queryazureStorageContainer(filter: { not: { subscriptionId: { eq: "12345" } } }) {
id
}
}

Get data for all of the Storage Containers that are connected to a storageAccount:
query {
queryazureStorageContainer(filter: { has: storageAccount }) {
id
}
}

You can order the results you get back either asc or desc depending on your preference:
query {
queryazureStorageContainer(order: { desc: lastModifiedTime }) {
id
}
}

Only select and return the first two Storage Containers that are found:
query {
queryazureStorageContainer(first: 2, order: { desc: lastModifiedTime }) {
id
}
}

Only select and return the first two Storage Containers that are found, but offset by one so keys two & three are returned:
query {
queryazureStorageContainer(first: 2, order: { desc: lastModifiedTime }, offset: 1) {
id
}
}

Count the number of Storage Containers across all scanned Azure subscriptions:
query {
aggregateazureStorageContainer {
count
}
}

Count the number of Storage Containers in a single account. Note that you can apply all of the same filters that are listed above to aggregate queries:
query {
aggregateazureStorageContainer(filter: { subscriptionId: { eq: "12345" } }) {
count
}
}

Find all of the Storage Containers that are in the eastus region across all your accounts:
query {
queryazureStorageContainer(filter: { region: { eq: "eastus" } }) {
id
}
}

Putting it all together; get all data for all Storage Containers across all regions for all scanned Azure subscriptions in a single query. For the purposes of this example, we will only get direct children of the keys but if you want to it's easy to go from say, disk -> virtualMachine -> networkInterface ...etc:
query {
queryazureStorageContainer{
id
name
type
kind
subscriptionId
region
resourceGroupId
version
deleted
deletedTime
remainingRetentionDays
denyEncryptionScopeOverride
publicAccess
lastModifiedTime
leaseStatus
leaseDuration
immutabilityPolicyPeriodSinceCreationInDays
immutabilityPolicyState
immutabilityPolicyAllowProtectedAppendWrites
immutabilityPolicyUpdateHistory {
id
update
immutabilityPeriodSinceCreationInDays
timestamp
objectIdentifier
tenantId
upn
}
legalHoldTags{
id
tag
timestamp
objectIdentifier
tenantId
upn
}
hasLegalHold
hasImmutabilityPolicy
resourceGroup{
id
name
type
kind
subscriptionId
region
managedBy
disks {
id
}
dns {
id
}
firewalls {
id
}
functionApps {
id
}
keyVaults {
id
}
networkInterfaces {
id
}
publicIps {
id
}
securityGroups {
id
}
storageAccounts {
id
}
storageContainers {
id
}
virtualMachines {
id
}
virtualMachineScaleSets{
id
}
virtualNetworks {
id
}
tags{
id
key
value
}
}
storageAccount{
id
name
type
kind
subscriptionId
region
resourceGroupId
extendedLocationName
extendedLocationType
provisioningState
primaryEndpoints{
blob
queue
table
file
web
dfs
}
primaryMicrosoftEndpoints {
blob
queue
table
file
web
dfs
}
primaryInternetEndpoints{
blob
file
web
dfs
}
primaryLocation
statusOfPrimary
lastGeoFailoverTime
secondaryLocation
statusOfSecondary
customDomainName
customDomainUseSubDomainName
sasPolicyExpirationPeriod
keyPolicyExpirationPeriodInDays
keyCreationTimeKey1
keyCreationTimeKey2
encryptionServiceBlob{
enabled
lastEnabledTime
keyType
}
encryptionServiceFile{
enabled
lastEnabledTime
keyType
}
encryptionServiceTable{
enabled
lastEnabledTime
keyType
}
encryptionServiceQueue{
enabled
lastEnabledTime
keyType
}
encryptionKeySource
encryptionRequireInfrastructureEncryption
encryptionKeyVaultPropertyKeyName
encryptionKeyVaultPropertyKeyVersion
encryptionKeyVaultPropertyKeyVaultUri
encryptionKeyVaultPropertyCurrentVersionedKeyIdentifier
encryptionKeyVaultPropertyLastKeyRotationTimestamp
encryptionUserAssignedIdentity
accessTier
azureFilesIdentityBasedAuthenticationDirectoryServiceOptions
azureFilesIdentityBasedAuthenticationADProperties{
domainName
netBiosDomainName
forestName
domainGuid
domainSid
azureStorageSid
}
enableHttpsTrafficOnly
networkRuleSetByPass
networkRuleResourceAccessRules {
id
tenantId
resourceId
}
networkRuleVirtualNetworkRules {
id
virtualNetworkResourceId
action
state
}
networkRuleIpRules{
id
iPAddressOrRange
action
}
networkRuleSetDefaultAction
isHnsEnabled
geoReplicationStatsStatus
geoReplicationStatsLastSyncTime
geoReplicationStatsCanFailover
failoverInProgress
largeFileSharesState
privateEndpointConnections{
id
privateEndpointId
privateLinkServiceConnectionStateStatus
privateLinkServiceConnectionStateDescription
privateLinkServiceConnectionStateActionRequired
provisioningState
}
routingPreferenceChoice
routingPreferencePublishMicrosoftEndpoints
routingPreferencePublishInternetEndpoints
allowBlobPublicAccess
minimumTlsVersion
allowSharedKeyAccess
enableNfsV3
resourceGroup {
id
}
storageContainers {
id
}
}
}
}