Share via


ScriptLogResource.Get(Nullable<Int32>, 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/default
  • Operation Id: DeploymentScripts_GetLogsDefault
  • Default Api Version: 2020-10-01
  • Resource: ScriptLogResource
public virtual Azure.Response<Azure.ResourceManager.Resources.ScriptLogResource> Get (int? tail = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ScriptLogResource>
override this.Get : Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ScriptLogResource>
Public Overridable Function Get (Optional tail As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScriptLogResource)

Parameters

tail
Nullable<Int32>

The number of lines to show from the tail of the deployment script log. Valid value is a positive number up to 1000. If 'tail' is not provided, all available logs are shown up to container instance log capacity of 4mb.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to