Class GrantAccessData

java.lang.Object
com.microsoft.azure.management.compute.GrantAccessData

public class GrantAccessData extends Object
Data used for requesting a SAS.
  • Constructor Details

    • GrantAccessData

      public GrantAccessData()
  • Method Details

    • access

      public AccessLevel access()
      Get possible values include: 'None', 'Read', 'Write'.
      Returns:
      the access value
    • withAccess

      public GrantAccessData withAccess(AccessLevel access)
      Set possible values include: 'None', 'Read', 'Write'.
      Parameters:
      access - the access value to set
      Returns:
      the GrantAccessData object itself.
    • durationInSeconds

      public int durationInSeconds()
      Get time duration in seconds until the SAS access expires.
      Returns:
      the durationInSeconds value
    • withDurationInSeconds

      public GrantAccessData withDurationInSeconds(int durationInSeconds)
      Set time duration in seconds until the SAS access expires.
      Parameters:
      durationInSeconds - the durationInSeconds value to set
      Returns:
      the GrantAccessData object itself.