Delen via


ServerVulnerabilityAssessmentsSettingCollection.Exists Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
public virtual Azure.Response<bool> Exists (Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityAssessmentsSettingKindName settingKind, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityAssessmentsSettingKindName * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityAssessmentsSettingKindName * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (settingKind As ServerVulnerabilityAssessmentsSettingKindName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

settingKind
ServerVulnerabilityAssessmentsSettingKindName

The kind of the server vulnerability assessments setting.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to