다음을 통해 공유


CapabilityTypesOperationsExtensions.GetAsync Method

Definition

Get a Capability Type resource for given Target Type and location.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.CapabilityType> GetAsync (this Microsoft.Azure.Management.Chaos.ICapabilityTypesOperations operations, string locationName, string targetTypeName, string capabilityTypeName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Chaos.ICapabilityTypesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.CapabilityType>
<Extension()>
Public Function GetAsync (operations As ICapabilityTypesOperations, locationName As String, targetTypeName As String, capabilityTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapabilityType)

Parameters

operations
ICapabilityTypesOperations

The operations group for this extension method.

locationName
String

String that represents a Location resource name.

targetTypeName
String

String that represents a Target Type resource name.

capabilityTypeName
String

String that represents a Capability Type resource name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to