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
| $testName = "lower-case-unique-name" | |
| $resourceGroupName = $testName | |
| $location = "westus" | |
| $domainName = $testName | |
| $subnetName = "Subnet-1" | |
| $publisher = "MicrosoftWindowsServer" | |
| $offer = "WindowsServer" | |
| $sku = "2012-R2-Datacenter" |
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
| $testName = "lower-case-unique-name" | |
| $resourceGroupName = $testName | |
| $location = "westus" | |
| $publisher = "MicrosoftWindowsServer" | |
| $offer = "WindowsServer" | |
| $sku = "2012-R2-Datacenter" | |
| $version = "latest" |
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
| # | |
| # Sign-in as a user in the Owner role | |
| # | |
| Add-AzureAccount | |
| # | |
| # Sign-in to MSOL | |
| # | |
| Connect-MsolService |
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
| $testName = "lower-case-unique-name" | |
| $resourceGroupName = $testName | |
| $location = "West US" | |
| $domainName = $testName | |
| $subnetName = "Subnet-1" | |
| $publisher = "MicrosoftWindowsServer" | |
| $offer = "WindowsServer" |
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
| $testName = "lower-case-unique-name" | |
| $resourceGroupName = $testName | |
| $location = "West US" | |
| $publisher = "MicrosoftWindowsServer" | |
| $offer = "WindowsServer" | |
| $sku = "2012-R2-Datacenter" | |
| $version = "latest" |
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
| <PerformanceCounters bufferQuotaInMB="512" scheduledTransferPeriod="PT2M"> | |
| <PerformanceCounterConfiguration counterSpecifier= | |
| "\Processor(_Total)\% Processor Time" sampleRate="PT30S" /> | |
| <PerformanceCounterConfiguration counterSpecifier= | |
| "\Memory\Available MBytes" sampleRate="PT30S" /> | |
| <PerformanceCounterConfiguration counterSpecifier= | |
| "\Memory\Committed MBytes" sampleRate="PT30S" /> | |
| <PerformanceCounterConfiguration counterSpecifier= | |
| "\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT1M" /> | |
| <PerformanceCounterConfiguration counterSpecifier= |
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
| var query = ( | |
| from entity in bookTable.CreateQuery<DynamicTableEntity>() | |
| where entity.Properties["PartitionKey"].StringValue == "hardback"”" && | |
| entity.Properties["Year"].Int32Value == 1912 | |
| select entity); | |
| List<DynamicTableEntity> books = query.ToList(); |
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
| EntityResolver<Writer> resolver = (pk, rk, ts, props, etag) => | |
| { | |
| Writer writer = new Writer() { | |
| Information = String.Format("{0} wrote {1} in {2}", | |
| props["Author"].StringValue, props["Name"].StringValue, | |
| props["Year"].Int32Value) | |
| }; | |
| return writer; | |
| }; |
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
| var query = | |
| (from book in bookTable.CreateQuery<DynamicTableEntity>() | |
| where book.PartitionKey == "hardback" | |
| select book).Resolve( (pk,rk,ts,props,etag) => | |
| String.Format("{0} wrote {1} in {2}", | |
| props["Author"].StringValue, props["Name"].StringValue, props["Year"].Int32Value)); |
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
| public delegate T EntityResolver<T>(string partitionKey, string rowKey, | |
| DateTimeOffset timestamp, | |
| IDictionary<string, EntityProperty> properties, string etag); |
NewerOlder