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 Microsoft.SecurityInsights-2021-09-01-preview with main #15529

Merged
merged 35 commits into from
Aug 5, 2021
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
84d82e9
Update readme.md (#15381)
RAY-316 Aug 2, 2021
749d2b5
signalr: adding the missing `Trace` value (#15455)
tombuildsstuff Aug 2, 2021
7a2f167
Fix readme.go.md in compute RP (#14631)
ArcturusZhang Aug 2, 2021
f528ab6
[AKS] Merge dev-containerservice-Microsoft.ContainerService-2021-07-0…
kaiqzhan Aug 2, 2021
14d41c6
removing business rules(a feature for the future) which was added by …
ankanjan Aug 2, 2021
37fabde
Remove heaths from Search codeowners (#15477)
heaths Aug 2, 2021
d638e0b
Delete specification/timeseriesinsights/data-plane/Microsoft.TimeSeri…
Sandip-Raiyani Aug 2, 2021
f5c2fa5
[Hub Generated] add missing date-time format specifier across map cli…
ambientlight Aug 2, 2021
29ca2b6
KeyVault - /rng response should always return a value on success (#14…
maorleger Aug 2, 2021
7a42f16
Fix missing data actions in 7.2-stable, 7.3-preview (#15254)
daviddesberg Aug 2, 2021
c25e3a8
synapse: adding the configuration for the Go Data Plane SDK (#15263)
tombuildsstuff Aug 2, 2021
b186a5f
AzsAdmin Compute: Fixing powershell generation errors (#15059)
travist13 Aug 3, 2021
444ccbf
Fix Microsoft.Insights go/terraform 'full' package (update activityLo…
herreraj-ms Aug 3, 2021
c5b1c5b
Microsoft.ProviderHub : Update 2021-06-01-preview (#15268)
diwudd Aug 3, 2021
1ce325f
add descriptions (#15487)
forteddyt Aug 3, 2021
ca664ca
sync (#15470)
Aug 3, 2021
6763962
Feature/morazmiz/swagger separation fixes (#15295)
moranraz Aug 3, 2021
5a26835
Alias description change (#15461)
navysingla Aug 3, 2021
3e2652d
Add isServerVersionAbove32 in CosmosDbMongoDbApi linked service (#15250)
yew Aug 3, 2021
dce5e8d
track2 modify redis readme.go.md (#15356)
Alancere Aug 3, 2021
bc4218c
Update web readme and readme.python (#15488)
BigCat20196 Aug 3, 2021
cc4fb04
Added defaults to EventGrid.json (#15395)
kevinmaoo Aug 3, 2021
a871924
Deprecate API (#15434)
orkayam Aug 3, 2021
c981b81
[Maps] Update the Creator V1 API deprecation notice URL's title (#15480)
jp94 Aug 3, 2021
c9795c7
Add Threat Intellingence to Stable swagger (#14832)
hunngu-ms Aug 4, 2021
709c635
updating error responses, adding x-ms-long-running-operation (#15368)
rewongmicrosoft Aug 4, 2021
ee5b85a
Fix S360 bugs for swagger FSPG 2020-02-14-preview API (#15459)
xunsun-commits Aug 4, 2021
3bae02c
KustoPool PATCH: Change async response from 201 to 202 according to A…
amitelran Aug 4, 2021
e0a8cac
Microsoft.BareMetalInfrastructure: correctly annotate read-only prope…
lagalbra Aug 4, 2021
e77ce60
Add userAssignedIdentities property to the Identity section in 2021-0…
srkakuru Aug 4, 2021
3d6211c
[Synapse] - Exclude KQL Scripts APIs for August release (#15511)
idear1203 Aug 4, 2021
111fbce
add aad authentication support (#14461)
kryalama Aug 4, 2021
db37dbb
solving s360 issues in MarketplaceOrdering swagger (#15335)
alkigel Aug 5, 2021
102f4f6
Add Key Vault Extension changes (#15176)
mimckitt Aug 5, 2021
a331a45
Microsoft.IoTSecurity: 2021-09-01-preview (#15491)
orkayam Aug 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix readme.go.md in compute RP (#14631)
* add the missing $

* remove one useless directive

* fix

* remove the hack for track 2 and add comments for reasons

* add one of the directive back to readme.go.md

* add some comment to explain this more

* fix
ArcturusZhang authored Aug 2, 2021
commit 7a2f1670064f9a293a758d24ca37353cabc2faf7
15 changes: 9 additions & 6 deletions specification/compute/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -2,13 +2,14 @@

These settings apply only when `--go` is specified on the command line.

```yaml $(go) && !(track2)
```yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true

directive:
# dynamically add a DummyOrchestrationServiceName value to the enum
# dynamically add a DummyOrchestrationServiceName value to the enum and then remove it from the generated code to avoid the generator generates the code by hard-coding the single-entry enum value
# this directive adds a DummyOrchestrationServiceName to the enum type
- from: compute.json
where: $..enum
transform: >-
@@ -17,14 +18,15 @@ directive:
}
return $;
# this directive removes the DummyOrchestrationServiceName from the generated code, so that we still have only one enum entry in this enum type.
- from: source-file-go
where: $
transform: >-
return $.
replace(/\/\/ DummyOrchestrationServiceName .../g,'').
replace(/DummyOrchestrationServiceName OrchestrationServiceNames = "DummyOrchestrationServiceName"\n/g,'').
replace(/,DummyOrchestrationServiceName/,'').
replace(/, 'DummyOrchestrationServiceName'/,'');
replace(/\/\/ (OrchestrationServiceNames)?DummyOrchestrationServiceName .../g,'').
replace(/(OrchestrationServiceNames)?DummyOrchestrationServiceName OrchestrationServiceNames = "DummyOrchestrationServiceName"\n/g,'').
replace(/,(OrchestrationServiceNames)?DummyOrchestrationServiceName/,'').
replace(/, '(OrchestrationServiceNames)?DummyOrchestrationServiceName'/,'');
```
``` yaml $(go) && $(track2)
@@ -35,6 +37,7 @@ output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true

directive:
# we do not need to hack to add a dummy enum entry in track 2, because track 2 generator will generate the enum type even if it only has on entry
- from: disk.json
where: "$.definitions.PurchasePlan"
transform: >