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

WindowsRemoteManagementListener 类

定义

包含侦听器的类型和证书信息。

public class WindowsRemoteManagementListener
type WindowsRemoteManagementListener = class
Public Class WindowsRemoteManagementListener
继承
WindowsRemoteManagementListener

构造函数

WindowsRemoteManagementListener()

初始化 WindowsRemoteManagementListener 类的新实例。

WindowsRemoteManagementListener(VirtualMachineWindowsRemoteManagementListenerType)

使用必需的参数初始化 WindowsRemoteManagementListener 类的新实例。

属性

CertificateThumbprint

可选。 指定安全连接的证书指纹。 如果 Type 为 Https,则该值是一个可选值,设置为要用于设置 WinRM HTTPS 侦听器的服务证书的指纹。 如果未指定该值,将生成一个自签名的证书并且该证书用于虚拟机。

ListenerType

必需。 指定侦听器的类型。 该值可以是 Http 或 Https。 值区分大小写。

适用于