Class BastionShareableLinkInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner

public final class BastionShareableLinkInner extends Object
Bastion Shareable Link.
  • Constructor Details

    • BastionShareableLinkInner

      public BastionShareableLinkInner()
      Creates an instance of BastionShareableLinkInner class.
  • Method Details

    • vm

      public VM vm()
      Get the vm property: Reference of the virtual machine resource.
      Returns:
      the vm value.
    • withVm

      public BastionShareableLinkInner withVm(VM vm)
      Set the vm property: Reference of the virtual machine resource.
      Parameters:
      vm - the vm value to set.
      Returns:
      the BastionShareableLinkInner object itself.
    • bsl

      public String bsl()
      Get the bsl property: The unique Bastion Shareable Link to the virtual machine.
      Returns:
      the bsl value.
    • createdAt

      public String createdAt()
      Get the createdAt property: The time when the link was created.
      Returns:
      the createdAt value.
    • message

      public String message()
      Get the message property: Optional field indicating the warning or error message related to the vm in case of partial failure.
      Returns:
      the message value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.