|
68 | 68 | "application/json": {
|
69 | 69 | "value": [
|
70 | 70 | {
|
71 |
| - "NameAvailable": false, |
72 |
| - "Reason": "AlreadyExists", |
73 |
| - "Message": "Already in use by another Media Service instance. Please try again with a name that is not likely to be in use." |
| 71 | + "nameAvailable": false, |
| 72 | + "reason": "AlreadyExists", |
| 73 | + "message": "Already in use by another Media Service instance. Please try again with a name that is not likely to be in use." |
74 | 74 | }
|
75 | 75 | ]
|
76 | 76 | }
|
|
117 | 117 | "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-media/providers/Microsoft.Media/mediaservices/contosomedia",
|
118 | 118 | "type": "Microsoft.Media/mediaservices",
|
119 | 119 | "location": "West US",
|
120 |
| - "tags":null, |
121 | 120 | "properties":{
|
122 | 121 | "apiEndpoints":[
|
123 | 122 | {
|
|
182 | 181 | "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-media/providers/Microsoft.Media/mediaservices/contosomedia",
|
183 | 182 | "type": "Microsoft.Media/mediaservices",
|
184 | 183 | "location": "West US",
|
185 |
| - "tags":null, |
186 | 184 | "properties":{
|
187 | 185 | "apiEndpoints":[
|
188 | 186 | {
|
|
249 | 247 | "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-media/providers/Microsoft.Media/mediaservices/contosomedia",
|
250 | 248 | "type": "Microsoft.Media/mediaservices",
|
251 | 249 | "location": "West US",
|
252 |
| - "tags":null, |
253 | 250 | "properties":{
|
254 | 251 | "apiEndpoints":[
|
255 | 252 | {
|
|
351 | 348 | "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-media/providers/Microsoft.Media/mediaservices/contosomedia",
|
352 | 349 | "type": "Microsoft.Media/mediaservices",
|
353 | 350 | "location": "West US",
|
354 |
| - "tags":null, |
355 | 351 | "properties":{
|
356 | 352 | "apiEndpoints":[
|
357 | 353 | {
|
|
582 | 578 | },
|
583 | 579 | "ResourceType": {
|
584 | 580 | "description": "Type of MediaService resource.",
|
585 |
| - "readOnly": true, |
586 | 581 | "enum": [
|
587 | 582 | "mediaservices"
|
588 | 583 | ],
|
|
597 | 592 | "example": {
|
598 | 593 | "value": [
|
599 | 594 | {
|
600 |
| - "NameAvailable": true, |
601 |
| - "Reason": null, |
602 |
| - "Message": null |
| 595 | + "nameAvailable": true |
603 | 596 | },
|
604 | 597 | {
|
605 |
| - "NameAvailable": false, |
606 |
| - "Reason": "AlreadyExists", |
607 |
| - "Message": "Already in use by another Media Service instance. Please try again with a name that is not likely to be in use." |
| 598 | + "nameAvailable": false, |
| 599 | + "reason": "AlreadyExists", |
| 600 | + "message": "Already in use by another Media Service instance. Please try again with a name that is not likely to be in use." |
608 | 601 | },
|
609 | 602 | {
|
610 |
| - "NameAvailable": false, |
611 |
| - "Reason": "Invalid", |
612 |
| - "Message": "The media service name should be between 3 and 24 characters and may contain only lowercase letters and numbers." |
| 603 | + "nameAvailable": false, |
| 604 | + "reason": "Invalid", |
| 605 | + "message": "The media service name should be between 3 and 24 characters and may contain only lowercase letters and numbers." |
613 | 606 | }
|
614 | 607 | ]
|
615 | 608 | },
|
616 | 609 | "properties": {
|
617 |
| - "NameAvailable": { |
| 610 | + "nameAvailable": { |
618 | 611 | "description": "Specifies if the name is available.",
|
619 | 612 | "type": "boolean"
|
620 | 613 | },
|
621 |
| - "Reason": { |
| 614 | + "reason": { |
622 | 615 | "description": "Specifies the reason if the name is not available.",
|
623 | 616 | "type": "string",
|
624 | 617 | "enum": [
|
|
631 | 624 | "modelAsString": false
|
632 | 625 | }
|
633 | 626 | },
|
634 |
| - "Message": { |
| 627 | + "message": { |
635 | 628 | "description": "Specifies the detailed reason if the name is not available.",
|
636 | 629 | "type": "string"
|
637 | 630 | }
|
|
651 | 644 | }
|
652 | 645 | },
|
653 | 646 | "properties": {
|
654 |
| - "name": { |
655 |
| - "description": "Then name of the Media Service resource.", |
656 |
| - "type": "string" |
657 |
| - }, |
658 |
| - "id": { |
659 |
| - "description": "The Azure Resource Manager identifier.", |
660 |
| - "type": "string" |
661 |
| - }, |
662 |
| - "type": { |
663 |
| - "description": "The type of the Media Service resource.", |
664 |
| - "type": "string" |
665 |
| - }, |
666 | 647 | "properties": {
|
667 | 648 | "x-ms-client-flatten": true,
|
668 | 649 | "$ref": "#/definitions/MediaServiceProperties"
|
669 | 650 | }
|
670 | 651 | },
|
671 | 652 | "allOf": [
|
672 | 653 | {
|
673 |
| - "$ref": "#/definitions/TrackedResource" |
| 654 | + "$ref": "#/definitions/Resource" |
674 | 655 | }
|
675 | 656 | ]
|
676 | 657 | },
|
|
757 | 738 | "description": "The type of the resource",
|
758 | 739 | "readOnly": true,
|
759 | 740 | "type": "string"
|
| 741 | + }, |
| 742 | + "location": { |
| 743 | + "type": "string", |
| 744 | + "description": "The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth)." |
| 745 | + }, |
| 746 | + "tags": { |
| 747 | + "type": "object", |
| 748 | + "additionalProperties": { |
| 749 | + "type": "string" |
| 750 | + }, |
| 751 | + "description": "Tags to help categorize the resource in the Azure portal." |
760 | 752 | }
|
761 | 753 | },
|
762 | 754 | "x-ms-azure-resource": true
|
|
799 | 791 | "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-media/providers/Microsoft.Storage/storageAccounts/contosomedia",
|
800 | 792 | "isPrimary": true
|
801 | 793 | },
|
| 794 | + "required": [ |
| 795 | + "id", |
| 796 | + "isPrimary" |
| 797 | + ], |
802 | 798 | "properties": {
|
803 | 799 | "id": {
|
804 | 800 | "description": "The id of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts (isPrimary false).",
|
|
824 | 820 | "type": "string"
|
825 | 821 | }
|
826 | 822 | }
|
827 |
| - }, |
828 |
| - "TrackedResource": { |
829 |
| - "description": "ARM tracked resource", |
830 |
| - "type": "object", |
831 |
| - "allOf": [ |
832 |
| - { |
833 |
| - "$ref": "#/definitions/Resource" |
834 |
| - } |
835 |
| - ], |
836 |
| - "required": [ |
837 |
| - "location" |
838 |
| - ], |
839 |
| - "properties": { |
840 |
| - "location": { |
841 |
| - "description": "The location of the resource.", |
842 |
| - "type": "string" |
843 |
| - }, |
844 |
| - "tags": { |
845 |
| - "description": "The tags of the resource.", |
846 |
| - "type": "object", |
847 |
| - "additionalProperties": { |
848 |
| - "type": "string" |
849 |
| - } |
850 |
| - } |
851 |
| - } |
852 | 823 | }
|
853 | 824 | },
|
854 | 825 | "parameters": {
|
|
0 commit comments