profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/PlagueHO/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Daniel Scott-Raynsford PlagueHO @microsoft Auckland, New Zealand https://dscottraynsford.wordpress.com/ Partner Technology Strategist @ Microsoft. #azure, #devops, #powershell, #dsc and software development enthusiast.

dsccommunity/NetworkingDsc 183

DSC resources for configuring settings related to networking.

PlagueHO/CosmosDB 97

PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.

gaelcolas/Sampler 50

Module template with build pipeline and examples, including DSC elements.

PlagueHO/ACLReportTools 21

PowerShell module containing functions for creating reports on file, folder and share ACL's, storing the reports and comparing them with earlier reports.

dsccommunity/WSManDsc 14

DSC resources for configuring WS-Management and PowerShell Remoting.

microsoft/saaslab 14

SaaS-ification resources for ISVs

dsccommunity/FileContentDsc 11

DSC resources for setting the content of files. Configuration text files are the most common use case for this module.

dsccommunity/FSRMDsc 9

DSC resources for configuring Windows File Server Resource Manager.

dsccommunity/iSCSIDsc 6

DSC resources for configuring Windows iSCSI targets and initiators.

dsccommunity/xTimeZone 6

THIS MODULE HAS BEEN DEPRECATED Please use ComputerManagementDsc instead: https://github.com/PowerShell/ComputerManagementDsc

created tagPlagueHO/CosmosDB

tagv4.6.0-preview0002

PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.

created time in 4 days

release PlagueHO/CosmosDB

v4.6.0-preview0002

released time in 4 days

delete branch dsccommunity/ComputerManagementDsc

delete branch : updateChangelogAfterv8.5.0

delete time in 4 days

push eventdsccommunity/ComputerManagementDsc

dscbot

commit sha 322de45e630e30e8deca1e88ff71c928f2f1bb6b

