Share via


HciClusterDeploymentSettingCollection.GetAsync Method

Definition

Get a DeploymentSetting

  • 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.HciClusterDeploymentSettingResource>> GetAsync (string deploymentSettingsName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.HciClusterDeploymentSettingResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.HciClusterDeploymentSettingResource>>
Public Overridable Function GetAsync (deploymentSettingsName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HciClusterDeploymentSettingResource))

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