Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from main repository #2

Merged
merged 161 commits into from
Dec 20, 2020
Merged

Conversation

OlegSternbergIBM
Copy link
Owner

Description

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
    • the markdown help files have been regenerated using the commands listed here

mikefrobbins and others added 30 commits November 9, 2020 09:48
Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
…-AzExpressRouteGateway` (#13428)

* make scaling unit optional

* make scaling unit optional

make scaling unit optional

Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
Both examples 3 and 4 mention a RecordType of AAAA but should mention CNAME and MX respectively
…13433)

* Fix PartnerServerName check

Fix check for PartnerServerName param check to look for string literal instead of value of variable.

* Update ChangeLog.md

* Use nameof to avoid magic string

Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>

Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
…() (#13233)

* initial dev

* intermediate work

* get-azvmbootdiagnosticsdata dev, testing (maybe) , and changelog. No help doc update needed.

* test if removing file path and cmd in test removes CI failures

* updating to 12.7.0

updating Azure.Storage.Blobs to 12.7.0 from 12.6.0 to address CI failure.

* adding test with local file path back in

* remove get cmd from test

* back to 12.6.0

* 12.7.0-preview.1

* Update Compute.csproj

* attempt 12.5.0

* 12.7.0-preview

* 12.7.0-preview.1

* added back in local file path test

to see if any effect on the CI checks.

* commented out boot

commented out the cmd utilizing the local file path to my personal computer. Seems to be causing a test error in Test windows > Test. Removing to test it.

* to parity

* adding required assemblies

* removed last test cmd recorded

* Update Az.Compute.psd1

* try 12.6.0 with required assemblies.

* 12.7.0-preview.1

* simplified to CloudBlob

* removed unnecessary assmblies

* test updates, LivOnly.

* fix linux

* windows serial log
* Fix paging

* Update markdown help

* Update ChangeLog.md

* Removed redundant parameter set and added parameter aliases to match Invoke-RestMethod

* Remove mistakenly pasted comment

* Fix example

* Implemented suggested changes
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
* Remove cmdlets should support -Force and Confirmation message

* Update help doc

* Update ChangeLog

* Address comments

* Fix test failure

Co-authored-by: Dongwei Wang <dongwwa@microsoft.com>
* Add notes to Get-AzRecoveryServicesVault.md

* Add notes to Get-AzRecoveryServicesVault.md

* Polish changelog for upcoming release
* add containerregistry suffix

* upgrade common library

* update changelog

* update help markdown
…e link and custom Ambari DB (#13413)

* Support Relay Outbound and Private Link

* Support Custom Ambari DB as metastore

* Fix output type of Restar-AzHDInsightHosts and remove breaking change exception

* Fix output issue of Restart-AzHDInsightHosts and update help doc

Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
* Onboard Migrate to Private Link Common Cmdlets

* PR Comments #1

Co-authored-by: Abhiroop Goyal <abgoyal@microsoft.com>
* Add cmdLets to support updates up to api-version 2020-06-01

* Updated help files

* Updated test recordings

* Update active directory and docs

* Update docs

* Revert c# newer feature not in pipeline

* Fix missing language feature ci/cd issue in pipeline

* Update tests and help

* Add missing online link

* update online link

* Rename poolchange to switch, refactor activeDirectory

* Update helpfile

* Docs update

* update docs

* Rename Switch-AzNetAppFilesVolumePool to Set

* Update tests for set volume pool

* update tests recordings

* trecording

* update recordings

* update rec

* update recording

* remove version in changelog

Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>
Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
* Registration changes to support GA On-Premises Stack HCI

Made changes to registration script to register the GA version of On-Premises Azure Stack HCI with Azure.
- Supports registering with user provided certificate thumbprint.
- Supports On-Premises Azure Stack HCI OS changes to use independent certificate on cluster nodes.
- Cleans up resource group during unregistration.
- Improves registration output and logging.
Breaks the public preview registration of On-Premises Azure Stack HCI with Azure.
- To register public preview On-Premises Azure Stack HCi with Azure, use 0.3.1 version of Az.StackHCI.

* Added Test-AzStackHCIConnection Cmdlet

Added Test-AzStackHCIConnection Cmdlet and generated help files

* Using UseDeviceAuthentication param name

Using UseDeviceAuthentication as paramater name instead of UseDeviceLogin.
Checking existing resource location against given location.

* Added synopsis and corrected changelog

Added synopsis and corrected changelog as per review suggestion

* try to fix static analysis issue

Co-authored-by: Dinesh Reddy Gottam <digot@microsoft.com>
Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
* fix Write-xxx in worker thread

* add change log
…rofile path (#13416)

Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
While trying to follow the example in this page I was getting GatewayTimeout errors. After updating the firewall to allow Azure services the examples work fine. This is important information to the success of the reader executing the example code. As this is essential information required for user success it has been highlighted as Important.
... of TimeZoneConverter used by RecoveryServices
Force merge due to time out of windows test cases.

* mark rtv1 and rtv2 as deprecated

* update change log
Force merge due to random failure

* add cmdlet Get-AzAccessToken

* add support for parameter Resource

* update resource type name

* use ExpiresOn

* fix static analysis

* fix help error

Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
* re-record test cases for network api upgrade

* upgrade network SDK version

* Add TranslatedFqdn option for Azure Firewall Policy NAT Rule

* update azvirtualrouter

* Add Get-AzVirtualRouterPeerAdvertisedRoute and Get-AzVirtualRouterPeerLearnedRoute with warning messageVr peer

* re-record failed test case

* suppress static analysis issue

* OOB release Az.Network-4.2.0

* fix changelog

Co-authored-by: Ranjani Hatti <57383674+v-shhatt@users.noreply.github.com>
Co-authored-by: Mikhail <mikhail.tryakhov@gmail.com>
Co-authored-by: tejasshah7 <49326906+tejasshah7@users.noreply.github.com>
Co-authored-by: litchiyangMSFT <64560090+litchiyangMSFT@users.noreply.github.com>
* Fix the issue that tenantId is not respected during device code

* Warning message refine

* add change log

Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
Fixed spelling Conifguration => Configuration
* Move DesktopVirtualization 2.0 from generation to master.

* Update version and changelog

* Change version

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
dicolanl and others added 27 commits December 14, 2020 14:36
…13607)

* v1

* Actions, AlertRules

* Bookmarks... start incident comments

* more updates

* Incident Comments

* major updates

* fixes

* more fixes

* GetAlertRuleTemplates updates

* Update Az.SecurityInsights.psd1

* v1 tests

* tests.....

* Revert "tests....."

This reverts commit 4dddc6c.

* Revert "Revert "tests.....""

This reverts commit 7904f59.

* test v2

* tests complete... starting bug fixes

* bugs

* Update NewBookmarks.cs

Removed redundant "}"

* bugs

* Update NewBookmarks.cs

Fixed curly bracket

* updates

* updates after testing

* bugs....

* fix input object

* Added tests for input objects

* Generate Help

* added examples to help files based on build failure

* add online link to help files

* Bug Fixes

fixes for help and static analysis

* Moved Set- Commands to Update-

* bug fix to help docs

* Updates per feedback

#13607 (comment)

* Update Dns.sln

* Update Media.sln

* Update Media.sln

* Update Media.sln

* Fixes per comments

* remove dependacy on logic app module

* Add exceptions for static  analysis

* Update SignatureIssues.csv

* Update SignatureIssues.csv

* Update SignatureIssues.csv

Co-authored-by: Tiander Turpijn <tiandert@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
* Prefix the environment variable "AzPredictor"

* Refactor the code

- Improve the comment and its format.
- Create a concret class type to replace Tuple and ValueTuple.
- Verify method parameter values.

* Fix a bug that throws NullReferenceException.

* Improve the telemetry.

- Combine the error telemetry event with the non-error one.
- Collect if the http request is canceled when we send http request.

* Fix a bug that out of range is thrown.

* Transform and send telemetry in a thread pool.

- Refactor the telemetry and use a class for the collected data in each
  telemetry event.
- Now we only get basic information and push them to the data flow.
- A thread from thread pool handles the data, transform them, and send
  it.

* Fix the SuggestionSource and test.

- Updated the test after the refactor.
- Add more test cases.
- We don't set SuggestionSource on the suggestion in some cases. This is
  revealed in the unit tests. They're fixed.

* Avoid duplicate extraction of user input.

- We have two CommandLinePredictor in AzurePredictorService. The
  CommandLinePredictor needs to extract from the user input the command
  name, parameter set etc. It's duplicate if we do that in both
  CommandLinePredictor. Move that extraction to AzurePredictorService
  and the CommandLinePredictor will not need to do it.

* Fix a bug that a duplicate key is in the dictionary.

* Replace Newtonsoft with the built-in Json serializer.

* Fix an issue that the parameter name is repeated in source text.

* Ensure the http response is successful.

* Collect the event in requesting to /commands.

* Improve the perf in GetSuggestion.

- Remove the string manipulation.
- Pre-allocate the collections for the result.
- Remove invariant check in "readonly" properties.

* Seperate the inner class in seperate files.
…Trigger through DefinitionFile (#13721)

* Remove using Newtonsoft.Json and JsonObject

* update client and cmdlets

* Remove more Newtonsoft annotation

* remove ToSdkObject and SetProperties

* update artifacts client

* Remove JsonProperty

* remove unused sub-classes

* remove internal properties

* Update artifacts dependency version

* Fix the default literal issue

Co-authored-by: Dongwei Wang <dongwwa@microsoft.com>
Co-authored-by: Yeming Liu <yeliu@microsoft.com>
Get-AzRecoveryServicesBackupContainer examples used "name" instead of "friendlyname". Name is not a valid parameter for Get-AzRecoveryServicesBackupContainer.

https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/get-azrecoveryservicesbackupcontainer?view=azps-5.2.0
* Merge VVD update to master

* Update ChangeLog.md

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
* Move Communication and RedisEnterpriseCache to master branch

* Suppress two json files for cred scan

* Update module docs for redisenterprisecache and communication
* Add PoliCheck policy

* Add PoliCheck policy

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
* Update deploymentScripts apiVersion to latest GA version

* update changelog

* Update ChangeLog.md

* Fix template spec error type

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
…portsShouldProcess issue (#13755)

* [DataFactory]Fix the command `Invoke-AzDataFactoryV2Pipeline` for SupportsShouldProcess issue

* Update Changelog.md

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
* enable multi Auth for p2sVpnGateway

* allow multi auth for update-vpnServerConfig

* fix update

* Update ChangeLog.md

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
…3761)

* Introducing SecurityTopologies cmdlets

* Update ChangeLog.md

* Update ChangeLog.md

* Change cmdlet name to Get-AzSecurityTopology

* remove AllowedConnections

* change name

* fix conflicy

* fix conflict

* Update ChangeLog.md

* Introducing Az.Security AllowedConnections cmdlets

* update change.log

* remove SecurityTopology

* fix version

* Fix comments

* fix location

* fix comment

* fix comment

* fix version number

* Create Adaptive Application Control API cmdlets

* Create Adaptive Application Control API cmdlets

* fix1

* fix2

* Add back comment end token

* Introducing ScurityAdaptiveNetworkHardening  cmdlets

* Update Security.csproj

* Update ChangeLog.md

* 1

* Introducing Az.Security AdaptiveNetworkHardening cmdlets

* Introducing Az.Security AdaptiveNetworkHardening cmdlets

* change to a singular noun for the parameter name

* change to a singular noun for the parameter name

* change to a singular noun for the parameter name2

* implement ShouldProcess

* fix1

* Update JIT help

* remove files

* revert ChangeLog.md

Co-authored-by: Arik Riklin <arik.riklin@microsoft.com>
Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
…y on Synapse SQL pool (#13759)

* Add 9 DW related cmdlets

* Save current status

* Revert ValueFromPipelineByPropertyName

* Add workspaceName and resourceGroupName to PSSqlPool

* Fix naming

* Update help doc

* update psd1

* Add SqlPoolName alias to basic SQL pool related commands

* Add test cases for new cmdlets

* Remove default parameter for Set-AzSynapseSqlPoolVulnerabilityAssessmentRuleBaseline

* Remove default parameter set

* Update CredScan Suppressions and test case names

* Update TestVulnerabilityAssessmentBaseline.json

Co-authored-by: Dongwei Wang <dongwwa@microsoft.com>
… in AzureHDInsightHostInfo (#13771)

* Add properties: `Fqdn` and `EffectiveDiskEncryptionKeyUrl` in AzureHDInsightHostInfo.\n Update related session records.\n Update other cmdlets's help doc.

* Update changelog

Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
…tatus to conform to documentation (#13751)

* Put the correct value into the StatusMessage field

* Add parsing of the http return value to determine the operation status

* Add ChangeLog.md entry

* Re-add as much testing as possible and add commenting for why the rest is broken

* Update ChangeLog.md

Co-authored-by: Simon Redman <siredman@microsoft.com>
Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
* add local parameter value map

* add local parameter value map

* add local parameter value map

* add local parameter value map
* Update DataClassificationAdapter.cs

* Update DataClassificationAdapter.cs

* Update ChangeLog.md

* Update DataClassificationAdapter.cs

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
* Initial updates for updated v2 service endpoints

* Updating tests to work with the new model updates

* Fixing service uri, cleaning up using statements

* PR feedback

* Additional code cleanup:
- Removed unnecessary usings
- Added copyright
- Misc. code clean up

Co-authored-by: Juan Aguirre <juaguir@microsoft.com>
* Kusto update with API version 2020-09-18

* Update ChangeLog.md

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
… VMParameterSet for new parameter VM (#13657)

* practice

* practice2

* success

* testing attempts

* testing

* changelog

* help doc for Status cmdlet

* help text on status

* 2nd cmdlet

* 2nd cmdlet help doc
@OlegSternbergIBM OlegSternbergIBM merged commit c33a447 into OlegSternbergIBM:master Dec 20, 2020
OlegSternbergIBM pushed a commit that referenced this pull request May 17, 2021
… (App, AppType, AppTypeVersion, Service) (Azure#14458)

* change to use managedclusters sdk

* create managedcmdletbase to separate sdk clients

* include managed client in tests project

* move to folders in managed clusters

* re-record managed clusters tests

* update managed clusters pacakge to published version 1.0.0-beta.1

* managed app type cmdlets

* managed app type version cmdlets

* managed app cmdlets

* managed service cmdlets and module export update

* add tests for managed app, app type, app type version, service

* Help Doc updates, changelog and module

* Fix StaticAnalysis BreakingChange and Signature issues

* remove .ManagedClusters from models namespace

* regenerate help

* Rename UpgradeMode to ApplicationUpgradeMode

* suppress managed clusters breaking changes as it is in preview (#2)

* Fix static analysis signature issues

* fix breaking changes exceptions (#3)

* adding missing header

* fixing breakingChangeIssues file

* add missing braking changes

* remove duplicates from braking exceptions

* fix app tests

* Change Tags to singular for application

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
Co-authored-by: Alfredo Santamaria <chino.sebastian@gmail.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
OlegSternbergIBM pushed a commit that referenced this pull request May 17, 2021
Edit example #1 and add example #2 explaining the value options for the Workload parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.