共用方式為


DeploymentScriptsOperationsExtensions.GetLogsAsync Method

Definition

Gets deployment script logs for a given deployment script name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ScriptLogsList> GetLogsAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations operations, string resourceGroupName, string scriptName, System.Threading.CancellationToken cancellationToken = default);
static member GetLogsAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ScriptLogsList>
<Extension()>
Public Function GetLogsAsync (operations As IDeploymentScriptsOperations, resourceGroupName As String, scriptName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptLogsList)

Parameters

operations
IDeploymentScriptsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

scriptName
String

Name of the deployment script.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to