@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AuthorizationManagementClient
@base https://management.azure.com
@version 2018-09-01-preview
@auth OAuth2
@endpoints 10
@toc subscriptions(3), {scope}(4), {roleId}(3)

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/roleAssignments
@required {resourceProviderNamespace: any, parentResourcePath: any, resourceType: any, resourceName: any}
@optional {$filter: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/roleAssignments
@optional {$filter: any}
@returns(200)

@endgroup

@group {scope}
@endpoint DELETE /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
@required {scope: any, roleAssignmentName: any}
@returns(200)
@returns(204)

@endpoint PUT /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
@required {scope: any, roleAssignmentName: any, parameters: any}
@returns(201)

@endpoint GET /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
@required {scope: any, roleAssignmentName: any}
@returns(200)

@endgroup

@group {roleId}
@endpoint DELETE /{roleId}
@required {roleId: any}
@returns(200)
@returns(204)

@endpoint PUT /{roleId}
@required {roleId: any, parameters: any}
@returns(201)

@endpoint GET /{roleId}
@required {roleId: any}
@returns(200)

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments
@optional {$filter: any}
@returns(200)

@endgroup

@group {scope}
@endpoint GET /{scope}/providers/Microsoft.Authorization/roleAssignments
@required {scope: any}
@optional {$filter: any}
@returns(200)

@endgroup

@end
