Share via


StaticSiteBasicAuthPropertyCollection.Exists Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_GetBasicAuth
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteBasicAuthPropertyResource
public virtual Azure.Response<bool> Exists (Azure.ResourceManager.AppService.Models.StaticSiteBasicAuthName basicAuthName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Azure.ResourceManager.AppService.Models.StaticSiteBasicAuthName * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Azure.ResourceManager.AppService.Models.StaticSiteBasicAuthName * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (basicAuthName As StaticSiteBasicAuthName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

basicAuthName
StaticSiteBasicAuthName

name of the basic auth entry.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to