Compartilhar via


SasProtocol Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.storage.common.sas.SasProtocol

public enum SasProtocol
extends Enum<SasProtocol>

Specifies the set of possible permissions for a shared access signature protocol.

Fields

HTTPS_HTTP

Permission to use SAS only through https or http granted.

HTTPS_ONLY

Permission to use SAS only through https granted.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

parse(String str)

public static SasProtocol parse(String str)

Parses a String into a SASProtocol value if possible.

Parameters

str
String
The value to try to parse.

Returns

A SasProtocol value that represents the string if possible.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static SasProtocol valueOf(String name)

Parameters

name
String

Returns

values()

public static SasProtocol[] values()

Returns

Applies to