ResourceManagerCmdletBaseWithApiVersion.DetermineApiVersion 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.
Overloads
DetermineApiVersion(String, Nullable<Boolean>) |
Determines the API version. |
DetermineApiVersion(String, String, Nullable<Boolean>) |
Determines the API version. |
DetermineApiVersion(String, Nullable<Boolean>)
Determines the API version.
protected System.Threading.Tasks.Task<string> DetermineApiVersion (string resourceId, bool? pre = default);
member this.DetermineApiVersion : string * Nullable<bool> -> System.Threading.Tasks.Task<string>
Protected Function DetermineApiVersion (resourceId As String, Optional pre As Nullable(Of Boolean) = Nothing) As Task(Of String)
Parameters
- resourceId
- String
The resource Id.
Returns
Applies to
DetermineApiVersion(String, String, Nullable<Boolean>)
Determines the API version.
protected System.Threading.Tasks.Task<string> DetermineApiVersion (string providerNamespace, string resourceType, bool? pre = default);
member this.DetermineApiVersion : string * string * Nullable<bool> -> System.Threading.Tasks.Task<string>
Protected Function DetermineApiVersion (providerNamespace As String, resourceType As String, Optional pre As Nullable(Of Boolean) = Nothing) As Task(Of String)
Parameters
- providerNamespace
- String
The provider namespace.
- resourceType
- String
The resource type.