Share via


WeightsAndBiasesInstanceCollection.Exists(String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WeightsAndBiases/instances/{instancename}
  • Operation Id: InstanceResource_Get
  • Default Api Version: 2024-09-18-preview
  • Resource: WeightsAndBiasesInstanceResource
public virtual Azure.Response<bool> Exists(string instancename, 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 (instancename As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

instancename
String

Name of the Instance resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

instancename is null.

Applies to