Language

DeploymentSafeguardResource.GetAsync(CancellationToken) Method

Definition

Fetch a deployment safeguard by name

  • Request Path. : /{resourceUri}/providers/Microsoft.ContainerService/deploymentSafeguards/default.
  • Operation Id. : DeploymentSafeguards_Get.
  • Default Api Version. : 2025-07-01.
  • Resource. : DeploymentSafeguardResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceSafeguards.DeploymentSafeguardResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceSafeguards.DeploymentSafeguardResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceSafeguards.DeploymentSafeguardResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeploymentSafeguardResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to