MockableHybridComputeResourceGroupResource.UpdateTargetResourceSettingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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-05-20-preview
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.HybridComputeTargetResourceSettings>> UpdateTargetResourceSettingAsync (string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Azure.ResourceManager.HybridCompute.Models.HybridComputeTargetResourceSettings hybridComputeTargetResourceSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTargetResourceSettingAsync : string * string * string * string * Azure.ResourceManager.HybridCompute.Models.HybridComputeTargetResourceSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.HybridComputeTargetResourceSettings>>
override this.UpdateTargetResourceSettingAsync : string * string * string * string * Azure.ResourceManager.HybridCompute.Models.HybridComputeTargetResourceSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.HybridComputeTargetResourceSettings>>
Public Overridable Function UpdateTargetResourceSettingAsync (baseProvider As String, baseResourceType As String, baseResourceName As String, settingsResourceName As String, hybridComputeTargetResourceSettings As HybridComputeTargetResourceSettings, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridComputeTargetResourceSettings))
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.
- hybridComputeTargetResourceSettings
- HybridComputeTargetResourceSettings
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 hybridComputeTargetResourceSettings
is null.
Applies to
Azure SDK for .NET