MockableSecurityInsightsArmClient.GetSecurityInsightsBillingStatistic Method

Definition

Gets a billing statistic.

public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsBillingStatisticResource> GetSecurityInsightsBillingStatistic(Azure.Core.ResourceIdentifier scope, string billingStatisticName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsBillingStatistic : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsBillingStatisticResource>
override this.GetSecurityInsightsBillingStatistic : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsBillingStatisticResource>
Public Overridable Function GetSecurityInsightsBillingStatistic (scope As ResourceIdentifier, billingStatisticName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsBillingStatisticResource)

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

billingStatisticName
String

The name of the billing statistic.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

billingStatisticName is null.

billingStatisticName is an empty string, and was expected to be non-empty.

Applies to