Share via


SecurityCenterPricingCollection.GetAll(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.Pageable<Azure.ResourceManager.SecurityCenter.SecurityCenterPricingResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityCenterPricingResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityCenterPricingResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityCenterPricingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to