ResourceTypes Class
Specifies the resource types that are accessible with the account SAS.
- Inheritance
-
builtins.objectResourceTypes
Constructor
ResourceTypes(**kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
service
|
Access to service-level APIs (e.g., Get/Set Service Properties, Get Service Stats, List Tables). Default value is False. |
object
|
Access to object-level APIs for tables (e.g. Get/Create/Query Entity etc.). Default value is False. |
container
|
Access to container-level APIs for tables (e.g. Create Tables etc.). Default value is 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: str) -> ResourceTypes
Parameters
Name | Description |
---|---|
string
Required
|
Specify service, container, or object in in the string with the first letter of the word. |
Returns
Type | Description |
---|---|
A ResourceTypes object |
Attributes
container
container: bool
object
object: bool
service
service: bool
Azure SDK for Python