共用方式為


AttestationExtensions.GetAttestationProviders Method

Definition

Overloads

GetAttestationProviders(ResourceGroupResource)

Gets a collection of AttestationProviderResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAttestationProviders() instead.

GetAttestationProviders(SubscriptionResource, CancellationToken)

Returns a list of attestation providers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders
  • Operation Id: AttestationProviders_List

GetAttestationProviders(ResourceGroupResource)

Source:
AttestationExtensions.cs

Gets a collection of AttestationProviderResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAttestationProviders() instead.

public static Azure.ResourceManager.Attestation.AttestationProviderCollection GetAttestationProviders (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAttestationProviders : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Attestation.AttestationProviderCollection
<Extension()>
Public Function GetAttestationProviders (resourceGroupResource As ResourceGroupResource) As AttestationProviderCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AttestationProviderResources and their operations over a AttestationProviderResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAttestationProviders(SubscriptionResource, CancellationToken)

Source:
AttestationExtensions.cs

Returns a list of attestation providers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders
  • Operation Id: AttestationProviders_List
public static Azure.Pageable<Azure.ResourceManager.Attestation.AttestationProviderResource> GetAttestationProviders (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAttestationProviders : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Attestation.AttestationProviderResource>
<Extension()>
Public Function GetAttestationProviders (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AttestationProviderResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AttestationProviderResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to