Share via


ArmDeploymentScriptResource.GetLogs(CancellationToken) Method

Definition

Gets deployment script logs for a given deployment script name.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs
  • Operation Id: DeploymentScripts_GetLogs
  • Default Api Version: 2020-10-01
  • Resource: ScriptLogResource
public virtual Azure.Pageable<Azure.ResourceManager.Resources.ScriptLogResource> GetLogs (System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogs : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ScriptLogResource>
override this.GetLogs : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ScriptLogResource>
Public Overridable Function GetLogs (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ScriptLogResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ScriptLogResource that may take multiple service requests to iterate over.

Applies to