Skip to main content

topic_types

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

Overview

Nametopic_types
TypeResource
Idazure.event_grid.topic_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
additionalEnforcedPermissionsarrayPermissions which are enforced for creating and updating system topics of this this topic type.
areRegionalAndGlobalSourcesSupportedbooleanFlag to indicate that a topic type can support both regional or global system topics.
descriptionstringDescription of the topic type.
displayNamestringDisplay Name for the topic type.
providerstringNamespace of the provider of the topic type.
provisioningStatestringProvisioning state of the topic type. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", and "Failed". (Creating, Updating, Deleting, Succeeded, Canceled, Failed)
resourceRegionTypestringRegion type of the resource. Known values are: "RegionalResource" and "GlobalResource". (RegionalResource, GlobalResource)
sourceResourceFormatstringSource resource format.
supportedLocationsarrayList of locations supported by this topic type.
supportedScopesForSourcearraySupported source scopes.
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
getselecttopic_type_nameGet a topic type. Get information about a topic type.
listselectList topic types. List all registered topic types.
list_event_typesexectopic_type_nameList event types. List event types for a topic type.

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
topic_type_namestringName of the topic type. Required.

SELECT examples

Get a topic type. Get information about a topic type.

SELECT
id,
name,
additionalEnforcedPermissions,
areRegionalAndGlobalSourcesSupported,
description,
displayName,
provider,
provisioningState,
resourceRegionType,
sourceResourceFormat,
supportedLocations,
supportedScopesForSource,
systemData,
type
FROM azure.event_grid.topic_types
WHERE topic_type_name = '{{ topic_type_name }}' -- required
;

Lifecycle Methods

List event types. List event types for a topic type.

EXEC azure.event_grid.topic_types.list_event_types 
@topic_type_name='{{ topic_type_name }}' --required
;