Share via


SecurityWorkspaceSettingCollection.Exists(String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
  • Operation Id: WorkspaceSettings_Get
  • Default Api Version: 2017-08-01-preview
  • Resource: SecurityWorkspaceSettingResource
public virtual Azure.Response<bool> Exists (string workspaceSettingName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (workspaceSettingName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

workspaceSettingName
String

Name of the security setting.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

workspaceSettingName is null.

Applies to