Share via


MockableHybridComputeResourceGroupResource.UpdateSettingAsync Method

Definition

Updates the base Settings of the target resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}
  • Operation Id: Settings_Update
  • Default Api Version: 2024-07-31-preview
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.ArcSettings>> UpdateSettingAsync (string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Azure.ResourceManager.HybridCompute.Models.ArcSettings arcSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSettingAsync : string * string * string * string * Azure.ResourceManager.HybridCompute.Models.ArcSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.ArcSettings>>
override this.UpdateSettingAsync : string * string * string * string * Azure.ResourceManager.HybridCompute.Models.ArcSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.ArcSettings>>
Public Overridable Function UpdateSettingAsync (baseProvider As String, baseResourceType As String, baseResourceName As String, settingsResourceName As String, arcSettings As ArcSettings, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArcSettings))

Parameters

baseProvider
String

The name of the base Resource Provider.

baseResourceType
String

The name of the base Resource Type.

baseResourceName
String

The name of the base resource.

settingsResourceName
String

The name of the settings resource.

arcSettings
ArcSettings

Settings details.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

baseProvider, baseResourceType, baseResourceName or settingsResourceName is an empty string, and was expected to be non-empty.

baseProvider, baseResourceType, baseResourceName, settingsResourceName or arcSettings is null.

Applies to