Share via


WinRMListener Class

Describes Protocol and thumbprint of Windows Remote Management listener.

Constructor

WinRMListener(*, protocol: str | _models.ProtocolTypes | None = None, certificate_url: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
protocol

Specifies the protocol of WinRM listener. Possible values are: http, https.. Known values are: "Http" and "Https".

Default value: None
certificate_url
str

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.

Default value: None

Variables

Name Description
protocol

Specifies the protocol of WinRM listener. Possible values are: http, https.. Known values are: "Http" and "Https".

certificate_url
str

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.