Share via


HciClusterDeploymentSettingCollection.Exists Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings/{deploymentSettingsName}
  • Operation Id: DeploymentSettings_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterDeploymentSettingResource
public virtual Azure.Response<bool> Exists (string deploymentSettingsName, 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 (deploymentSettingsName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

deploymentSettingsName
String

Name of Deployment Setting.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

deploymentSettingsName is null.

Applies to