共用方式為


ArcSettingResource.ConsentAndInstallDefaultExtensionsAsync Method

Definition

Add consent time for default extensions and initiate extensions installation

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/consentAndInstallDefaultExtensions
  • Operation Id: ArcSettings_ConsentAndInstallDefaultExtensions
  • Default Api Version: 2024-04-01
  • Resource: ArcSettingResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.ArcSettingResource>> ConsentAndInstallDefaultExtensionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ConsentAndInstallDefaultExtensionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.ArcSettingResource>>
override this.ConsentAndInstallDefaultExtensionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.ArcSettingResource>>
Public Overridable Function ConsentAndInstallDefaultExtensionsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArcSettingResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to