azure

Deploying Azure Webjobs from Jenkins pipeline

房东的猫 提交于 2021-02-11 16:59:39
问题 Please guide me to setup the procedure how to deploy the azure web jobs from Jenkins Pipeline. I have gone through the google of searching the documentation but couldn't able to make it. 回答1: After many tests I did it by adding the OutputPath parameter in the deploy script and deleting the folder before. The script looks like this: dir('Publish'){ deleteDir() } bat "\"${tool 'Your MS Build'}\" Path_To_Project.csproj /p:Configuration=Release /p:DeployOnBuild=true /p:AllowUntrustedCertificate

Create a complete Linux virtual machine infrastructure in Azure with Terraform

放肆的年华 提交于 2021-02-11 16:54:14
问题 So I'm very new creating virtual machines and Microsoft Azure. I'm trying to create one in terraform and link to my Azure account. I have been following this documentation: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/terraform-create-complete-vm. For some background; my goal is to create the VM, log in via ssh on a vpn and log the logins Using the sample code they provide however, I get this error: azurerm_virtual_machine.myterraformvm: compute.VirtualMachinesClient

Create a complete Linux virtual machine infrastructure in Azure with Terraform

青春壹個敷衍的年華 提交于 2021-02-11 16:52:20
问题 So I'm very new creating virtual machines and Microsoft Azure. I'm trying to create one in terraform and link to my Azure account. I have been following this documentation: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/terraform-create-complete-vm. For some background; my goal is to create the VM, log in via ssh on a vpn and log the logins Using the sample code they provide however, I get this error: azurerm_virtual_machine.myterraformvm: compute.VirtualMachinesClient

Translate audio from speaker output in python with azureSDK

妖精的绣舞 提交于 2021-02-11 16:51:02
问题 I'm looking to make an application, who woul'd let me translate any audio going out of the speaker in live stream. This way, i will be able to translate any videoconference from any live stream app(youtube,teams,zoom,etc.). I'm not far from a solution, but not there yet. Src language would be: fr-CA or en-US Dst language would be : fr-Ca or en-US I was able to get audio stream back from speaker with a custom version of pyaudio allowing loopback with the WASAPI of windows.(https://github.com

Azure AD B2C (NodeJS): Unauthorized 401 error for a request with a valid token

我的梦境 提交于 2021-02-11 16:48:57
问题 I'm using Azure AD B2C for authentication for my NodeJS API. However, I keep receiving a 401 Unauthorized error by Azure AD B2C. When I add ignoreExpiration: true to my AAD auth options, I do not get a 401 Unauthorized error and my API works fine. However, once I remove the ignoreExpiration, I get the 401 Unauthorized error. I even generated a new token, verified that it is valid (and not expired) by decoding the token using https://jwt.io/. I even made sure it has the correct scope. The API

How To Update Record in Cosmos Db using python?

只愿长相守 提交于 2021-02-11 16:42:31
问题 I want to read record from cosmos db and update same record in cosmos db using python. example: { "id":"id-1", "name":"mohit" } I want to read the above record and update it to. { "id":"id-1", "name":"Mohit Singh" } I find few link but seems they only create or delete the record but not updating the existing record: https://github.com/Azure/azure-cosmos-python#modify-container-properties but unable to get how to update existing record. in my scenario i want to read all the record from cosmos

How To Update Record in Cosmos Db using python?

元气小坏坏 提交于 2021-02-11 16:42:19
问题 I want to read record from cosmos db and update same record in cosmos db using python. example: { "id":"id-1", "name":"mohit" } I want to read the above record and update it to. { "id":"id-1", "name":"Mohit Singh" } I find few link but seems they only create or delete the record but not updating the existing record: https://github.com/Azure/azure-cosmos-python#modify-container-properties but unable to get how to update existing record. in my scenario i want to read all the record from cosmos

VS403091: You specified a state xxx that is already added

血红的双手。 提交于 2021-02-11 16:31:47
问题 I got this error while trying to create a copy of a process inherited from the Agile process on Azure Devops. I've inspected everything about the process including its WITs and their respective states but I couldn't find anything. I'll be glad if anyone who has experienced this issue can advise on a way out. The error message is not really straightforward. 回答1: This behavior seems to be a known issue and the Azure DevOps Product Group is investigating it. Follow this thread for any related

VS403091: You specified a state xxx that is already added

可紊 提交于 2021-02-11 16:28:42
问题 I got this error while trying to create a copy of a process inherited from the Agile process on Azure Devops. I've inspected everything about the process including its WITs and their respective states but I couldn't find anything. I'll be glad if anyone who has experienced this issue can advise on a way out. The error message is not really straightforward. 回答1: This behavior seems to be a known issue and the Azure DevOps Product Group is investigating it. Follow this thread for any related