{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-resources-links","description":"ManagementLinkClient","version":"2016-09-01","base_url":"https://management.azure.com","endpoints":6,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api ManagementLinkClient\n@base https://management.azure.com\n@version 2016-09-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for the operation.}\n@endpoints 6\n@toc providers(1), {linkId}(3), subscriptions(1), {scope}(1)\n\n@group providers\n@endpoint GET /providers/Microsoft.Resources/operations\n@desc Lists all of the available Microsoft.Resources REST API operations.\n@returns(200) OK. The request has succeeded.\n\n@endgroup\n\n@group {linkId}\n@endpoint DELETE /{linkId}\n@desc Deletes a resource link with the specified ID.\n@required {linkId: any # The fully qualified ID of the resource link. Use the format, /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink}\n@returns(200) OK\n@returns(204) No Content\n\n@endpoint PUT /{linkId}\n@desc Creates or updates a resource link between the specified resources.\n@required {linkId: any # The fully qualified ID of the resource link. Use the format, /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink, parameters: any # Parameters for creating or updating a resource link.}\n@returns(200) OK - Returns information about the link.\n@returns(201) Created - Returns information about the link.\n\n@endpoint GET /{linkId}\n@desc Gets a resource link with the specified ID.\n@required {linkId: any # The fully qualified Id of the resource link. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink}\n@returns(200) OK - Returns information about the resource link.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/links\n@desc Gets all the linked resources for the subscription.\n@required {subscriptionId: any # The ID of the target subscription.}\n@optional {$filter: any # The filter to apply on the list resource links operation. The supported filter for list resource links is targetId. For example, $filter=targetId eq {value}}\n@returns(200) Returns an array of resource links for the subscription.\n\n@endgroup\n\n@group {scope}\n@endpoint GET /{scope}/providers/Microsoft.Resources/links\n@desc Gets a list of resource links at and below the specified source scope.\n@required {scope: any # The fully qualified ID of the scope for getting the resource links. For example, to list resource links at and under a resource group, set the scope to /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.}\n@optional {$filter: any # The filter to apply when getting resource links. To get links only at the specified scope (not below the scope), use Filter.atScope().}\n@returns(200) OK - Returns an array of links at the specified scope.\n\n@endgroup\n\n@end\n"}