{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-authorization-authorization-roledefinitionscalls","description":"AuthorizationManagementClient","version":"2018-01-01-preview","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 AuthorizationManagementClient\n@base https://management.azure.com\n@version 2018-01-01-preview\n@auth OAuth2\n@endpoints 6\n@toc subscriptions(2), {scope}(4)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions\n@desc Gets all permissions the caller has for a resource group.\n@returns(200) OK - Returns an array of permissions.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions\n@desc Gets all permissions the caller has for a resource.\n@required {parentResourcePath: any # The parent resource identity., resourceType: any # The resource type of the resource., resourceName: any # The name of the resource to get the permissions for.}\n@returns(200) OK - Returns an array of permissions.\n\n@endgroup\n\n@group {scope}\n@endpoint DELETE /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}\n@desc Deletes a role definition.\n@required {scope: any # The scope of the role definition., roleDefinitionId: any # The ID of the role definition to delete.}\n@returns(200) OK - Returns information about the role definition.\n@returns(204) Role definition already deleted or does not exist.\n\n@endpoint GET /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}\n@desc Get role definition by name (GUID).\n@required {scope: any # The scope of the role definition., roleDefinitionId: any # The ID of the role definition.}\n@returns(200) OK - Returns information about the role definition.\n\n@endpoint PUT /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}\n@desc Creates or updates a role definition.\n@required {scope: any # The scope of the role definition., roleDefinitionId: any # The ID of the role definition., roleDefinition: map # The values for the role definition.}\n@returns(201) OK - Returns information about the role definition.\n\n@endpoint GET /{scope}/providers/Microsoft.Authorization/roleDefinitions\n@desc Get all role definitions that are applicable at scope and above.\n@required {scope: any # The scope of the role definition.}\n@optional {$filter: any # The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well.}\n@returns(200) OK - Returns an array of role definitions.\n\n@endgroup\n\n@end\n"}