class Azure::Compute::Mgmt::V2016_04_30_preview::Models::WinRMListener

Describes Protocol and thumbprint of Windows Remote Management listener

Attributes

certificate_url[RW]

@return [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](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:
{
“data”:“<Base64-encoded-certificate>”,
“dataType”:“pfx”,
“password”:“<pfx-file-password>”
}

protocol[RW]

@return [ProtocolTypes] Specifies the protocol of listener.
Possible values are:
*http*
*https*. Possible values include: 'Http', 'Https'

Public Class Methods

mapper() click to toggle source

Mapper for WinRMListener class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WinRMListener',
    type: {
      name: 'Composite',
      class_name: 'WinRMListener',
      model_properties: {
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocol',
          type: {
            name: 'Enum',
            module: 'ProtocolTypes'
          }
        },
        certificate_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'certificateUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end