211 questions
0
votes
0
answers
97
views
Why does it take several minutes to start a job in Azure Machine Learning using the python SDK v2?
In the last months I have been using Azure Machine Learning using the Python SDK v2 to launch jobs on remote Compute Instances, sometimes exploiting the GPU-enabled computes. However, I noticed that ...
0
votes
1
answer
70
views
How to get existing OS disk & multiple data disk id for multiple vms with for loop from Azure Python SDK
How to get existing OS disk & multiple data disk id for multiple vms with for loop from Azure Python SDK
I tried different ways to get. But no luck
0
votes
0
answers
68
views
Working with labeled dataset on azure ml studio and how to pass it to train yolo model
I am working on training yolov8 model using azure ml studio and I use data labeling tool to label my dataset but after this I have difficulty in understanding how this labeled dataset when exported (...
0
votes
1
answer
64
views
How to enable replication for multiple VMs with existing OS disk & data disk using Azure SDK
How to enable replication for multiple VMs with existing OS disk & data disk using Azure SDK.
I tried to get details from multiple blogs. but its not helped out.
0
votes
1
answer
323
views
Graph Api error : "Content type text/html does not have a factory registered to be parsed"
"I'm receiving this response. Could you please assist me in resolving the issue? I have already enabled Advanced settings and allowed public client flows.
Exception: Content type text/html does ...
0
votes
1
answer
265
views
How to use Azure App Service Auth in web app to control blob access
Hoping someone can help me with some gaps in my understanding of how to use the azure app service authentication component. I'm trying to write a simple web app (in this case python/flask) that allows ...
0
votes
3
answers
174
views
How to assign Reader role to user in Azure Subscription using Python SDK?
I’m trying to assign "Reader" role to user under Azure subscription using Azure Python SDK. I’ve found a way to do it using Azure REST API following MS documentation https://learn.microsoft....
0
votes
1
answer
113
views
What API should I use to manage Alerts and Alert Rules in Azure?
Looking in Azure portal I see this:
Further I have run with great success the following cli commands:
az monitor metrics alert list --subscription "$sub"
az monitor activity-log alert list ...
1
vote
1
answer
836
views
How can I keep alive Azure Service Bus client and sender instances for more than 10 minutes in Python SDK?
I'm currently working on integration of Azure Service Bus queue and custom gateway service. Every time service receives an event, it should send message to the dedicated queue.
I've managed to ...
0
votes
1
answer
365
views
How to pass environment variables for a AzureML pipeline job using python sdk v2?
I am following the example from this link: https://github.com/Azure/azureml-examples/blob/main/sdk/python/jobs/pipelines/1a_pipeline_with_components_from_yaml/pipeline_with_components_from_yaml.ipynb
...
-1
votes
1
answer
364
views
How do i create an Azure function w. a blob triggered python function, from an Azure function
I am trying to automate the creation of a new Azure resource group, with storage and Azure function, from an admin Azure function.
So whenever i get a new customer, i want to send a http request, with ...
0
votes
1
answer
181
views
how to update device twin using python?
I am currently trying to update a property in device twin using python. but unable to do it due to SSL error.
below is the code
from azure.iot.hub import IoTHubRegistryManager
import certifi
import ...
0
votes
1
answer
1k
views
Is there any way to read and process an azure blob as a stream using the python sdk without loading the whole blob into memory?
I'd like to be able to treat an azure blob like an IO object using the python SDK. As far as I can tell, this requires me to either:
a) use .readinto() to read the blob into an IO object (thus loading ...
0
votes
1
answer
110
views
Is there any azure api which returns the compatibility of VM Size to disk supported
I am writing a code to create dynamic VM's on azure based on certain values of CPU/Memory selection, so I have written code to hit
"https://management.azure.com/subscriptions/{SUB_ID}/providers/...
0
votes
1
answer
160
views
How to get log analytics workspace usage details via api
I want to fetch the usage details for each month of an azure log analytics workspace, same as below. Is there any API or which 'metric' that can be used to get the details? I checked the 'ingestion ...
0
votes
1
answer
99
views
How to filter virtual machines by running state in Python SDK?
I have a Python script that lists all VMs in a specific Azure resource
group. The script collects and prints details such as VM name,
location, size, and OS type.
Here is the current script:
from ...
0
votes
1
answer
188
views
How to trigger the `Blob Renamed` EventGrid Event using Azure Python SDK?
When looking at the possible event types for an EventGrid Subscription, one is Blob Renamed.
How is this event triggered when using the Azure Python SDK?
I don't see a Rename Blob method in the SDK.
1
vote
1
answer
319
views
Create Azure service principal using python SDK
Is there currently any way to create a service principal using python SDK in azure?
I have tried doing it with azure-graphrbac but it currently is deprecated and it fails to load ...
0
votes
1
answer
80
views
Csv files getting uploaded to local drive rather than storage account using python function app
I have an azure function app in python with a blob trigger. It will trigger a function when a db file is uploaded in the following path in my storage account:
abc360/sqlite_db_file/{name}.db
The ...
0
votes
1
answer
167
views
Can I define a node preference for each task?
So here is my scenario:
Let's say I have 3 nodes in my batch pool. I submit 1 job with 9 tasks.
I want task 1,2 and 3 to be executed one after each other on the same node. The same goes for task 4-6 ...
0
votes
1
answer
117
views
How to use parameter in Azure sql_input with LIKE SQL command
Working in V2 Python Cloud Function in Azure, I am trying to implement a parameter from URL to a query to Azure SQL database. I am unable to do so when using SQL LIKE.
I have managed to set up a ...
0
votes
1
answer
93
views
Azure hide not mine logs - see only my logs
I write in python and use logging.info() to print my logs.
When I enter log stream in azure functions I see many other logs among my logs.
It makes the debugging harder.
For example I have those ...
3
votes
2
answers
1k
views
Invoke AzureML Batch Endpoint from ADF
We have deployed our ML pipeline (using SDKV2) on batch endpoints using PipelineComponentBatchDeployment. This pipeline takes multiple arguments (all of str type). How can we trigger or invoke the ...
0
votes
1
answer
255
views
Cannot mimic manual document split in Azure, programatically, using Azure SplitSkill
I am going from a manual setup of my RAG solution in Azure to setting up everything programmatically using the azure python sdk. I have a container with a single pdf. When setting up manually is see ...
0
votes
2
answers
180
views
Azure python api for compute images get(). Adding special character * to the argument 'image_name'
I am using Azure ComputeManagementClient.images.get() function to search and match images based on 'resource_group_name' and 'image_name' parameter and print the image details.
Azure python sdk
Azure ...