ArmClientOptions.SetApiVersion(ResourceType, String) Method

Definition

Sets the api version to use for a given resource type. To find which API Versions are available in your environment you can use the Get(String, CancellationToken) method for the provider namespace you are interested in.

public void SetApiVersion (Azure.Core.ResourceType resourceType, string apiVersion);
member this.SetApiVersion : Azure.Core.ResourceType * string -> unit
Public Sub SetApiVersion (resourceType As ResourceType, apiVersion As String)

Parameters

resourceType
ResourceType

The resource type to set the version for.

apiVersion
String

The api version to use.

Applies to