I seems to be facing an issue with creating a managed_disk or snapshot from scratch disk of a VM, using
begin_create_or_update function and am getting the following error:
Error message was: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
I have seen a similar error to this earlier last year on this forum. Are they related or is this specific to each entity on Azure?
Hey guys, I'm trying to start using the Entity Tag feature to ensure our transactions are properly isolated. I've been trying to use the documentation at https://azuresdkdocs.blob.core.windows.net/$web/python/azure-cosmos/4.0.0/azure.cosmos.html#azure.cosmos.container.ContainerProxy.replace_item and it defines an
etag keyword argument and a
match_condition argument. The
match_condition argument must apparently be present when the
etag argument is present, and takes an
azure.core.MatchConditions enum (an int from 1-5...).
Unfortunately, I can't find any documentation on what the various
MatchConditions options actually do...
There is a page that describes the enum (https://azuresdkdocs.blob.core.windows.net/$web/python/azure-core/1.1.1/azure.core.html#azure.core.MatchConditions) but it doesn't elaborate on what
IfModified etc. actually mean.
To make matters murkier, I tried simply using the
IfPresent value just to see what would happen, and got a completely unexpected exception:
TypeError("request() got an unexpected keyword argument 'etag'"), which doesn't make any sense: why would the
etag be unexpected in this case?
Can anyone shed some light on this?
I'm trying to get started with the
azure.mgmt.logic library. When I run the script I get
ValueError: Invalid tenant id provided. You can locate your tenant id by following the instructions here: https://docs.microsoft.com/partner-center/find-ids-and-domain-names. However, I am quite confident my tenant id is correct. I'm using it elsewhere and I've doublechecked no trailing spaces, etc. in the env var it's stored in. Any pointers?
I can't find any related issues on the web, so here it comes:
I try to make use of the Model.package() functionaity in the Azure ML Python SDK
It tries to connect to a file in a blob storage by making use of a SAS url, which is fine, but at the moment of requesting it, the sas is not valid yet, only when I call it manually later it does work...
so its an issue with timings, anyone who has an idea how to get this fixed?
you can try mgmt SDK to first check if the storage resource is there before connecting to it