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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET