Azure Blob Storage operations with Storage Python SDK

This blog describes how to perform the basic operations on blobs using the Python API. We’ll be using Python API provided in Azure SDK to achieve the following functionalities. Create a container Upload a blob into a container Download blobs List the blobs in a container Delete a blob Installing the SDK: My machine is a…

1

How to retrieve Job action settings of Scheduler Job using Powershell

Sometimes, we may have a requirement to retrieve the job action details of your scheduled job in the Scheduler job collections using Powershell.   There are no direct options available in PowerShell to retrieve the job action details. You need to cast the jobAction to appropriate derived class of the Action settings to retrieve the details of…

1

How to reclaim your recently deleted ServiceBus namespace “name” instead 7 days wait time

When you have multiple subscriptions, sometimes you create namespace in some another subscription rather than the one in which you exactly wanted to create. Some of the customers delete the namespace and try to create the namespace in correct subscription by same name, however creating namespace it gives error saying, the namespace name is previously…


How to add missing resource types in azure

Some of you may get this error “Handling the error ‘The subscription ‘xxxxxx’ is not registered for resource types ‘Microsoft.ServiceBus/namespaces’. (Code: MissingRegistrationsForTypes)” when trying to move resource from one subscription to another subscription. This error is expected if our destination subscription is not registered with the required types beforehand. To overcome, it is suggested to first…

0

Troubleshooting: Azure Auto-scale profile does not change

Sometimes customers are faced with situation with Auto Scale, where they try to update or delete the Auto Scale Profile but the previous Profile keeps coming back.   Generally, this occurs due to duplicate profiles getting created for Auto Scaling. So, deleting the duplicate profile should help to mitigate the issue. Here’re steps to delete…


Can we use set-query-parameter policy inside send-request policy? -No

Several times you come across a situation where you should use send-request policy to make use of an external service to perform complex processing functions and return data to the API management service that can be used for further policy processing. The send-request policy looks like this: <send-request mode=”new” response-variable-name=”tokenstate” timeout=”20″ ignore-error=”true”> <set-url>https://microsoft-apiappec990ad4c76641c6aea22f566efc5a4e.azurewebsites.net/introspection</set-url> <set-method>POST</set-method> <set-header…

0