ArmResource.TryGetApiVersion(ResourceType, String) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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