共用方式為


CapabilitiesOperationsExtensions.GetAsync Method

Definition

Get a Capability resource that extends a Target resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.Capability> GetAsync (this Microsoft.Azure.Management.Chaos.ICapabilitiesOperations operations, string resourceGroupName, string parentProviderNamespace, string parentResourceType, string parentResourceName, string targetName, string capabilityName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Chaos.ICapabilitiesOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.Capability>
<Extension()>
Public Function GetAsync (operations As ICapabilitiesOperations, resourceGroupName As String, parentProviderNamespace As String, parentResourceType As String, parentResourceName As String, targetName As String, capabilityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Capability)

Parameters

operations
ICapabilitiesOperations

The operations group for this extension method.

resourceGroupName
String

String that represents an Azure resource group.

parentProviderNamespace
String

String that represents a resource provider namespace.

parentResourceType
String

String that represents a resource type.

parentResourceName
String

String that represents a resource name.

targetName
String

String that represents a Target resource name.

capabilityName
String

String that represents a Capability resource name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to