ScriptLogResource.Get(Nullable<Int32>, CancellationToken) 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.
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
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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET