ArmResource.TryGetApiVersion(ResourceType, String) Method

Definition

Gets the api version override if it has been set for the current client options.

C#
protected virtual bool TryGetApiVersion(Azure.Core.ResourceType resourceType, out string apiVersion);

Parameters

resourceType
ResourceType

The resource type to get the version for.

apiVersion
String

The api version to variable to set.

Returns

Applies to

Product Versions
Azure SDK for .NET Latest, Preview