Language

MockableKubernetesConfigurationExtensionTypesSubscriptionResource.GetLocationExtensionType Method

Definition

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 Azure.Response<Azure.ResourceManager.KubernetesConfiguration.ExtensionTypes.LocationExtensionTypeResource> GetLocationExtensionType(string location, string extensionTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLocationExtensionType : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.KubernetesConfiguration.ExtensionTypes.LocationExtensionTypeResource>
override this.GetLocationExtensionType : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.KubernetesConfiguration.ExtensionTypes.LocationExtensionTypeResource>
Public Overridable Function GetLocationExtensionType (location As String, extensionTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As 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.

Applies to