forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Media to add version sta…
…ble/2021-06-01- Part 2 (Azure#15097) * Copy 2020-05-01 version of the encoding swagger. * Update encoder swagger to 2021-06-01 version. * fix 404 response on Encoding swagger * fixed a description and removed 404 reponses from examples. * update example files.
- Loading branch information
Showing
23 changed files
with
4,581 additions
and
1 deletion.
There are no files selected for viewing
3,186 changes: 3,186 additions & 0 deletions
3,186
specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Encoding.json
Large diffs are not rendered by default.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...ediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/examples/jobs-cancel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contosoresources", | ||
"accountName": "contosomedia", | ||
"transformName": "exampleTransform", | ||
"jobName": "job1" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...ediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/examples/jobs-create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contosoresources", | ||
"accountName": "contosomedia", | ||
"transformName": "exampleTransform", | ||
"jobName": "job1", | ||
"parameters": { | ||
"properties": { | ||
"input": { | ||
"@odata.type": "#Microsoft.Media.JobInputAsset", | ||
"assetName": "job1-InputAsset" | ||
}, | ||
"outputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobOutputAsset", | ||
"assetName": "job1-OutputAsset" | ||
} | ||
], | ||
"correlationData": { | ||
"key1": "value1", | ||
"Key 2": "Value 2" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"name": "job1", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", | ||
"type": "Microsoft.Media/mediaservices/transforms/jobs", | ||
"properties": { | ||
"created": "2021-07-12T10:44:30.6393998Z", | ||
"state": "Queued", | ||
"input": { | ||
"@odata.type": "#Microsoft.Media.JobInputAsset", | ||
"files": [], | ||
"inputDefinitions": [], | ||
"assetName": "job1-InputAsset" | ||
}, | ||
"lastModified": "2021-07-12T10:44:30.6393998Z", | ||
"outputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobOutputAsset", | ||
"state": "Queued", | ||
"progress": 0, | ||
"label": "BuiltInStandardEncoderPreset_0", | ||
"assetName": "job1-OutputAsset" | ||
} | ||
], | ||
"priority": "Normal", | ||
"correlationData": { | ||
"key1": "value1", | ||
"Key 2": "Value 2" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "contoso@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-07-12T10:44:30.6393998Z", | ||
"lastModifiedBy": "contoso@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-07-12T10:44:30.6393998Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/examples/jobs-delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contosoresources", | ||
"accountName": "contosomedia", | ||
"transformName": "exampleTransform", | ||
"jobName": "jobToDelete" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...ervices/resource-manager/Microsoft.Media/stable/2021-06-01/examples/jobs-get-by-name.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contosoresources", | ||
"accountName": "contosomedia", | ||
"transformName": "exampleTransform", | ||
"jobName": "job1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "job1", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", | ||
"type": "Microsoft.Media/mediaservices/transforms/jobs", | ||
"properties": { | ||
"created": "2021-06-01T00:00:00Z", | ||
"state": "Queued", | ||
"input": { | ||
"@odata.type": "#Microsoft.Media.JobInputs", | ||
"inputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobInputAsset", | ||
"files": [], | ||
"inputDefinitions": [], | ||
"assetName": "job1-InputAsset" | ||
} | ||
] | ||
}, | ||
"lastModified": "2021-06-01T00:00:00Z", | ||
"outputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobOutputAsset", | ||
"state": "Queued", | ||
"progress": 0, | ||
"label": "example-custom-label", | ||
"assetName": "job1-OutputAsset" | ||
} | ||
], | ||
"priority": "Low", | ||
"correlationData": {} | ||
}, | ||
"systemData": { | ||
"createdBy": "contoso@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-06-01T00:00:00Z", | ||
"lastModifiedBy": "contoso@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-06-01T00:00:00Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
105 changes: 105 additions & 0 deletions
105
...e-manager/Microsoft.Media/stable/2021-06-01/examples/jobs-list-all-filter-by-created.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contosoresources", | ||
"accountName": "contosomedia", | ||
"transformName": "exampleTransform", | ||
"$filter": "properties/created ge 2021-06-01T00:00:10.0000000Z and properties/created le 2021-06-01T00:00:20.0000000Z", | ||
"$orderby": "properties/created" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "job2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", | ||
"type": "Microsoft.Media/mediaservices/transforms/jobs", | ||
"properties": { | ||
"created": "2021-06-01T00:00:10Z", | ||
"state": "Processing", | ||
"input": { | ||
"@odata.type": "#Microsoft.Media.JobInputs", | ||
"inputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobInputAsset", | ||
"files": [], | ||
"inputDefinitions": [], | ||
"assetName": "job2-InputAsset" | ||
} | ||
] | ||
}, | ||
"lastModified": "2021-06-01T00:00:10Z", | ||
"outputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobOutputAsset", | ||
"state": "Processing", | ||
"progress": 50, | ||
"label": "example-custom-label", | ||
"startTime": "2021-07-12T10:34:30.4143905Z", | ||
"assetName": "job2-OutputAsset" | ||
} | ||
], | ||
"priority": "Low", | ||
"correlationData": {}, | ||
"startTime": "2021-07-12T10:34:30.4143905Z" | ||
}, | ||
"systemData": { | ||
"createdBy": "contoso@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-06-01T00:00:10Z", | ||
"lastModifiedBy": "contoso@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-06-01T00:00:10Z" | ||
} | ||
}, | ||
{ | ||
"name": "job3", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", | ||
"type": "Microsoft.Media/mediaservices/transforms/jobs", | ||
"properties": { | ||
"created": "2021-06-01T00:00:20Z", | ||
"state": "Finished", | ||
"input": { | ||
"@odata.type": "#Microsoft.Media.JobInputs", | ||
"inputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobInputAsset", | ||
"files": [], | ||
"inputDefinitions": [], | ||
"assetName": "job3-InputAsset" | ||
} | ||
] | ||
}, | ||
"lastModified": "2021-06-01T00:00:20Z", | ||
"outputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobOutputAsset", | ||
"state": "Finished", | ||
"progress": 100, | ||
"label": "example-custom-label", | ||
"startTime": "2021-07-12T10:34:30.4143905Z", | ||
"endTime": "2021-07-12T10:44:30.4143905Z", | ||
"assetName": "job3-OutputAsset" | ||
} | ||
], | ||
"priority": "Low", | ||
"correlationData": {}, | ||
"startTime": "2021-07-12T10:34:30.4143905Z", | ||
"endTime": "2021-07-12T10:44:30.4143905Z" | ||
}, | ||
"systemData": { | ||
"createdBy": "contoso@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-06-01T00:00:20Z", | ||
"lastModifiedBy": "contoso@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-06-01T00:00:20Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
105 changes: 105 additions & 0 deletions
105
...ager/Microsoft.Media/stable/2021-06-01/examples/jobs-list-all-filter-by-lastmodified.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contosoresources", | ||
"accountName": "contosomedia", | ||
"transformName": "exampleTransform", | ||
"$filter": "properties/lastmodified ge 2021-06-01T00:00:10.0000000Z and properties/lastmodified le 2021-06-01T00:00:20.0000000Z", | ||
"$orderby": "properties/lastmodified desc" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "job3", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", | ||
"type": "Microsoft.Media/mediaservices/transforms/jobs", | ||
"properties": { | ||
"created": "2021-06-01T00:00:20Z", | ||
"state": "Finished", | ||
"input": { | ||
"@odata.type": "#Microsoft.Media.JobInputs", | ||
"inputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobInputAsset", | ||
"files": [], | ||
"inputDefinitions": [], | ||
"assetName": "job3-InputAsset" | ||
} | ||
] | ||
}, | ||
"lastModified": "2021-06-01T00:00:20Z", | ||
"outputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobOutputAsset", | ||
"state": "Finished", | ||
"progress": 100, | ||
"label": "example-custom-label", | ||
"startTime": "2021-07-12T10:34:30.4893941Z", | ||
"endTime": "2021-07-12T10:44:30.4893941Z", | ||
"assetName": "job3-OutputAsset" | ||
} | ||
], | ||
"priority": "Low", | ||
"correlationData": {}, | ||
"startTime": "2021-07-12T10:34:30.4893941Z", | ||
"endTime": "2021-07-12T10:44:30.4893941Z" | ||
}, | ||
"systemData": { | ||
"createdBy": "contoso@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-06-01T00:00:20Z", | ||
"lastModifiedBy": "contoso@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-06-01T00:00:20Z" | ||
} | ||
}, | ||
{ | ||
"name": "job2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", | ||
"type": "Microsoft.Media/mediaservices/transforms/jobs", | ||
"properties": { | ||
"created": "2021-06-01T00:00:10Z", | ||
"state": "Processing", | ||
"input": { | ||
"@odata.type": "#Microsoft.Media.JobInputs", | ||
"inputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobInputAsset", | ||
"files": [], | ||
"inputDefinitions": [], | ||
"assetName": "job2-InputAsset" | ||
} | ||
] | ||
}, | ||
"lastModified": "2021-06-01T00:00:10Z", | ||
"outputs": [ | ||
{ | ||
"@odata.type": "#Microsoft.Media.JobOutputAsset", | ||
"state": "Processing", | ||
"progress": 50, | ||
"label": "example-custom-label", | ||
"startTime": "2021-07-12T10:34:30.4893941Z", | ||
"assetName": "job2-OutputAsset" | ||
} | ||
], | ||
"priority": "Low", | ||
"correlationData": {}, | ||
"startTime": "2021-07-12T10:34:30.4893941Z" | ||
}, | ||
"systemData": { | ||
"createdBy": "contoso@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-06-01T00:00:10Z", | ||
"lastModifiedBy": "contoso@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-06-01T00:00:10Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.