Граф коммитов

110 Коммитов

Автор SHA1 Сообщение Дата
Engin Polat a70d613554
Fix documentation and import module names (#357)
* fixing documentation
2024-01-31 08:28:54 -08:00
Engin Polat b9a287e971
fixing bicep linter issues (#351) 2023-09-22 15:38:19 -07:00
Engin Polat b9e9f2a1eb
adding search service module (#345)
* creating search service module

* updating pipelines for search service module

* fixing test issues

* fixing bicep linter issues
2023-09-15 10:12:59 -07:00
marclerwick 7f485ab6ec
#338 Update PostgreSQL Flexible Server Version
* Updated the PostgreSQL bicep file and tests.

* Fixing megalinter outdated resource definitions.
2023-05-02 09:38:09 -07:00
Ozi Boms 8ce3d8854d
Update Getting Started Documentation (#335)
* init

* Updating files based on code review.

---------

Co-authored-by: Caroline Quigg <caquigg@microsoft.com>
Co-authored-by: Marc Lerwick <marclerwick@microsoft.com>
2023-04-14 14:03:46 -07:00
marclerwick 02308b6ca6
#255 PostgreSQL Flexible Server Support
* Added support for PostgreSQL Flexible Server.

* Fixed variable names in the .md

* Updating example tests to use -BeSuccessful

* Adding the PostgreSqlFlexibleServer resource type to the C# code.

* Minor fixex based on inconsistencies work items.

* Removing indents from multi-line

* Adding sourcing for Confirm-PostgreSqlFlexibleServer to Get-ResourceByType

* Resolving inconsistencies with variable scoping in the examples when there is only a single Describe block.

* Adding resourceid to Get-ResourceByType unit test.

* Fixing the PS installation link.
2023-04-13 10:47:47 -07:00
Ozi Boms 52981fa017
init (#322) 2023-04-11 14:30:06 -07:00
Ozi Boms e64dd9acc6
Add App Insights Diagnostic Settings Support (#317)
* init

* bicep working

* lint

* line length
2023-04-10 10:13:52 -07:00
Ozi Boms 58a19c9ba0
Cosmos DB Sql Role Assignment and Role Definition (#309)
* init

* removde cmdlet binding and update linter

* update based on comments

* update newly added resource types

* line length

* length

* fix role assignment + lines

* fix stale API versions

* utf-8 w bom

* unit tests + line lengths

* un-encode

* initial commit of role support for cosmosdb

* add bicep

* role definition

* revert test values

* linting

* comments

* comments

* add instructions for srvc principal id

* remove TODOs
2023-04-07 12:13:59 -07:00
Mary Sha 9c75448aea
Verify Examples Directory (#313)
* Correctly configure free app service plan

* Remove prompt for password thats no longer needed

* Correct property value for contianer registry

* fix api management test

* Remove negative tests from event hub since they throw errors

* Fix cosmosdb tests

* Remove certificate test for kv

* Fix role assignment bugs

* Merge sql related stuff into one folder

* remove sql server folder since it has been merged into one folder

* Move scope back into parameter splat and update comments
2023-04-06 14:02:42 -07:00
Caroline dc8d5ed418 fix encoding and clean up comments 2023-04-06 10:46:11 -07:00
Caroline Quigg 5531ed2acd
Merge branch 'main' into feature/261-static-site 2023-04-06 10:00:45 -07:00
Caroline Quigg 63fb838c8f
Update examples/WebApp/WebApp.Tests.ps1
Co-authored-by: marclerwick <109613091+marclerwick@users.noreply.github.com>
2023-04-06 10:00:34 -07:00
Mary Sha 1f75981750
Azure Dashboard Support (#306)
* Initial scaffolding for dashboard support

* Add resource type for dashboard

* Remove negative test
2023-04-05 17:37:36 -07:00
Caroline 921ef1420f fix inconsistencies 2023-04-05 15:29:10 -07:00
Caroline ca079fef11 add web app settings config test 2023-04-05 12:15:57 -07:00
Caroline 2c285bebc6 update naming to be consistent 2023-04-05 12:15:57 -07:00
Caroline e19b100252 update web app tests 2023-04-05 12:15:57 -07:00
marclerwick ec8e330de9
#254 Container Service Managed Clusters Agent Pools support
* Added support for AKS Node Pools

* Removing local values for variables.

* Fixed the Import-Module path

* Removing extra LF

* Reverting order of variables in bicep file

* Lower case for local variables.

* Fixed example parameters.

* Aligning parameters in Get-ResourceByType

* Fixing parameter list and definition.

* I thought I already did this, but I must have done it on a different file, fixed the casing of variables.

* Updating PS files to UTF-8 w/BOM

* Adding the AksNodePool resource type to the C# code.

* Minor fixex based on inconsistencies work items.

* More minor fixes based on inconsistencies work items.

* Aligning variables

* Adding sourcing for Confirm-AksNodePool to Get-ResourceByType

* Update Modules/BenchPress.Azure/Public/Confirm-AksNodePool.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Update Modules/BenchPress.Azure/Public/Confirm-AksNodePool.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Update Modules/BenchPress.Azure/Public/Confirm-AksNodePool.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Update examples/AksCluster/AKSCluster.Tests.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Update examples/AksCluster/AKSCluster.Tests.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Update Modules/BenchPress.Azure/Public/Confirm-AksNodePool.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

---------

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>
2023-04-04 15:44:52 -07:00
marclerwick 5d02d68b5f
#253 Managed Environments support (#292)
* Added support for Container App Managed Environments

* Updated the .md file and reverted local changes to the test file.

* Minor typo fixes.

* Update examples/ContainerApp/ContainerApp.Tests.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Update Modules/BenchPress.Azure/Public/Confirm-ContainerAppManagedEnv.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Updating PS files to UTF-8 w/BOM

* Update Modules/BenchPress.Azure/Public/Confirm-ContainerAppManagedEnv.ps1

Co-authored-by: Caroline Quigg <caquigg@microsoft.com>

* Changed variable name per code review.

* Removed what will be a redundant test.

* Adding the ContainerAppManagedEnv resource type to the C# code.

* Updating variable name in the documentation.

* Aligning variables.

* More minor fixes based on inconsistencies work items.

* Removing indents from multi-line

* Aligning variables

* Aligning variables, again.

* Adding sourcing for Confirm-ContainerAppManagedEnv to Get-ResourceByType

* Update Modules/BenchPress.Azure/Public/Confirm-ContainerAppManagedEnv.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

* Update Modules/BenchPress.Azure/Public/Confirm-ContainerAppManagedEnv.ps1

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>

---------

Co-authored-by: Mary Sha <15195985+msha1026@users.noreply.github.com>
Co-authored-by: Caroline Quigg <caquigg@microsoft.com>
2023-04-04 15:44:18 -07:00
Mary Sha 6e163baa6e
Inconsistencies Part 2 (Modules/BenchPress.Azure/) (#294)
* Align splat variables and lower case local variables for module code

* Lower case local vars for role assignment connector

* Move mocks up to beforeeach for unit tests

* update to utf8 with bom

* Remove return from env variable function

* Fix punctuation, capitalization and verbiage in powershell code comments

* Update Modules/BenchPress.Azure/Public/Confirm-ApiManagementLogger.ps1

Co-authored-by: Ozi Boms <zboms123@gmail.com>

* Update Modules/BenchPress.Azure/Public/Confirm-StorageContainer.ps1

Co-authored-by: Ozi Boms <zboms123@gmail.com>

* Remove indents

* fix small typo

---------

Co-authored-by: Ozi Boms <zboms123@gmail.com>
2023-04-04 15:01:03 -07:00
Mary Sha e64f9cdf29
Inconsistencies Part 1 (examples/) (#288)
* Resolve spacing and names

* utf8 with bom

* Align splatted variables

* Fix names of resources

* Update act comments to act and assert

* Fix parameter names in markdowns and sql server and database names in tests

* Add more descriptive test names for property key and value assertions
2023-04-04 13:52:01 -07:00
Mary Sha 0f5a2f86c5
Example for key vault access policy (#298)
* Example for key vault access policy

* utf8 w bom
2023-04-04 10:00:21 -07:00
Ozi Boms 369f0f392f
Custom Assertion Updates (#289)
* init

* removde cmdlet binding and update linter

* update based on comments

* update newly added resource types

* line length

* length

* fix role assignment + lines

* fix stale API versions

* utf-8 w bom

* unit tests + line lengths

* un-encode
2023-04-03 15:47:37 -07:00
marclerwick 3971028f37
Updating outdated API versions. 2023-04-03 11:34:58 -07:00
Caroline 0ed3a37938 Merge branch 'main' into feature/251-role-assignment 2023-03-31 11:48:20 -07:00
marclerwick 2d406ff60b
#246 API Management Service support
* Added support for API Management Service, API Management API, API Management Diagnostics, API Management Loggers, and API Management Policies

* Minor fixes.

* Fixing broken unit test.

* Escaping the XML

* Removing unused parameter per code review.

* Fixing examples in the comments per code review.

* Added comments for Confirm-ApiManagmentLogger

* Making ResourceName optional.

* Removing the list of options for ResourceType from Confirm-ResourceByType. It is an enum now, no need to list them.

* Updating from Az-InfrastructureTesting to Az.InfrastructureTesting.

* Updated example tests to use pipelining.
2023-03-30 15:40:34 -07:00
Caroline 129e8b7685 address inconsitencies 2023-03-30 14:30:57 -07:00
Mary Sha a8eff62505
Container Application Support (#286)
* working container app support

* Install Az.App in github actions

* Add callout for installation of az.app

* Edit tests for inconsistencies

* Update to one line test

* Remove comments
2023-03-30 13:17:11 -07:00
Caroline 25e0e3a4c0 update tests to use custom assertion 2023-03-30 10:51:27 -07:00
Caroline 125a736030 update tests with piping 2023-03-30 10:44:47 -07:00
Caroline 843f76e6ce fix whitespace error 2023-03-29 17:14:37 -07:00
Caroline 9371e069d5 fix linting errors and a param typo 2023-03-28 10:09:00 -07:00
Caroline 30100d3e30 add confirm azbp resource for role assignment 2023-03-27 18:09:39 -07:00
Caroline a27a09e173 update get resource by type 2023-03-27 18:02:33 -07:00
Caroline f0c707ab3f add role assignment examples 2023-03-27 17:50:51 -07:00
Caroline 312bb28d25 fix max length linting warning 2023-03-24 16:39:39 -07:00
Caroline 0aef54da87 add afterall and update md files 2023-03-24 13:52:36 -07:00
Caroline ebae35b72e fix camelcasing and whitespace 2023-03-24 13:47:58 -07:00
Caroline b6b628964b Merge branch 'feature/234-update-example-scripts' of https://github.com/Azure/benchpress into feature/234-update-example-scripts 2023-03-24 13:00:40 -07:00
Caroline e4847d37b0 capitalize it and add double quotes 2023-03-24 12:59:54 -07:00
Caroline Quigg f5be7d49e8
Merge branch 'main' into feature/234-update-example-scripts 2023-03-23 13:48:47 -07:00
Ozi Boms 649371564f
Add Confirm-AzBPResource to A-C Cmdlets (#238)
* correct module naming for examples

* add stream + merge main

* update documentation in examples too

* init

* fix propertykey names

* testing + globabl vars

* comments

* comments

* megalinter

* comments + additional tests
2023-03-23 13:42:20 -07:00
Caroline 1598cd7db9 fix up naming and typos 2023-03-23 13:39:49 -07:00
Caroline 343add4677 update sql server examples 2023-03-23 13:32:32 -07:00
Caroline 77e97e9acd update sql db examples 2023-03-23 13:32:16 -07:00
Caroline ab0a966aaf add operation insights examples 2023-03-23 13:12:45 -07:00
Caroline 1a5b76fd50 update key vault examples 2023-03-23 13:12:09 -07:00
Caroline ea8186149e add event hub confirm resource examples 2023-03-23 12:00:54 -07:00
Caroline 930d150fe3 add datafactory tests 2023-03-23 12:00:31 -07:00