* Add blockchain to latest profile

* Add additional types

* Fix Swagger issues

* Solve validation

---------

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
This commit is contained in:
ramoka178 2023-04-05 17:57:51 -07:00 коммит произвёл GitHub
Родитель 9a46bdbfea
Коммит 7ef6c7036b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
12 изменённых файлов: 46 добавлений и 57 удалений

Просмотреть файл

@ -11,6 +11,9 @@
"type": "Microsoft.Management/managementGroups", "type": "Microsoft.Management/managementGroups",
"name": "GroupToDelete", "name": "GroupToDelete",
"status": "NotStarted" "status": "NotStarted"
},
"headers": {
"azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/GroupToDelete?api-version=2020-05-01"
} }
}, },
"204": {} "204": {}

Просмотреть файл

@ -18,7 +18,7 @@
} }
} }
], ],
"nextLink": null "@nextLink": null
} }
} }
} }

Просмотреть файл

@ -26,7 +26,7 @@
} }
} }
], ],
"nextLink": null "@nextLink": null
} }
} }
} }

Просмотреть файл

@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"display": {
"provider": "aaaaaaaaaaaaaaaaaaaaa",
"resource": "aaaaaaaaaaaaa",
"operation": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"description": "aaaaaaaaaaaaaaaaaaaaaa"
}
}
],
"nextLink": "aaaaaaaaaaaaaaaaaaa"
}
}
}
}

Просмотреть файл

@ -81,7 +81,7 @@
} }
}, },
"x-ms-pageable": { "x-ms-pageable": {
"nextLinkName": "nextLink" "nextLinkName": "@nextLink"
}, },
"x-ms-examples": { "x-ms-examples": {
"ListManagementGroups": { "ListManagementGroups": {
@ -712,6 +712,11 @@
}, },
"x-ms-pageable": { "x-ms-pageable": {
"nextLinkName": "nextLink" "nextLinkName": "nextLink"
},
"x-ms-examples": {
"List Operations": {
"$ref": "./examples/ListOperations.json"
}
} }
} }
}, },
@ -1059,7 +1064,7 @@
"$ref": "#/definitions/ManagementGroupInfo" "$ref": "#/definitions/ManagementGroupInfo"
} }
}, },
"nextLink": { "@nextLink": {
"description": "The URL to use for getting the next set of results.", "description": "The URL to use for getting the next set of results.",
"type": "string", "type": "string",
"readOnly": true "readOnly": true
@ -1431,7 +1436,7 @@
"$ref": "#/definitions/HierarchySettingsInfo" "$ref": "#/definitions/HierarchySettingsInfo"
} }
}, },
"nextLink": { "@nextLink": {
"description": "The URL to use for getting the next set of results.", "description": "The URL to use for getting the next set of results.",
"type": "string", "type": "string",
"readOnly": true "readOnly": true

Просмотреть файл

@ -14,9 +14,7 @@
"properties": { "properties": {
"displayName": "S5", "displayName": "S5",
"parent": { "parent": {
"id": "/providers/Microsoft.Management/managementGroups/Group", "id": "/providers/Microsoft.Management/managementGroups/Group"
"name": "name",
"displayName": "displayName"
}, },
"state": "Active", "state": "Active",
"tenant": "e751ac82-623b-4913-8d74-22637c832373" "tenant": "e751ac82-623b-4913-8d74-22637c832373"

Просмотреть файл

@ -18,7 +18,7 @@
} }
} }
], ],
"nextLink": null "@nextLink": null
} }
} }
} }

Просмотреть файл

@ -26,7 +26,7 @@
} }
} }
], ],
"nextLink": null "@nextLink": null
} }
} }
} }

Просмотреть файл

@ -81,7 +81,7 @@
} }
}, },
"x-ms-pageable": { "x-ms-pageable": {
"nextLinkName": "nextLink" "nextLinkName": "@nextLink"
}, },
"x-ms-examples": { "x-ms-examples": {
"ListManagementGroups": { "ListManagementGroups": {
@ -1070,7 +1070,7 @@
"$ref": "#/definitions/ManagementGroupInfo" "$ref": "#/definitions/ManagementGroupInfo"
} }
}, },
"nextLink": { "@nextLink": {
"description": "The URL to use for getting the next set of results.", "description": "The URL to use for getting the next set of results.",
"type": "string", "type": "string",
"readOnly": true "readOnly": true
@ -1173,7 +1173,7 @@
}, },
"parent": { "parent": {
"title": "Parent", "title": "Parent",
"$ref": "#/definitions/ParentGroupBagInfo", "$ref": "#/definitions/DescendantParentGroupInfo",
"x-nullable": true "x-nullable": true
}, },
"state": { "state": {
@ -1450,7 +1450,7 @@
"$ref": "#/definitions/HierarchySettingsInfo" "$ref": "#/definitions/HierarchySettingsInfo"
} }
}, },
"nextLink": { "@nextLink": {
"description": "The URL to use for getting the next set of results.", "description": "The URL to use for getting the next set of results.",
"type": "string", "type": "string",
"readOnly": true "readOnly": true
@ -1579,24 +1579,6 @@
} }
} }
}, },
"ParentGroupBagInfo": {
"description": "The ID, name and displayName of the parent management group.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
},
"name": {
"type": "string",
"description": "The name of the parent management group. For example, 00000000-0000-0000-0000-000000000000"
},
"displayName": {
"type": "string",
"description": "The friendly name of the parent management group."
}
}
},
"EntityListResult": { "EntityListResult": {
"description": "Describes the result of the request to view entities.", "description": "Describes the result of the request to view entities.",
"properties": { "properties": {

Просмотреть файл

@ -14,9 +14,7 @@
"properties": { "properties": {
"displayName": "Group", "displayName": "Group",
"parent": { "parent": {
"id": "/providers/Microsoft.Management/managementGroups/Group", "id": "/providers/Microsoft.Management/managementGroups/Group"
"name": "name",
"displayName": "displayName"
}, },
"state": "Active", "state": "Active",
"tenant": "e751ac82-623b-4913-8d74-22637c832373" "tenant": "e751ac82-623b-4913-8d74-22637c832373"

Просмотреть файл

@ -14,9 +14,7 @@
"properties": { "properties": {
"displayName": "S5", "displayName": "S5",
"parent": { "parent": {
"id": "/providers/Microsoft.Management/managementGroups/Group", "id": "/providers/Microsoft.Management/managementGroups/Group"
"name": "name",
"displayName": "displayName"
}, },
"state": "Active", "state": "Active",
"tenant": "e751ac82-623b-4913-8d74-22637c832373" "tenant": "e751ac82-623b-4913-8d74-22637c832373"

Просмотреть файл

@ -1176,7 +1176,7 @@
}, },
"parent": { "parent": {
"title": "Parent", "title": "Parent",
"$ref": "#/definitions/ParentGroupBagInfo", "$ref": "#/definitions/DescendantParentGroupInfo",
"x-nullable": true "x-nullable": true
}, },
"state": { "state": {
@ -1608,24 +1608,6 @@
} }
} }
}, },
"ParentGroupBagInfo": {
"description": "The ID, name and displayName of the parent management group.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
},
"name": {
"type": "string",
"description": "The name of the parent management group. For example, 00000000-0000-0000-0000-000000000000"
},
"displayName": {
"type": "string",
"description": "The friendly name of the parent management group."
}
}
},
"EntityListResult": { "EntityListResult": {
"description": "Describes the result of the request to view entities.", "description": "Describes the result of the request to view entities.",
"properties": { "properties": {