IWithApiVersion.WithApiVersion(String) Method

Definition

Specifies the api version.

public Microsoft.Azure.Management.ResourceManager.Fluent.GenericResource.Definition.IWithCreate WithApiVersion (string apiVersion = default);
abstract member WithApiVersion : string -> Microsoft.Azure.Management.ResourceManager.Fluent.GenericResource.Definition.IWithCreate
Public Function WithApiVersion (Optional apiVersion As String = Nothing) As IWithCreate

Parameters

apiVersion
String

apiVersion the API version of the resource

Returns

the next stage of the generic resource definition

Applies to