|
20 | 20 | helps['ams account create'] = """ |
21 | 21 | type: command |
22 | 22 | short-summary: Create an Azure Media Services account. |
| 23 | + examples: |
| 24 | + - name: Create an Azure Media Services account. |
| 25 | + text: > |
| 26 | + az ams account create -n ams -g rg --storage-account mystorage -l westus |
23 | 27 | """ |
24 | 28 |
|
25 | 29 | helps['ams account update'] = """ |
|
119 | 123 | helps['ams account storage add'] = """ |
120 | 124 | type: command |
121 | 125 | short-summary: Attach a secondary storage to an Azure Media Services account. |
| 126 | + examples: |
| 127 | + - name: Attach a secondary storage to an Azure Media Services account. |
| 128 | + text: > |
| 129 | + az ams account storage add -a myAMS -g rg -n myStorage |
122 | 130 | """ |
123 | 131 |
|
124 | 132 | helps['ams account storage remove'] = """ |
|
254 | 262 | helps['ams asset-track create'] = """ |
255 | 263 | type: command |
256 | 264 | short-summary: Create a track for an Azure Media Services asset. |
| 265 | + examples: |
| 266 | + - name: Create a track for an Azure Media Services asset. |
| 267 | + text: > |
| 268 | + az ams asset-track create -a myAMS -g rg --track-name track --track-type Text --asset-name asset --file-name assetTrack.ttml |
257 | 269 | """ |
258 | 270 |
|
259 | 271 | helps['ams asset-track update'] = """ |
|
288 | 300 | helps['ams asset create'] = """ |
289 | 301 | type: command |
290 | 302 | short-summary: Create an asset. |
| 303 | + examples: |
| 304 | + - name: Create an asset. |
| 305 | + text: > |
| 306 | + az ams asset create -a myAMS -n asset -g rg |
291 | 307 | """ |
292 | 308 |
|
293 | 309 | helps['ams asset update'] = """ |
|
455 | 471 | helps['ams streaming-locator create'] = """ |
456 | 472 | type: command |
457 | 473 | short-summary: Create a streaming locator. |
| 474 | + examples: |
| 475 | + - name: Create a streaming locator. |
| 476 | + text: > |
| 477 | + az ams streaming-locator create -n mylocator -a ams -g rg --streaming-policy-name Predefined_ClearStreamingOnly --asset-name asset |
458 | 478 | """ |
459 | 479 |
|
460 | 480 | helps['ams streaming-locator list'] = """ |
|
485 | 505 | helps['ams streaming-policy create'] = """ |
486 | 506 | type: command |
487 | 507 | short-summary: Create a streaming policy. |
| 508 | + examples: |
| 509 | + - name: Create a streaming policy. |
| 510 | + text: > |
| 511 | + az ams streaming-policy create -a ams -n mypolicy -g rg --no-encryption-protocols HLS |
488 | 512 | """ |
489 | 513 |
|
490 | 514 | helps['ams streaming-policy list'] = """ |
|
525 | 549 | helps['ams streaming-endpoint create'] = """ |
526 | 550 | type: command |
527 | 551 | short-summary: Create a streaming endpoint. |
| 552 | + examples: |
| 553 | + - name: Create a streaming endpoint. |
| 554 | + text: > |
| 555 | + az ams streaming-endpoint create -g rg -a ams -n myendpoint --scale-units 6 |
528 | 556 | """ |
529 | 557 |
|
530 | 558 | helps['ams streaming-endpoint wait'] = """ |
|
543 | 571 | helps['ams streaming-endpoint akamai add'] = """ |
544 | 572 | type: command |
545 | 573 | short-summary: Add an AkamaiAccessControl to an existing streaming endpoint. |
| 574 | + examples: |
| 575 | + - name: Add an AkamaiAccessControl to an existing streaming endpoint. |
| 576 | + text: > |
| 577 | + az ams streaming-endpoint akamai add -g rg -a ams -n myendpoint --identifier id1 --expiration xxxT16:00:00-08:00 --base64-key dGVzdGlkMQ== |
546 | 578 | """ |
547 | 579 |
|
548 | 580 | helps['ams streaming-endpoint show'] = """ |
|
578 | 610 | helps['ams live-event create'] = """ |
579 | 611 | type: command |
580 | 612 | short-summary: Create a live event. |
| 613 | + examples: |
| 614 | + - name: Create a live event. |
| 615 | + text: > |
| 616 | + az ams live-event create -a myAMS -n liveevent -g rg --ips AllowAll --streaming-protocol FragmentedMP4 |
581 | 617 | """ |
582 | 618 |
|
583 | 619 | helps['ams live-event start'] = """ |
|
648 | 684 | helps['ams live-output create'] = """ |
649 | 685 | type: command |
650 | 686 | short-summary: Create a live output. |
| 687 | + examples: |
| 688 | + - name: Create a live output. |
| 689 | + text: > |
| 690 | + az ams live-output create -a myAMS -n liveoutput -g rg --asset-name asset --live-event-name liveevent --archive-window-length PT5M --manifest-name man |
651 | 691 | """ |
652 | 692 |
|
653 | 693 | helps['ams live-output show'] = """ |
|
0 commit comments