TargetsOperationsExtensions.ListAsync 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.
Get a list of Target resources that extend a tracked regional resource.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.Target>> ListAsync (this Microsoft.Azure.Management.Chaos.ITargetsOperations operations, string resourceGroupName, string parentProviderNamespace, string parentResourceType, string parentResourceName, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Chaos.ITargetsOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Chaos.Models.Target>>
<Extension()>
Public Function ListAsync (operations As ITargetsOperations, resourceGroupName As String, parentProviderNamespace As String, parentResourceType As String, parentResourceName As String, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Target))
Parameters
- operations
- ITargetsOperations
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.
- continuationToken
- String
String that sets the continuation token.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET