Class: Azure::Compute::Mgmt::V2017_03_30::Models::WinRMListener

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb

Overview

Describes Protocol and thumbprint of Windows Remote Management listener

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#certificate_urlString

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>”

Returns:

  • (String)

    This is the URL of a certificate that has been



28
29
30
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb', line 28

def certificate_url
  @certificate_url
end

#protocolProtocolTypes

Possible values are:
http
https. Possible values include: ‘Http’, ‘Https’

Returns:



18
19
20
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb', line 18

def protocol
  @protocol
end

Class Method Details

.mapperObject

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



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb', line 35

def self.mapper()
  {
    required: false,
    serialized_name: 'WinRMListener',
    type: {
      name: 'Composite',
      class_name: 'WinRMListener',
      model_properties: {
        protocol: {
          required: false,
          serialized_name: 'protocol',
          type: {
            name: 'Enum',
            module: 'ProtocolTypes'
          }
        },
        certificate_url: {
          required: false,
          serialized_name: 'certificateUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end