你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDeploymentCollection.GetAll 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取给定范围内的所有部署。
- 请求路径/{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}'。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
可能需要多个服务请求来循环访问的 的 ArmDeploymentResource 集合。