Partager via


AttestationsOperationsExtensions.ListForSubscriptionAsync Méthode

Définition

Obtient toutes les attestations de l’abonnement.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.Attestation>> ListForSubscriptionAsync (this Microsoft.Azure.Management.PolicyInsights.IAttestationsOperations operations, string subscriptionId, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForSubscriptionAsync : Microsoft.Azure.Management.PolicyInsights.IAttestationsOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.Attestation>>
<Extension()>
Public Function ListForSubscriptionAsync (operations As IAttestationsOperations, subscriptionId As String, Optional queryOptions As QueryOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Attestation))

Paramètres

operations
IAttestationsOperations

Groupe d’opérations pour cette méthode d’extension.

subscriptionId
String

ID de l’abonnement cible.

queryOptions
QueryOptions

Paramètres supplémentaires pour l’opération

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à