MockableKubernetesConfigurationExtensionTypesSubscriptionResource.GetLocationExtensionTypeAsync 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.
Get an extension type for the location.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.KubernetesConfiguration/locations/{location}/extensionTypes/{extensionTypeName}.
- Operation Id. : ExtensionTypes_LocationGet.
- Default Api Version. : 2024-11-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KubernetesConfiguration.ExtensionTypes.LocationExtensionTypeResource>> GetLocationExtensionTypeAsync(string location, string extensionTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLocationExtensionTypeAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KubernetesConfiguration.ExtensionTypes.LocationExtensionTypeResource>>
override this.GetLocationExtensionTypeAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KubernetesConfiguration.ExtensionTypes.LocationExtensionTypeResource>>
Public Overridable Function GetLocationExtensionTypeAsync (location As String, extensionTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LocationExtensionTypeResource))
Parameters
- location
- String
The location for the resource.
- extensionTypeName
- String
Name of the Extension Type.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
extensionTypeName is null.
extensionTypeName is an empty string, and was expected to be non-empty.