Compartir a través de


WinRMListener Class

Definition

Describes Protocol and thumbprint of Windows Remote Management listener.

public class WinRMListener : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.WinRMListener>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.WinRMListener>
type WinRMListener = class
    interface IJsonModel<WinRMListener>
    interface IPersistableModel<WinRMListener>
Public Class WinRMListener
Implements IJsonModel(Of WinRMListener), IPersistableModel(Of WinRMListener)
Inheritance
WinRMListener
Implements

Constructors

WinRMListener()

Initializes a new instance of WinRMListener.

Properties

CertificateUri

This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.

Protocol

Specifies the protocol of WinRM listener. Possible values are: http, https..

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WinRMListener>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WinRMListener>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WinRMListener>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WinRMListener>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WinRMListener>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to