Class WinRMListener
java.lang.Object
com.microsoft.azure.management.compute.WinRMListener
Describes Protocol and thumbprint of Windows Remote Management listener.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet this is the URL of a certificate that has been uploaded to Key Vault as a secret.protocol()
Get specifies the protocol of WinRM listener.withCertificateUrl
(String certificateUrl) Set this is the URL of a certificate that has been uploaded to Key Vault as a secret.withProtocol
(ProtocolTypes protocol) Set specifies the protocol of WinRM listener.
-
Constructor Details
-
WinRMListener
public WinRMListener()
-
-
Method Details
-
protocol
Get specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https**. Possible values include: 'Http', 'Https'.- Returns:
- the protocol value
-
withProtocol
Set specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https**. Possible values include: 'Http', 'Https'.- Parameters:
protocol
- the protocol value to set- Returns:
- the WinRMListener object itself.
-
certificateUrl
Get 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](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is 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>}.- Returns:
- the certificateUrl value
-
withCertificateUrl
Set 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](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is 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>}.- Parameters:
certificateUrl
- the certificateUrl value to set- Returns:
- the WinRMListener object itself.
-