Share via


EventGridExtensions.GetTopicTypes(TenantResource) Method

Definition

Gets a collection of TopicTypeResources in the TenantResource. MockingTo mock this method, please mock GetTopicTypes() instead.

public static Azure.ResourceManager.EventGrid.TopicTypeCollection GetTopicTypes (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetTopicTypes : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.EventGrid.TopicTypeCollection
<Extension()>
Public Function GetTopicTypes (tenantResource As TenantResource) As TopicTypeCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of TopicTypeResources and their operations over a TopicTypeResource.

Exceptions

tenantResource is null.

Applies to