Class: Azure::Network::Mgmt::V2020_04_01::Models::BastionShareableLink

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb

Overview

Bastion Shareable Link.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#bslString

machine.

Returns:

  • (String)

    The unique Bastion Shareable Link to the virtual


20
21
22
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 20

def bsl
  @bsl
end

#created_atString

Returns The time when the link was created.

Returns:

  • (String)

    The time when the link was created.


23
24
25
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 23

def created_at
  @created_at
end

#messageString

related to the vm in case of partial failure.

Returns:

  • (String)

    Optional field indicating the warning or error message


27
28
29
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 27

def message
  @message
end

#vmVM

Returns Reference of the virtual machine resource.

Returns:

  • (VM)

    Reference of the virtual machine resource.


16
17
18
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 16

def vm
  @vm
end

Class Method Details

.mapperObject

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


34
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BastionShareableLink',
    type: {
      name: 'Composite',
      class_name: 'BastionShareableLink',
      model_properties: {
        vm: {
          client_side_validation: true,
          required: true,
          serialized_name: 'vm',
          type: {
            name: 'Composite',
            class_name: 'VM'
          }
        },
        bsl: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'bsl',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'createdAt',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end