共用方式為


DscConfigurationResource.GetContent(CancellationToken) Method

Definition

Retrieve the configuration script identified by configuration name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}/content
  • Operation Id: DscConfiguration_GetContent
public virtual Azure.Response<string> GetContent (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContent : System.Threading.CancellationToken -> Azure.Response<string>
override this.GetContent : System.Threading.CancellationToken -> Azure.Response<string>
Public Overridable Function GetContent (Optional cancellationToken As CancellationToken = Nothing) As Response(Of String)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to