共用方式為


SecurityCenterPricingCollection.GetAllAsync(CancellationToken) Method

Definition

Lists Microsoft Defender for Cloud pricing configurations in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings
  • Operation Id: Pricings_List
  • Default Api Version: 2023-01-01
  • Resource: SecurityCenterPricingResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityCenterPricingResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityCenterPricingResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityCenterPricingResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityCenterPricingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SecurityCenterPricingResource that may take multiple service requests to iterate over.

Applies to