This file contains 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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"logicAppLocation": { | |
"type": "string", | |
"defaultValue": "[resourceGroup().location]" | |
}, | |
"storageAccountType": { | |
"type": "string", |
This file contains 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
PS C:\> Get-AzureResource -ResourceGroupName Default-SQL-AustraliaEast -ResourceType Microsoft.Sql/servers | Move-AzureResource -DestinationResourceGroupName RG-AU-MyApplication | |
Confirm | |
Are you sure you want to move resource(s) into the resource goup named 'RG-AU-MyApplication' - the resource(s): ' | |
/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-SQL-AustraliaEast/providers/Microsoft.Sql/servers/p4oaa68wq4' | |
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y |
This file contains 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
PS C:\> Get-AzureResource -ResourceGroupName myauvm01 | Move-AzureResource -DestinationResourceGroupName RG-AU-MyApplication | |
Confirm | |
Are you sure you want to move resource(s) into the resource goup named 'RG-AU-MyApplication' - the resource(s): ' | |
/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/myauvm01/providers/Microsoft.ClassicCompute/virtualMachines/myauvm01 | |
/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/myauvm01/providers/Microsoft.ClassicCompute/domainNames/myauvm01' | |
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y | |
PS C:\> Get-AzureResource -ResourceGroupName Default-Storage-AustraliaEast | Move-AzureResource -DestinationResourceGroupName RG-AU-MyApplication |
This file contains 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
PS C:\> Get-AzureResource -ResourceGroupName Default-SQL-AustraliaEast | Move-AzureResource -DestinationResourceGroupName RG-AU-MyApplication | |
Confirm | |
Are you sure you want to move resource(s) into the resource goup named 'RG-AU-MyApplication' - the resource(s): ' | |
/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-SQL-AustraliaEast/providers/Microsoft.Sql/servers/p4oaa44wq4/databases/myausqldb | |
/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-SQL-AustraliaEast/providers/Microsoft.Sql/servers/p4oaa44wq4' | |
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y | |
Move-AzureResource : ResourceNotTopLevel: Identifier '/subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-SQL-AustraliaEast/providers/Microsoft.Sql/servers/p4oaa44wq4/databases/myausqldb' is not a top level resource. | |
At line:1 char:66 | |
+ Get-AzureResource -ResourceGroupName Default-SQL-AustraliaEast | Move-AzureResou ... |
This file contains 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
PS C:\> Get-AzureResourceGroup -Name myauvm01 | |
ResourceGroupName : myauvm01 | |
Location : australiaeast | |
ProvisioningState : Succeeded | |
Tags : | |
Permissions : | |
Actions NotActions | |
======= ========== | |
* |
This file contains 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
PS C:\> New-AzureResourceGroup -Name RG-AU-MyApplication -Location "Australia East" | |
VERBOSE: 6:58:08 AM - Created resource group 'RG-AU-MyApplication' in location 'australiaeast' | |
ResourceGroupName : RG-AU-MyApplication | |
Location : australiaeast | |
ProvisioningState : Succeeded | |
Tags : | |
Permissions : | |
Actions NotActions | |
======= ========== |
This file contains 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
PS C:\> Get-AzureResourceGroup | |
ResourceGroupName : Default-Networking | |
Location : australiaeast | |
ProvisioningState : Succeeded | |
Tags : | |
ResourceId : /subscriptions/12360114-0ea0-40a5-8b75-293e7bdbd751/resourceGroups/Default-Networking | |
ResourceGroupName : Default-SQL-AustraliaEast | |
Location : australiaeast |
This file contains 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
#include <SPI.h> | |
#include <Ethernet.h> | |
#include <sha256.h> | |
#include <ArduinoJson.h> | |
// Enter a MAC address for your controller below. | |
// Newer Ethernet shields have a MAC address printed on a sticker on the shield | |
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; | |
// Set the static IP address to use if the DHCP fails to assign |
This file contains 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
private async void lstColor_SelectionChanged(object sender, SelectionChangedEventArgs e) | |
{ | |
if (e.AddedItems.Count > 0) | |
{ | |
(Application.Current as App).CurrentColorItem = ((ColorItem)e.AddedItems[0]); | |
var Color = ((ColorItem)e.AddedItems[0]).Color; | |
SensorData item = new SensorData | |
{ | |
DeviceId = "PhoneEmulator", |
This file contains 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
POST https://myservicebusnamespace.servicebus.windows.net/your-event-hub/messages?timeout=60&api-version=2014-01 HTTP/1.1 | |
Authorization: SharedAccessSignature sr=myservicebusnamespace.servicebus.windows.net&sig=tYu8qdH563Pc96Lky0SFs5PhbGnljF7mLYQwCZmk9M0%3d&se=1403736877&skn=MyPolicy | |
ContentType: application/atom+xml;type=entry;charset=utf-8 | |
Host: your-namespace.servicebus.windows.net | |
Content-Length: 42 | |
Expect: 100-continue | |
{ "DeviceId" : "ArduinoYun", | |
"SensorData" : [ { "SensorId" : "yun", | |
"SensorType" : "temperature", |