Updating ChangeLog since release of v8.5.0 (#378) * Updating ChangeLog since v8.5.0 +semver:skip

view details

push time in 4 days

PullRequestReviewEvent

push eventPlagueHO/CosmosDB

Chris Jantzen

commit sha f6d628cdc3066fafc94c8624a4893fbe2c1cfa55

Added a Capacity param on New-CosmosDbAccount - Fixes #439 (#440)

view details

push time in 4 days

PR merged PlagueHO/CosmosDB

Added a Capacity param on New-CosmosDbAccount - Fixes #439 needs review

Pull Request

Improvements / Enhancements

  • Add a new Capacity param to New-CosmosDbAccount which allows you to create Cosmos DB Accounts that are Serverless or that use Cassandra, Gremlin, etc.

Closes #439

<!-- Reviewable:start -->

This change is <img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/> <!-- Reviewable:end -->

+136 -2

5 comments

4 changed files

chrisjantzen

pr closed time in 4 days

issue closedPlagueHO/CosmosDB

Add Capability param to New-CosmosDbAccount

Issue

When creating a new account the 'capabilities' property can be used to provision an account as Serverless, Cassandra, Gremlin, etc. I would like to see a parameter added to New-CosmosDbAccount that can be used for this property.

https://docs.microsoft.com/en-us/azure/templates/microsoft.documentdb/databaseaccounts?tabs=json#capability

closed time in 4 days

chrisjantzen
PullRequestReviewEvent

Pull request review commentPlagueHO/CosmosDB

Added a Capacity param on New-CosmosDbAccount - Fixes #439

 InModuleScope $ProjectName {                     -Exactly -Times 1             }         }++        Context 'When called with a Location specified and the EnableServerless and EnableCassandra capabilities' {+            $script:result = $null+            $testCosmosDBProperties = @{+                databaseAccountOfferType = 'Standard'+                locations                = @(+                    @{+                        locationName     = $script:testLocation+                        failoverPriority = 0+                    }+                )+                consistencyPolicy        = @{+                    defaultConsistencyLevel = 'Session'+                    maxIntervalInSeconds    = 5+                    maxStalenessPrefix      = 100+                }+                ipRangeFilter            = ''+                capabilities             = @(+                    @{+                        name = 'EnableServerless'+                    },+                    @{+                        name = 'EnableCassandra'+                    }+                )+            }++            $newAzResource_parameterFilter = {+                ($ResourceType -eq 'Microsoft.DocumentDb/databaseAccounts') -and `+                ($ApiVersion -eq '2015-04-08') -and `+                ($ResourceName -eq $script:testName) -and `+                ($ResourceGroupName -eq $script:testResourceGroupName) -and `+                ($Location -eq $script:testLocation) -and `+                ($Force -eq $true) -and `+                (ConvertTo-Json -InputObject $Properties) -eq (ConvertTo-Json -InputObject $testCosmosDBProperties)

I think the tests are failing here on PS 6/7 because the output of ConvertTo-Json is non-determinate. I've run into this before - essentially the properties will not be output in the same order. So you'd need to actually compare object properties (which is a pain).

chrisjantzen

comment created time in 5 days

PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentPlagueHO/CosmosDB

Added a Capacity param on New-CosmosDbAccount - Fixes #439

 InModuleScope $ProjectName {                     allowedOrigins = ($script:testCorsAllowedOrigins -join ',')                 }             )-            capabilities                  = @()+            capabilities                  = @(@{name = $script:testCapability})

I think this line might need to be:

capabilities = @(
  @{
    name = $script:testCapability[0]
  },
  @{
    name = $script:testCapability[1]
  }
)
chrisjantzen

comment created time in 5 days

pull request commentPlagueHO/CosmosDB

Added a Capacity param on New-CosmosDbAccount - Fixes #439

/AzurePipelines run

chrisjantzen

comment created time in 5 days

startedAzure/azure-saas

started time in 6 days

PullRequestReviewEvent
PullRequestReviewEvent

pull request commentPlagueHO/CosmosDB

Added a Capacity param on New-CosmosDbAccount - Fixes #439

Awesome @chrisjantzen - I'll review tonight and get merged.

chrisjantzen

comment created time in 8 days

issue commentdsccommunity/ComputerManagementDsc

New release

This has now been published to PSGallery: https://www.powershellgallery.com/packages/ComputerManagementDsc/8.5.0

VirtualEvan

comment created time in 8 days

created tagdsccommunity/ComputerManagementDsc

tagv8.5.0

DSC resources for for configuration of a Windows computer. These DSC resources allow you to perform computer management tasks, such as renaming the computer, joining a domain and scheduling tasks as well as configuring items such as virtual memory, event logs, time zones and power settings.

created time in 8 days

issue commentdsccommunity/ComputerManagementDsc

New release

Hi @VirtualEvan - thank you for the prompt. The preview build (https://www.powershellgallery.com/packages/ComputerManagementDsc/8.5.0-preview0001) is available currently, but we'll release v8.5.0 now.

VirtualEvan

comment created time in 8 days

pull request commentdsccommunity/xPSDesiredStateConfiguration

Add support for Auto Documentation - Fixes #677

Hi @johlju - would you mind reviewing this when you get time? Thanks!

PlagueHO

comment created time in 10 days

push eventPlagueHO/xPSDesiredStateConfiguration

Daniel Scott-Raynsford

commit sha a3338310b61268d90de50c14ca5d186b7925b36f

Fix readme.md

view details

push time in 10 days

push eventPlagueHO/xPSDesiredStateConfiguration

Daniel Scott-Raynsford

commit sha a9391365f0e84e3d8e228d88b02e6188750f5667

Correct documentation for composite resources

view details

push time in 10 days

push eventPlagueHO/xPSDesiredStateConfiguration

Daniel Scott-Raynsford

commit sha 9b4df7133ebecd6a5abb0a246c99fc2a7b1547f2

Revert change to xUploadFile

view details

push time in 10 days

push eventPlagueHO/DscResource.Test

dscbot

commit sha 27c70ec121b41eff95f17747f0dc2176f89cdfa8

Updating ChangeLog since v0.16.0 +semver:skip (#118)

view details

push time in 10 days

created tagdsccommunity/DscResource.Test

tagv0.16.0

Module to test your Projects against the HQRM guidelines

created time in 10 days

push eventPlagueHO/DscResource.Test

dscbot

commit sha 604ed19f4de7a81ce724fdc37dd2b371d47b39bb

Updating ChangeLog since v0.15.2 +semver:skip (#115)

view details

push time in 10 days