ResourceTypes Class

Specifies the resource types that are accessible with the account SAS.

Inheritance
azure.storage.blob._shared.models.ResourceTypes
ResourceTypes

Constructor

ResourceTypes(service=False, file_system=False, object=False)

Parameters

Name Description
service

Access to service-level APIs (e.g.List File Systems)

default value: False
file_system

Access to file_system-level APIs (e.g., Create/Delete file system, List Directories/Files)

default value: False
object

Access to object-level APIs for files(e.g. Create File, etc.)

default value: False

Methods

from_string

Create a ResourceTypes from a string.

To specify service, container, or object you need only to include the first letter of the word in the string. E.g. service and container, you would provide a string "sc".

from_string

Create a ResourceTypes from a string.

To specify service, container, or object you need only to include the first letter of the word in the string. E.g. service and container, you would provide a string "sc".

from_string(string)

Parameters

Name Description
string
Required
str

Specify service, container, or object in in the string with the first letter of the word.

Returns

Type Description

A ResourceTypes object