Freigeben über


AdvisorExtensions.GetAdvisorMetadataEntity Method

Definition

Gets the metadata entity. <item> Mocking. To mock this method, please mock GetAdvisorMetadataEntity(String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.Advisor.AdvisorMetadataEntityResource> GetAdvisorMetadataEntity(this Azure.ResourceManager.Resources.TenantResource tenantResource, string name, System.Threading.CancellationToken cancellationToken = default);
static member GetAdvisorMetadataEntity : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Advisor.AdvisorMetadataEntityResource>
<Extension()>
Public Function GetAdvisorMetadataEntity (tenantResource As TenantResource, name As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AdvisorMetadataEntityResource)

Parameters

tenantResource
TenantResource

The TenantResource the method will execute against.

name
String

Name of metadata entity.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to