Class: Azure::Network::Mgmt::V2020_07_01::Models::BastionShareableLink
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_07_01::Models::BastionShareableLink
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-07-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb
Overview
Bastion Shareable Link.
Instance Attribute Summary collapse
-
#bsl ⇒ String
machine.
-
#created_at ⇒ String
The time when the link was created.
-
#message ⇒ String
related to the vm in case of partial failure.
-
#vm ⇒ VM
Reference of the virtual machine resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BastionShareableLink class as Ruby Hash.
Instance Attribute Details
#bsl ⇒ String
machine.
20 21 22 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 20 def bsl @bsl end |
#created_at ⇒ String
Returns The time when the link was created.
23 24 25 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 23 def created_at @created_at end |
#message ⇒ String
related to the vm in case of partial failure.
27 28 29 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 27 def end |
#vm ⇒ VM
Returns Reference of the virtual machine resource.
16 17 18 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb', line 16 def vm @vm end |
Class Method Details
.mapper ⇒ Object
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-07-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 |