def METHOD_NAME(self):
    from msrestazure.tools import parse_resource_id
    from azure.cli.core.azclierror import ArgumentUsageError
    args = self.ctx.args
    args.workspace_id = args.workspace
    workspace_param = parse_resource_id(args.workspace.to_serialized_data())
    if workspace_param['resource_group'] != args.resource_group.to_serialized_data():
        raise ArgumentUsageError('usage error: workspace and solution must be under the same resource group')
    workspace = _WorkspaceShow(cli_ctx=self.cli_ctx)(command_args={
        "resource_group": workspace_param['resource_group'],
        "workspace_name": workspace_param['resource_name']
    })
    args.location = workspace['location']
    args.plan = {
        "name": args.solution_type.to_serialized_data(),
        "product": "OMSGallery/" + args.solution_type.to_serialized_data(),
        "publisher": "Microsoft",
        "promotion_code": ""
    }
    args.name = args.solution_type.to_serialized_data() + "(" + args.workspace.to_serialized_data().split("/")[-1] + ")"