WinRMListener Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WinRMListener() |
Initializes a new instance of the WinRMListener class. |
WinRMListener(Nullable<ProtocolTypes>, String) |
Initializes a new instance of the WinRMListener class. |
WinRMListener()
Initializes a new instance of the WinRMListener class.
public WinRMListener ();
Public Sub New ()
Applies to
WinRMListener(Nullable<ProtocolTypes>, String)
Initializes a new instance of the WinRMListener class.
public WinRMListener (Microsoft.Azure.Management.Compute.Models.ProtocolTypes? protocol = default, string certificateUrl = default);
new Microsoft.Azure.Management.Compute.Models.WinRMListener : Nullable<Microsoft.Azure.Management.Compute.Models.ProtocolTypes> * string -> Microsoft.Azure.Management.Compute.Models.WinRMListener
Public Sub New (Optional protocol As Nullable(Of ProtocolTypes) = Nothing, Optional certificateUrl As String = Nothing)
Parameters
- protocol
- Nullable<ProtocolTypes>
Specifies the protocol of WinRM listener. Possible values are: http, https.. Possible values include: 'Http', 'Https'
- certificateUrl
- String
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.
Applies to
Azure SDK for .NET