你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmDeploymentCollection.GetAll 方法

定义

获取给定范围内的所有部署。

  • 请求路径/{scope}/providers/Microsoft.Resources/deployments
  • 操作IdDeployments_ListAtScope
public virtual Azure.Pageable<Azure.ResourceManager.Resources.ArmDeploymentResource> GetAll (string filter = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ArmDeploymentResource>
override this.GetAll : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ArmDeploymentResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ArmDeploymentResource)

参数

filter
String

要应用于操作的筛选器。 例如,可以使用 $filter=provisioningState eq '{state}'。

top
Nullable<Int32>

要获取的结果数。 如果传递 null,则返回所有部署。

cancellationToken
CancellationToken

要使用的取消标记。

返回

可能需要多个服务请求来循环访问的 的 ArmDeploymentResource 集合。

适用于