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

BlueprintResource.GetPublishedBlueprints 方法

定义

重载

GetPublishedBlueprints()

获取蓝图中 PublishedBlueprintResources 的集合。

GetPublishedBlueprints(CancellationToken)

列出给定蓝图定义的已发布版本。

  • 请求路径/{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions
  • 操作IdPublishedBlueprints_List

GetPublishedBlueprints()

获取蓝图中 PublishedBlueprintResources 的集合。

public virtual Azure.ResourceManager.Blueprint.PublishedBlueprintCollection GetPublishedBlueprints ();
abstract member GetPublishedBlueprints : unit -> Azure.ResourceManager.Blueprint.PublishedBlueprintCollection
override this.GetPublishedBlueprints : unit -> Azure.ResourceManager.Blueprint.PublishedBlueprintCollection
Public Overridable Function GetPublishedBlueprints () As PublishedBlueprintCollection

返回

一个 对象,表示 PublishedBlueprintResources 的集合及其在 PublishedBlueprintResource 上的操作。

适用于

GetPublishedBlueprints(CancellationToken)

列出给定蓝图定义的已发布版本。

  • 请求路径/{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions
  • 操作IdPublishedBlueprints_List
public virtual Azure.Pageable<Azure.ResourceManager.Blueprint.PublishedBlueprintResource> GetPublishedBlueprints (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublishedBlueprints : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Blueprint.PublishedBlueprintResource>
override this.GetPublishedBlueprints : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Blueprint.PublishedBlueprintResource>
Public Overridable Function GetPublishedBlueprints (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PublishedBlueprintResource)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 PublishedBlueprintResource ,可能需要多个服务请求才能循环访问。

适用于