Share via


ArmResource.TryGetApiVersion(ResourceType, String) Method

Definition

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

protected virtual bool TryGetApiVersion (Azure.Core.ResourceType resourceType, out string apiVersion);
abstract member TryGetApiVersion : Azure.Core.ResourceType * string -> bool
override this.TryGetApiVersion : Azure.Core.ResourceType * string -> bool
Protected Overridable Function TryGetApiVersion (resourceType As ResourceType, ByRef apiVersion As String) As Boolean

Parameters

resourceType
ResourceType

The resource type to get the version for.

apiVersion
String

The api version to variable to set.

Returns

Applies to