Questions tagged [azure-python-sdk]
146 questions
0
votes
1 answer
Error using the python Azure blob storage SDK when creating containers
I was taking a look at this documentation from Microsoft.
https://docs-microsoft-com.translate.goog/es-es/azure/storage/blobs/storage-quickstart-blobs-python?_x_tr_sl=es&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=nui,sc,elem
On which is said that to create a…

Nayden Van
- 1,133
- 1
- 23
- 70
0
votes
0 answers
Python : List blobs inside the Azure container according to date
I want to list the only the last week data inside the azure container. The python code I'm using first lists whole data and then filters it according to given the if condition.
list1 = [a.name for a in…

Kazama
- 61
- 9
0
votes
1 answer
Azure Python SDK: BlobServiceClient.get_container_client returning TypeError?
This is baffling me. I must be missing something obvious. Just trying to get a ContainerClient from a BlobServiceClient.
Example:
import os
import logging
from azure.storage.blob import BlobServiceClient, BlobClient
conn_string =…

SeaDude
- 3,725
- 6
- 31
- 68
0
votes
1 answer
How to use AZ Cli or Bash inside Azure Function App?
Is it possible to call AZ Cli / Bash inside an Azure Function App?
My goal is to automatically shut down an ADX Cluster after office times as you can save costs by this.
Would be nice to call something like that where the authentification method is…

Andre
- 103
- 1
- 10
0
votes
2 answers
How to get Azure FunctionApp list using python SDK
I am trying to get details of function apps using python SDK and finding suitable client and methods. I can use ResourceManagementClient and get basic info on them but does not get runtime and other details. I can run CLI az functionapp list and get…

John Smith
- 261
- 1
- 3
- 8
0
votes
1 answer
Where is MaxItemCount for cosmos DB pagination for Python azure SDK
having searching quite while and haven't found the MaxItemCount for cosmos DB pagination in python azure SDK from the official web site and the code sample
The REST-api is written by FastAPI framework, use Azure cosmos DB as the storage, pagination…

SLN
- 4,772
- 2
- 38
- 79
0
votes
1 answer
How to determine which exceptions to handle for Azure Python SDK classes?
I'm fairly new to Python, mostly focused on building Azure Functions. I'm having trouble determining which exceptions to handle for the various Class/Method calls.
If I was using say, a Microsoft REST API, I could see which responses may be returned…

SeaDude
- 3,725
- 6
- 31
- 68
0
votes
1 answer
python package installation error while creating a webjob in azure
i am creating a webjob which has following python dependencies(azure-storage-blob==12.8.1,azure) along with other dependencies, the problem is here that my code is getting stuck at below from almost 3-4 hours only.
Dowenloading…

vishal
- 209
- 2
- 4
- 14
0
votes
1 answer
Azure Pyhton Sdk :: 1. Create Azure VNET 2. enable Flow log on NET 3. Attach VNET to Azure Virtual WAN
I want to create Azure VNET programmatically with Azure python SDK then enable the NSG flow logs on NET and finally attach the VNET to the Azure virtual WAN.

Ravi
- 13
- 3
0
votes
1 answer
Azure AD - Python SDK
It is possible to manage users/groups (AAD) and create automations via Python SDK?
My goal is to add email aliases to specific users with Python instead of PS.
Thanks!

Tomer Aharon
- 57
- 10