你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SecureScoresOperationsExtensions.GetAsync Method

Definition

Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope. For the ASC Default initiative, use 'ascScore'.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecureScoreItem> GetAsync (this Microsoft.Azure.Management.Security.ISecureScoresOperations operations, string secureScoreName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Security.ISecureScoresOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecureScoreItem>
<Extension()>
Public Function GetAsync (operations As ISecureScoresOperations, secureScoreName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecureScoreItem)

Parameters

operations
ISecureScoresOperations

The operations group for this extension method.

secureScoreName
String

The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to