DeploymentOperations.ListAtManagementGroupScope(String, String, Nullable<Int32>, CancellationToken) Method

Definition

Gets all deployments operations for a deployment.

public virtual Azure.Pageable<Azure.ResourceManager.Resources.Models.DeploymentOperation> ListAtManagementGroupScope (string groupId, string deploymentName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAtManagementGroupScope : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.DeploymentOperation>
override this.ListAtManagementGroupScope : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.DeploymentOperation>
Public Overridable Function ListAtManagementGroupScope (groupId As String, deploymentName As String, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeploymentOperation)

Parameters

groupId
System.String

The management group ID.

deploymentName
System.String

The name of the deployment.

top
System.Nullable<System.Int32>

The number of results to return.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Pageable<DeploymentOperation>

Exceptions

System.ArgumentNullException

groupId or deploymentName is null.

Applies to