Share via


AdvisorExtensions.GetMetadataEntities(TenantResource) Method

Definition

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

public static Azure.ResourceManager.Advisor.MetadataEntityCollection GetMetadataEntities (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetMetadataEntities : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Advisor.MetadataEntityCollection
<Extension()>
Public Function GetMetadataEntities (tenantResource As TenantResource) As MetadataEntityCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of MetadataEntityResources and their operations over a MetadataEntityResource.

Exceptions

tenantResource is null.

Applies to