DataBoxEdgeRoleAddonCollection.Exists(String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}
  • Operation Id: Addons_Get
public virtual Azure.Response<bool> Exists (string addonName, 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 (addonName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

addonName
String

The addon name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

addonName is null.

Applies to