This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-AzureRmEnvironment -Name AzureCloud | Format-List |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| az vm list-skus -o json --query '[].{name: name, caps: capabilities[? name==`AcceleratedNetworkingEnabled`]}[].{sku: name, acceleratedNetworking: caps[0].value}[? acceleratedNetworking == `True`]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $stgaccount="ctenteststg" | |
| $uri="http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https://"+$stgaccount+".blob.core.windows.net" | |
| $token=Invoke-RestMethod -Method GET -Uri $uri -Headers @{"Metadata"="True"} | |
| $listContentUrl="https://"+$stgaccount+".blob.core.windows.net/testdata" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trigger: none | |
| variables: | |
| ResourceGroup: private-endpoint-demos-rg | |
| vnetName: private-endpoint-vnet | |
| vnetResourceGroup: $(ResourceGroup) | |
| agentSubNetName: agents | |
| location: westus2 | |
| imageName: azftademo/adoagent:ubuntu-18.04 | |
| storageContainerName: 'test' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Needs more testing. It worked in Azure cloud shell. | |
| $deployResourceGroup="Your-ADF-Resource-Group-Name" | |
| $deployDataFactoryName="Your-ADF-Resource-Name" | |
| # Remove triggers | |
| # If you don't want to remove them, you can comment out the the Remove. | |
| # You will need to stop them, otherwise you will get the following error: | |
| # Resource Microsoft.DataFactory/factories/triggers 'data-factory-name/Blob Created Trigger' failed with | |
| # message '{ "error": { "code": "TriggerEnabledCannotUpdate", "message": "Cannot update enabled Trigger; |
OlderNewer