共用方式為


WindowsRemoteManagementListener Class

Definition

Contains the type and certificate information for the listener.

public class WindowsRemoteManagementListener
type WindowsRemoteManagementListener = class
Public Class WindowsRemoteManagementListener
Inheritance
WindowsRemoteManagementListener

Constructors

WindowsRemoteManagementListener()

Initializes a new instance of the WindowsRemoteManagementListener class.

WindowsRemoteManagementListener(VirtualMachineWindowsRemoteManagementListenerType)

Initializes a new instance of the WindowsRemoteManagementListener class with required arguments.

Properties

CertificateThumbprint

Optional. Specifies the certificate thumbprint for the secure connection. If Type is Https then this value is an optional value that is set to the thumbprint of the service certificate that is used to provision the WinRM HTTPS listener. If this value is not specified, a self-signed certificate is generated and used for the virtual machine.

ListenerType

Required. Specifies the type of listener. This value can be Http or Https. The value is case sensitive.

Applies to