I am writing a python script which will make use of azure python sdk, and inside the script I have some cases of usage of begin_create_or_update
function, which is common for most modules in azure python sdk.
However, I am having trouble figuring out the proper json pattern for each object to specify in begin_create_or_update
function. I am using the git directory of azure samples as reference to figure out the proper pattern for the json. But I cannot find any official documentation regarding to required and optional argument formats for the json in begin_create_or_update
function. For example, I have no clue what kind of arguments I should provide in json if I want to create a virtual machine scale set.
I found this link which states that the usage of json patterns in the function is possible, but does not provide any link for proper documentation.
I have also found some similarities between the json view of objects in portal azure and json pattern which is required in begin_create_or_update
function. My question is if there is an official documentation for the json arguments for each type of object which begin_create_or_update
function might refer to, and how can I make use of the json view in azure portal in order to figure out the pattern of json in the sdk.
from The relationship between json pattern in azure python sdk and json view of azure objects
No comments:
Post a Comment