Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"parameters": {
"PrivateStoreId": "MyFirstPrivateStore",
"api-version": "2020-01-01"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"PrivateStoreId": "myPrivateStore",
"OfferId": "marketplacetestthirdparty.md-test-third-party-2",
"api-version": "2020-01-01"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"PrivateStoreId": "MyFirstPrivateStore",
"api-version": "2020-01-01"
},
"responses": {
"200": {
"body": {
"name": "MyFirstPrivateStore",
"availability": "enabled"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"PrivateStoreId": "myPrivateStore",
"OfferId": "marketplacetestthirdparty.md-test-third-party-2",
"api-version": "2020-01-01"
},
"responses": {
"200": {
"body": {
"id": "marketplacetestthirdparty.md-test-third-party-2",
"displayName": "md-test-third-party-2",
"publisherDisplayName": "Marketplace Test Third Party",
"summary": "summary-md-test-third-party-2",
"longSummary": "longSummry-md-test-third-party-2",
"description": "description-longSummry-md-test-third-party-2",
"eTag": "\"9301f4fd-0000-0100-0000-5e248b350000\"",
"plans": [
{
"planId": "0001",
"displayName": "Text IQ Deep Concept Analysis"
},
{
"planId": "0002",
"displayName": "new-md-sku-4"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"parameters": {
"PrivateStoreId": "myPrivateStore",
"api-version": "2020-01-01"
},
"responses": {
"200": {
"body": {
"nextLink": "",
"value": [
{
"id": "marketplacetestthirdparty.md-test-third-party-2",
"displayName": "md-test-third-party-2",
"publisherDisplayName": "Marketplace Test Third Party",
"summary": "summary-md-test-third-party-2",
"longSummary": "longSummry-md-test-third-party-2",
"description": "description-longSummry-md-test-third-party-2",
"eTag": "\"9301f4fd-0000-0100-0000-5e248b350000\"",
"plans": [
{
"planId": "0001",
"displayName": "Text IQ Deep Concept Analysis"
},
{
"planId": "0002",
"displayName": "new-md-sku-4"
}
]
},
{
"id": "marketplacetestthirdparty.md-test-third-party-3",
"displayName": "md-test-third-party-3",
"publisherDisplayName": "Marketplace Test Third Party",
"summary": "summary-md-test-third-party-3",
"longSummary": "longSummry-md-test-third-party-3",
"description": "description-longSummry-md-test-third-party-3",
"eTag": "\"9301f4fd-0000-0100-0304-5e248b350043\"",
"plans": [
{
"planId": "0001",
"displayName": "test-planId"
},
{
"planId": "0002",
"displayName": "new-md-sku-6"
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2020-01-01"
},
"responses": {
"200": {
"body": {
"nextLink": "",
"value": [
{
"name": "MyFirstPrivateStore",
"availability": "enabled"
},
{
"name": "MySecondPrivateStore",
"availability": "disabled"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"PrivateStoreId": "MyFirstPrivateStore",
"api-version": "2020-01-01",
"parameters": {
"properties": {
"availability": "disabled",
"name": "MyNewFirstPrivateStore"
}
}
},
"responses": {
"200": {
"body": {
"name": "MyNewFirstPrivateStore",
"availability": "disabled"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"PrivateStoreId": "myPrivateStore",
"OfferId": "marketplacetestthirdparty.md-test-third-party-2",
"api-version": "2020-01-01",
"parameters": {
"properties": {
"eTag": "\"9301f4fd-0000-0100-0000-5e248b350666\""
}
}
},
"responses": {
"200": {
"body": {
"id": "marketplacetestthirdparty.md-test-third-party-2",
"displayName": "md-test-third-party-2",
"publisherDisplayName": "Marketplace Test Third Party",
"summary": "summary-md-test-third-party-2",
"longSummary": "longSummry-md-test-third-party-2",
"description": "description-longSummry-md-test-third-party-2",
"eTag": "\"9301f4fd-0000-0100-0000-5e248b350666\"",
"plans": [
{
"planId": "0001",
"displayName": "Text IQ Deep Concept Analysis"
},
{
"planId": "0002",
"displayName": "new-md-sku-4"
}
]
}
}
}
}
12 changes: 11 additions & 1 deletion specification/marketplace/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ These settings apply only when `--tag=package-2019-12-01` is specified on the co
input-file:
- Microsoft.Marketplace/stable/2019-12-01/Marketplace.json
```

### Tag: package-2020-01-01

These settings apply only when `--tag=package-2020-01-01` is specified on the command line.

```yaml $(tag) == 'package-2020-01-01'
input-file:
- Microsoft.Marketplace/stable/2020-01-01/Marketplace.json
```

## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
Expand All @@ -37,7 +47,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Marketplace/stable/2019-12-01/Marketplace.json

- $(this-folder)/Microsoft.Marketplace/stable/2020-01-01/Marketplace.json
```

If there are files that should not be in the `all-api-versions` set,
Expand Down