MockableContainerServiceSubscriptionResource.GetSafeguardsAvailableVersionAsync 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.
Contains Safeguards version along with its support info and whether it is a default version.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions/{version}.
- Operation Id. : SafeguardsAvailableVersions_GetSafeguardsVersions.
- Default Api Version. : 2026-01-02-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.SafeguardsAvailableVersionResource>> GetSafeguardsAvailableVersionAsync(Azure.Core.AzureLocation location, string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSafeguardsAvailableVersionAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.SafeguardsAvailableVersionResource>>
override this.GetSafeguardsAvailableVersionAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.SafeguardsAvailableVersionResource>>
Public Overridable Function GetSafeguardsAvailableVersionAsync (location As AzureLocation, version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SafeguardsAvailableVersionResource))
Parameters
- location
- AzureLocation
The location for the resource.
- version
- String
Safeguards version.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
version is null.
version is an empty string, and was expected to be non-empty.