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

HciClusterResource.GetPublisher(String, CancellationToken) 方法

定义

获取 HCI 群集的发布者资源详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}
  • 操作IdPublishers_Get
public virtual Azure.Response<Azure.ResourceManager.Hci.PublisherResource> GetPublisher (string publisherName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublisher : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.PublisherResource>
override this.GetPublisher : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.PublisherResource>
Public Overridable Function GetPublisher (publisherName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PublisherResource)

参数

publisherName
String

HCI 群集中可用的发布者的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

publisherName 是一个空字符串,预期为非空。

publisherName 为 null。

适用于