ResourceTypes Class
Specifies the resource types that are accessible with the account SAS.
- Inheritance
-
builtins.objectResourceTypes
Constructor
ResourceTypes(service=False, container=False, object=False)
Parameters
- service
- bool
Access to service-level APIs (e.g., Get/Set Service Properties, Get Service Stats, List Containers/Queues/Shares)
- container
- bool
Access to container-level APIs (e.g., Create/Delete Container, Create/Delete Queue, Create/Delete Share, List Blobs/Files and Directories)
- object
- bool
Access to object-level APIs for blobs, queue messages, and files(e.g. Put Blob, Query Entity, Get Messages, Create File, etc.)
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
- string
- str
Specify service, container, or object in in the string with the first letter of the word.
Returns
A ResourceTypes object
Return type
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for