Skip to main content

topologies

Creates, updates, deletes, gets or lists a topologies resource.

Overview

Nametopologies
TypeResource
Idazure.security.topologies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
locationstringLocation where the resource is stored
propertiesobject
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, ascLocation, topologyResourceNameapi-versionGets a specific topology component.
list_by_home_regionselectsubscriptionId, ascLocationapi-versionGets a list that allows to build a topology view of a subscription and location.
listselectsubscriptionIdapi-versionGets a list that allows to build a topology view of a subscription.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ascLocationstringThe location where ASC stores the data of the subscription. can be retrieved from Get locations
resourceGroupNamestringThe name of the resource group within the user's subscription. The name is case insensitive.
subscriptionIdstringAzure subscription ID
topologyResourceNamestringName of a topology resources collection.
api-versionstringAPI version for the operation

SELECT examples

Gets a specific topology component.

SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.security.topologies
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND ascLocation = '{{ ascLocation }}' -- required
AND topologyResourceName = '{{ topologyResourceName }}' -- required
AND api-version = '{{ api-version }}'
;