|
3 | 3 | "info": { |
4 | 4 | "title": "BatchManagementClient", |
5 | 5 | "description": "The Batch Management Client.", |
6 | | - "version": "2021-06-01" |
| 6 | + "version": "2022-01-01" |
7 | 7 | }, |
8 | 8 | "host": "management.azure.com", |
9 | 9 | "schemes": [ |
|
1165 | 1165 | "Operations" |
1166 | 1166 | ], |
1167 | 1167 | "operationId": "Operations_List", |
| 1168 | + "x-ms-examples": { |
| 1169 | + "OperationsList": { |
| 1170 | + "$ref": "./examples/OperationsList.json" |
| 1171 | + } |
| 1172 | + }, |
1168 | 1173 | "description": "Lists available operations for the Microsoft.Batch provider", |
1169 | 1174 | "parameters": [ |
1170 | 1175 | { |
|
1622 | 1627 | } |
1623 | 1628 | } |
1624 | 1629 | }, |
| 1630 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors": { |
| 1631 | + "get": { |
| 1632 | + "operationId": "BatchAccount_ListDetectors", |
| 1633 | + "description": "Gets information about the detectors available for a given Batch account.", |
| 1634 | + "x-ms-examples": { |
| 1635 | + "ListDetectors": { |
| 1636 | + "$ref": "./examples/DetectorList.json" |
| 1637 | + } |
| 1638 | + }, |
| 1639 | + "parameters": [ |
| 1640 | + { |
| 1641 | + "$ref": "#/parameters/ResourceGroupNameParameter" |
| 1642 | + }, |
| 1643 | + { |
| 1644 | + "$ref": "#/parameters/ApiVersionParameter" |
| 1645 | + }, |
| 1646 | + { |
| 1647 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 1648 | + }, |
| 1649 | + { |
| 1650 | + "$ref": "#/parameters/AccountNameParameter" |
| 1651 | + } |
| 1652 | + ], |
| 1653 | + "responses": { |
| 1654 | + "200": { |
| 1655 | + "description": "The operation was successful. The response contains a list of detectors associated with a Batch account.", |
| 1656 | + "schema": { |
| 1657 | + "$ref": "#/definitions/DetectorListResult" |
| 1658 | + } |
| 1659 | + }, |
| 1660 | + "default": { |
| 1661 | + "description": "Error response describing why the operation failed.", |
| 1662 | + "schema": { |
| 1663 | + "$ref": "#/definitions/CloudError" |
| 1664 | + } |
| 1665 | + } |
| 1666 | + }, |
| 1667 | + "x-ms-pageable": { |
| 1668 | + "nextLinkName": "nextLink" |
| 1669 | + } |
| 1670 | + } |
| 1671 | + }, |
| 1672 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}": { |
| 1673 | + "get": { |
| 1674 | + "operationId": "BatchAccount_GetDetector", |
| 1675 | + "description": "Gets information about the given detector for a given Batch account.", |
| 1676 | + "x-ms-examples": { |
| 1677 | + "GetDetector": { |
| 1678 | + "$ref": "./examples/DetectorGet.json" |
| 1679 | + } |
| 1680 | + }, |
| 1681 | + "parameters": [ |
| 1682 | + { |
| 1683 | + "$ref": "#/parameters/ResourceGroupNameParameter" |
| 1684 | + }, |
| 1685 | + { |
| 1686 | + "$ref": "#/parameters/ApiVersionParameter" |
| 1687 | + }, |
| 1688 | + { |
| 1689 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 1690 | + }, |
| 1691 | + { |
| 1692 | + "$ref": "#/parameters/AccountNameParameter" |
| 1693 | + }, |
| 1694 | + { |
| 1695 | + "$ref": "#/parameters/DetectorIdParameter" |
| 1696 | + } |
| 1697 | + ], |
| 1698 | + "responses": { |
| 1699 | + "200": { |
| 1700 | + "description": "The operation was successful. The response contains information about the given detector associated with a Batch account.", |
| 1701 | + "schema": { |
| 1702 | + "$ref": "#/definitions/DetectorResponse" |
| 1703 | + } |
| 1704 | + }, |
| 1705 | + "default": { |
| 1706 | + "description": "Error response describing why the operation failed.", |
| 1707 | + "schema": { |
| 1708 | + "$ref": "#/definitions/CloudError" |
| 1709 | + } |
| 1710 | + } |
| 1711 | + } |
| 1712 | + } |
| 1713 | + }, |
1625 | 1714 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources": { |
1626 | 1715 | "get": { |
1627 | 1716 | "tags": [ |
|
3470 | 3559 | ], |
3471 | 3560 | "description": "An error response from the Batch service." |
3472 | 3561 | }, |
| 3562 | + "DetectorListResult": { |
| 3563 | + "type": "object", |
| 3564 | + "properties": { |
| 3565 | + "value": { |
| 3566 | + "type": "array", |
| 3567 | + "items": { |
| 3568 | + "$ref": "#/definitions/DetectorResponse" |
| 3569 | + }, |
| 3570 | + "description": "The collection of Batch account detectors returned by the listing operation." |
| 3571 | + }, |
| 3572 | + "nextLink": { |
| 3573 | + "type": "string", |
| 3574 | + "description": "The URL to get the next set of results." |
| 3575 | + } |
| 3576 | + }, |
| 3577 | + "description": "Values returned by the List operation." |
| 3578 | + }, |
| 3579 | + "DetectorResponse": { |
| 3580 | + "type": "object", |
| 3581 | + "properties": { |
| 3582 | + "properties": { |
| 3583 | + "x-ms-client-flatten": true, |
| 3584 | + "$ref": "#/definitions/DetectorResponseProperties", |
| 3585 | + "description": "The properties associated with the detector." |
| 3586 | + } |
| 3587 | + }, |
| 3588 | + "allOf": [ |
| 3589 | + { |
| 3590 | + "$ref": "#/definitions/ProxyResource" |
| 3591 | + } |
| 3592 | + ], |
| 3593 | + "description": "Contains the information for a detector." |
| 3594 | + }, |
| 3595 | + "DetectorResponseProperties": { |
| 3596 | + "type": "object", |
| 3597 | + "properties": { |
| 3598 | + "value": { |
| 3599 | + "type": "string", |
| 3600 | + "description": "A base64 encoded string that represents the content of a detector." |
| 3601 | + } |
| 3602 | + }, |
| 3603 | + "description": "Detector response properties." |
| 3604 | + }, |
3473 | 3605 | "PrivateLinkResource": { |
3474 | 3606 | "type": "object", |
3475 | 3607 | "properties": { |
|
4470 | 4602 | "sku": { |
4471 | 4603 | "type": "string", |
4472 | 4604 | "title": "The SKU of the Azure Virtual Machines Marketplace image.", |
4473 | | - "description": "For example, 18.04-LTS or 2019-Datacenter." |
| 4605 | + "description": "For example, 18.04-LTS or 2022-datacenter." |
4474 | 4606 | }, |
4475 | 4607 | "version": { |
4476 | 4608 | "type": "string", |
|
5820 | 5952 | "description": "The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.", |
5821 | 5953 | "x-ms-parameter-location": "method" |
5822 | 5954 | }, |
| 5955 | + "DetectorIdParameter": { |
| 5956 | + "name": "detectorId", |
| 5957 | + "in": "path", |
| 5958 | + "required": true, |
| 5959 | + "type": "string", |
| 5960 | + "description": "The name of the detector.", |
| 5961 | + "x-ms-parameter-location": "method" |
| 5962 | + }, |
5823 | 5963 | "PoolNameParameter": { |
5824 | 5964 | "name": "poolName", |
5825 | 5965 | "in": "path", |
|
0 commit comments